From 50a920779df46fd600bbc0d077ecaab79fcb3a55 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 19 Apr 2024 05:15:11 +0000 Subject: [PATCH] feat(api): update via SDK Studio (#345) --- tests/api_resources/accounts/test_members.py | 40 ++ tests/api_resources/accounts/test_roles.py | 12 + tests/api_resources/acm/test_total_tls.py | 18 + .../addressing/address_maps/test_accounts.py | 16 + .../addressing/address_maps/test_ips.py | 16 + .../addressing/address_maps/test_zones.py | 16 + .../loa_documents/test_downloads.py | 8 + .../addressing/prefixes/bgp/test_bindings.py | 34 + .../addressing/prefixes/bgp/test_prefixes.py | 26 + .../addressing/prefixes/bgp/test_statuses.py | 16 + .../addressing/prefixes/test_delegations.py | 24 + .../addressing/test_address_maps.py | 44 ++ .../addressing/test_loa_documents.py | 8 + .../api_resources/addressing/test_prefixes.py | 40 ++ .../api_resources/addressing/test_services.py | 8 + .../alerting/destinations/test_eligible.py | 8 + .../alerting/destinations/test_pagerduty.py | 32 + .../alerting/destinations/test_webhooks.py | 44 ++ .../alerting/test_available_alerts.py | 8 + tests/api_resources/alerting/test_history.py | 10 + tests/api_resources/alerting/test_policies.py | 44 ++ .../api_resources/argo/test_smart_routing.py | 16 + .../api_resources/argo/test_tiered_caching.py | 16 + tests/api_resources/billing/test_profiles.py | 6 + .../api_resources/cache/test_cache_reserve.py | 32 + .../cache/test_regional_tiered_cache.py | 16 + .../cache/test_smart_tiered_cache.py | 24 + tests/api_resources/cache/test_variants.py | 26 + .../test_hostname_associations.py | 20 + .../api_resources/challenges/test_widgets.py | 56 ++ .../cloudforce_one/requests/test_message.py | 38 + .../cloudforce_one/requests/test_priority.py | 40 ++ .../cloudforce_one/test_requests.py | 70 ++ .../custom_certificates/test_prioritize.py | 8 + .../custom_hostnames/test_fallback_origin.py | 24 + tests/api_resources/d1/test_database.py | 44 ++ .../api_resources/dcv_delegation/test_uuid.py | 8 + .../diagnostics/test_traceroutes.py | 10 + .../dns/analytics/reports/test_bytimes.py | 10 + .../dns/analytics/test_reports.py | 10 + .../analytics/reports/test_bytimes.py | 10 + .../dns/firewall/analytics/test_reports.py | 10 + tests/api_resources/dns/test_firewall.py | 46 ++ tests/api_resources/dns/test_records.py | 652 ++++++++++++++++++ .../namespaces/test_objects.py | 10 + .../durable_objects/test_namespaces.py | 8 + .../email_routing/rules/test_catch_alls.py | 18 + .../email_routing/test_addresses.py | 34 + tests/api_resources/email_routing/test_dns.py | 8 + .../api_resources/email_routing/test_rules.py | 46 ++ .../r2/configuration/test_queues.py | 18 + .../r2/test_configuration.py | 8 + .../firewall/test_access_rules.py | 50 ++ .../api_resources/firewall/test_lockdowns.py | 42 ++ tests/api_resources/firewall/test_rules.py | 54 ++ tests/api_resources/firewall/test_ua_rules.py | 42 ++ .../firewall/waf/packages/test_groups.py | 28 + .../firewall/waf/packages/test_rules.py | 28 + .../firewall/waf/test_overrides.py | 42 ++ .../firewall/waf/test_packages.py | 18 + .../healthchecks/test_previews.py | 26 + .../hostnames/settings/test_tls.py | 24 + .../api_resources/hyperdrive/test_configs.py | 54 ++ tests/api_resources/images/test_v1.py | 46 ++ tests/api_resources/images/test_v2.py | 10 + tests/api_resources/images/v1/test_blobs.py | 8 + tests/api_resources/images/v1/test_keys.py | 24 + tests/api_resources/images/v1/test_stats.py | 8 + .../api_resources/images/v1/test_variants.py | 44 ++ .../images/v2/test_direct_uploads.py | 10 + tests/api_resources/intel/asn/test_subnets.py | 8 + .../attack_surface_report/test_issue_types.py | 8 + .../attack_surface_report/test_issues.py | 50 ++ .../api_resources/intel/domains/test_bulks.py | 10 + .../intel/indicator_feeds/test_permissions.py | 28 + tests/api_resources/intel/test_asn.py | 8 + tests/api_resources/intel/test_dns.py | 10 + .../intel/test_domain_history.py | 10 + tests/api_resources/intel/test_domains.py | 10 + .../intel/test_indicator_feeds.py | 44 ++ tests/api_resources/intel/test_ip_lists.py | 8 + tests/api_resources/intel/test_ips.py | 10 + .../intel/test_miscategorizations.py | 10 + tests/api_resources/intel/test_sinkholes.py | 8 + tests/api_resources/intel/test_whois.py | 10 + .../api_resources/kv/namespaces/test_bulk.py | 16 + .../api_resources/kv/namespaces/test_keys.py | 10 + .../kv/namespaces/test_metadata.py | 8 + .../kv/namespaces/test_values.py | 24 + tests/api_resources/kv/test_namespaces.py | 34 + .../load_balancers/monitors/test_previews.py | 10 + .../monitors/test_references.py | 8 + .../load_balancers/pools/test_health.py | 18 + .../load_balancers/pools/test_references.py | 8 + .../load_balancers/test_monitors.py | 54 ++ .../load_balancers/test_pools.py | 56 ++ .../load_balancers/test_previews.py | 8 + .../load_balancers/test_regions.py | 18 + .../load_balancers/test_searches.py | 10 + .../logpush/datasets/test_fields.py | 10 + .../logpush/datasets/test_jobs.py | 10 + tests/api_resources/logpush/test_edge.py | 18 + tests/api_resources/logpush/test_jobs.py | 50 ++ tests/api_resources/logpush/test_ownership.py | 20 + tests/api_resources/logpush/test_validate.py | 20 + .../logs/control/cmb/test_config.py | 26 + .../logs/control/retention/test_flag.py | 16 + .../logs/received/test_fields.py | 8 + tests/api_resources/logs/test_rayid.py | 10 + tests/api_resources/logs/test_received.py | 10 + .../configs/test_full.py | 8 + .../rules/test_advertisements.py | 8 + .../magic_network_monitoring/test_configs.py | 40 ++ .../magic_network_monitoring/test_rules.py | 48 ++ .../magic_transit/sites/test_acls.py | 44 ++ .../magic_transit/sites/test_lans.py | 44 ++ .../magic_transit/sites/test_wans.py | 44 ++ .../magic_transit/test_cf_interconnects.py | 26 + .../magic_transit/test_gre_tunnels.py | 42 ++ .../magic_transit/test_ipsec_tunnels.py | 52 ++ .../magic_transit/test_routes.py | 50 ++ .../api_resources/magic_transit/test_sites.py | 46 ++ .../mtls_certificates/test_associations.py | 8 + .../hostnames/test_certificates.py | 32 + .../origin_tls_client_auth/test_hostnames.py | 16 + .../origin_tls_client_auth/test_settings.py | 16 + .../page_shield/test_connections.py | 18 + .../page_shield/test_policies.py | 44 ++ .../api_resources/page_shield/test_scripts.py | 18 + .../api_resources/pagerules/test_settings.py | 8 + .../projects/deployments/history/test_logs.py | 8 + .../pages/projects/test_deployments.py | 52 ++ .../pages/projects/test_domains.py | 40 ++ tests/api_resources/pages/test_projects.py | 50 ++ tests/api_resources/pcaps/test_download.py | 8 + tests/api_resources/pcaps/test_ownership.py | 32 + tests/api_resources/queues/test_consumers.py | 32 + tests/api_resources/queues/test_messages.py | 20 + tests/api_resources/r2/test_buckets.py | 36 + tests/api_resources/r2/test_sippy.py | 36 + .../radar/annotations/test_outages.py | 16 + .../api_resources/radar/as112/test_summary.py | 48 ++ .../radar/as112/test_timeseries_groups.py | 48 ++ tests/api_resources/radar/as112/test_top.py | 32 + .../radar/attacks/layer3/test_summary.py | 48 ++ .../attacks/layer3/test_timeseries_groups.py | 64 ++ .../radar/attacks/layer3/test_top.py | 24 + .../attacks/layer3/top/test_locations.py | 16 + .../radar/attacks/layer7/test_summary.py | 48 ++ .../attacks/layer7/test_timeseries_groups.py | 64 ++ .../radar/attacks/layer7/test_top.py | 24 + .../radar/attacks/layer7/top/test_ases.py | 8 + .../attacks/layer7/top/test_locations.py | 16 + .../radar/attacks/test_layer3.py | 8 + .../radar/attacks/test_layer7.py | 8 + .../radar/bgp/hijacks/test_events.py | 8 + .../radar/bgp/leaks/test_events.py | 8 + tests/api_resources/radar/bgp/test_routes.py | 32 + tests/api_resources/radar/bgp/test_top.py | 8 + .../api_resources/radar/bgp/top/test_ases.py | 16 + tests/api_resources/radar/dns/test_top.py | 16 + .../radar/email/routing/test_summary.py | 48 ++ .../email/routing/test_timeseries_groups.py | 48 ++ .../radar/email/security/test_summary.py | 72 ++ .../email/security/test_timeseries_groups.py | 72 ++ .../radar/email/security/top/test_tlds.py | 8 + .../email/security/top/tlds/test_malicious.py | 8 + .../email/security/top/tlds/test_spam.py | 8 + .../email/security/top/tlds/test_spoof.py | 8 + .../api_resources/radar/entities/test_asns.py | 32 + .../radar/entities/test_locations.py | 18 + .../radar/http/ases/test_bot_class.py | 8 + .../radar/http/ases/test_device_type.py | 8 + .../radar/http/ases/test_http_method.py | 8 + .../radar/http/ases/test_http_protocol.py | 8 + .../radar/http/ases/test_ip_version.py | 8 + .../api_resources/radar/http/ases/test_os.py | 8 + .../radar/http/ases/test_tls_version.py | 8 + .../radar/http/locations/test_bot_class.py | 8 + .../radar/http/locations/test_device_type.py | 8 + .../radar/http/locations/test_http_method.py | 8 + .../http/locations/test_http_protocol.py | 8 + .../radar/http/locations/test_ip_version.py | 8 + .../radar/http/locations/test_os.py | 8 + .../radar/http/locations/test_tls_version.py | 8 + tests/api_resources/radar/http/test_ases.py | 8 + .../radar/http/test_locations.py | 8 + .../api_resources/radar/http/test_summary.py | 56 ++ .../radar/http/test_timeseries_groups.py | 72 ++ tests/api_resources/radar/http/test_top.py | 16 + .../api_resources/radar/netflows/test_top.py | 16 + .../radar/quality/speed/test_top.py | 16 + tests/api_resources/radar/quality/test_iqi.py | 16 + .../api_resources/radar/quality/test_speed.py | 16 + .../radar/ranking/test_domain.py | 10 + tests/api_resources/radar/test_as112.py | 8 + tests/api_resources/radar/test_bgp.py | 8 + .../radar/test_connection_tampering.py | 16 + tests/api_resources/radar/test_datasets.py | 26 + tests/api_resources/radar/test_entities.py | 8 + tests/api_resources/radar/test_netflows.py | 8 + tests/api_resources/radar/test_ranking.py | 16 + tests/api_resources/radar/test_search.py | 8 + .../radar/test_traffic_anomalies.py | 8 + .../radar/traffic_anomalies/test_locations.py | 8 + .../radar/verified_bots/test_top.py | 16 + tests/api_resources/registrar/test_domains.py | 26 + .../request_tracers/test_traces.py | 10 + .../rules/lists/test_bulk_operations.py | 8 + tests/api_resources/rules/lists/test_items.py | 44 ++ tests/api_resources/rules/test_lists.py | 44 ++ .../rulesets/phases/test_versions.py | 20 + tests/api_resources/rulesets/test_phases.py | 20 + tests/api_resources/rulesets/test_rules.py | 310 +++++++++ tests/api_resources/rulesets/test_versions.py | 30 + .../rulesets/versions/test_by_tag.py | 8 + tests/api_resources/rum/test_rules.py | 36 + tests/api_resources/rum/test_site_info.py | 46 ++ .../secondary_dns/outgoing/test_status.py | 8 + .../api_resources/secondary_dns/test_acls.py | 40 ++ .../secondary_dns/test_force_axfr.py | 8 + .../secondary_dns/test_incoming.py | 32 + .../secondary_dns/test_outgoing.py | 56 ++ .../api_resources/secondary_dns/test_peers.py | 42 ++ .../api_resources/secondary_dns/test_tsigs.py | 40 ++ tests/api_resources/snippets/test_content.py | 8 + tests/api_resources/snippets/test_rules.py | 18 + .../analytics/aggregates/test_currents.py | 10 + .../spectrum/analytics/events/test_bytimes.py | 10 + .../analytics/events/test_summaries.py | 10 + tests/api_resources/spectrum/test_apps.py | 46 ++ .../speed/test_availabilities.py | 8 + tests/api_resources/speed/test_pages.py | 8 + tests/api_resources/speed/test_schedule.py | 10 + tests/api_resources/speed/test_tests.py | 38 + .../ssl/certificate_packs/test_order.py | 10 + .../ssl/certificate_packs/test_quota.py | 8 + tests/api_resources/ssl/test_analyze.py | 10 + .../ssl/test_certificate_packs.py | 34 + .../api_resources/ssl/test_recommendations.py | 8 + tests/api_resources/ssl/test_verification.py | 18 + .../ssl/universal/test_settings.py | 18 + tests/api_resources/storage/test_analytics.py | 20 + .../stream/captions/language/test_vtt.py | 8 + .../stream/captions/test_language.py | 24 + .../stream/live_inputs/test_outputs.py | 34 + .../api_resources/stream/test_audio_tracks.py | 36 + tests/api_resources/stream/test_captions.py | 8 + tests/api_resources/stream/test_clip.py | 10 + tests/api_resources/stream/test_copy.py | 10 + .../stream/test_direct_upload.py | 10 + tests/api_resources/stream/test_downloads.py | 24 + tests/api_resources/stream/test_embed.py | 8 + tests/api_resources/stream/test_keys.py | 24 + .../api_resources/stream/test_live_inputs.py | 46 ++ tests/api_resources/stream/test_token.py | 10 + tests/api_resources/stream/test_videos.py | 10 + tests/api_resources/stream/test_watermarks.py | 34 + tests/api_resources/stream/test_webhooks.py | 24 + tests/api_resources/test_accounts.py | 22 + tests/api_resources/test_audit_logs.py | 10 + tests/api_resources/test_bot_management.py | 48 ++ tests/api_resources/test_brand_protection.py | 20 + tests/api_resources/test_cache.py | 50 ++ tests/api_resources/test_calls.py | 44 ++ .../api_resources/test_client_certificates.py | 42 ++ .../api_resources/test_custom_certificates.py | 46 ++ tests/api_resources/test_custom_hostnames.py | 46 ++ .../api_resources/test_custom_nameservers.py | 42 ++ tests/api_resources/test_dnssec.py | 26 + tests/api_resources/test_email_routing.py | 24 + tests/api_resources/test_filters.py | 42 ++ tests/api_resources/test_healthchecks.py | 56 ++ tests/api_resources/test_ips.py | 8 + .../test_keyless_certificates.py | 44 ++ tests/api_resources/test_load_balancers.py | 54 ++ tests/api_resources/test_managed_headers.py | 16 + tests/api_resources/test_memberships.py | 32 + tests/api_resources/test_mtls_certificates.py | 34 + .../test_origin_ca_certificates.py | 32 + .../test_origin_post_quantum_encryption.py | 16 + .../test_origin_tls_client_auth.py | 32 + tests/api_resources/test_page_shield.py | 18 + tests/api_resources/test_pagerules.py | 56 ++ tests/api_resources/test_pcaps.py | 36 + tests/api_resources/test_plans.py | 16 + tests/api_resources/test_queues.py | 40 ++ tests/api_resources/test_rate_limits.py | 42 ++ tests/api_resources/test_rate_plans.py | 8 + tests/api_resources/test_rulesets.py | 50 ++ tests/api_resources/test_snippets.py | 34 + tests/api_resources/test_speed.py | 30 + tests/api_resources/test_stream.py | 34 + tests/api_resources/test_subscriptions.py | 44 ++ tests/api_resources/test_url_normalization.py | 18 + tests/api_resources/test_url_scanner.py | 10 + tests/api_resources/test_user.py | 14 + tests/api_resources/test_waiting_rooms.py | 56 ++ tests/api_resources/test_warp_connector.py | 52 ++ tests/api_resources/test_zones.py | 34 + tests/api_resources/url_scanner/test_scans.py | 36 + .../user/billing/test_history.py | 8 + .../user/billing/test_profile.py | 6 + tests/api_resources/user/test_audit_logs.py | 8 + tests/api_resources/user/test_invites.py | 22 + .../api_resources/user/test_organizations.py | 24 + .../api_resources/user/test_subscriptions.py | 34 + tests/api_resources/user/test_tokens.py | 42 ++ .../user/tokens/test_permission_groups.py | 6 + tests/api_resources/user/tokens/test_value.py | 6 + tests/api_resources/vectorize/test_indexes.py | 88 +++ .../waiting_rooms/events/test_details.py | 8 + .../waiting_rooms/test_events.py | 56 ++ .../api_resources/waiting_rooms/test_page.py | 8 + .../api_resources/waiting_rooms/test_rules.py | 44 ++ .../waiting_rooms/test_settings.py | 28 + .../waiting_rooms/test_statuses.py | 8 + .../content_lists/test_entries.py | 44 ++ .../test_content_lists.py | 16 + tests/api_resources/web3/test_hostnames.py | 44 ++ .../workers/scripts/test_content.py | 18 + .../workers/scripts/test_deployments.py | 18 + .../workers/scripts/test_schedules.py | 16 + .../workers/scripts/test_settings.py | 18 + .../workers/scripts/test_tail.py | 24 + .../workers/scripts/test_versions.py | 26 + .../workers/test_account_settings.py | 16 + tests/api_resources/workers/test_ai.py | 104 +++ tests/api_resources/workers/test_domains.py | 34 + tests/api_resources/workers/test_scripts.py | 46 ++ .../api_resources/workers/test_subdomains.py | 16 + .../namespaces/scripts/test_bindings.py | 8 + .../namespaces/scripts/test_content.py | 18 + .../namespaces/scripts/test_secrets.py | 18 + .../namespaces/scripts/test_settings.py | 18 + .../dispatch/namespaces/scripts/test_tags.py | 24 + .../dispatch/namespaces/test_scripts.py | 38 + .../dispatch/test_namespaces.py | 34 + .../access/applications/test_cas.py | 40 ++ .../access/applications/test_policies.py | 50 ++ .../applications/test_user_policy_checks.py | 10 + .../access/certificates/test_settings.py | 20 + .../access/logs/test_access_requests.py | 8 + .../zero_trust/access/test_applications.py | 200 ++++++ .../zero_trust/access/test_bookmarks.py | 40 ++ .../zero_trust/access/test_certificates.py | 50 ++ .../zero_trust/access/test_custom_pages.py | 44 ++ .../zero_trust/access/test_groups.py | 50 ++ .../zero_trust/access/test_keys.py | 24 + .../zero_trust/access/test_service_tokens.py | 56 ++ .../zero_trust/access/test_tags.py | 40 ++ .../zero_trust/access/test_users.py | 8 + .../access/users/test_active_sessions.py | 16 + .../access/users/test_failed_logins.py | 8 + .../access/users/test_last_seen_identity.py | 8 + .../devices/policies/test_default_policy.py | 8 + .../devices/policies/test_excludes.py | 24 + .../devices/policies/test_fallback_domains.py | 24 + .../devices/policies/test_includes.py | 24 + .../devices/posture/test_integrations.py | 44 ++ .../zero_trust/devices/test_dex_tests.py | 44 ++ .../zero_trust/devices/test_networks.py | 44 ++ .../zero_trust/devices/test_override_codes.py | 8 + .../zero_trust/devices/test_policies.py | 44 ++ .../zero_trust/devices/test_posture.py | 44 ++ .../zero_trust/devices/test_revoke.py | 8 + .../zero_trust/devices/test_settings.py | 18 + .../zero_trust/devices/test_unrevoke.py | 8 + .../dex/fleet_status/test_devices.py | 10 + .../dex/http_tests/test_percentiles.py | 10 + .../zero_trust/dex/test_colos.py | 10 + .../zero_trust/dex/test_fleet_status.py | 18 + .../zero_trust/dex/test_http_tests.py | 10 + .../zero_trust/dex/test_tests.py | 10 + .../zero_trust/dex/test_traceroute_tests.py | 28 + .../dex/tests/test_unique_devices.py | 10 + .../test_network_path.py | 8 + .../zero_trust/dlp/datasets/test_upload.py | 16 + .../zero_trust/dlp/profiles/test_custom.py | 34 + .../dlp/profiles/test_predefined.py | 18 + .../zero_trust/dlp/test_datasets.py | 44 ++ .../zero_trust/dlp/test_patterns.py | 8 + .../zero_trust/dlp/test_payload_logs.py | 16 + .../zero_trust/dlp/test_profiles.py | 16 + .../zero_trust/gateway/lists/test_items.py | 8 + .../zero_trust/gateway/test_app_types.py | 8 + .../gateway/test_audit_ssh_settings.py | 18 + .../zero_trust/gateway/test_categories.py | 8 + .../zero_trust/gateway/test_configurations.py | 28 + .../zero_trust/gateway/test_lists.py | 54 ++ .../zero_trust/gateway/test_locations.py | 44 ++ .../zero_trust/gateway/test_logging.py | 18 + .../gateway/test_proxy_endpoints.py | 42 ++ .../zero_trust/gateway/test_rules.py | 44 ++ .../zero_trust/networks/routes/test_ips.py | 10 + .../networks/routes/test_networks.py | 28 + .../zero_trust/networks/test_routes.py | 38 + .../networks/test_virtual_networks.py | 38 + .../risk_scoring/test_behaviours.py | 18 + .../zero_trust/risk_scoring/test_summary.py | 10 + .../zero_trust/test_connectivity_settings.py | 18 + .../api_resources/zero_trust/test_devices.py | 16 + .../api_resources/zero_trust/test_gateway.py | 16 + .../zero_trust/test_identity_providers.py | 310 +++++++++ .../zero_trust/test_organizations.py | 40 ++ .../zero_trust/test_risk_scoring.py | 18 + tests/api_resources/zero_trust/test_seats.py | 8 + .../api_resources/zero_trust/test_tunnels.py | 44 ++ .../zero_trust/tunnels/test_configurations.py | 18 + .../zero_trust/tunnels/test_connections.py | 16 + .../zero_trust/tunnels/test_connectors.py | 8 + .../zero_trust/tunnels/test_management.py | 8 + .../zero_trust/tunnels/test_token.py | 8 + .../zones/settings/test_advanced_ddos.py | 8 + .../zones/settings/test_always_online.py | 16 + .../zones/settings/test_always_use_https.py | 16 + .../settings/test_automatic_https_rewrites.py | 16 + .../test_automatic_platform_optimization.py | 16 + .../zones/settings/test_brotli.py | 16 + .../zones/settings/test_browser_cache_ttl.py | 16 + .../zones/settings/test_browser_check.py | 16 + .../zones/settings/test_cache_level.py | 16 + .../zones/settings/test_challenge_ttl.py | 16 + .../zones/settings/test_ciphers.py | 16 + .../zones/settings/test_development_mode.py | 16 + .../zones/settings/test_early_hints.py | 16 + .../zones/settings/test_email_obfuscation.py | 16 + .../zones/settings/test_font_settings.py | 16 + .../zones/settings/test_h2_prioritization.py | 18 + .../zones/settings/test_hotlink_protection.py | 16 + .../zones/settings/test_http2.py | 16 + .../zones/settings/test_http3.py | 16 + .../zones/settings/test_image_resizing.py | 18 + .../zones/settings/test_ip_geolocation.py | 16 + .../api_resources/zones/settings/test_ipv6.py | 16 + .../zones/settings/test_min_tls_version.py | 16 + .../zones/settings/test_minify.py | 18 + .../zones/settings/test_mirage.py | 16 + .../zones/settings/test_mobile_redirect.py | 18 + .../api_resources/zones/settings/test_nel.py | 18 + .../settings/test_opportunistic_encryption.py | 16 + .../settings/test_opportunistic_onion.py | 16 + .../zones/settings/test_orange_to_orange.py | 18 + .../test_origin_error_page_pass_thru.py | 16 + .../settings/test_origin_max_http_version.py | 16 + .../zones/settings/test_polish.py | 18 + .../zones/settings/test_prefetch_preload.py | 16 + .../zones/settings/test_proxy_read_timeout.py | 18 + .../zones/settings/test_pseudo_ipv4.py | 16 + .../zones/settings/test_response_buffering.py | 16 + .../zones/settings/test_rocket_loader.py | 18 + .../zones/settings/test_security_headers.py | 18 + .../zones/settings/test_security_level.py | 16 + .../settings/test_server_side_excludes.py | 16 + .../test_sort_query_string_for_cache.py | 16 + .../api_resources/zones/settings/test_ssl.py | 16 + .../zones/settings/test_ssl_recommender.py | 18 + .../zones/settings/test_tls_1_3.py | 16 + .../zones/settings/test_tls_client_auth.py | 16 + .../settings/test_true_client_ip_header.py | 16 + .../api_resources/zones/settings/test_waf.py | 16 + .../api_resources/zones/settings/test_webp.py | 16 + .../zones/settings/test_websocket.py | 16 + .../zones/settings/test_zero_rtt.py | 16 + .../zones/test_activation_check.py | 8 + .../zones/test_custom_nameservers.py | 18 + .../api_resources/zones/test_dns_settings.py | 18 + tests/api_resources/zones/test_holds.py | 28 + .../api_resources/zones/test_subscriptions.py | 26 + 469 files changed, 12366 insertions(+) diff --git a/tests/api_resources/accounts/test_members.py b/tests/api_resources/accounts/test_members.py index 30a46db24cc..c687d0cb4e1 100644 --- a/tests/api_resources/accounts/test_members.py +++ b/tests/api_resources/accounts/test_members.py @@ -23,6 +23,7 @@ class TestMembers: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: member = client.accounts.members.create( @@ -36,6 +37,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(UserWithInviteCode, member, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: member = client.accounts.members.create( @@ -50,6 +52,7 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(UserWithInviteCode, member, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.accounts.members.with_raw_response.create( @@ -67,6 +70,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: member = response.parse() assert_matches_type(UserWithInviteCode, member, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.accounts.members.with_streaming_response.create( @@ -86,6 +90,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: member = client.accounts.members.update( @@ -99,6 +104,7 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Member, member, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.accounts.members.with_raw_response.update( @@ -116,6 +122,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: member = response.parse() assert_matches_type(Member, member, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.accounts.members.with_streaming_response.update( @@ -135,6 +142,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `member_id` but received ''"): @@ -148,6 +156,7 @@ def test_path_params_update(self, client: Cloudflare) -> None: ], ) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: member = client.accounts.members.list( @@ -155,6 +164,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePaginationArray[MemberListResponse], member, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: member = client.accounts.members.list( @@ -167,6 +177,7 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePaginationArray[MemberListResponse], member, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.accounts.members.with_raw_response.list( @@ -178,6 +189,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: member = response.parse() assert_matches_type(SyncV4PagePaginationArray[MemberListResponse], member, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.accounts.members.with_streaming_response.list( @@ -191,6 +203,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: member = client.accounts.members.delete( @@ -200,6 +213,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[MemberDeleteResponse], member, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.accounts.members.with_raw_response.delete( @@ -213,6 +227,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: member = response.parse() assert_matches_type(Optional[MemberDeleteResponse], member, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.accounts.members.with_streaming_response.delete( @@ -228,6 +243,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `member_id` but received ''"): @@ -237,6 +253,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: member = client.accounts.members.get( @@ -245,6 +262,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Member, member, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.accounts.members.with_raw_response.get( @@ -257,6 +275,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: member = response.parse() assert_matches_type(Member, member, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.accounts.members.with_streaming_response.get( @@ -271,6 +290,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `member_id` but received ''"): @@ -283,6 +303,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncMembers: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: member = await async_client.accounts.members.create( @@ -296,6 +317,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(UserWithInviteCode, member, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: member = await async_client.accounts.members.create( @@ -310,6 +332,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(UserWithInviteCode, member, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.accounts.members.with_raw_response.create( @@ -327,6 +350,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: member = await response.parse() assert_matches_type(UserWithInviteCode, member, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.accounts.members.with_streaming_response.create( @@ -346,6 +370,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: member = await async_client.accounts.members.update( @@ -359,6 +384,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Member, member, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.accounts.members.with_raw_response.update( @@ -376,6 +402,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: member = await response.parse() assert_matches_type(Member, member, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.accounts.members.with_streaming_response.update( @@ -395,6 +422,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `member_id` but received ''"): @@ -408,6 +436,7 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: ], ) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: member = await async_client.accounts.members.list( @@ -415,6 +444,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncV4PagePaginationArray[MemberListResponse], member, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: member = await async_client.accounts.members.list( @@ -427,6 +457,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncV4PagePaginationArray[MemberListResponse], member, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.accounts.members.with_raw_response.list( @@ -438,6 +469,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: member = await response.parse() assert_matches_type(AsyncV4PagePaginationArray[MemberListResponse], member, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.accounts.members.with_streaming_response.list( @@ -451,6 +483,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: member = await async_client.accounts.members.delete( @@ -460,6 +493,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[MemberDeleteResponse], member, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.accounts.members.with_raw_response.delete( @@ -473,6 +507,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: member = await response.parse() assert_matches_type(Optional[MemberDeleteResponse], member, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.accounts.members.with_streaming_response.delete( @@ -488,6 +523,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `member_id` but received ''"): @@ -497,6 +533,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: member = await async_client.accounts.members.get( @@ -505,6 +542,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Member, member, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.accounts.members.with_raw_response.get( @@ -517,6 +555,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: member = await response.parse() assert_matches_type(Member, member, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.accounts.members.with_streaming_response.get( @@ -531,6 +570,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `member_id` but received ''"): diff --git a/tests/api_resources/accounts/test_roles.py b/tests/api_resources/accounts/test_roles.py index c8e6228b1be..1410249e0d4 100644 --- a/tests/api_resources/accounts/test_roles.py +++ b/tests/api_resources/accounts/test_roles.py @@ -19,6 +19,7 @@ class TestRoles: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: role = client.accounts.roles.list( @@ -26,6 +27,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[Role], role, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.accounts.roles.with_raw_response.list( @@ -37,6 +39,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: role = response.parse() assert_matches_type(SyncSinglePage[Role], role, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.accounts.roles.with_streaming_response.list( @@ -50,6 +53,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: role = client.accounts.roles.get( @@ -58,6 +62,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(RoleGetResponse, role, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.accounts.roles.with_raw_response.get( @@ -70,6 +75,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: role = response.parse() assert_matches_type(RoleGetResponse, role, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.accounts.roles.with_streaming_response.get( @@ -88,6 +94,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: class TestAsyncRoles: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: role = await async_client.accounts.roles.list( @@ -95,6 +102,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[Role], role, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.accounts.roles.with_raw_response.list( @@ -106,6 +114,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: role = await response.parse() assert_matches_type(AsyncSinglePage[Role], role, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.accounts.roles.with_streaming_response.list( @@ -119,6 +128,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: role = await async_client.accounts.roles.get( @@ -127,6 +137,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(RoleGetResponse, role, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.accounts.roles.with_raw_response.get( @@ -139,6 +150,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: role = await response.parse() assert_matches_type(RoleGetResponse, role, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.accounts.roles.with_streaming_response.get( diff --git a/tests/api_resources/acm/test_total_tls.py b/tests/api_resources/acm/test_total_tls.py index 7660fe8b525..1f0db8a87a6 100644 --- a/tests/api_resources/acm/test_total_tls.py +++ b/tests/api_resources/acm/test_total_tls.py @@ -17,6 +17,7 @@ class TestTotalTLS: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: total_tls = client.acm.total_tls.create( @@ -25,6 +26,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(TotalTLSCreateResponse, total_tls, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: total_tls = client.acm.total_tls.create( @@ -34,6 +36,7 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(TotalTLSCreateResponse, total_tls, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.acm.total_tls.with_raw_response.create( @@ -46,6 +49,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: total_tls = response.parse() assert_matches_type(TotalTLSCreateResponse, total_tls, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.acm.total_tls.with_streaming_response.create( @@ -60,6 +64,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -68,6 +73,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: enabled=True, ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: total_tls = client.acm.total_tls.get( @@ -75,6 +81,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(TotalTLSGetResponse, total_tls, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.acm.total_tls.with_raw_response.get( @@ -86,6 +93,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: total_tls = response.parse() assert_matches_type(TotalTLSGetResponse, total_tls, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.acm.total_tls.with_streaming_response.get( @@ -99,6 +107,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -110,6 +119,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncTotalTLS: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: total_tls = await async_client.acm.total_tls.create( @@ -118,6 +128,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(TotalTLSCreateResponse, total_tls, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: total_tls = await async_client.acm.total_tls.create( @@ -127,6 +138,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(TotalTLSCreateResponse, total_tls, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.acm.total_tls.with_raw_response.create( @@ -139,6 +151,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: total_tls = await response.parse() assert_matches_type(TotalTLSCreateResponse, total_tls, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.acm.total_tls.with_streaming_response.create( @@ -153,6 +166,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -161,6 +175,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: enabled=True, ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: total_tls = await async_client.acm.total_tls.get( @@ -168,6 +183,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(TotalTLSGetResponse, total_tls, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.acm.total_tls.with_raw_response.get( @@ -179,6 +195,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: total_tls = await response.parse() assert_matches_type(TotalTLSGetResponse, total_tls, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.acm.total_tls.with_streaming_response.get( @@ -192,6 +209,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): diff --git a/tests/api_resources/addressing/address_maps/test_accounts.py b/tests/api_resources/addressing/address_maps/test_accounts.py index 3a82650df6c..873237569e9 100644 --- a/tests/api_resources/addressing/address_maps/test_accounts.py +++ b/tests/api_resources/addressing/address_maps/test_accounts.py @@ -20,6 +20,7 @@ class TestAccounts: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: account = client.addressing.address_maps.accounts.update( @@ -29,6 +30,7 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[AccountUpdateResponse], account, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.addressing.address_maps.accounts.with_raw_response.update( @@ -42,6 +44,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: account = response.parse() assert_matches_type(Optional[AccountUpdateResponse], account, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.addressing.address_maps.accounts.with_streaming_response.update( @@ -57,6 +60,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -73,6 +77,7 @@ def test_path_params_update(self, client: Cloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: account = client.addressing.address_maps.accounts.delete( @@ -82,6 +87,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[AccountDeleteResponse], account, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.addressing.address_maps.accounts.with_raw_response.delete( @@ -95,6 +101,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: account = response.parse() assert_matches_type(Optional[AccountDeleteResponse], account, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.addressing.address_maps.accounts.with_streaming_response.delete( @@ -110,6 +117,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -130,6 +138,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: class TestAsyncAccounts: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: account = await async_client.addressing.address_maps.accounts.update( @@ -139,6 +148,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[AccountUpdateResponse], account, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.addressing.address_maps.accounts.with_raw_response.update( @@ -152,6 +162,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: account = await response.parse() assert_matches_type(Optional[AccountUpdateResponse], account, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.addressing.address_maps.accounts.with_streaming_response.update( @@ -167,6 +178,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -183,6 +195,7 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: account = await async_client.addressing.address_maps.accounts.delete( @@ -192,6 +205,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[AccountDeleteResponse], account, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.addressing.address_maps.accounts.with_raw_response.delete( @@ -205,6 +219,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: account = await response.parse() assert_matches_type(Optional[AccountDeleteResponse], account, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.addressing.address_maps.accounts.with_streaming_response.delete( @@ -220,6 +235,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/addressing/address_maps/test_ips.py b/tests/api_resources/addressing/address_maps/test_ips.py index 8ceece4f6da..5ac092eb762 100644 --- a/tests/api_resources/addressing/address_maps/test_ips.py +++ b/tests/api_resources/addressing/address_maps/test_ips.py @@ -20,6 +20,7 @@ class TestIPs: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: ip = client.addressing.address_maps.ips.update( @@ -30,6 +31,7 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[IPUpdateResponse], ip, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.addressing.address_maps.ips.with_raw_response.update( @@ -44,6 +46,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: ip = response.parse() assert_matches_type(Optional[IPUpdateResponse], ip, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.addressing.address_maps.ips.with_streaming_response.update( @@ -60,6 +63,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -86,6 +90,7 @@ def test_path_params_update(self, client: Cloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: ip = client.addressing.address_maps.ips.delete( @@ -96,6 +101,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[IPDeleteResponse], ip, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.addressing.address_maps.ips.with_raw_response.delete( @@ -110,6 +116,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: ip = response.parse() assert_matches_type(Optional[IPDeleteResponse], ip, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.addressing.address_maps.ips.with_streaming_response.delete( @@ -126,6 +133,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -156,6 +164,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: class TestAsyncIPs: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: ip = await async_client.addressing.address_maps.ips.update( @@ -166,6 +175,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[IPUpdateResponse], ip, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.addressing.address_maps.ips.with_raw_response.update( @@ -180,6 +190,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: ip = await response.parse() assert_matches_type(Optional[IPUpdateResponse], ip, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.addressing.address_maps.ips.with_streaming_response.update( @@ -196,6 +207,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -222,6 +234,7 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ip = await async_client.addressing.address_maps.ips.delete( @@ -232,6 +245,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[IPDeleteResponse], ip, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.addressing.address_maps.ips.with_raw_response.delete( @@ -246,6 +260,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: ip = await response.parse() assert_matches_type(Optional[IPDeleteResponse], ip, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.addressing.address_maps.ips.with_streaming_response.delete( @@ -262,6 +277,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/addressing/address_maps/test_zones.py b/tests/api_resources/addressing/address_maps/test_zones.py index 7899fef77b1..450019f8c44 100644 --- a/tests/api_resources/addressing/address_maps/test_zones.py +++ b/tests/api_resources/addressing/address_maps/test_zones.py @@ -20,6 +20,7 @@ class TestZones: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: zone = client.addressing.address_maps.zones.update( @@ -30,6 +31,7 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ZoneUpdateResponse], zone, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.addressing.address_maps.zones.with_raw_response.update( @@ -44,6 +46,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: zone = response.parse() assert_matches_type(Optional[ZoneUpdateResponse], zone, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.addressing.address_maps.zones.with_streaming_response.update( @@ -60,6 +63,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -86,6 +90,7 @@ def test_path_params_update(self, client: Cloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: zone = client.addressing.address_maps.zones.delete( @@ -96,6 +101,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ZoneDeleteResponse], zone, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.addressing.address_maps.zones.with_raw_response.delete( @@ -110,6 +116,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: zone = response.parse() assert_matches_type(Optional[ZoneDeleteResponse], zone, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.addressing.address_maps.zones.with_streaming_response.delete( @@ -126,6 +133,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -156,6 +164,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: class TestAsyncZones: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: zone = await async_client.addressing.address_maps.zones.update( @@ -166,6 +175,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[ZoneUpdateResponse], zone, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.addressing.address_maps.zones.with_raw_response.update( @@ -180,6 +190,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: zone = await response.parse() assert_matches_type(Optional[ZoneUpdateResponse], zone, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.addressing.address_maps.zones.with_streaming_response.update( @@ -196,6 +207,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -222,6 +234,7 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: zone = await async_client.addressing.address_maps.zones.delete( @@ -232,6 +245,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[ZoneDeleteResponse], zone, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.addressing.address_maps.zones.with_raw_response.delete( @@ -246,6 +260,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: zone = await response.parse() assert_matches_type(Optional[ZoneDeleteResponse], zone, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.addressing.address_maps.zones.with_streaming_response.delete( @@ -262,6 +277,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): diff --git a/tests/api_resources/addressing/loa_documents/test_downloads.py b/tests/api_resources/addressing/loa_documents/test_downloads.py index db82ee230fa..aa02e80594c 100644 --- a/tests/api_resources/addressing/loa_documents/test_downloads.py +++ b/tests/api_resources/addressing/loa_documents/test_downloads.py @@ -16,6 +16,7 @@ class TestDownloads: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: download = client.addressing.loa_documents.downloads.get( @@ -24,6 +25,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(object, download, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.addressing.loa_documents.downloads.with_raw_response.get( @@ -36,6 +38,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: download = response.parse() assert_matches_type(object, download, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.addressing.loa_documents.downloads.with_streaming_response.get( @@ -50,6 +53,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -68,6 +72,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncDownloads: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: download = await async_client.addressing.loa_documents.downloads.get( @@ -76,6 +81,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(object, download, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.addressing.loa_documents.downloads.with_raw_response.get( @@ -88,6 +94,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: download = await response.parse() assert_matches_type(object, download, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.addressing.loa_documents.downloads.with_streaming_response.get( @@ -102,6 +109,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/addressing/prefixes/bgp/test_bindings.py b/tests/api_resources/addressing/prefixes/bgp/test_bindings.py index 15cc3518ea5..ceb620a6d1a 100644 --- a/tests/api_resources/addressing/prefixes/bgp/test_bindings.py +++ b/tests/api_resources/addressing/prefixes/bgp/test_bindings.py @@ -18,6 +18,7 @@ class TestBindings: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: binding = client.addressing.prefixes.bgp.bindings.create( @@ -26,6 +27,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(ServiceBinding, binding, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: binding = client.addressing.prefixes.bgp.bindings.create( @@ -36,6 +38,7 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(ServiceBinding, binding, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.addressing.prefixes.bgp.bindings.with_raw_response.create( @@ -48,6 +51,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: binding = response.parse() assert_matches_type(ServiceBinding, binding, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.addressing.prefixes.bgp.bindings.with_streaming_response.create( @@ -62,6 +66,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -76,6 +81,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: binding = client.addressing.prefixes.bgp.bindings.list( @@ -84,6 +90,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[ServiceBinding], binding, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.addressing.prefixes.bgp.bindings.with_raw_response.list( @@ -96,6 +103,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: binding = response.parse() assert_matches_type(SyncSinglePage[ServiceBinding], binding, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.addressing.prefixes.bgp.bindings.with_streaming_response.list( @@ -110,6 +118,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -124,6 +133,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: binding = client.addressing.prefixes.bgp.bindings.delete( @@ -133,6 +143,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(BindingDeleteResponse, binding, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.addressing.prefixes.bgp.bindings.with_raw_response.delete( @@ -146,6 +157,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: binding = response.parse() assert_matches_type(BindingDeleteResponse, binding, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.addressing.prefixes.bgp.bindings.with_streaming_response.delete( @@ -161,6 +173,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -184,6 +197,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: prefix_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: binding = client.addressing.prefixes.bgp.bindings.get( @@ -193,6 +207,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(ServiceBinding, binding, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.addressing.prefixes.bgp.bindings.with_raw_response.get( @@ -206,6 +221,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: binding = response.parse() assert_matches_type(ServiceBinding, binding, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.addressing.prefixes.bgp.bindings.with_streaming_response.get( @@ -221,6 +237,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -248,6 +265,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncBindings: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: binding = await async_client.addressing.prefixes.bgp.bindings.create( @@ -256,6 +274,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(ServiceBinding, binding, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: binding = await async_client.addressing.prefixes.bgp.bindings.create( @@ -266,6 +285,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(ServiceBinding, binding, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.addressing.prefixes.bgp.bindings.with_raw_response.create( @@ -278,6 +298,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: binding = await response.parse() assert_matches_type(ServiceBinding, binding, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.addressing.prefixes.bgp.bindings.with_streaming_response.create( @@ -292,6 +313,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -306,6 +328,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: binding = await async_client.addressing.prefixes.bgp.bindings.list( @@ -314,6 +337,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[ServiceBinding], binding, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.addressing.prefixes.bgp.bindings.with_raw_response.list( @@ -326,6 +350,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: binding = await response.parse() assert_matches_type(AsyncSinglePage[ServiceBinding], binding, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.addressing.prefixes.bgp.bindings.with_streaming_response.list( @@ -340,6 +365,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -354,6 +380,7 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: binding = await async_client.addressing.prefixes.bgp.bindings.delete( @@ -363,6 +390,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(BindingDeleteResponse, binding, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.addressing.prefixes.bgp.bindings.with_raw_response.delete( @@ -376,6 +404,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: binding = await response.parse() assert_matches_type(BindingDeleteResponse, binding, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.addressing.prefixes.bgp.bindings.with_streaming_response.delete( @@ -391,6 +420,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -414,6 +444,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: prefix_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: binding = await async_client.addressing.prefixes.bgp.bindings.get( @@ -423,6 +454,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(ServiceBinding, binding, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.addressing.prefixes.bgp.bindings.with_raw_response.get( @@ -436,6 +468,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: binding = await response.parse() assert_matches_type(ServiceBinding, binding, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.addressing.prefixes.bgp.bindings.with_streaming_response.get( @@ -451,6 +484,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/addressing/prefixes/bgp/test_prefixes.py b/tests/api_resources/addressing/prefixes/bgp/test_prefixes.py index 870b70456e9..f0a7190e494 100644 --- a/tests/api_resources/addressing/prefixes/bgp/test_prefixes.py +++ b/tests/api_resources/addressing/prefixes/bgp/test_prefixes.py @@ -18,6 +18,7 @@ class TestPrefixes: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: prefix = client.addressing.prefixes.bgp.prefixes.list( @@ -26,6 +27,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[BGPPrefix], prefix, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.addressing.prefixes.bgp.prefixes.with_raw_response.list( @@ -38,6 +40,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: prefix = response.parse() assert_matches_type(SyncSinglePage[BGPPrefix], prefix, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.addressing.prefixes.bgp.prefixes.with_streaming_response.list( @@ -52,6 +55,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -66,6 +70,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: prefix = client.addressing.prefixes.bgp.prefixes.edit( @@ -75,6 +80,7 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(BGPPrefix, prefix, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_edit_with_all_params(self, client: Cloudflare) -> None: prefix = client.addressing.prefixes.bgp.prefixes.edit( @@ -85,6 +91,7 @@ def test_method_edit_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(BGPPrefix, prefix, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.addressing.prefixes.bgp.prefixes.with_raw_response.edit( @@ -98,6 +105,7 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: prefix = response.parse() assert_matches_type(BGPPrefix, prefix, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.addressing.prefixes.bgp.prefixes.with_streaming_response.edit( @@ -113,6 +121,7 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -136,6 +145,7 @@ def test_path_params_edit(self, client: Cloudflare) -> None: prefix_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: prefix = client.addressing.prefixes.bgp.prefixes.get( @@ -145,6 +155,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(BGPPrefix, prefix, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.addressing.prefixes.bgp.prefixes.with_raw_response.get( @@ -158,6 +169,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: prefix = response.parse() assert_matches_type(BGPPrefix, prefix, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.addressing.prefixes.bgp.prefixes.with_streaming_response.get( @@ -173,6 +185,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -200,6 +213,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncPrefixes: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: prefix = await async_client.addressing.prefixes.bgp.prefixes.list( @@ -208,6 +222,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[BGPPrefix], prefix, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.addressing.prefixes.bgp.prefixes.with_raw_response.list( @@ -220,6 +235,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: prefix = await response.parse() assert_matches_type(AsyncSinglePage[BGPPrefix], prefix, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.addressing.prefixes.bgp.prefixes.with_streaming_response.list( @@ -234,6 +250,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -248,6 +265,7 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: prefix = await async_client.addressing.prefixes.bgp.prefixes.edit( @@ -257,6 +275,7 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(BGPPrefix, prefix, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) -> None: prefix = await async_client.addressing.prefixes.bgp.prefixes.edit( @@ -267,6 +286,7 @@ async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(BGPPrefix, prefix, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.addressing.prefixes.bgp.prefixes.with_raw_response.edit( @@ -280,6 +300,7 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: prefix = await response.parse() assert_matches_type(BGPPrefix, prefix, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.addressing.prefixes.bgp.prefixes.with_streaming_response.edit( @@ -295,6 +316,7 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -318,6 +340,7 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: prefix_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: prefix = await async_client.addressing.prefixes.bgp.prefixes.get( @@ -327,6 +350,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(BGPPrefix, prefix, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.addressing.prefixes.bgp.prefixes.with_raw_response.get( @@ -340,6 +364,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: prefix = await response.parse() assert_matches_type(BGPPrefix, prefix, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.addressing.prefixes.bgp.prefixes.with_streaming_response.get( @@ -355,6 +380,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/addressing/prefixes/bgp/test_statuses.py b/tests/api_resources/addressing/prefixes/bgp/test_statuses.py index 7abe68f3bc5..a54d8bb4d77 100644 --- a/tests/api_resources/addressing/prefixes/bgp/test_statuses.py +++ b/tests/api_resources/addressing/prefixes/bgp/test_statuses.py @@ -17,6 +17,7 @@ class TestStatuses: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: status = client.addressing.prefixes.bgp.statuses.edit( @@ -26,6 +27,7 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(StatusEditResponse, status, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.addressing.prefixes.bgp.statuses.with_raw_response.edit( @@ -39,6 +41,7 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: status = response.parse() assert_matches_type(StatusEditResponse, status, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.addressing.prefixes.bgp.statuses.with_streaming_response.edit( @@ -54,6 +57,7 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -70,6 +74,7 @@ def test_path_params_edit(self, client: Cloudflare) -> None: advertised=True, ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: status = client.addressing.prefixes.bgp.statuses.get( @@ -78,6 +83,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(StatusGetResponse, status, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.addressing.prefixes.bgp.statuses.with_raw_response.get( @@ -90,6 +96,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: status = response.parse() assert_matches_type(StatusGetResponse, status, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.addressing.prefixes.bgp.statuses.with_streaming_response.get( @@ -104,6 +111,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -122,6 +130,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncStatuses: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: status = await async_client.addressing.prefixes.bgp.statuses.edit( @@ -131,6 +140,7 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(StatusEditResponse, status, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.addressing.prefixes.bgp.statuses.with_raw_response.edit( @@ -144,6 +154,7 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: status = await response.parse() assert_matches_type(StatusEditResponse, status, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.addressing.prefixes.bgp.statuses.with_streaming_response.edit( @@ -159,6 +170,7 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -175,6 +187,7 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: advertised=True, ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: status = await async_client.addressing.prefixes.bgp.statuses.get( @@ -183,6 +196,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(StatusGetResponse, status, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.addressing.prefixes.bgp.statuses.with_raw_response.get( @@ -195,6 +209,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: status = await response.parse() assert_matches_type(StatusGetResponse, status, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.addressing.prefixes.bgp.statuses.with_streaming_response.get( @@ -209,6 +224,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/addressing/prefixes/test_delegations.py b/tests/api_resources/addressing/prefixes/test_delegations.py index c233cda3798..cc48cc0b00b 100644 --- a/tests/api_resources/addressing/prefixes/test_delegations.py +++ b/tests/api_resources/addressing/prefixes/test_delegations.py @@ -21,6 +21,7 @@ class TestDelegations: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: delegation = client.addressing.prefixes.delegations.create( @@ -31,6 +32,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Delegations, delegation, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.addressing.prefixes.delegations.with_raw_response.create( @@ -45,6 +47,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: delegation = response.parse() assert_matches_type(Delegations, delegation, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.addressing.prefixes.delegations.with_streaming_response.create( @@ -61,6 +64,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -79,6 +83,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: delegated_account_id="b1946ac92492d2347c6235b4d2611184", ) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: delegation = client.addressing.prefixes.delegations.list( @@ -87,6 +92,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[Delegations], delegation, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.addressing.prefixes.delegations.with_raw_response.list( @@ -99,6 +105,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: delegation = response.parse() assert_matches_type(SyncSinglePage[Delegations], delegation, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.addressing.prefixes.delegations.with_streaming_response.list( @@ -113,6 +120,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -127,6 +135,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: delegation = client.addressing.prefixes.delegations.delete( @@ -137,6 +146,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(DelegationDeleteResponse, delegation, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.addressing.prefixes.delegations.with_raw_response.delete( @@ -151,6 +161,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: delegation = response.parse() assert_matches_type(DelegationDeleteResponse, delegation, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.addressing.prefixes.delegations.with_streaming_response.delete( @@ -167,6 +178,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -197,6 +209,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: class TestAsyncDelegations: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: delegation = await async_client.addressing.prefixes.delegations.create( @@ -207,6 +220,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Delegations, delegation, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.addressing.prefixes.delegations.with_raw_response.create( @@ -221,6 +235,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: delegation = await response.parse() assert_matches_type(Delegations, delegation, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.addressing.prefixes.delegations.with_streaming_response.create( @@ -237,6 +252,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -255,6 +271,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: delegated_account_id="b1946ac92492d2347c6235b4d2611184", ) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: delegation = await async_client.addressing.prefixes.delegations.list( @@ -263,6 +280,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[Delegations], delegation, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.addressing.prefixes.delegations.with_raw_response.list( @@ -275,6 +293,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: delegation = await response.parse() assert_matches_type(AsyncSinglePage[Delegations], delegation, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.addressing.prefixes.delegations.with_streaming_response.list( @@ -289,6 +308,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -303,6 +323,7 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: delegation = await async_client.addressing.prefixes.delegations.delete( @@ -313,6 +334,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(DelegationDeleteResponse, delegation, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.addressing.prefixes.delegations.with_raw_response.delete( @@ -327,6 +349,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: delegation = await response.parse() assert_matches_type(DelegationDeleteResponse, delegation, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.addressing.prefixes.delegations.with_streaming_response.delete( @@ -343,6 +366,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/addressing/test_address_maps.py b/tests/api_resources/addressing/test_address_maps.py index 906cb6fecdd..7536f76aea4 100644 --- a/tests/api_resources/addressing/test_address_maps.py +++ b/tests/api_resources/addressing/test_address_maps.py @@ -23,6 +23,7 @@ class TestAddressMaps: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: address_map = client.addressing.address_maps.create( @@ -30,6 +31,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(AddressMapCreateResponse, address_map, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: address_map = client.addressing.address_maps.create( @@ -39,6 +41,7 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(AddressMapCreateResponse, address_map, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.addressing.address_maps.with_raw_response.create( @@ -50,6 +53,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: address_map = response.parse() assert_matches_type(AddressMapCreateResponse, address_map, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.addressing.address_maps.with_streaming_response.create( @@ -63,6 +67,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -70,6 +75,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: address_map = client.addressing.address_maps.list( @@ -77,6 +83,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[AddressMap], address_map, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.addressing.address_maps.with_raw_response.list( @@ -88,6 +95,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: address_map = response.parse() assert_matches_type(SyncSinglePage[AddressMap], address_map, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.addressing.address_maps.with_streaming_response.list( @@ -101,6 +109,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -108,6 +117,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: address_map = client.addressing.address_maps.delete( @@ -117,6 +127,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[AddressMapDeleteResponse], address_map, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.addressing.address_maps.with_raw_response.delete( @@ -130,6 +141,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: address_map = response.parse() assert_matches_type(Optional[AddressMapDeleteResponse], address_map, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.addressing.address_maps.with_streaming_response.delete( @@ -145,6 +157,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -161,6 +174,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: address_map = client.addressing.address_maps.edit( @@ -169,6 +183,7 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(AddressMap, address_map, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_edit_with_all_params(self, client: Cloudflare) -> None: address_map = client.addressing.address_maps.edit( @@ -180,6 +195,7 @@ def test_method_edit_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(AddressMap, address_map, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.addressing.address_maps.with_raw_response.edit( @@ -192,6 +208,7 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: address_map = response.parse() assert_matches_type(AddressMap, address_map, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.addressing.address_maps.with_streaming_response.edit( @@ -206,6 +223,7 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -220,6 +238,7 @@ def test_path_params_edit(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: address_map = client.addressing.address_maps.get( @@ -228,6 +247,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(AddressMapGetResponse, address_map, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.addressing.address_maps.with_raw_response.get( @@ -240,6 +260,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: address_map = response.parse() assert_matches_type(AddressMapGetResponse, address_map, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.addressing.address_maps.with_streaming_response.get( @@ -254,6 +275,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -272,6 +294,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncAddressMaps: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: address_map = await async_client.addressing.address_maps.create( @@ -279,6 +302,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AddressMapCreateResponse, address_map, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: address_map = await async_client.addressing.address_maps.create( @@ -288,6 +312,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(AddressMapCreateResponse, address_map, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.addressing.address_maps.with_raw_response.create( @@ -299,6 +324,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: address_map = await response.parse() assert_matches_type(AddressMapCreateResponse, address_map, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.addressing.address_maps.with_streaming_response.create( @@ -312,6 +338,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -319,6 +346,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: address_map = await async_client.addressing.address_maps.list( @@ -326,6 +354,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[AddressMap], address_map, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.addressing.address_maps.with_raw_response.list( @@ -337,6 +366,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: address_map = await response.parse() assert_matches_type(AsyncSinglePage[AddressMap], address_map, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.addressing.address_maps.with_streaming_response.list( @@ -350,6 +380,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -357,6 +388,7 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: address_map = await async_client.addressing.address_maps.delete( @@ -366,6 +398,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[AddressMapDeleteResponse], address_map, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.addressing.address_maps.with_raw_response.delete( @@ -379,6 +412,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: address_map = await response.parse() assert_matches_type(Optional[AddressMapDeleteResponse], address_map, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.addressing.address_maps.with_streaming_response.delete( @@ -394,6 +428,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -410,6 +445,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: address_map = await async_client.addressing.address_maps.edit( @@ -418,6 +454,7 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AddressMap, address_map, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) -> None: address_map = await async_client.addressing.address_maps.edit( @@ -429,6 +466,7 @@ async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AddressMap, address_map, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.addressing.address_maps.with_raw_response.edit( @@ -441,6 +479,7 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: address_map = await response.parse() assert_matches_type(AddressMap, address_map, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.addressing.address_maps.with_streaming_response.edit( @@ -455,6 +494,7 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -469,6 +509,7 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: address_map = await async_client.addressing.address_maps.get( @@ -477,6 +518,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AddressMapGetResponse, address_map, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.addressing.address_maps.with_raw_response.get( @@ -489,6 +531,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: address_map = await response.parse() assert_matches_type(AddressMapGetResponse, address_map, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.addressing.address_maps.with_streaming_response.get( @@ -503,6 +546,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/addressing/test_loa_documents.py b/tests/api_resources/addressing/test_loa_documents.py index 88dbddbc3e9..c2e4033f38e 100644 --- a/tests/api_resources/addressing/test_loa_documents.py +++ b/tests/api_resources/addressing/test_loa_documents.py @@ -17,6 +17,7 @@ class TestLOADocuments: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: loa_document = client.addressing.loa_documents.create( @@ -25,6 +26,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(LOADocumentCreateResponse, loa_document, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.addressing.loa_documents.with_raw_response.create( @@ -37,6 +39,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: loa_document = response.parse() assert_matches_type(LOADocumentCreateResponse, loa_document, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.addressing.loa_documents.with_streaming_response.create( @@ -51,6 +54,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -63,6 +67,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: class TestAsyncLOADocuments: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: loa_document = await async_client.addressing.loa_documents.create( @@ -71,6 +76,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(LOADocumentCreateResponse, loa_document, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.addressing.loa_documents.with_raw_response.create( @@ -83,6 +89,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: loa_document = await response.parse() assert_matches_type(LOADocumentCreateResponse, loa_document, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.addressing.loa_documents.with_streaming_response.create( @@ -97,6 +104,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/addressing/test_prefixes.py b/tests/api_resources/addressing/test_prefixes.py index 83da23a01fc..8c570378484 100644 --- a/tests/api_resources/addressing/test_prefixes.py +++ b/tests/api_resources/addressing/test_prefixes.py @@ -21,6 +21,7 @@ class TestPrefixes: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: prefix = client.addressing.prefixes.create( @@ -31,6 +32,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Prefix, prefix, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.addressing.prefixes.with_raw_response.create( @@ -45,6 +47,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: prefix = response.parse() assert_matches_type(Prefix, prefix, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.addressing.prefixes.with_streaming_response.create( @@ -61,6 +64,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -71,6 +75,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: loa_document_id="d933b1530bc56c9953cf8ce166da8004", ) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: prefix = client.addressing.prefixes.list( @@ -78,6 +83,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[Prefix], prefix, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.addressing.prefixes.with_raw_response.list( @@ -89,6 +95,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: prefix = response.parse() assert_matches_type(SyncSinglePage[Prefix], prefix, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.addressing.prefixes.with_streaming_response.list( @@ -102,6 +109,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -109,6 +117,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: prefix = client.addressing.prefixes.delete( @@ -118,6 +127,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[PrefixDeleteResponse], prefix, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.addressing.prefixes.with_raw_response.delete( @@ -131,6 +141,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: prefix = response.parse() assert_matches_type(Optional[PrefixDeleteResponse], prefix, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.addressing.prefixes.with_streaming_response.delete( @@ -146,6 +157,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -162,6 +174,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: prefix = client.addressing.prefixes.edit( @@ -171,6 +184,7 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Prefix, prefix, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.addressing.prefixes.with_raw_response.edit( @@ -184,6 +198,7 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: prefix = response.parse() assert_matches_type(Prefix, prefix, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.addressing.prefixes.with_streaming_response.edit( @@ -199,6 +214,7 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -215,6 +231,7 @@ def test_path_params_edit(self, client: Cloudflare) -> None: description="Internal test prefix", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: prefix = client.addressing.prefixes.get( @@ -223,6 +240,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Prefix, prefix, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.addressing.prefixes.with_raw_response.get( @@ -235,6 +253,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: prefix = response.parse() assert_matches_type(Prefix, prefix, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.addressing.prefixes.with_streaming_response.get( @@ -249,6 +268,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -267,6 +287,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncPrefixes: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: prefix = await async_client.addressing.prefixes.create( @@ -277,6 +298,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Prefix, prefix, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.addressing.prefixes.with_raw_response.create( @@ -291,6 +313,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: prefix = await response.parse() assert_matches_type(Prefix, prefix, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.addressing.prefixes.with_streaming_response.create( @@ -307,6 +330,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -317,6 +341,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: loa_document_id="d933b1530bc56c9953cf8ce166da8004", ) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: prefix = await async_client.addressing.prefixes.list( @@ -324,6 +349,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[Prefix], prefix, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.addressing.prefixes.with_raw_response.list( @@ -335,6 +361,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: prefix = await response.parse() assert_matches_type(AsyncSinglePage[Prefix], prefix, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.addressing.prefixes.with_streaming_response.list( @@ -348,6 +375,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -355,6 +383,7 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: prefix = await async_client.addressing.prefixes.delete( @@ -364,6 +393,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[PrefixDeleteResponse], prefix, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.addressing.prefixes.with_raw_response.delete( @@ -377,6 +407,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: prefix = await response.parse() assert_matches_type(Optional[PrefixDeleteResponse], prefix, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.addressing.prefixes.with_streaming_response.delete( @@ -392,6 +423,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -408,6 +440,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: prefix = await async_client.addressing.prefixes.edit( @@ -417,6 +450,7 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Prefix, prefix, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.addressing.prefixes.with_raw_response.edit( @@ -430,6 +464,7 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: prefix = await response.parse() assert_matches_type(Prefix, prefix, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.addressing.prefixes.with_streaming_response.edit( @@ -445,6 +480,7 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -461,6 +497,7 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: description="Internal test prefix", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: prefix = await async_client.addressing.prefixes.get( @@ -469,6 +506,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Prefix, prefix, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.addressing.prefixes.with_raw_response.get( @@ -481,6 +519,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: prefix = await response.parse() assert_matches_type(Prefix, prefix, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.addressing.prefixes.with_streaming_response.get( @@ -495,6 +534,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/addressing/test_services.py b/tests/api_resources/addressing/test_services.py index e54cb33ece0..bab9eef74b0 100644 --- a/tests/api_resources/addressing/test_services.py +++ b/tests/api_resources/addressing/test_services.py @@ -18,6 +18,7 @@ class TestServices: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: service = client.addressing.services.list( @@ -25,6 +26,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[ServiceListResponse], service, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.addressing.services.with_raw_response.list( @@ -36,6 +38,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: service = response.parse() assert_matches_type(SyncSinglePage[ServiceListResponse], service, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.addressing.services.with_streaming_response.list( @@ -49,6 +52,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -60,6 +64,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: class TestAsyncServices: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: service = await async_client.addressing.services.list( @@ -67,6 +72,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[ServiceListResponse], service, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.addressing.services.with_raw_response.list( @@ -78,6 +84,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: service = await response.parse() assert_matches_type(AsyncSinglePage[ServiceListResponse], service, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.addressing.services.with_streaming_response.list( @@ -91,6 +98,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/alerting/destinations/test_eligible.py b/tests/api_resources/alerting/destinations/test_eligible.py index ee7c9caff3e..ef1a207dbd4 100644 --- a/tests/api_resources/alerting/destinations/test_eligible.py +++ b/tests/api_resources/alerting/destinations/test_eligible.py @@ -17,6 +17,7 @@ class TestEligible: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: eligible = client.alerting.destinations.eligible.get( @@ -24,6 +25,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[EligibleGetResponse], eligible, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.alerting.destinations.eligible.with_raw_response.get( @@ -35,6 +37,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: eligible = response.parse() assert_matches_type(Optional[EligibleGetResponse], eligible, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.alerting.destinations.eligible.with_streaming_response.get( @@ -48,6 +51,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -59,6 +63,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncEligible: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: eligible = await async_client.alerting.destinations.eligible.get( @@ -66,6 +71,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[EligibleGetResponse], eligible, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.alerting.destinations.eligible.with_raw_response.get( @@ -77,6 +83,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: eligible = await response.parse() assert_matches_type(Optional[EligibleGetResponse], eligible, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.alerting.destinations.eligible.with_streaming_response.get( @@ -90,6 +97,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/alerting/destinations/test_pagerduty.py b/tests/api_resources/alerting/destinations/test_pagerduty.py index 912f43e1c42..07b1cb56436 100644 --- a/tests/api_resources/alerting/destinations/test_pagerduty.py +++ b/tests/api_resources/alerting/destinations/test_pagerduty.py @@ -22,6 +22,7 @@ class TestPagerduty: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: pagerduty = client.alerting.destinations.pagerduty.create( @@ -29,6 +30,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(PagerdutyCreateResponse, pagerduty, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.alerting.destinations.pagerduty.with_raw_response.create( @@ -40,6 +42,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: pagerduty = response.parse() assert_matches_type(PagerdutyCreateResponse, pagerduty, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.alerting.destinations.pagerduty.with_streaming_response.create( @@ -53,6 +56,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -60,6 +64,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: pagerduty = client.alerting.destinations.pagerduty.delete( @@ -67,6 +72,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[PagerdutyDeleteResponse], pagerduty, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.alerting.destinations.pagerduty.with_raw_response.delete( @@ -78,6 +84,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: pagerduty = response.parse() assert_matches_type(Optional[PagerdutyDeleteResponse], pagerduty, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.alerting.destinations.pagerduty.with_streaming_response.delete( @@ -91,6 +98,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -98,6 +106,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: pagerduty = client.alerting.destinations.pagerduty.get( @@ -105,6 +114,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[PagerdutyGetResponse], pagerduty, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.alerting.destinations.pagerduty.with_raw_response.get( @@ -116,6 +126,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: pagerduty = response.parse() assert_matches_type(Optional[PagerdutyGetResponse], pagerduty, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.alerting.destinations.pagerduty.with_streaming_response.get( @@ -129,6 +140,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -136,6 +148,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize def test_method_link(self, client: Cloudflare) -> None: pagerduty = client.alerting.destinations.pagerduty.link( @@ -144,6 +157,7 @@ def test_method_link(self, client: Cloudflare) -> None: ) assert_matches_type(PagerdutyLinkResponse, pagerduty, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_link(self, client: Cloudflare) -> None: response = client.alerting.destinations.pagerduty.with_raw_response.link( @@ -156,6 +170,7 @@ def test_raw_response_link(self, client: Cloudflare) -> None: pagerduty = response.parse() assert_matches_type(PagerdutyLinkResponse, pagerduty, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_link(self, client: Cloudflare) -> None: with client.alerting.destinations.pagerduty.with_streaming_response.link( @@ -170,6 +185,7 @@ def test_streaming_response_link(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_link(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -188,6 +204,7 @@ def test_path_params_link(self, client: Cloudflare) -> None: class TestAsyncPagerduty: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: pagerduty = await async_client.alerting.destinations.pagerduty.create( @@ -195,6 +212,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(PagerdutyCreateResponse, pagerduty, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.alerting.destinations.pagerduty.with_raw_response.create( @@ -206,6 +224,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: pagerduty = await response.parse() assert_matches_type(PagerdutyCreateResponse, pagerduty, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.alerting.destinations.pagerduty.with_streaming_response.create( @@ -219,6 +238,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -226,6 +246,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: pagerduty = await async_client.alerting.destinations.pagerduty.delete( @@ -233,6 +254,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[PagerdutyDeleteResponse], pagerduty, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.alerting.destinations.pagerduty.with_raw_response.delete( @@ -244,6 +266,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: pagerduty = await response.parse() assert_matches_type(Optional[PagerdutyDeleteResponse], pagerduty, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.alerting.destinations.pagerduty.with_streaming_response.delete( @@ -257,6 +280,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -264,6 +288,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: pagerduty = await async_client.alerting.destinations.pagerduty.get( @@ -271,6 +296,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[PagerdutyGetResponse], pagerduty, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.alerting.destinations.pagerduty.with_raw_response.get( @@ -282,6 +308,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: pagerduty = await response.parse() assert_matches_type(Optional[PagerdutyGetResponse], pagerduty, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.alerting.destinations.pagerduty.with_streaming_response.get( @@ -295,6 +322,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -302,6 +330,7 @@ async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize async def test_method_link(self, async_client: AsyncCloudflare) -> None: pagerduty = await async_client.alerting.destinations.pagerduty.link( @@ -310,6 +339,7 @@ async def test_method_link(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(PagerdutyLinkResponse, pagerduty, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_link(self, async_client: AsyncCloudflare) -> None: response = await async_client.alerting.destinations.pagerduty.with_raw_response.link( @@ -322,6 +352,7 @@ async def test_raw_response_link(self, async_client: AsyncCloudflare) -> None: pagerduty = await response.parse() assert_matches_type(PagerdutyLinkResponse, pagerduty, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_link(self, async_client: AsyncCloudflare) -> None: async with async_client.alerting.destinations.pagerduty.with_streaming_response.link( @@ -336,6 +367,7 @@ async def test_streaming_response_link(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_link(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/alerting/destinations/test_webhooks.py b/tests/api_resources/alerting/destinations/test_webhooks.py index 9da98e9f458..fbdefa33436 100644 --- a/tests/api_resources/alerting/destinations/test_webhooks.py +++ b/tests/api_resources/alerting/destinations/test_webhooks.py @@ -23,6 +23,7 @@ class TestWebhooks: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: webhook = client.alerting.destinations.webhooks.create( @@ -32,6 +33,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(WebhookCreateResponse, webhook, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: webhook = client.alerting.destinations.webhooks.create( @@ -42,6 +44,7 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(WebhookCreateResponse, webhook, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.alerting.destinations.webhooks.with_raw_response.create( @@ -55,6 +58,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: webhook = response.parse() assert_matches_type(WebhookCreateResponse, webhook, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.alerting.destinations.webhooks.with_streaming_response.create( @@ -70,6 +74,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -79,6 +84,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: url="https://hooks.slack.com/services/Ds3fdBFbV/456464Gdd", ) + @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: webhook = client.alerting.destinations.webhooks.update( @@ -89,6 +95,7 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(WebhookUpdateResponse, webhook, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: webhook = client.alerting.destinations.webhooks.update( @@ -100,6 +107,7 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(WebhookUpdateResponse, webhook, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.alerting.destinations.webhooks.with_raw_response.update( @@ -114,6 +122,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: webhook = response.parse() assert_matches_type(WebhookUpdateResponse, webhook, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.alerting.destinations.webhooks.with_streaming_response.update( @@ -130,6 +139,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -148,6 +158,7 @@ def test_path_params_update(self, client: Cloudflare) -> None: url="https://hooks.slack.com/services/Ds3fdBFbV/456464Gdd", ) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: webhook = client.alerting.destinations.webhooks.list( @@ -155,6 +166,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[Webhooks], webhook, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.alerting.destinations.webhooks.with_raw_response.list( @@ -166,6 +178,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: webhook = response.parse() assert_matches_type(SyncSinglePage[Webhooks], webhook, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.alerting.destinations.webhooks.with_streaming_response.list( @@ -179,6 +192,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -186,6 +200,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: webhook = client.alerting.destinations.webhooks.delete( @@ -194,6 +209,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[WebhookDeleteResponse], webhook, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.alerting.destinations.webhooks.with_raw_response.delete( @@ -206,6 +222,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: webhook = response.parse() assert_matches_type(Optional[WebhookDeleteResponse], webhook, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.alerting.destinations.webhooks.with_streaming_response.delete( @@ -220,6 +237,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -234,6 +252,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: webhook = client.alerting.destinations.webhooks.get( @@ -242,6 +261,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Webhooks, webhook, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.alerting.destinations.webhooks.with_raw_response.get( @@ -254,6 +274,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: webhook = response.parse() assert_matches_type(Webhooks, webhook, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.alerting.destinations.webhooks.with_streaming_response.get( @@ -268,6 +289,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -286,6 +308,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncWebhooks: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: webhook = await async_client.alerting.destinations.webhooks.create( @@ -295,6 +318,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(WebhookCreateResponse, webhook, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: webhook = await async_client.alerting.destinations.webhooks.create( @@ -305,6 +329,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(WebhookCreateResponse, webhook, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.alerting.destinations.webhooks.with_raw_response.create( @@ -318,6 +343,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: webhook = await response.parse() assert_matches_type(WebhookCreateResponse, webhook, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.alerting.destinations.webhooks.with_streaming_response.create( @@ -333,6 +359,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -342,6 +369,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: url="https://hooks.slack.com/services/Ds3fdBFbV/456464Gdd", ) + @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: webhook = await async_client.alerting.destinations.webhooks.update( @@ -352,6 +380,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(WebhookUpdateResponse, webhook, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: webhook = await async_client.alerting.destinations.webhooks.update( @@ -363,6 +392,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(WebhookUpdateResponse, webhook, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.alerting.destinations.webhooks.with_raw_response.update( @@ -377,6 +407,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: webhook = await response.parse() assert_matches_type(WebhookUpdateResponse, webhook, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.alerting.destinations.webhooks.with_streaming_response.update( @@ -393,6 +424,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -411,6 +443,7 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: url="https://hooks.slack.com/services/Ds3fdBFbV/456464Gdd", ) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: webhook = await async_client.alerting.destinations.webhooks.list( @@ -418,6 +451,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[Webhooks], webhook, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.alerting.destinations.webhooks.with_raw_response.list( @@ -429,6 +463,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: webhook = await response.parse() assert_matches_type(AsyncSinglePage[Webhooks], webhook, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.alerting.destinations.webhooks.with_streaming_response.list( @@ -442,6 +477,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -449,6 +485,7 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: webhook = await async_client.alerting.destinations.webhooks.delete( @@ -457,6 +494,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[WebhookDeleteResponse], webhook, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.alerting.destinations.webhooks.with_raw_response.delete( @@ -469,6 +507,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: webhook = await response.parse() assert_matches_type(Optional[WebhookDeleteResponse], webhook, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.alerting.destinations.webhooks.with_streaming_response.delete( @@ -483,6 +522,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -497,6 +537,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: webhook = await async_client.alerting.destinations.webhooks.get( @@ -505,6 +546,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Webhooks, webhook, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.alerting.destinations.webhooks.with_raw_response.get( @@ -517,6 +559,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: webhook = await response.parse() assert_matches_type(Webhooks, webhook, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.alerting.destinations.webhooks.with_streaming_response.get( @@ -531,6 +574,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/alerting/test_available_alerts.py b/tests/api_resources/alerting/test_available_alerts.py index 253ff803cdf..c3c5c6dc2fe 100644 --- a/tests/api_resources/alerting/test_available_alerts.py +++ b/tests/api_resources/alerting/test_available_alerts.py @@ -17,6 +17,7 @@ class TestAvailableAlerts: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: available_alert = client.alerting.available_alerts.list( @@ -24,6 +25,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[AvailableAlertListResponse], available_alert, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.alerting.available_alerts.with_raw_response.list( @@ -35,6 +37,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: available_alert = response.parse() assert_matches_type(Optional[AvailableAlertListResponse], available_alert, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.alerting.available_alerts.with_streaming_response.list( @@ -48,6 +51,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -59,6 +63,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: class TestAsyncAvailableAlerts: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: available_alert = await async_client.alerting.available_alerts.list( @@ -66,6 +71,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[AvailableAlertListResponse], available_alert, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.alerting.available_alerts.with_raw_response.list( @@ -77,6 +83,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: available_alert = await response.parse() assert_matches_type(Optional[AvailableAlertListResponse], available_alert, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.alerting.available_alerts.with_streaming_response.list( @@ -90,6 +97,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/alerting/test_history.py b/tests/api_resources/alerting/test_history.py index 43ef79ac5c3..3ed58bbf83c 100644 --- a/tests/api_resources/alerting/test_history.py +++ b/tests/api_resources/alerting/test_history.py @@ -19,6 +19,7 @@ class TestHistory: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: history = client.alerting.history.list( @@ -26,6 +27,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePaginationArray[History], history, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: history = client.alerting.history.list( @@ -37,6 +39,7 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePaginationArray[History], history, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.alerting.history.with_raw_response.list( @@ -48,6 +51,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: history = response.parse() assert_matches_type(SyncV4PagePaginationArray[History], history, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.alerting.history.with_streaming_response.list( @@ -61,6 +65,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -72,6 +77,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: class TestAsyncHistory: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: history = await async_client.alerting.history.list( @@ -79,6 +85,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncV4PagePaginationArray[History], history, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: history = await async_client.alerting.history.list( @@ -90,6 +97,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncV4PagePaginationArray[History], history, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.alerting.history.with_raw_response.list( @@ -101,6 +109,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: history = await response.parse() assert_matches_type(AsyncV4PagePaginationArray[History], history, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.alerting.history.with_streaming_response.list( @@ -114,6 +123,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/alerting/test_policies.py b/tests/api_resources/alerting/test_policies.py index c66a55a5837..0c2e2f09aec 100644 --- a/tests/api_resources/alerting/test_policies.py +++ b/tests/api_resources/alerting/test_policies.py @@ -23,6 +23,7 @@ class TestPolicies: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: policy = client.alerting.policies.create( @@ -38,6 +39,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(PolicyCreateResponse, policy, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: policy = client.alerting.policies.create( @@ -96,6 +98,7 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(PolicyCreateResponse, policy, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.alerting.policies.with_raw_response.create( @@ -115,6 +118,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: policy = response.parse() assert_matches_type(PolicyCreateResponse, policy, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.alerting.policies.with_streaming_response.create( @@ -136,6 +140,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -151,6 +156,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: name="SSL Notification Event Policy", ) + @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: policy = client.alerting.policies.update( @@ -159,6 +165,7 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(PolicyUpdateResponse, policy, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: policy = client.alerting.policies.update( @@ -218,6 +225,7 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(PolicyUpdateResponse, policy, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.alerting.policies.with_raw_response.update( @@ -230,6 +238,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: policy = response.parse() assert_matches_type(PolicyUpdateResponse, policy, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.alerting.policies.with_streaming_response.update( @@ -244,6 +253,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -258,6 +268,7 @@ def test_path_params_update(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: policy = client.alerting.policies.list( @@ -265,6 +276,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[Policy], policy, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.alerting.policies.with_raw_response.list( @@ -276,6 +288,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: policy = response.parse() assert_matches_type(SyncSinglePage[Policy], policy, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.alerting.policies.with_streaming_response.list( @@ -289,6 +302,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -296,6 +310,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: policy = client.alerting.policies.delete( @@ -304,6 +319,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[PolicyDeleteResponse], policy, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.alerting.policies.with_raw_response.delete( @@ -316,6 +332,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: policy = response.parse() assert_matches_type(Optional[PolicyDeleteResponse], policy, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.alerting.policies.with_streaming_response.delete( @@ -330,6 +347,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -344,6 +362,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: policy = client.alerting.policies.get( @@ -352,6 +371,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Policy, policy, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.alerting.policies.with_raw_response.get( @@ -364,6 +384,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: policy = response.parse() assert_matches_type(Policy, policy, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.alerting.policies.with_streaming_response.get( @@ -378,6 +399,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -396,6 +418,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncPolicies: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: policy = await async_client.alerting.policies.create( @@ -411,6 +434,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(PolicyCreateResponse, policy, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: policy = await async_client.alerting.policies.create( @@ -469,6 +493,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(PolicyCreateResponse, policy, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.alerting.policies.with_raw_response.create( @@ -488,6 +513,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: policy = await response.parse() assert_matches_type(PolicyCreateResponse, policy, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.alerting.policies.with_streaming_response.create( @@ -509,6 +535,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -524,6 +551,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: name="SSL Notification Event Policy", ) + @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: policy = await async_client.alerting.policies.update( @@ -532,6 +560,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(PolicyUpdateResponse, policy, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: policy = await async_client.alerting.policies.update( @@ -591,6 +620,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(PolicyUpdateResponse, policy, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.alerting.policies.with_raw_response.update( @@ -603,6 +633,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: policy = await response.parse() assert_matches_type(PolicyUpdateResponse, policy, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.alerting.policies.with_streaming_response.update( @@ -617,6 +648,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -631,6 +663,7 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: policy = await async_client.alerting.policies.list( @@ -638,6 +671,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[Policy], policy, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.alerting.policies.with_raw_response.list( @@ -649,6 +683,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: policy = await response.parse() assert_matches_type(AsyncSinglePage[Policy], policy, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.alerting.policies.with_streaming_response.list( @@ -662,6 +697,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -669,6 +705,7 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: policy = await async_client.alerting.policies.delete( @@ -677,6 +714,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[PolicyDeleteResponse], policy, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.alerting.policies.with_raw_response.delete( @@ -689,6 +727,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: policy = await response.parse() assert_matches_type(Optional[PolicyDeleteResponse], policy, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.alerting.policies.with_streaming_response.delete( @@ -703,6 +742,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -717,6 +757,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: policy = await async_client.alerting.policies.get( @@ -725,6 +766,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Policy, policy, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.alerting.policies.with_raw_response.get( @@ -737,6 +779,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: policy = await response.parse() assert_matches_type(Policy, policy, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.alerting.policies.with_streaming_response.get( @@ -751,6 +794,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/argo/test_smart_routing.py b/tests/api_resources/argo/test_smart_routing.py index 8622689044d..27d13739d4c 100644 --- a/tests/api_resources/argo/test_smart_routing.py +++ b/tests/api_resources/argo/test_smart_routing.py @@ -17,6 +17,7 @@ class TestSmartRouting: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: smart_routing = client.argo.smart_routing.edit( @@ -25,6 +26,7 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(SmartRoutingEditResponse, smart_routing, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.argo.smart_routing.with_raw_response.edit( @@ -37,6 +39,7 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: smart_routing = response.parse() assert_matches_type(SmartRoutingEditResponse, smart_routing, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.argo.smart_routing.with_streaming_response.edit( @@ -51,6 +54,7 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -59,6 +63,7 @@ def test_path_params_edit(self, client: Cloudflare) -> None: value="on", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: smart_routing = client.argo.smart_routing.get( @@ -66,6 +71,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(SmartRoutingGetResponse, smart_routing, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.argo.smart_routing.with_raw_response.get( @@ -77,6 +83,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: smart_routing = response.parse() assert_matches_type(SmartRoutingGetResponse, smart_routing, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.argo.smart_routing.with_streaming_response.get( @@ -90,6 +97,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -101,6 +109,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncSmartRouting: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: smart_routing = await async_client.argo.smart_routing.edit( @@ -109,6 +118,7 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(SmartRoutingEditResponse, smart_routing, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.argo.smart_routing.with_raw_response.edit( @@ -121,6 +131,7 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: smart_routing = await response.parse() assert_matches_type(SmartRoutingEditResponse, smart_routing, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.argo.smart_routing.with_streaming_response.edit( @@ -135,6 +146,7 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -143,6 +155,7 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: value="on", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: smart_routing = await async_client.argo.smart_routing.get( @@ -150,6 +163,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(SmartRoutingGetResponse, smart_routing, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.argo.smart_routing.with_raw_response.get( @@ -161,6 +175,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: smart_routing = await response.parse() assert_matches_type(SmartRoutingGetResponse, smart_routing, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.argo.smart_routing.with_streaming_response.get( @@ -174,6 +189,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): diff --git a/tests/api_resources/argo/test_tiered_caching.py b/tests/api_resources/argo/test_tiered_caching.py index 9afbafa5d1c..13d8943f000 100644 --- a/tests/api_resources/argo/test_tiered_caching.py +++ b/tests/api_resources/argo/test_tiered_caching.py @@ -17,6 +17,7 @@ class TestTieredCaching: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: tiered_caching = client.argo.tiered_caching.edit( @@ -25,6 +26,7 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(TieredCachingEditResponse, tiered_caching, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.argo.tiered_caching.with_raw_response.edit( @@ -37,6 +39,7 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: tiered_caching = response.parse() assert_matches_type(TieredCachingEditResponse, tiered_caching, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.argo.tiered_caching.with_streaming_response.edit( @@ -51,6 +54,7 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -59,6 +63,7 @@ def test_path_params_edit(self, client: Cloudflare) -> None: value="on", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: tiered_caching = client.argo.tiered_caching.get( @@ -66,6 +71,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(TieredCachingGetResponse, tiered_caching, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.argo.tiered_caching.with_raw_response.get( @@ -77,6 +83,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: tiered_caching = response.parse() assert_matches_type(TieredCachingGetResponse, tiered_caching, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.argo.tiered_caching.with_streaming_response.get( @@ -90,6 +97,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -101,6 +109,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncTieredCaching: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: tiered_caching = await async_client.argo.tiered_caching.edit( @@ -109,6 +118,7 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(TieredCachingEditResponse, tiered_caching, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.argo.tiered_caching.with_raw_response.edit( @@ -121,6 +131,7 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: tiered_caching = await response.parse() assert_matches_type(TieredCachingEditResponse, tiered_caching, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.argo.tiered_caching.with_streaming_response.edit( @@ -135,6 +146,7 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -143,6 +155,7 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: value="on", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: tiered_caching = await async_client.argo.tiered_caching.get( @@ -150,6 +163,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(TieredCachingGetResponse, tiered_caching, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.argo.tiered_caching.with_raw_response.get( @@ -161,6 +175,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: tiered_caching = await response.parse() assert_matches_type(TieredCachingGetResponse, tiered_caching, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.argo.tiered_caching.with_streaming_response.get( @@ -174,6 +189,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): diff --git a/tests/api_resources/billing/test_profiles.py b/tests/api_resources/billing/test_profiles.py index 03230b18439..63e0a0eca24 100644 --- a/tests/api_resources/billing/test_profiles.py +++ b/tests/api_resources/billing/test_profiles.py @@ -17,6 +17,7 @@ class TestProfiles: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: profile = client.billing.profiles.get( @@ -24,6 +25,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(ProfileGetResponse, profile, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.billing.profiles.with_raw_response.get( @@ -35,6 +37,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: profile = response.parse() assert_matches_type(ProfileGetResponse, profile, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.billing.profiles.with_streaming_response.get( @@ -52,6 +55,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: class TestAsyncProfiles: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: profile = await async_client.billing.profiles.get( @@ -59,6 +63,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(ProfileGetResponse, profile, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.billing.profiles.with_raw_response.get( @@ -70,6 +75,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: profile = await response.parse() assert_matches_type(ProfileGetResponse, profile, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.billing.profiles.with_streaming_response.get( diff --git a/tests/api_resources/cache/test_cache_reserve.py b/tests/api_resources/cache/test_cache_reserve.py index fb8eab75309..a6543e9e10e 100644 --- a/tests/api_resources/cache/test_cache_reserve.py +++ b/tests/api_resources/cache/test_cache_reserve.py @@ -22,6 +22,7 @@ class TestCacheReserve: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_clear(self, client: Cloudflare) -> None: cache_reserve = client.cache.cache_reserve.clear( @@ -30,6 +31,7 @@ def test_method_clear(self, client: Cloudflare) -> None: ) assert_matches_type(CacheReserveClearResponse, cache_reserve, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_clear(self, client: Cloudflare) -> None: response = client.cache.cache_reserve.with_raw_response.clear( @@ -42,6 +44,7 @@ def test_raw_response_clear(self, client: Cloudflare) -> None: cache_reserve = response.parse() assert_matches_type(CacheReserveClearResponse, cache_reserve, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_clear(self, client: Cloudflare) -> None: with client.cache.cache_reserve.with_streaming_response.clear( @@ -56,6 +59,7 @@ def test_streaming_response_clear(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_clear(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -64,6 +68,7 @@ def test_path_params_clear(self, client: Cloudflare) -> None: body="{}", ) + @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: cache_reserve = client.cache.cache_reserve.edit( @@ -72,6 +77,7 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(CacheReserveEditResponse, cache_reserve, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.cache.cache_reserve.with_raw_response.edit( @@ -84,6 +90,7 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: cache_reserve = response.parse() assert_matches_type(CacheReserveEditResponse, cache_reserve, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.cache.cache_reserve.with_streaming_response.edit( @@ -98,6 +105,7 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -106,6 +114,7 @@ def test_path_params_edit(self, client: Cloudflare) -> None: value="on", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: cache_reserve = client.cache.cache_reserve.get( @@ -113,6 +122,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(CacheReserveGetResponse, cache_reserve, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.cache.cache_reserve.with_raw_response.get( @@ -124,6 +134,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: cache_reserve = response.parse() assert_matches_type(CacheReserveGetResponse, cache_reserve, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.cache.cache_reserve.with_streaming_response.get( @@ -137,6 +148,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -144,6 +156,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_status(self, client: Cloudflare) -> None: cache_reserve = client.cache.cache_reserve.status( @@ -151,6 +164,7 @@ def test_method_status(self, client: Cloudflare) -> None: ) assert_matches_type(CacheReserveStatusResponse, cache_reserve, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_status(self, client: Cloudflare) -> None: response = client.cache.cache_reserve.with_raw_response.status( @@ -162,6 +176,7 @@ def test_raw_response_status(self, client: Cloudflare) -> None: cache_reserve = response.parse() assert_matches_type(CacheReserveStatusResponse, cache_reserve, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_status(self, client: Cloudflare) -> None: with client.cache.cache_reserve.with_streaming_response.status( @@ -175,6 +190,7 @@ def test_streaming_response_status(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_status(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -186,6 +202,7 @@ def test_path_params_status(self, client: Cloudflare) -> None: class TestAsyncCacheReserve: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_clear(self, async_client: AsyncCloudflare) -> None: cache_reserve = await async_client.cache.cache_reserve.clear( @@ -194,6 +211,7 @@ async def test_method_clear(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(CacheReserveClearResponse, cache_reserve, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_clear(self, async_client: AsyncCloudflare) -> None: response = await async_client.cache.cache_reserve.with_raw_response.clear( @@ -206,6 +224,7 @@ async def test_raw_response_clear(self, async_client: AsyncCloudflare) -> None: cache_reserve = await response.parse() assert_matches_type(CacheReserveClearResponse, cache_reserve, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_clear(self, async_client: AsyncCloudflare) -> None: async with async_client.cache.cache_reserve.with_streaming_response.clear( @@ -220,6 +239,7 @@ async def test_streaming_response_clear(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_clear(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -228,6 +248,7 @@ async def test_path_params_clear(self, async_client: AsyncCloudflare) -> None: body="{}", ) + @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: cache_reserve = await async_client.cache.cache_reserve.edit( @@ -236,6 +257,7 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(CacheReserveEditResponse, cache_reserve, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.cache.cache_reserve.with_raw_response.edit( @@ -248,6 +270,7 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: cache_reserve = await response.parse() assert_matches_type(CacheReserveEditResponse, cache_reserve, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.cache.cache_reserve.with_streaming_response.edit( @@ -262,6 +285,7 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -270,6 +294,7 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: value="on", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: cache_reserve = await async_client.cache.cache_reserve.get( @@ -277,6 +302,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(CacheReserveGetResponse, cache_reserve, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.cache.cache_reserve.with_raw_response.get( @@ -288,6 +314,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: cache_reserve = await response.parse() assert_matches_type(CacheReserveGetResponse, cache_reserve, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.cache.cache_reserve.with_streaming_response.get( @@ -301,6 +328,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -308,6 +336,7 @@ async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_status(self, async_client: AsyncCloudflare) -> None: cache_reserve = await async_client.cache.cache_reserve.status( @@ -315,6 +344,7 @@ async def test_method_status(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(CacheReserveStatusResponse, cache_reserve, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_status(self, async_client: AsyncCloudflare) -> None: response = await async_client.cache.cache_reserve.with_raw_response.status( @@ -326,6 +356,7 @@ async def test_raw_response_status(self, async_client: AsyncCloudflare) -> None: cache_reserve = await response.parse() assert_matches_type(CacheReserveStatusResponse, cache_reserve, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_status(self, async_client: AsyncCloudflare) -> None: async with async_client.cache.cache_reserve.with_streaming_response.status( @@ -339,6 +370,7 @@ async def test_streaming_response_status(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_status(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): diff --git a/tests/api_resources/cache/test_regional_tiered_cache.py b/tests/api_resources/cache/test_regional_tiered_cache.py index ec3ddfeb861..0a440eaae86 100644 --- a/tests/api_resources/cache/test_regional_tiered_cache.py +++ b/tests/api_resources/cache/test_regional_tiered_cache.py @@ -20,6 +20,7 @@ class TestRegionalTieredCache: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: regional_tiered_cache = client.cache.regional_tiered_cache.edit( @@ -28,6 +29,7 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(RegionalTieredCacheEditResponse, regional_tiered_cache, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.cache.regional_tiered_cache.with_raw_response.edit( @@ -40,6 +42,7 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: regional_tiered_cache = response.parse() assert_matches_type(RegionalTieredCacheEditResponse, regional_tiered_cache, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.cache.regional_tiered_cache.with_streaming_response.edit( @@ -54,6 +57,7 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -62,6 +66,7 @@ def test_path_params_edit(self, client: Cloudflare) -> None: value="on", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: regional_tiered_cache = client.cache.regional_tiered_cache.get( @@ -69,6 +74,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(RegionalTieredCacheGetResponse, regional_tiered_cache, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.cache.regional_tiered_cache.with_raw_response.get( @@ -80,6 +86,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: regional_tiered_cache = response.parse() assert_matches_type(RegionalTieredCacheGetResponse, regional_tiered_cache, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.cache.regional_tiered_cache.with_streaming_response.get( @@ -93,6 +100,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -104,6 +112,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncRegionalTieredCache: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: regional_tiered_cache = await async_client.cache.regional_tiered_cache.edit( @@ -112,6 +121,7 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(RegionalTieredCacheEditResponse, regional_tiered_cache, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.cache.regional_tiered_cache.with_raw_response.edit( @@ -124,6 +134,7 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: regional_tiered_cache = await response.parse() assert_matches_type(RegionalTieredCacheEditResponse, regional_tiered_cache, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.cache.regional_tiered_cache.with_streaming_response.edit( @@ -138,6 +149,7 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -146,6 +158,7 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: value="on", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: regional_tiered_cache = await async_client.cache.regional_tiered_cache.get( @@ -153,6 +166,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(RegionalTieredCacheGetResponse, regional_tiered_cache, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.cache.regional_tiered_cache.with_raw_response.get( @@ -164,6 +178,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: regional_tiered_cache = await response.parse() assert_matches_type(RegionalTieredCacheGetResponse, regional_tiered_cache, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.cache.regional_tiered_cache.with_streaming_response.get( @@ -177,6 +192,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): diff --git a/tests/api_resources/cache/test_smart_tiered_cache.py b/tests/api_resources/cache/test_smart_tiered_cache.py index 3fe04c5dad9..a45c9af8dba 100644 --- a/tests/api_resources/cache/test_smart_tiered_cache.py +++ b/tests/api_resources/cache/test_smart_tiered_cache.py @@ -21,6 +21,7 @@ class TestSmartTieredCache: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: smart_tiered_cache = client.cache.smart_tiered_cache.delete( @@ -29,6 +30,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(SmartTieredCacheDeleteResponse, smart_tiered_cache, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.cache.smart_tiered_cache.with_raw_response.delete( @@ -41,6 +43,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: smart_tiered_cache = response.parse() assert_matches_type(SmartTieredCacheDeleteResponse, smart_tiered_cache, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.cache.smart_tiered_cache.with_streaming_response.delete( @@ -55,6 +58,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -63,6 +67,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: smart_tiered_cache = client.cache.smart_tiered_cache.edit( @@ -71,6 +76,7 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(SmartTieredCacheEditResponse, smart_tiered_cache, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.cache.smart_tiered_cache.with_raw_response.edit( @@ -83,6 +89,7 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: smart_tiered_cache = response.parse() assert_matches_type(SmartTieredCacheEditResponse, smart_tiered_cache, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.cache.smart_tiered_cache.with_streaming_response.edit( @@ -97,6 +104,7 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -105,6 +113,7 @@ def test_path_params_edit(self, client: Cloudflare) -> None: value="on", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: smart_tiered_cache = client.cache.smart_tiered_cache.get( @@ -112,6 +121,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(SmartTieredCacheGetResponse, smart_tiered_cache, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.cache.smart_tiered_cache.with_raw_response.get( @@ -123,6 +133,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: smart_tiered_cache = response.parse() assert_matches_type(SmartTieredCacheGetResponse, smart_tiered_cache, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.cache.smart_tiered_cache.with_streaming_response.get( @@ -136,6 +147,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -147,6 +159,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncSmartTieredCache: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: smart_tiered_cache = await async_client.cache.smart_tiered_cache.delete( @@ -155,6 +168,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(SmartTieredCacheDeleteResponse, smart_tiered_cache, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.cache.smart_tiered_cache.with_raw_response.delete( @@ -167,6 +181,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: smart_tiered_cache = await response.parse() assert_matches_type(SmartTieredCacheDeleteResponse, smart_tiered_cache, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.cache.smart_tiered_cache.with_streaming_response.delete( @@ -181,6 +196,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -189,6 +205,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: smart_tiered_cache = await async_client.cache.smart_tiered_cache.edit( @@ -197,6 +214,7 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(SmartTieredCacheEditResponse, smart_tiered_cache, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.cache.smart_tiered_cache.with_raw_response.edit( @@ -209,6 +227,7 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: smart_tiered_cache = await response.parse() assert_matches_type(SmartTieredCacheEditResponse, smart_tiered_cache, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.cache.smart_tiered_cache.with_streaming_response.edit( @@ -223,6 +242,7 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -231,6 +251,7 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: value="on", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: smart_tiered_cache = await async_client.cache.smart_tiered_cache.get( @@ -238,6 +259,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(SmartTieredCacheGetResponse, smart_tiered_cache, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.cache.smart_tiered_cache.with_raw_response.get( @@ -249,6 +271,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: smart_tiered_cache = await response.parse() assert_matches_type(SmartTieredCacheGetResponse, smart_tiered_cache, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.cache.smart_tiered_cache.with_streaming_response.get( @@ -262,6 +285,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): diff --git a/tests/api_resources/cache/test_variants.py b/tests/api_resources/cache/test_variants.py index 4e70f7b7fd0..bd8c3ef6f89 100644 --- a/tests/api_resources/cache/test_variants.py +++ b/tests/api_resources/cache/test_variants.py @@ -21,6 +21,7 @@ class TestVariants: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: variant = client.cache.variants.delete( @@ -29,6 +30,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(CacheVariant, variant, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.cache.variants.with_raw_response.delete( @@ -41,6 +43,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: variant = response.parse() assert_matches_type(CacheVariant, variant, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.cache.variants.with_streaming_response.delete( @@ -55,6 +58,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -63,6 +67,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: variant = client.cache.variants.edit( @@ -71,6 +76,7 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(VariantEditResponse, variant, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_edit_with_all_params(self, client: Cloudflare) -> None: variant = client.cache.variants.edit( @@ -91,6 +97,7 @@ def test_method_edit_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(VariantEditResponse, variant, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.cache.variants.with_raw_response.edit( @@ -103,6 +110,7 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: variant = response.parse() assert_matches_type(VariantEditResponse, variant, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.cache.variants.with_streaming_response.edit( @@ -117,6 +125,7 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -125,6 +134,7 @@ def test_path_params_edit(self, client: Cloudflare) -> None: value={}, ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: variant = client.cache.variants.get( @@ -132,6 +142,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(VariantGetResponse, variant, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.cache.variants.with_raw_response.get( @@ -143,6 +154,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: variant = response.parse() assert_matches_type(VariantGetResponse, variant, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.cache.variants.with_streaming_response.get( @@ -156,6 +168,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -167,6 +180,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncVariants: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: variant = await async_client.cache.variants.delete( @@ -175,6 +189,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(CacheVariant, variant, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.cache.variants.with_raw_response.delete( @@ -187,6 +202,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: variant = await response.parse() assert_matches_type(CacheVariant, variant, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.cache.variants.with_streaming_response.delete( @@ -201,6 +217,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -209,6 +226,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: variant = await async_client.cache.variants.edit( @@ -217,6 +235,7 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(VariantEditResponse, variant, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) -> None: variant = await async_client.cache.variants.edit( @@ -237,6 +256,7 @@ async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(VariantEditResponse, variant, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.cache.variants.with_raw_response.edit( @@ -249,6 +269,7 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: variant = await response.parse() assert_matches_type(VariantEditResponse, variant, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.cache.variants.with_streaming_response.edit( @@ -263,6 +284,7 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -271,6 +293,7 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: value={}, ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: variant = await async_client.cache.variants.get( @@ -278,6 +301,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(VariantGetResponse, variant, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.cache.variants.with_raw_response.get( @@ -289,6 +313,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: variant = await response.parse() assert_matches_type(VariantGetResponse, variant, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.cache.variants.with_streaming_response.get( @@ -302,6 +327,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): diff --git a/tests/api_resources/certificate_authorities/test_hostname_associations.py b/tests/api_resources/certificate_authorities/test_hostname_associations.py index eb5db8b0753..bd14519e2c5 100644 --- a/tests/api_resources/certificate_authorities/test_hostname_associations.py +++ b/tests/api_resources/certificate_authorities/test_hostname_associations.py @@ -20,6 +20,7 @@ class TestHostnameAssociations: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: hostname_association = client.certificate_authorities.hostname_associations.update( @@ -27,6 +28,7 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(HostnameAssociationUpdateResponse, hostname_association, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: hostname_association = client.certificate_authorities.hostname_associations.update( @@ -36,6 +38,7 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(HostnameAssociationUpdateResponse, hostname_association, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.certificate_authorities.hostname_associations.with_raw_response.update( @@ -47,6 +50,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: hostname_association = response.parse() assert_matches_type(HostnameAssociationUpdateResponse, hostname_association, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.certificate_authorities.hostname_associations.with_streaming_response.update( @@ -60,6 +64,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -67,6 +72,7 @@ def test_path_params_update(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: hostname_association = client.certificate_authorities.hostname_associations.get( @@ -74,6 +80,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(HostnameAssociationGetResponse, hostname_association, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: hostname_association = client.certificate_authorities.hostname_associations.get( @@ -82,6 +89,7 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(HostnameAssociationGetResponse, hostname_association, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.certificate_authorities.hostname_associations.with_raw_response.get( @@ -93,6 +101,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: hostname_association = response.parse() assert_matches_type(HostnameAssociationGetResponse, hostname_association, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.certificate_authorities.hostname_associations.with_streaming_response.get( @@ -106,6 +115,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -117,6 +127,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncHostnameAssociations: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: hostname_association = await async_client.certificate_authorities.hostname_associations.update( @@ -124,6 +135,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(HostnameAssociationUpdateResponse, hostname_association, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: hostname_association = await async_client.certificate_authorities.hostname_associations.update( @@ -133,6 +145,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(HostnameAssociationUpdateResponse, hostname_association, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.certificate_authorities.hostname_associations.with_raw_response.update( @@ -144,6 +157,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: hostname_association = await response.parse() assert_matches_type(HostnameAssociationUpdateResponse, hostname_association, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.certificate_authorities.hostname_associations.with_streaming_response.update( @@ -157,6 +171,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -164,6 +179,7 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: hostname_association = await async_client.certificate_authorities.hostname_associations.get( @@ -171,6 +187,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(HostnameAssociationGetResponse, hostname_association, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: hostname_association = await async_client.certificate_authorities.hostname_associations.get( @@ -179,6 +196,7 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(HostnameAssociationGetResponse, hostname_association, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.certificate_authorities.hostname_associations.with_raw_response.get( @@ -190,6 +208,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: hostname_association = await response.parse() assert_matches_type(HostnameAssociationGetResponse, hostname_association, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.certificate_authorities.hostname_associations.with_streaming_response.get( @@ -203,6 +222,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): diff --git a/tests/api_resources/challenges/test_widgets.py b/tests/api_resources/challenges/test_widgets.py index 4182376aa3d..976f29aaf82 100644 --- a/tests/api_resources/challenges/test_widgets.py +++ b/tests/api_resources/challenges/test_widgets.py @@ -21,6 +21,7 @@ class TestWidgets: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: widget = client.challenges.widgets.create( @@ -31,6 +32,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Widget], widget, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: widget = client.challenges.widgets.create( @@ -49,6 +51,7 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Widget], widget, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.challenges.widgets.with_raw_response.create( @@ -63,6 +66,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: widget = response.parse() assert_matches_type(Optional[Widget], widget, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.challenges.widgets.with_streaming_response.create( @@ -79,6 +83,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -89,6 +94,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: name="blog.cloudflare.com login form", ) + @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: widget = client.challenges.widgets.update( @@ -100,6 +106,7 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Widget], widget, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: widget = client.challenges.widgets.update( @@ -114,6 +121,7 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Widget], widget, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.challenges.widgets.with_raw_response.update( @@ -129,6 +137,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: widget = response.parse() assert_matches_type(Optional[Widget], widget, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.challenges.widgets.with_streaming_response.update( @@ -146,6 +155,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -166,6 +176,7 @@ def test_path_params_update(self, client: Cloudflare) -> None: name="blog.cloudflare.com login form", ) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: widget = client.challenges.widgets.list( @@ -173,6 +184,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePaginationArray[WidgetListResponse], widget, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: widget = client.challenges.widgets.list( @@ -184,6 +196,7 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePaginationArray[WidgetListResponse], widget, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.challenges.widgets.with_raw_response.list( @@ -195,6 +208,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: widget = response.parse() assert_matches_type(SyncV4PagePaginationArray[WidgetListResponse], widget, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.challenges.widgets.with_streaming_response.list( @@ -208,6 +222,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -215,6 +230,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: widget = client.challenges.widgets.delete( @@ -223,6 +239,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Widget], widget, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.challenges.widgets.with_raw_response.delete( @@ -235,6 +252,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: widget = response.parse() assert_matches_type(Optional[Widget], widget, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.challenges.widgets.with_streaming_response.delete( @@ -249,6 +267,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -263,6 +282,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: widget = client.challenges.widgets.get( @@ -271,6 +291,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Widget], widget, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.challenges.widgets.with_raw_response.get( @@ -283,6 +304,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: widget = response.parse() assert_matches_type(Optional[Widget], widget, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.challenges.widgets.with_streaming_response.get( @@ -297,6 +319,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -311,6 +334,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize def test_method_rotate_secret(self, client: Cloudflare) -> None: widget = client.challenges.widgets.rotate_secret( @@ -319,6 +343,7 @@ def test_method_rotate_secret(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Widget], widget, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_rotate_secret_with_all_params(self, client: Cloudflare) -> None: widget = client.challenges.widgets.rotate_secret( @@ -328,6 +353,7 @@ def test_method_rotate_secret_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Widget], widget, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_rotate_secret(self, client: Cloudflare) -> None: response = client.challenges.widgets.with_raw_response.rotate_secret( @@ -340,6 +366,7 @@ def test_raw_response_rotate_secret(self, client: Cloudflare) -> None: widget = response.parse() assert_matches_type(Optional[Widget], widget, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_rotate_secret(self, client: Cloudflare) -> None: with client.challenges.widgets.with_streaming_response.rotate_secret( @@ -354,6 +381,7 @@ def test_streaming_response_rotate_secret(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_rotate_secret(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -372,6 +400,7 @@ def test_path_params_rotate_secret(self, client: Cloudflare) -> None: class TestAsyncWidgets: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: widget = await async_client.challenges.widgets.create( @@ -382,6 +411,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Widget], widget, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: widget = await async_client.challenges.widgets.create( @@ -400,6 +430,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[Widget], widget, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.challenges.widgets.with_raw_response.create( @@ -414,6 +445,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: widget = await response.parse() assert_matches_type(Optional[Widget], widget, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.challenges.widgets.with_streaming_response.create( @@ -430,6 +462,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -440,6 +473,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: name="blog.cloudflare.com login form", ) + @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: widget = await async_client.challenges.widgets.update( @@ -451,6 +485,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Widget], widget, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: widget = await async_client.challenges.widgets.update( @@ -465,6 +500,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[Widget], widget, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.challenges.widgets.with_raw_response.update( @@ -480,6 +516,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: widget = await response.parse() assert_matches_type(Optional[Widget], widget, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.challenges.widgets.with_streaming_response.update( @@ -497,6 +534,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -517,6 +555,7 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: name="blog.cloudflare.com login form", ) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: widget = await async_client.challenges.widgets.list( @@ -524,6 +563,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncV4PagePaginationArray[WidgetListResponse], widget, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: widget = await async_client.challenges.widgets.list( @@ -535,6 +575,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncV4PagePaginationArray[WidgetListResponse], widget, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.challenges.widgets.with_raw_response.list( @@ -546,6 +587,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: widget = await response.parse() assert_matches_type(AsyncV4PagePaginationArray[WidgetListResponse], widget, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.challenges.widgets.with_streaming_response.list( @@ -559,6 +601,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -566,6 +609,7 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: widget = await async_client.challenges.widgets.delete( @@ -574,6 +618,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Widget], widget, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.challenges.widgets.with_raw_response.delete( @@ -586,6 +631,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: widget = await response.parse() assert_matches_type(Optional[Widget], widget, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.challenges.widgets.with_streaming_response.delete( @@ -600,6 +646,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -614,6 +661,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: widget = await async_client.challenges.widgets.get( @@ -622,6 +670,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Widget], widget, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.challenges.widgets.with_raw_response.get( @@ -634,6 +683,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: widget = await response.parse() assert_matches_type(Optional[Widget], widget, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.challenges.widgets.with_streaming_response.get( @@ -648,6 +698,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -662,6 +713,7 @@ async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize async def test_method_rotate_secret(self, async_client: AsyncCloudflare) -> None: widget = await async_client.challenges.widgets.rotate_secret( @@ -670,6 +722,7 @@ async def test_method_rotate_secret(self, async_client: AsyncCloudflare) -> None ) assert_matches_type(Optional[Widget], widget, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_rotate_secret_with_all_params(self, async_client: AsyncCloudflare) -> None: widget = await async_client.challenges.widgets.rotate_secret( @@ -679,6 +732,7 @@ async def test_method_rotate_secret_with_all_params(self, async_client: AsyncClo ) assert_matches_type(Optional[Widget], widget, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_rotate_secret(self, async_client: AsyncCloudflare) -> None: response = await async_client.challenges.widgets.with_raw_response.rotate_secret( @@ -691,6 +745,7 @@ async def test_raw_response_rotate_secret(self, async_client: AsyncCloudflare) - widget = await response.parse() assert_matches_type(Optional[Widget], widget, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_rotate_secret(self, async_client: AsyncCloudflare) -> None: async with async_client.challenges.widgets.with_streaming_response.rotate_secret( @@ -705,6 +760,7 @@ async def test_streaming_response_rotate_secret(self, async_client: AsyncCloudfl assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_rotate_secret(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/cloudforce_one/requests/test_message.py b/tests/api_resources/cloudforce_one/requests/test_message.py index cae9250892e..ea91ab0a36e 100644 --- a/tests/api_resources/cloudforce_one/requests/test_message.py +++ b/tests/api_resources/cloudforce_one/requests/test_message.py @@ -22,6 +22,7 @@ class TestMessage: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: message = client.cloudforce_one.requests.message.create( @@ -30,6 +31,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Message, message, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: message = client.cloudforce_one.requests.message.create( @@ -39,6 +41,7 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Message, message, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.cloudforce_one.requests.message.with_raw_response.create( @@ -51,6 +54,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: message = response.parse() assert_matches_type(Message, message, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.cloudforce_one.requests.message.with_streaming_response.create( @@ -65,6 +69,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_identifier` but received ''"): @@ -79,6 +84,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: account_identifier="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: message = client.cloudforce_one.requests.message.update( @@ -88,6 +94,7 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Message, message, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: message = client.cloudforce_one.requests.message.update( @@ -102,6 +109,7 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Message, message, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.cloudforce_one.requests.message.with_raw_response.update( @@ -115,6 +123,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: message = response.parse() assert_matches_type(Message, message, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.cloudforce_one.requests.message.with_streaming_response.update( @@ -130,6 +139,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_identifier` but received ''"): @@ -146,6 +156,7 @@ def test_path_params_update(self, client: Cloudflare) -> None: request_identifier="", ) + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: message = client.cloudforce_one.requests.message.delete( @@ -155,6 +166,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(MessageDeleteResponse, message, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.cloudforce_one.requests.message.with_raw_response.delete( @@ -168,6 +180,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: message = response.parse() assert_matches_type(MessageDeleteResponse, message, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.cloudforce_one.requests.message.with_streaming_response.delete( @@ -183,6 +196,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_identifier` but received ''"): @@ -199,6 +213,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: request_identifier="", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: message = client.cloudforce_one.requests.message.get( @@ -209,6 +224,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(MessageGetResponse, message, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: message = client.cloudforce_one.requests.message.get( @@ -223,6 +239,7 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(MessageGetResponse, message, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.cloudforce_one.requests.message.with_raw_response.get( @@ -237,6 +254,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: message = response.parse() assert_matches_type(MessageGetResponse, message, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.cloudforce_one.requests.message.with_streaming_response.get( @@ -253,6 +271,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_identifier` but received ''"): @@ -275,6 +294,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncMessage: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: message = await async_client.cloudforce_one.requests.message.create( @@ -283,6 +303,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Message, message, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: message = await async_client.cloudforce_one.requests.message.create( @@ -292,6 +313,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Message, message, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.cloudforce_one.requests.message.with_raw_response.create( @@ -304,6 +326,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: message = await response.parse() assert_matches_type(Message, message, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.cloudforce_one.requests.message.with_streaming_response.create( @@ -318,6 +341,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_identifier` but received ''"): @@ -332,6 +356,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: account_identifier="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: message = await async_client.cloudforce_one.requests.message.update( @@ -341,6 +366,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Message, message, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: message = await async_client.cloudforce_one.requests.message.update( @@ -355,6 +381,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Message, message, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.cloudforce_one.requests.message.with_raw_response.update( @@ -368,6 +395,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: message = await response.parse() assert_matches_type(Message, message, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.cloudforce_one.requests.message.with_streaming_response.update( @@ -383,6 +411,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_identifier` but received ''"): @@ -399,6 +428,7 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: request_identifier="", ) + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: message = await async_client.cloudforce_one.requests.message.delete( @@ -408,6 +438,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(MessageDeleteResponse, message, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.cloudforce_one.requests.message.with_raw_response.delete( @@ -421,6 +452,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: message = await response.parse() assert_matches_type(MessageDeleteResponse, message, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.cloudforce_one.requests.message.with_streaming_response.delete( @@ -436,6 +468,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_identifier` but received ''"): @@ -452,6 +485,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: request_identifier="", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: message = await async_client.cloudforce_one.requests.message.get( @@ -462,6 +496,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(MessageGetResponse, message, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: message = await async_client.cloudforce_one.requests.message.get( @@ -476,6 +511,7 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(MessageGetResponse, message, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.cloudforce_one.requests.message.with_raw_response.get( @@ -490,6 +526,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: message = await response.parse() assert_matches_type(MessageGetResponse, message, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.cloudforce_one.requests.message.with_streaming_response.get( @@ -506,6 +543,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_identifier` but received ''"): diff --git a/tests/api_resources/cloudforce_one/requests/test_priority.py b/tests/api_resources/cloudforce_one/requests/test_priority.py index 46276ab9dcf..136d392955d 100644 --- a/tests/api_resources/cloudforce_one/requests/test_priority.py +++ b/tests/api_resources/cloudforce_one/requests/test_priority.py @@ -21,6 +21,7 @@ class TestPriority: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: priority = client.cloudforce_one.requests.priority.create( @@ -32,6 +33,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Priority, priority, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.cloudforce_one.requests.priority.with_raw_response.create( @@ -47,6 +49,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: priority = response.parse() assert_matches_type(Priority, priority, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.cloudforce_one.requests.priority.with_streaming_response.create( @@ -64,6 +67,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_identifier` but received ''"): @@ -75,6 +79,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: tlp="clear", ) + @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: priority = client.cloudforce_one.requests.priority.update( @@ -87,6 +92,7 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Item, priority, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.cloudforce_one.requests.priority.with_raw_response.update( @@ -103,6 +109,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: priority = response.parse() assert_matches_type(Item, priority, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.cloudforce_one.requests.priority.with_streaming_response.update( @@ -121,6 +128,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_identifier` but received ''"): @@ -143,6 +151,7 @@ def test_path_params_update(self, client: Cloudflare) -> None: tlp="clear", ) + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: priority = client.cloudforce_one.requests.priority.delete( @@ -151,6 +160,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(PriorityDeleteResponse, priority, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.cloudforce_one.requests.priority.with_raw_response.delete( @@ -163,6 +173,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: priority = response.parse() assert_matches_type(PriorityDeleteResponse, priority, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.cloudforce_one.requests.priority.with_streaming_response.delete( @@ -177,6 +188,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_identifier` but received ''"): @@ -191,6 +203,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: account_identifier="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: priority = client.cloudforce_one.requests.priority.get( @@ -199,6 +212,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Item, priority, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.cloudforce_one.requests.priority.with_raw_response.get( @@ -211,6 +225,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: priority = response.parse() assert_matches_type(Item, priority, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.cloudforce_one.requests.priority.with_streaming_response.get( @@ -225,6 +240,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_identifier` but received ''"): @@ -239,6 +255,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: account_identifier="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize def test_method_quota(self, client: Cloudflare) -> None: priority = client.cloudforce_one.requests.priority.quota( @@ -246,6 +263,7 @@ def test_method_quota(self, client: Cloudflare) -> None: ) assert_matches_type(Quota, priority, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_quota(self, client: Cloudflare) -> None: response = client.cloudforce_one.requests.priority.with_raw_response.quota( @@ -257,6 +275,7 @@ def test_raw_response_quota(self, client: Cloudflare) -> None: priority = response.parse() assert_matches_type(Quota, priority, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_quota(self, client: Cloudflare) -> None: with client.cloudforce_one.requests.priority.with_streaming_response.quota( @@ -270,6 +289,7 @@ def test_streaming_response_quota(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_quota(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_identifier` but received ''"): @@ -281,6 +301,7 @@ def test_path_params_quota(self, client: Cloudflare) -> None: class TestAsyncPriority: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: priority = await async_client.cloudforce_one.requests.priority.create( @@ -292,6 +313,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Priority, priority, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.cloudforce_one.requests.priority.with_raw_response.create( @@ -307,6 +329,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: priority = await response.parse() assert_matches_type(Priority, priority, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.cloudforce_one.requests.priority.with_streaming_response.create( @@ -324,6 +347,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_identifier` but received ''"): @@ -335,6 +359,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: tlp="clear", ) + @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: priority = await async_client.cloudforce_one.requests.priority.update( @@ -347,6 +372,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Item, priority, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.cloudforce_one.requests.priority.with_raw_response.update( @@ -363,6 +389,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: priority = await response.parse() assert_matches_type(Item, priority, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.cloudforce_one.requests.priority.with_streaming_response.update( @@ -381,6 +408,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_identifier` but received ''"): @@ -403,6 +431,7 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: tlp="clear", ) + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: priority = await async_client.cloudforce_one.requests.priority.delete( @@ -411,6 +440,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(PriorityDeleteResponse, priority, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.cloudforce_one.requests.priority.with_raw_response.delete( @@ -423,6 +453,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: priority = await response.parse() assert_matches_type(PriorityDeleteResponse, priority, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.cloudforce_one.requests.priority.with_streaming_response.delete( @@ -437,6 +468,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_identifier` but received ''"): @@ -451,6 +483,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: account_identifier="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: priority = await async_client.cloudforce_one.requests.priority.get( @@ -459,6 +492,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Item, priority, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.cloudforce_one.requests.priority.with_raw_response.get( @@ -471,6 +505,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: priority = await response.parse() assert_matches_type(Item, priority, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.cloudforce_one.requests.priority.with_streaming_response.get( @@ -485,6 +520,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_identifier` but received ''"): @@ -499,6 +535,7 @@ async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: account_identifier="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize async def test_method_quota(self, async_client: AsyncCloudflare) -> None: priority = await async_client.cloudforce_one.requests.priority.quota( @@ -506,6 +543,7 @@ async def test_method_quota(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Quota, priority, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_quota(self, async_client: AsyncCloudflare) -> None: response = await async_client.cloudforce_one.requests.priority.with_raw_response.quota( @@ -517,6 +555,7 @@ async def test_raw_response_quota(self, async_client: AsyncCloudflare) -> None: priority = await response.parse() assert_matches_type(Quota, priority, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_quota(self, async_client: AsyncCloudflare) -> None: async with async_client.cloudforce_one.requests.priority.with_streaming_response.quota( @@ -530,6 +569,7 @@ async def test_streaming_response_quota(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_quota(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_identifier` but received ''"): diff --git a/tests/api_resources/cloudforce_one/test_requests.py b/tests/api_resources/cloudforce_one/test_requests.py index 327ae61c1bb..ef62fc92095 100644 --- a/tests/api_resources/cloudforce_one/test_requests.py +++ b/tests/api_resources/cloudforce_one/test_requests.py @@ -26,6 +26,7 @@ class TestRequests: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: request = client.cloudforce_one.requests.create( @@ -33,6 +34,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Item, request, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: request = client.cloudforce_one.requests.create( @@ -45,6 +47,7 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Item, request, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.cloudforce_one.requests.with_raw_response.create( @@ -56,6 +59,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: request = response.parse() assert_matches_type(Item, request, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.cloudforce_one.requests.with_streaming_response.create( @@ -69,6 +73,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_identifier` but received ''"): @@ -76,6 +81,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: "", ) + @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: request = client.cloudforce_one.requests.update( @@ -84,6 +90,7 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Item, request, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: request = client.cloudforce_one.requests.update( @@ -97,6 +104,7 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Item, request, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.cloudforce_one.requests.with_raw_response.update( @@ -109,6 +117,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: request = response.parse() assert_matches_type(Item, request, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.cloudforce_one.requests.with_streaming_response.update( @@ -123,6 +132,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_identifier` but received ''"): @@ -137,6 +147,7 @@ def test_path_params_update(self, client: Cloudflare) -> None: account_identifier="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: request = client.cloudforce_one.requests.list( @@ -146,6 +157,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePaginationArray[ListItem], request, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: request = client.cloudforce_one.requests.list( @@ -163,6 +175,7 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePaginationArray[ListItem], request, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.cloudforce_one.requests.with_raw_response.list( @@ -176,6 +189,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: request = response.parse() assert_matches_type(SyncV4PagePaginationArray[ListItem], request, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.cloudforce_one.requests.with_streaming_response.list( @@ -191,6 +205,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_identifier` but received ''"): @@ -200,6 +215,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: per_page=10, ) + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: request = client.cloudforce_one.requests.delete( @@ -208,6 +224,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(RequestDeleteResponse, request, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.cloudforce_one.requests.with_raw_response.delete( @@ -220,6 +237,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: request = response.parse() assert_matches_type(RequestDeleteResponse, request, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.cloudforce_one.requests.with_streaming_response.delete( @@ -234,6 +252,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_identifier` but received ''"): @@ -248,6 +267,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: account_identifier="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize def test_method_constants(self, client: Cloudflare) -> None: request = client.cloudforce_one.requests.constants( @@ -255,6 +275,7 @@ def test_method_constants(self, client: Cloudflare) -> None: ) assert_matches_type(RequestConstants, request, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_constants(self, client: Cloudflare) -> None: response = client.cloudforce_one.requests.with_raw_response.constants( @@ -266,6 +287,7 @@ def test_raw_response_constants(self, client: Cloudflare) -> None: request = response.parse() assert_matches_type(RequestConstants, request, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_constants(self, client: Cloudflare) -> None: with client.cloudforce_one.requests.with_streaming_response.constants( @@ -279,6 +301,7 @@ def test_streaming_response_constants(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_constants(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_identifier` but received ''"): @@ -286,6 +309,7 @@ def test_path_params_constants(self, client: Cloudflare) -> None: "", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: request = client.cloudforce_one.requests.get( @@ -294,6 +318,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Item, request, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.cloudforce_one.requests.with_raw_response.get( @@ -306,6 +331,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: request = response.parse() assert_matches_type(Item, request, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.cloudforce_one.requests.with_streaming_response.get( @@ -320,6 +346,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_identifier` but received ''"): @@ -334,6 +361,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: account_identifier="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize def test_method_quota(self, client: Cloudflare) -> None: request = client.cloudforce_one.requests.quota( @@ -341,6 +369,7 @@ def test_method_quota(self, client: Cloudflare) -> None: ) assert_matches_type(Quota, request, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_quota(self, client: Cloudflare) -> None: response = client.cloudforce_one.requests.with_raw_response.quota( @@ -352,6 +381,7 @@ def test_raw_response_quota(self, client: Cloudflare) -> None: request = response.parse() assert_matches_type(Quota, request, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_quota(self, client: Cloudflare) -> None: with client.cloudforce_one.requests.with_streaming_response.quota( @@ -365,6 +395,7 @@ def test_streaming_response_quota(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_quota(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_identifier` but received ''"): @@ -372,6 +403,7 @@ def test_path_params_quota(self, client: Cloudflare) -> None: "", ) + @pytest.mark.skip() @parametrize def test_method_types(self, client: Cloudflare) -> None: request = client.cloudforce_one.requests.types( @@ -379,6 +411,7 @@ def test_method_types(self, client: Cloudflare) -> None: ) assert_matches_type(RequestTypes, request, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_types(self, client: Cloudflare) -> None: response = client.cloudforce_one.requests.with_raw_response.types( @@ -390,6 +423,7 @@ def test_raw_response_types(self, client: Cloudflare) -> None: request = response.parse() assert_matches_type(RequestTypes, request, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_types(self, client: Cloudflare) -> None: with client.cloudforce_one.requests.with_streaming_response.types( @@ -403,6 +437,7 @@ def test_streaming_response_types(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_types(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_identifier` but received ''"): @@ -414,6 +449,7 @@ def test_path_params_types(self, client: Cloudflare) -> None: class TestAsyncRequests: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: request = await async_client.cloudforce_one.requests.create( @@ -421,6 +457,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Item, request, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: request = await async_client.cloudforce_one.requests.create( @@ -433,6 +470,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Item, request, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.cloudforce_one.requests.with_raw_response.create( @@ -444,6 +482,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: request = await response.parse() assert_matches_type(Item, request, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.cloudforce_one.requests.with_streaming_response.create( @@ -457,6 +496,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_identifier` but received ''"): @@ -464,6 +504,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: "", ) + @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: request = await async_client.cloudforce_one.requests.update( @@ -472,6 +513,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Item, request, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: request = await async_client.cloudforce_one.requests.update( @@ -485,6 +527,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Item, request, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.cloudforce_one.requests.with_raw_response.update( @@ -497,6 +540,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: request = await response.parse() assert_matches_type(Item, request, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.cloudforce_one.requests.with_streaming_response.update( @@ -511,6 +555,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_identifier` but received ''"): @@ -525,6 +570,7 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: account_identifier="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: request = await async_client.cloudforce_one.requests.list( @@ -534,6 +580,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncV4PagePaginationArray[ListItem], request, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: request = await async_client.cloudforce_one.requests.list( @@ -551,6 +598,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncV4PagePaginationArray[ListItem], request, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.cloudforce_one.requests.with_raw_response.list( @@ -564,6 +612,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: request = await response.parse() assert_matches_type(AsyncV4PagePaginationArray[ListItem], request, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.cloudforce_one.requests.with_streaming_response.list( @@ -579,6 +628,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_identifier` but received ''"): @@ -588,6 +638,7 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: per_page=10, ) + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: request = await async_client.cloudforce_one.requests.delete( @@ -596,6 +647,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(RequestDeleteResponse, request, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.cloudforce_one.requests.with_raw_response.delete( @@ -608,6 +660,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: request = await response.parse() assert_matches_type(RequestDeleteResponse, request, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.cloudforce_one.requests.with_streaming_response.delete( @@ -622,6 +675,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_identifier` but received ''"): @@ -636,6 +690,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: account_identifier="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize async def test_method_constants(self, async_client: AsyncCloudflare) -> None: request = await async_client.cloudforce_one.requests.constants( @@ -643,6 +698,7 @@ async def test_method_constants(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(RequestConstants, request, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_constants(self, async_client: AsyncCloudflare) -> None: response = await async_client.cloudforce_one.requests.with_raw_response.constants( @@ -654,6 +710,7 @@ async def test_raw_response_constants(self, async_client: AsyncCloudflare) -> No request = await response.parse() assert_matches_type(RequestConstants, request, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_constants(self, async_client: AsyncCloudflare) -> None: async with async_client.cloudforce_one.requests.with_streaming_response.constants( @@ -667,6 +724,7 @@ async def test_streaming_response_constants(self, async_client: AsyncCloudflare) assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_constants(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_identifier` but received ''"): @@ -674,6 +732,7 @@ async def test_path_params_constants(self, async_client: AsyncCloudflare) -> Non "", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: request = await async_client.cloudforce_one.requests.get( @@ -682,6 +741,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Item, request, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.cloudforce_one.requests.with_raw_response.get( @@ -694,6 +754,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: request = await response.parse() assert_matches_type(Item, request, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.cloudforce_one.requests.with_streaming_response.get( @@ -708,6 +769,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_identifier` but received ''"): @@ -722,6 +784,7 @@ async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: account_identifier="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize async def test_method_quota(self, async_client: AsyncCloudflare) -> None: request = await async_client.cloudforce_one.requests.quota( @@ -729,6 +792,7 @@ async def test_method_quota(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Quota, request, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_quota(self, async_client: AsyncCloudflare) -> None: response = await async_client.cloudforce_one.requests.with_raw_response.quota( @@ -740,6 +804,7 @@ async def test_raw_response_quota(self, async_client: AsyncCloudflare) -> None: request = await response.parse() assert_matches_type(Quota, request, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_quota(self, async_client: AsyncCloudflare) -> None: async with async_client.cloudforce_one.requests.with_streaming_response.quota( @@ -753,6 +818,7 @@ async def test_streaming_response_quota(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_quota(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_identifier` but received ''"): @@ -760,6 +826,7 @@ async def test_path_params_quota(self, async_client: AsyncCloudflare) -> None: "", ) + @pytest.mark.skip() @parametrize async def test_method_types(self, async_client: AsyncCloudflare) -> None: request = await async_client.cloudforce_one.requests.types( @@ -767,6 +834,7 @@ async def test_method_types(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(RequestTypes, request, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_types(self, async_client: AsyncCloudflare) -> None: response = await async_client.cloudforce_one.requests.with_raw_response.types( @@ -778,6 +846,7 @@ async def test_raw_response_types(self, async_client: AsyncCloudflare) -> None: request = await response.parse() assert_matches_type(RequestTypes, request, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_types(self, async_client: AsyncCloudflare) -> None: async with async_client.cloudforce_one.requests.with_streaming_response.types( @@ -791,6 +860,7 @@ async def test_streaming_response_types(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_types(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_identifier` but received ''"): diff --git a/tests/api_resources/custom_certificates/test_prioritize.py b/tests/api_resources/custom_certificates/test_prioritize.py index 25accbd83cb..06419cda056 100644 --- a/tests/api_resources/custom_certificates/test_prioritize.py +++ b/tests/api_resources/custom_certificates/test_prioritize.py @@ -17,6 +17,7 @@ class TestPrioritize: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: prioritize = client.custom_certificates.prioritize.update( @@ -25,6 +26,7 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[PrioritizeUpdateResponse], prioritize, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.custom_certificates.prioritize.with_raw_response.update( @@ -37,6 +39,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: prioritize = response.parse() assert_matches_type(Optional[PrioritizeUpdateResponse], prioritize, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.custom_certificates.prioritize.with_streaming_response.update( @@ -51,6 +54,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -63,6 +67,7 @@ def test_path_params_update(self, client: Cloudflare) -> None: class TestAsyncPrioritize: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: prioritize = await async_client.custom_certificates.prioritize.update( @@ -71,6 +76,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[PrioritizeUpdateResponse], prioritize, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.custom_certificates.prioritize.with_raw_response.update( @@ -83,6 +89,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: prioritize = await response.parse() assert_matches_type(Optional[PrioritizeUpdateResponse], prioritize, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.custom_certificates.prioritize.with_streaming_response.update( @@ -97,6 +104,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): diff --git a/tests/api_resources/custom_hostnames/test_fallback_origin.py b/tests/api_resources/custom_hostnames/test_fallback_origin.py index d41c4961665..ba04772700c 100644 --- a/tests/api_resources/custom_hostnames/test_fallback_origin.py +++ b/tests/api_resources/custom_hostnames/test_fallback_origin.py @@ -21,6 +21,7 @@ class TestFallbackOrigin: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: fallback_origin = client.custom_hostnames.fallback_origin.update( @@ -29,6 +30,7 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(FallbackOriginUpdateResponse, fallback_origin, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.custom_hostnames.fallback_origin.with_raw_response.update( @@ -41,6 +43,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: fallback_origin = response.parse() assert_matches_type(FallbackOriginUpdateResponse, fallback_origin, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.custom_hostnames.fallback_origin.with_streaming_response.update( @@ -55,6 +58,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -63,6 +67,7 @@ def test_path_params_update(self, client: Cloudflare) -> None: origin="fallback.example.com", ) + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: fallback_origin = client.custom_hostnames.fallback_origin.delete( @@ -71,6 +76,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(FallbackOriginDeleteResponse, fallback_origin, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.custom_hostnames.fallback_origin.with_raw_response.delete( @@ -83,6 +89,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: fallback_origin = response.parse() assert_matches_type(FallbackOriginDeleteResponse, fallback_origin, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.custom_hostnames.fallback_origin.with_streaming_response.delete( @@ -97,6 +104,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -105,6 +113,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: fallback_origin = client.custom_hostnames.fallback_origin.get( @@ -112,6 +121,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(FallbackOriginGetResponse, fallback_origin, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.custom_hostnames.fallback_origin.with_raw_response.get( @@ -123,6 +133,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: fallback_origin = response.parse() assert_matches_type(FallbackOriginGetResponse, fallback_origin, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.custom_hostnames.fallback_origin.with_streaming_response.get( @@ -136,6 +147,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -147,6 +159,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncFallbackOrigin: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: fallback_origin = await async_client.custom_hostnames.fallback_origin.update( @@ -155,6 +168,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(FallbackOriginUpdateResponse, fallback_origin, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.custom_hostnames.fallback_origin.with_raw_response.update( @@ -167,6 +181,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: fallback_origin = await response.parse() assert_matches_type(FallbackOriginUpdateResponse, fallback_origin, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.custom_hostnames.fallback_origin.with_streaming_response.update( @@ -181,6 +196,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -189,6 +205,7 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: origin="fallback.example.com", ) + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: fallback_origin = await async_client.custom_hostnames.fallback_origin.delete( @@ -197,6 +214,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(FallbackOriginDeleteResponse, fallback_origin, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.custom_hostnames.fallback_origin.with_raw_response.delete( @@ -209,6 +227,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: fallback_origin = await response.parse() assert_matches_type(FallbackOriginDeleteResponse, fallback_origin, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.custom_hostnames.fallback_origin.with_streaming_response.delete( @@ -223,6 +242,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -231,6 +251,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: fallback_origin = await async_client.custom_hostnames.fallback_origin.get( @@ -238,6 +259,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(FallbackOriginGetResponse, fallback_origin, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.custom_hostnames.fallback_origin.with_raw_response.get( @@ -249,6 +271,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: fallback_origin = await response.parse() assert_matches_type(FallbackOriginGetResponse, fallback_origin, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.custom_hostnames.fallback_origin.with_streaming_response.get( @@ -262,6 +285,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): diff --git a/tests/api_resources/d1/test_database.py b/tests/api_resources/d1/test_database.py index 30697981791..8005deeea4b 100644 --- a/tests/api_resources/d1/test_database.py +++ b/tests/api_resources/d1/test_database.py @@ -24,6 +24,7 @@ class TestDatabase: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: database = client.d1.database.create( @@ -32,6 +33,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(DatabaseCreateResponse, database, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.d1.database.with_raw_response.create( @@ -44,6 +46,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: database = response.parse() assert_matches_type(DatabaseCreateResponse, database, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.d1.database.with_streaming_response.create( @@ -58,6 +61,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -66,6 +70,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: name="my-database", ) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: database = client.d1.database.list( @@ -73,6 +78,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePaginationArray[DatabaseListResponse], database, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: database = client.d1.database.list( @@ -83,6 +89,7 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePaginationArray[DatabaseListResponse], database, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.d1.database.with_raw_response.list( @@ -94,6 +101,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: database = response.parse() assert_matches_type(SyncV4PagePaginationArray[DatabaseListResponse], database, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.d1.database.with_streaming_response.list( @@ -107,6 +115,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -114,6 +123,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: database = client.d1.database.delete( @@ -122,6 +132,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(DatabaseDeleteResponse, database, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.d1.database.with_raw_response.delete( @@ -134,6 +145,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: database = response.parse() assert_matches_type(DatabaseDeleteResponse, database, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.d1.database.with_streaming_response.delete( @@ -148,6 +160,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_identifier` but received ''"): @@ -162,6 +175,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: account_identifier="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: database = client.d1.database.get( @@ -170,6 +184,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(D1, database, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.d1.database.with_raw_response.get( @@ -182,6 +197,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: database = response.parse() assert_matches_type(D1, database, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.d1.database.with_streaming_response.get( @@ -196,6 +212,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_identifier` but received ''"): @@ -210,6 +227,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: account_identifier="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize def test_method_query(self, client: Cloudflare) -> None: database = client.d1.database.query( @@ -219,6 +237,7 @@ def test_method_query(self, client: Cloudflare) -> None: ) assert_matches_type(DatabaseQueryResponse, database, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_query_with_all_params(self, client: Cloudflare) -> None: database = client.d1.database.query( @@ -229,6 +248,7 @@ def test_method_query_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(DatabaseQueryResponse, database, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_query(self, client: Cloudflare) -> None: response = client.d1.database.with_raw_response.query( @@ -242,6 +262,7 @@ def test_raw_response_query(self, client: Cloudflare) -> None: database = response.parse() assert_matches_type(DatabaseQueryResponse, database, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_query(self, client: Cloudflare) -> None: with client.d1.database.with_streaming_response.query( @@ -257,6 +278,7 @@ def test_streaming_response_query(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_query(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_identifier` but received ''"): @@ -277,6 +299,7 @@ def test_path_params_query(self, client: Cloudflare) -> None: class TestAsyncDatabase: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: database = await async_client.d1.database.create( @@ -285,6 +308,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(DatabaseCreateResponse, database, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.d1.database.with_raw_response.create( @@ -297,6 +321,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: database = await response.parse() assert_matches_type(DatabaseCreateResponse, database, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.d1.database.with_streaming_response.create( @@ -311,6 +336,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -319,6 +345,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: name="my-database", ) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: database = await async_client.d1.database.list( @@ -326,6 +353,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncV4PagePaginationArray[DatabaseListResponse], database, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: database = await async_client.d1.database.list( @@ -336,6 +364,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncV4PagePaginationArray[DatabaseListResponse], database, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.d1.database.with_raw_response.list( @@ -347,6 +376,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: database = await response.parse() assert_matches_type(AsyncV4PagePaginationArray[DatabaseListResponse], database, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.d1.database.with_streaming_response.list( @@ -360,6 +390,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -367,6 +398,7 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: database = await async_client.d1.database.delete( @@ -375,6 +407,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(DatabaseDeleteResponse, database, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.d1.database.with_raw_response.delete( @@ -387,6 +420,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: database = await response.parse() assert_matches_type(DatabaseDeleteResponse, database, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.d1.database.with_streaming_response.delete( @@ -401,6 +435,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_identifier` but received ''"): @@ -415,6 +450,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: account_identifier="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: database = await async_client.d1.database.get( @@ -423,6 +459,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(D1, database, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.d1.database.with_raw_response.get( @@ -435,6 +472,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: database = await response.parse() assert_matches_type(D1, database, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.d1.database.with_streaming_response.get( @@ -449,6 +487,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_identifier` but received ''"): @@ -463,6 +502,7 @@ async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: account_identifier="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize async def test_method_query(self, async_client: AsyncCloudflare) -> None: database = await async_client.d1.database.query( @@ -472,6 +512,7 @@ async def test_method_query(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(DatabaseQueryResponse, database, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_query_with_all_params(self, async_client: AsyncCloudflare) -> None: database = await async_client.d1.database.query( @@ -482,6 +523,7 @@ async def test_method_query_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(DatabaseQueryResponse, database, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_query(self, async_client: AsyncCloudflare) -> None: response = await async_client.d1.database.with_raw_response.query( @@ -495,6 +537,7 @@ async def test_raw_response_query(self, async_client: AsyncCloudflare) -> None: database = await response.parse() assert_matches_type(DatabaseQueryResponse, database, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_query(self, async_client: AsyncCloudflare) -> None: async with async_client.d1.database.with_streaming_response.query( @@ -510,6 +553,7 @@ async def test_streaming_response_query(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_query(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_identifier` but received ''"): diff --git a/tests/api_resources/dcv_delegation/test_uuid.py b/tests/api_resources/dcv_delegation/test_uuid.py index ae09e9bb676..0bb10895bed 100644 --- a/tests/api_resources/dcv_delegation/test_uuid.py +++ b/tests/api_resources/dcv_delegation/test_uuid.py @@ -17,6 +17,7 @@ class TestUUID: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: uuid = client.dcv_delegation.uuid.get( @@ -24,6 +25,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(DCVDelegationUUID, uuid, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.dcv_delegation.uuid.with_raw_response.get( @@ -35,6 +37,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: uuid = response.parse() assert_matches_type(DCVDelegationUUID, uuid, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.dcv_delegation.uuid.with_streaming_response.get( @@ -48,6 +51,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -59,6 +63,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncUUID: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: uuid = await async_client.dcv_delegation.uuid.get( @@ -66,6 +71,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(DCVDelegationUUID, uuid, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.dcv_delegation.uuid.with_raw_response.get( @@ -77,6 +83,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: uuid = await response.parse() assert_matches_type(DCVDelegationUUID, uuid, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.dcv_delegation.uuid.with_streaming_response.get( @@ -90,6 +97,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): diff --git a/tests/api_resources/diagnostics/test_traceroutes.py b/tests/api_resources/diagnostics/test_traceroutes.py index 930de49727f..748aa9cc8d5 100644 --- a/tests/api_resources/diagnostics/test_traceroutes.py +++ b/tests/api_resources/diagnostics/test_traceroutes.py @@ -17,6 +17,7 @@ class TestTraceroutes: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: traceroute = client.diagnostics.traceroutes.create( @@ -25,6 +26,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[TracerouteCreateResponse], traceroute, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: traceroute = client.diagnostics.traceroutes.create( @@ -41,6 +43,7 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[TracerouteCreateResponse], traceroute, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.diagnostics.traceroutes.with_raw_response.create( @@ -53,6 +56,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: traceroute = response.parse() assert_matches_type(Optional[TracerouteCreateResponse], traceroute, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.diagnostics.traceroutes.with_streaming_response.create( @@ -67,6 +71,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -79,6 +84,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: class TestAsyncTraceroutes: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: traceroute = await async_client.diagnostics.traceroutes.create( @@ -87,6 +93,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[TracerouteCreateResponse], traceroute, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: traceroute = await async_client.diagnostics.traceroutes.create( @@ -103,6 +110,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[TracerouteCreateResponse], traceroute, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.diagnostics.traceroutes.with_raw_response.create( @@ -115,6 +123,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: traceroute = await response.parse() assert_matches_type(Optional[TracerouteCreateResponse], traceroute, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.diagnostics.traceroutes.with_streaming_response.create( @@ -129,6 +138,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/dns/analytics/reports/test_bytimes.py b/tests/api_resources/dns/analytics/reports/test_bytimes.py index 73408198645..759ac8524ba 100644 --- a/tests/api_resources/dns/analytics/reports/test_bytimes.py +++ b/tests/api_resources/dns/analytics/reports/test_bytimes.py @@ -18,6 +18,7 @@ class TestBytimes: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: bytime = client.dns.analytics.reports.bytimes.get( @@ -25,6 +26,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ByTime], bytime, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: bytime = client.dns.analytics.reports.bytimes.get( @@ -40,6 +42,7 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ByTime], bytime, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.dns.analytics.reports.bytimes.with_raw_response.get( @@ -51,6 +54,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: bytime = response.parse() assert_matches_type(Optional[ByTime], bytime, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.dns.analytics.reports.bytimes.with_streaming_response.get( @@ -64,6 +68,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -75,6 +80,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncBytimes: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: bytime = await async_client.dns.analytics.reports.bytimes.get( @@ -82,6 +88,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[ByTime], bytime, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: bytime = await async_client.dns.analytics.reports.bytimes.get( @@ -97,6 +104,7 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(Optional[ByTime], bytime, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.dns.analytics.reports.bytimes.with_raw_response.get( @@ -108,6 +116,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: bytime = await response.parse() assert_matches_type(Optional[ByTime], bytime, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.dns.analytics.reports.bytimes.with_streaming_response.get( @@ -121,6 +130,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): diff --git a/tests/api_resources/dns/analytics/test_reports.py b/tests/api_resources/dns/analytics/test_reports.py index 89dae97959c..e91585a73ec 100644 --- a/tests/api_resources/dns/analytics/test_reports.py +++ b/tests/api_resources/dns/analytics/test_reports.py @@ -18,6 +18,7 @@ class TestReports: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: report = client.dns.analytics.reports.get( @@ -25,6 +26,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Report], report, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: report = client.dns.analytics.reports.get( @@ -39,6 +41,7 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Report], report, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.dns.analytics.reports.with_raw_response.get( @@ -50,6 +53,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: report = response.parse() assert_matches_type(Optional[Report], report, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.dns.analytics.reports.with_streaming_response.get( @@ -63,6 +67,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -74,6 +79,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncReports: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: report = await async_client.dns.analytics.reports.get( @@ -81,6 +87,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Report], report, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: report = await async_client.dns.analytics.reports.get( @@ -95,6 +102,7 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(Optional[Report], report, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.dns.analytics.reports.with_raw_response.get( @@ -106,6 +114,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: report = await response.parse() assert_matches_type(Optional[Report], report, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.dns.analytics.reports.with_streaming_response.get( @@ -119,6 +128,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): diff --git a/tests/api_resources/dns/firewall/analytics/reports/test_bytimes.py b/tests/api_resources/dns/firewall/analytics/reports/test_bytimes.py index 0aa48692e20..ba39224909a 100644 --- a/tests/api_resources/dns/firewall/analytics/reports/test_bytimes.py +++ b/tests/api_resources/dns/firewall/analytics/reports/test_bytimes.py @@ -18,6 +18,7 @@ class TestBytimes: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: bytime = client.dns.firewall.analytics.reports.bytimes.get( @@ -26,6 +27,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ByTime], bytime, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: bytime = client.dns.firewall.analytics.reports.bytimes.get( @@ -42,6 +44,7 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ByTime], bytime, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.dns.firewall.analytics.reports.bytimes.with_raw_response.get( @@ -54,6 +57,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: bytime = response.parse() assert_matches_type(Optional[ByTime], bytime, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.dns.firewall.analytics.reports.bytimes.with_streaming_response.get( @@ -68,6 +72,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -86,6 +91,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncBytimes: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: bytime = await async_client.dns.firewall.analytics.reports.bytimes.get( @@ -94,6 +100,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[ByTime], bytime, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: bytime = await async_client.dns.firewall.analytics.reports.bytimes.get( @@ -110,6 +117,7 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(Optional[ByTime], bytime, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.dns.firewall.analytics.reports.bytimes.with_raw_response.get( @@ -122,6 +130,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: bytime = await response.parse() assert_matches_type(Optional[ByTime], bytime, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.dns.firewall.analytics.reports.bytimes.with_streaming_response.get( @@ -136,6 +145,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/dns/firewall/analytics/test_reports.py b/tests/api_resources/dns/firewall/analytics/test_reports.py index 985ac0d448f..32369b249a7 100644 --- a/tests/api_resources/dns/firewall/analytics/test_reports.py +++ b/tests/api_resources/dns/firewall/analytics/test_reports.py @@ -18,6 +18,7 @@ class TestReports: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: report = client.dns.firewall.analytics.reports.get( @@ -26,6 +27,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Report], report, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: report = client.dns.firewall.analytics.reports.get( @@ -41,6 +43,7 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Report], report, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.dns.firewall.analytics.reports.with_raw_response.get( @@ -53,6 +56,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: report = response.parse() assert_matches_type(Optional[Report], report, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.dns.firewall.analytics.reports.with_streaming_response.get( @@ -67,6 +71,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -85,6 +90,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncReports: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: report = await async_client.dns.firewall.analytics.reports.get( @@ -93,6 +99,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Report], report, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: report = await async_client.dns.firewall.analytics.reports.get( @@ -108,6 +115,7 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(Optional[Report], report, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.dns.firewall.analytics.reports.with_raw_response.get( @@ -120,6 +128,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: report = await response.parse() assert_matches_type(Optional[Report], report, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.dns.firewall.analytics.reports.with_streaming_response.get( @@ -134,6 +143,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/dns/test_firewall.py b/tests/api_resources/dns/test_firewall.py index a7c127954f1..e8f10dc1fae 100644 --- a/tests/api_resources/dns/test_firewall.py +++ b/tests/api_resources/dns/test_firewall.py @@ -21,6 +21,7 @@ class TestFirewall: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: firewall = client.dns.firewall.create( @@ -30,6 +31,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Firewall, firewall, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: firewall = client.dns.firewall.create( @@ -50,6 +52,7 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Firewall, firewall, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.dns.firewall.with_raw_response.create( @@ -63,6 +66,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: firewall = response.parse() assert_matches_type(Firewall, firewall, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.dns.firewall.with_streaming_response.create( @@ -78,6 +82,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -87,6 +92,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: upstream_ips=["192.0.2.1", "198.51.100.1", "2001:DB8:100::CF"], ) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: firewall = client.dns.firewall.list( @@ -94,6 +100,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePaginationArray[Firewall], firewall, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: firewall = client.dns.firewall.list( @@ -103,6 +110,7 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePaginationArray[Firewall], firewall, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.dns.firewall.with_raw_response.list( @@ -114,6 +122,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: firewall = response.parse() assert_matches_type(SyncV4PagePaginationArray[Firewall], firewall, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.dns.firewall.with_streaming_response.list( @@ -127,6 +136,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -134,6 +144,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: firewall = client.dns.firewall.delete( @@ -143,6 +154,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(FirewallDeleteResponse, firewall, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.dns.firewall.with_raw_response.delete( @@ -156,6 +168,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: firewall = response.parse() assert_matches_type(FirewallDeleteResponse, firewall, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.dns.firewall.with_streaming_response.delete( @@ -171,6 +184,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -187,6 +201,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: firewall = client.dns.firewall.edit( @@ -202,6 +217,7 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Firewall, firewall, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_edit_with_all_params(self, client: Cloudflare) -> None: firewall = client.dns.firewall.edit( @@ -224,6 +240,7 @@ def test_method_edit_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Firewall, firewall, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.dns.firewall.with_raw_response.edit( @@ -243,6 +260,7 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: firewall = response.parse() assert_matches_type(Firewall, firewall, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.dns.firewall.with_streaming_response.edit( @@ -264,6 +282,7 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -292,6 +311,7 @@ def test_path_params_edit(self, client: Cloudflare) -> None: upstream_ips=["192.0.2.1", "198.51.100.1", "2001:DB8:100::CF"], ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: firewall = client.dns.firewall.get( @@ -300,6 +320,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Firewall, firewall, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.dns.firewall.with_raw_response.get( @@ -312,6 +333,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: firewall = response.parse() assert_matches_type(Firewall, firewall, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.dns.firewall.with_streaming_response.get( @@ -326,6 +348,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -344,6 +367,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncFirewall: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: firewall = await async_client.dns.firewall.create( @@ -353,6 +377,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Firewall, firewall, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: firewall = await async_client.dns.firewall.create( @@ -373,6 +398,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Firewall, firewall, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.dns.firewall.with_raw_response.create( @@ -386,6 +412,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: firewall = await response.parse() assert_matches_type(Firewall, firewall, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.dns.firewall.with_streaming_response.create( @@ -401,6 +428,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -410,6 +438,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: upstream_ips=["192.0.2.1", "198.51.100.1", "2001:DB8:100::CF"], ) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: firewall = await async_client.dns.firewall.list( @@ -417,6 +446,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncV4PagePaginationArray[Firewall], firewall, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: firewall = await async_client.dns.firewall.list( @@ -426,6 +456,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncV4PagePaginationArray[Firewall], firewall, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.dns.firewall.with_raw_response.list( @@ -437,6 +468,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: firewall = await response.parse() assert_matches_type(AsyncV4PagePaginationArray[Firewall], firewall, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.dns.firewall.with_streaming_response.list( @@ -450,6 +482,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -457,6 +490,7 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: firewall = await async_client.dns.firewall.delete( @@ -466,6 +500,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(FirewallDeleteResponse, firewall, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.dns.firewall.with_raw_response.delete( @@ -479,6 +514,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: firewall = await response.parse() assert_matches_type(FirewallDeleteResponse, firewall, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.dns.firewall.with_streaming_response.delete( @@ -494,6 +530,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -510,6 +547,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: firewall = await async_client.dns.firewall.edit( @@ -525,6 +563,7 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Firewall, firewall, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) -> None: firewall = await async_client.dns.firewall.edit( @@ -547,6 +586,7 @@ async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(Firewall, firewall, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.dns.firewall.with_raw_response.edit( @@ -566,6 +606,7 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: firewall = await response.parse() assert_matches_type(Firewall, firewall, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.dns.firewall.with_streaming_response.edit( @@ -587,6 +628,7 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -615,6 +657,7 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: upstream_ips=["192.0.2.1", "198.51.100.1", "2001:DB8:100::CF"], ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: firewall = await async_client.dns.firewall.get( @@ -623,6 +666,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Firewall, firewall, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.dns.firewall.with_raw_response.get( @@ -635,6 +679,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: firewall = await response.parse() assert_matches_type(Firewall, firewall, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.dns.firewall.with_streaming_response.get( @@ -649,6 +694,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/dns/test_records.py b/tests/api_resources/dns/test_records.py index 5891faf7dfb..2ce8d27f332 100644 --- a/tests/api_resources/dns/test_records.py +++ b/tests/api_resources/dns/test_records.py @@ -23,6 +23,7 @@ class TestRecords: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create_overload_1(self, client: Cloudflare) -> None: record = client.dns.records.create( @@ -33,6 +34,7 @@ def test_method_create_overload_1(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params_overload_1(self, client: Cloudflare) -> None: record = client.dns.records.create( @@ -47,6 +49,7 @@ def test_method_create_with_all_params_overload_1(self, client: Cloudflare) -> N ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create_overload_1(self, client: Cloudflare) -> None: response = client.dns.records.with_raw_response.create( @@ -61,6 +64,7 @@ def test_raw_response_create_overload_1(self, client: Cloudflare) -> None: record = response.parse() assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create_overload_1(self, client: Cloudflare) -> None: with client.dns.records.with_streaming_response.create( @@ -77,6 +81,7 @@ def test_streaming_response_create_overload_1(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create_overload_1(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -87,6 +92,7 @@ def test_path_params_create_overload_1(self, client: Cloudflare) -> None: type="A", ) + @pytest.mark.skip() @parametrize def test_method_create_overload_2(self, client: Cloudflare) -> None: record = client.dns.records.create( @@ -97,6 +103,7 @@ def test_method_create_overload_2(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params_overload_2(self, client: Cloudflare) -> None: record = client.dns.records.create( @@ -111,6 +118,7 @@ def test_method_create_with_all_params_overload_2(self, client: Cloudflare) -> N ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create_overload_2(self, client: Cloudflare) -> None: response = client.dns.records.with_raw_response.create( @@ -125,6 +133,7 @@ def test_raw_response_create_overload_2(self, client: Cloudflare) -> None: record = response.parse() assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create_overload_2(self, client: Cloudflare) -> None: with client.dns.records.with_streaming_response.create( @@ -141,6 +150,7 @@ def test_streaming_response_create_overload_2(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create_overload_2(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -151,6 +161,7 @@ def test_path_params_create_overload_2(self, client: Cloudflare) -> None: type="AAAA", ) + @pytest.mark.skip() @parametrize def test_method_create_overload_3(self, client: Cloudflare) -> None: record = client.dns.records.create( @@ -161,6 +172,7 @@ def test_method_create_overload_3(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params_overload_3(self, client: Cloudflare) -> None: record = client.dns.records.create( @@ -178,6 +190,7 @@ def test_method_create_with_all_params_overload_3(self, client: Cloudflare) -> N ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create_overload_3(self, client: Cloudflare) -> None: response = client.dns.records.with_raw_response.create( @@ -192,6 +205,7 @@ def test_raw_response_create_overload_3(self, client: Cloudflare) -> None: record = response.parse() assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create_overload_3(self, client: Cloudflare) -> None: with client.dns.records.with_streaming_response.create( @@ -208,6 +222,7 @@ def test_streaming_response_create_overload_3(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create_overload_3(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -218,6 +233,7 @@ def test_path_params_create_overload_3(self, client: Cloudflare) -> None: type="CAA", ) + @pytest.mark.skip() @parametrize def test_method_create_overload_4(self, client: Cloudflare) -> None: record = client.dns.records.create( @@ -228,6 +244,7 @@ def test_method_create_overload_4(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params_overload_4(self, client: Cloudflare) -> None: record = client.dns.records.create( @@ -246,6 +263,7 @@ def test_method_create_with_all_params_overload_4(self, client: Cloudflare) -> N ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create_overload_4(self, client: Cloudflare) -> None: response = client.dns.records.with_raw_response.create( @@ -260,6 +278,7 @@ def test_raw_response_create_overload_4(self, client: Cloudflare) -> None: record = response.parse() assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create_overload_4(self, client: Cloudflare) -> None: with client.dns.records.with_streaming_response.create( @@ -276,6 +295,7 @@ def test_streaming_response_create_overload_4(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create_overload_4(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -286,6 +306,7 @@ def test_path_params_create_overload_4(self, client: Cloudflare) -> None: type="CERT", ) + @pytest.mark.skip() @parametrize def test_method_create_overload_5(self, client: Cloudflare) -> None: record = client.dns.records.create( @@ -296,6 +317,7 @@ def test_method_create_overload_5(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params_overload_5(self, client: Cloudflare) -> None: record = client.dns.records.create( @@ -310,6 +332,7 @@ def test_method_create_with_all_params_overload_5(self, client: Cloudflare) -> N ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create_overload_5(self, client: Cloudflare) -> None: response = client.dns.records.with_raw_response.create( @@ -324,6 +347,7 @@ def test_raw_response_create_overload_5(self, client: Cloudflare) -> None: record = response.parse() assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create_overload_5(self, client: Cloudflare) -> None: with client.dns.records.with_streaming_response.create( @@ -340,6 +364,7 @@ def test_streaming_response_create_overload_5(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create_overload_5(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -350,6 +375,7 @@ def test_path_params_create_overload_5(self, client: Cloudflare) -> None: type="CNAME", ) + @pytest.mark.skip() @parametrize def test_method_create_overload_6(self, client: Cloudflare) -> None: record = client.dns.records.create( @@ -360,6 +386,7 @@ def test_method_create_overload_6(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params_overload_6(self, client: Cloudflare) -> None: record = client.dns.records.create( @@ -378,6 +405,7 @@ def test_method_create_with_all_params_overload_6(self, client: Cloudflare) -> N ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create_overload_6(self, client: Cloudflare) -> None: response = client.dns.records.with_raw_response.create( @@ -392,6 +420,7 @@ def test_raw_response_create_overload_6(self, client: Cloudflare) -> None: record = response.parse() assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create_overload_6(self, client: Cloudflare) -> None: with client.dns.records.with_streaming_response.create( @@ -408,6 +437,7 @@ def test_streaming_response_create_overload_6(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create_overload_6(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -418,6 +448,7 @@ def test_path_params_create_overload_6(self, client: Cloudflare) -> None: type="DNSKEY", ) + @pytest.mark.skip() @parametrize def test_method_create_overload_7(self, client: Cloudflare) -> None: record = client.dns.records.create( @@ -428,6 +459,7 @@ def test_method_create_overload_7(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params_overload_7(self, client: Cloudflare) -> None: record = client.dns.records.create( @@ -446,6 +478,7 @@ def test_method_create_with_all_params_overload_7(self, client: Cloudflare) -> N ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create_overload_7(self, client: Cloudflare) -> None: response = client.dns.records.with_raw_response.create( @@ -460,6 +493,7 @@ def test_raw_response_create_overload_7(self, client: Cloudflare) -> None: record = response.parse() assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create_overload_7(self, client: Cloudflare) -> None: with client.dns.records.with_streaming_response.create( @@ -476,6 +510,7 @@ def test_streaming_response_create_overload_7(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create_overload_7(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -486,6 +521,7 @@ def test_path_params_create_overload_7(self, client: Cloudflare) -> None: type="DS", ) + @pytest.mark.skip() @parametrize def test_method_create_overload_8(self, client: Cloudflare) -> None: record = client.dns.records.create( @@ -496,6 +532,7 @@ def test_method_create_overload_8(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params_overload_8(self, client: Cloudflare) -> None: record = client.dns.records.create( @@ -513,6 +550,7 @@ def test_method_create_with_all_params_overload_8(self, client: Cloudflare) -> N ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create_overload_8(self, client: Cloudflare) -> None: response = client.dns.records.with_raw_response.create( @@ -527,6 +565,7 @@ def test_raw_response_create_overload_8(self, client: Cloudflare) -> None: record = response.parse() assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create_overload_8(self, client: Cloudflare) -> None: with client.dns.records.with_streaming_response.create( @@ -543,6 +582,7 @@ def test_streaming_response_create_overload_8(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create_overload_8(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -553,6 +593,7 @@ def test_path_params_create_overload_8(self, client: Cloudflare) -> None: type="HTTPS", ) + @pytest.mark.skip() @parametrize def test_method_create_overload_9(self, client: Cloudflare) -> None: record = client.dns.records.create( @@ -563,6 +604,7 @@ def test_method_create_overload_9(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params_overload_9(self, client: Cloudflare) -> None: record = client.dns.records.create( @@ -589,6 +631,7 @@ def test_method_create_with_all_params_overload_9(self, client: Cloudflare) -> N ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create_overload_9(self, client: Cloudflare) -> None: response = client.dns.records.with_raw_response.create( @@ -603,6 +646,7 @@ def test_raw_response_create_overload_9(self, client: Cloudflare) -> None: record = response.parse() assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create_overload_9(self, client: Cloudflare) -> None: with client.dns.records.with_streaming_response.create( @@ -619,6 +663,7 @@ def test_streaming_response_create_overload_9(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create_overload_9(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -629,6 +674,7 @@ def test_path_params_create_overload_9(self, client: Cloudflare) -> None: type="LOC", ) + @pytest.mark.skip() @parametrize def test_method_create_overload_10(self, client: Cloudflare) -> None: record = client.dns.records.create( @@ -640,6 +686,7 @@ def test_method_create_overload_10(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params_overload_10(self, client: Cloudflare) -> None: record = client.dns.records.create( @@ -654,6 +701,7 @@ def test_method_create_with_all_params_overload_10(self, client: Cloudflare) -> ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create_overload_10(self, client: Cloudflare) -> None: response = client.dns.records.with_raw_response.create( @@ -669,6 +717,7 @@ def test_raw_response_create_overload_10(self, client: Cloudflare) -> None: record = response.parse() assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create_overload_10(self, client: Cloudflare) -> None: with client.dns.records.with_streaming_response.create( @@ -686,6 +735,7 @@ def test_streaming_response_create_overload_10(self, client: Cloudflare) -> None assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create_overload_10(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -697,6 +747,7 @@ def test_path_params_create_overload_10(self, client: Cloudflare) -> None: type="MX", ) + @pytest.mark.skip() @parametrize def test_method_create_overload_11(self, client: Cloudflare) -> None: record = client.dns.records.create( @@ -707,6 +758,7 @@ def test_method_create_overload_11(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params_overload_11(self, client: Cloudflare) -> None: record = client.dns.records.create( @@ -727,6 +779,7 @@ def test_method_create_with_all_params_overload_11(self, client: Cloudflare) -> ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create_overload_11(self, client: Cloudflare) -> None: response = client.dns.records.with_raw_response.create( @@ -741,6 +794,7 @@ def test_raw_response_create_overload_11(self, client: Cloudflare) -> None: record = response.parse() assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create_overload_11(self, client: Cloudflare) -> None: with client.dns.records.with_streaming_response.create( @@ -757,6 +811,7 @@ def test_streaming_response_create_overload_11(self, client: Cloudflare) -> None assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create_overload_11(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -767,6 +822,7 @@ def test_path_params_create_overload_11(self, client: Cloudflare) -> None: type="NAPTR", ) + @pytest.mark.skip() @parametrize def test_method_create_overload_12(self, client: Cloudflare) -> None: record = client.dns.records.create( @@ -777,6 +833,7 @@ def test_method_create_overload_12(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params_overload_12(self, client: Cloudflare) -> None: record = client.dns.records.create( @@ -790,6 +847,7 @@ def test_method_create_with_all_params_overload_12(self, client: Cloudflare) -> ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create_overload_12(self, client: Cloudflare) -> None: response = client.dns.records.with_raw_response.create( @@ -804,6 +862,7 @@ def test_raw_response_create_overload_12(self, client: Cloudflare) -> None: record = response.parse() assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create_overload_12(self, client: Cloudflare) -> None: with client.dns.records.with_streaming_response.create( @@ -820,6 +879,7 @@ def test_streaming_response_create_overload_12(self, client: Cloudflare) -> None assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create_overload_12(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -830,6 +890,7 @@ def test_path_params_create_overload_12(self, client: Cloudflare) -> None: type="NS", ) + @pytest.mark.skip() @parametrize def test_method_create_overload_13(self, client: Cloudflare) -> None: record = client.dns.records.create( @@ -840,6 +901,7 @@ def test_method_create_overload_13(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params_overload_13(self, client: Cloudflare) -> None: record = client.dns.records.create( @@ -853,6 +915,7 @@ def test_method_create_with_all_params_overload_13(self, client: Cloudflare) -> ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create_overload_13(self, client: Cloudflare) -> None: response = client.dns.records.with_raw_response.create( @@ -867,6 +930,7 @@ def test_raw_response_create_overload_13(self, client: Cloudflare) -> None: record = response.parse() assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create_overload_13(self, client: Cloudflare) -> None: with client.dns.records.with_streaming_response.create( @@ -883,6 +947,7 @@ def test_streaming_response_create_overload_13(self, client: Cloudflare) -> None assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create_overload_13(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -893,6 +958,7 @@ def test_path_params_create_overload_13(self, client: Cloudflare) -> None: type="PTR", ) + @pytest.mark.skip() @parametrize def test_method_create_overload_14(self, client: Cloudflare) -> None: record = client.dns.records.create( @@ -903,6 +969,7 @@ def test_method_create_overload_14(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params_overload_14(self, client: Cloudflare) -> None: record = client.dns.records.create( @@ -921,6 +988,7 @@ def test_method_create_with_all_params_overload_14(self, client: Cloudflare) -> ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create_overload_14(self, client: Cloudflare) -> None: response = client.dns.records.with_raw_response.create( @@ -935,6 +1003,7 @@ def test_raw_response_create_overload_14(self, client: Cloudflare) -> None: record = response.parse() assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create_overload_14(self, client: Cloudflare) -> None: with client.dns.records.with_streaming_response.create( @@ -951,6 +1020,7 @@ def test_streaming_response_create_overload_14(self, client: Cloudflare) -> None assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create_overload_14(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -961,6 +1031,7 @@ def test_path_params_create_overload_14(self, client: Cloudflare) -> None: type="SMIMEA", ) + @pytest.mark.skip() @parametrize def test_method_create_overload_15(self, client: Cloudflare) -> None: record = client.dns.records.create( @@ -971,6 +1042,7 @@ def test_method_create_overload_15(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params_overload_15(self, client: Cloudflare) -> None: record = client.dns.records.create( @@ -992,6 +1064,7 @@ def test_method_create_with_all_params_overload_15(self, client: Cloudflare) -> ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create_overload_15(self, client: Cloudflare) -> None: response = client.dns.records.with_raw_response.create( @@ -1006,6 +1079,7 @@ def test_raw_response_create_overload_15(self, client: Cloudflare) -> None: record = response.parse() assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create_overload_15(self, client: Cloudflare) -> None: with client.dns.records.with_streaming_response.create( @@ -1022,6 +1096,7 @@ def test_streaming_response_create_overload_15(self, client: Cloudflare) -> None assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create_overload_15(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -1032,6 +1107,7 @@ def test_path_params_create_overload_15(self, client: Cloudflare) -> None: type="SRV", ) + @pytest.mark.skip() @parametrize def test_method_create_overload_16(self, client: Cloudflare) -> None: record = client.dns.records.create( @@ -1042,6 +1118,7 @@ def test_method_create_overload_16(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params_overload_16(self, client: Cloudflare) -> None: record = client.dns.records.create( @@ -1059,6 +1136,7 @@ def test_method_create_with_all_params_overload_16(self, client: Cloudflare) -> ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create_overload_16(self, client: Cloudflare) -> None: response = client.dns.records.with_raw_response.create( @@ -1073,6 +1151,7 @@ def test_raw_response_create_overload_16(self, client: Cloudflare) -> None: record = response.parse() assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create_overload_16(self, client: Cloudflare) -> None: with client.dns.records.with_streaming_response.create( @@ -1089,6 +1168,7 @@ def test_streaming_response_create_overload_16(self, client: Cloudflare) -> None assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create_overload_16(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -1099,6 +1179,7 @@ def test_path_params_create_overload_16(self, client: Cloudflare) -> None: type="SSHFP", ) + @pytest.mark.skip() @parametrize def test_method_create_overload_17(self, client: Cloudflare) -> None: record = client.dns.records.create( @@ -1109,6 +1190,7 @@ def test_method_create_overload_17(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params_overload_17(self, client: Cloudflare) -> None: record = client.dns.records.create( @@ -1126,6 +1208,7 @@ def test_method_create_with_all_params_overload_17(self, client: Cloudflare) -> ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create_overload_17(self, client: Cloudflare) -> None: response = client.dns.records.with_raw_response.create( @@ -1140,6 +1223,7 @@ def test_raw_response_create_overload_17(self, client: Cloudflare) -> None: record = response.parse() assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create_overload_17(self, client: Cloudflare) -> None: with client.dns.records.with_streaming_response.create( @@ -1156,6 +1240,7 @@ def test_streaming_response_create_overload_17(self, client: Cloudflare) -> None assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create_overload_17(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -1166,6 +1251,7 @@ def test_path_params_create_overload_17(self, client: Cloudflare) -> None: type="SVCB", ) + @pytest.mark.skip() @parametrize def test_method_create_overload_18(self, client: Cloudflare) -> None: record = client.dns.records.create( @@ -1176,6 +1262,7 @@ def test_method_create_overload_18(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params_overload_18(self, client: Cloudflare) -> None: record = client.dns.records.create( @@ -1194,6 +1281,7 @@ def test_method_create_with_all_params_overload_18(self, client: Cloudflare) -> ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create_overload_18(self, client: Cloudflare) -> None: response = client.dns.records.with_raw_response.create( @@ -1208,6 +1296,7 @@ def test_raw_response_create_overload_18(self, client: Cloudflare) -> None: record = response.parse() assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create_overload_18(self, client: Cloudflare) -> None: with client.dns.records.with_streaming_response.create( @@ -1224,6 +1313,7 @@ def test_streaming_response_create_overload_18(self, client: Cloudflare) -> None assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create_overload_18(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -1234,6 +1324,7 @@ def test_path_params_create_overload_18(self, client: Cloudflare) -> None: type="TLSA", ) + @pytest.mark.skip() @parametrize def test_method_create_overload_19(self, client: Cloudflare) -> None: record = client.dns.records.create( @@ -1244,6 +1335,7 @@ def test_method_create_overload_19(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params_overload_19(self, client: Cloudflare) -> None: record = client.dns.records.create( @@ -1257,6 +1349,7 @@ def test_method_create_with_all_params_overload_19(self, client: Cloudflare) -> ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create_overload_19(self, client: Cloudflare) -> None: response = client.dns.records.with_raw_response.create( @@ -1271,6 +1364,7 @@ def test_raw_response_create_overload_19(self, client: Cloudflare) -> None: record = response.parse() assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create_overload_19(self, client: Cloudflare) -> None: with client.dns.records.with_streaming_response.create( @@ -1287,6 +1381,7 @@ def test_streaming_response_create_overload_19(self, client: Cloudflare) -> None assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create_overload_19(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -1297,6 +1392,7 @@ def test_path_params_create_overload_19(self, client: Cloudflare) -> None: type="TXT", ) + @pytest.mark.skip() @parametrize def test_method_create_overload_20(self, client: Cloudflare) -> None: record = client.dns.records.create( @@ -1308,6 +1404,7 @@ def test_method_create_overload_20(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params_overload_20(self, client: Cloudflare) -> None: record = client.dns.records.create( @@ -1325,6 +1422,7 @@ def test_method_create_with_all_params_overload_20(self, client: Cloudflare) -> ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create_overload_20(self, client: Cloudflare) -> None: response = client.dns.records.with_raw_response.create( @@ -1340,6 +1438,7 @@ def test_raw_response_create_overload_20(self, client: Cloudflare) -> None: record = response.parse() assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create_overload_20(self, client: Cloudflare) -> None: with client.dns.records.with_streaming_response.create( @@ -1357,6 +1456,7 @@ def test_streaming_response_create_overload_20(self, client: Cloudflare) -> None assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create_overload_20(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -1368,6 +1468,7 @@ def test_path_params_create_overload_20(self, client: Cloudflare) -> None: type="URI", ) + @pytest.mark.skip() @parametrize def test_method_update_overload_1(self, client: Cloudflare) -> None: record = client.dns.records.update( @@ -1379,6 +1480,7 @@ def test_method_update_overload_1(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_update_with_all_params_overload_1(self, client: Cloudflare) -> None: record = client.dns.records.update( @@ -1394,6 +1496,7 @@ def test_method_update_with_all_params_overload_1(self, client: Cloudflare) -> N ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update_overload_1(self, client: Cloudflare) -> None: response = client.dns.records.with_raw_response.update( @@ -1409,6 +1512,7 @@ def test_raw_response_update_overload_1(self, client: Cloudflare) -> None: record = response.parse() assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update_overload_1(self, client: Cloudflare) -> None: with client.dns.records.with_streaming_response.update( @@ -1426,6 +1530,7 @@ def test_streaming_response_update_overload_1(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update_overload_1(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -1446,6 +1551,7 @@ def test_path_params_update_overload_1(self, client: Cloudflare) -> None: type="A", ) + @pytest.mark.skip() @parametrize def test_method_update_overload_2(self, client: Cloudflare) -> None: record = client.dns.records.update( @@ -1457,6 +1563,7 @@ def test_method_update_overload_2(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_update_with_all_params_overload_2(self, client: Cloudflare) -> None: record = client.dns.records.update( @@ -1472,6 +1579,7 @@ def test_method_update_with_all_params_overload_2(self, client: Cloudflare) -> N ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update_overload_2(self, client: Cloudflare) -> None: response = client.dns.records.with_raw_response.update( @@ -1487,6 +1595,7 @@ def test_raw_response_update_overload_2(self, client: Cloudflare) -> None: record = response.parse() assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update_overload_2(self, client: Cloudflare) -> None: with client.dns.records.with_streaming_response.update( @@ -1504,6 +1613,7 @@ def test_streaming_response_update_overload_2(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update_overload_2(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -1524,6 +1634,7 @@ def test_path_params_update_overload_2(self, client: Cloudflare) -> None: type="AAAA", ) + @pytest.mark.skip() @parametrize def test_method_update_overload_3(self, client: Cloudflare) -> None: record = client.dns.records.update( @@ -1535,6 +1646,7 @@ def test_method_update_overload_3(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_update_with_all_params_overload_3(self, client: Cloudflare) -> None: record = client.dns.records.update( @@ -1553,6 +1665,7 @@ def test_method_update_with_all_params_overload_3(self, client: Cloudflare) -> N ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update_overload_3(self, client: Cloudflare) -> None: response = client.dns.records.with_raw_response.update( @@ -1568,6 +1681,7 @@ def test_raw_response_update_overload_3(self, client: Cloudflare) -> None: record = response.parse() assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update_overload_3(self, client: Cloudflare) -> None: with client.dns.records.with_streaming_response.update( @@ -1585,6 +1699,7 @@ def test_streaming_response_update_overload_3(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update_overload_3(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -1605,6 +1720,7 @@ def test_path_params_update_overload_3(self, client: Cloudflare) -> None: type="CAA", ) + @pytest.mark.skip() @parametrize def test_method_update_overload_4(self, client: Cloudflare) -> None: record = client.dns.records.update( @@ -1616,6 +1732,7 @@ def test_method_update_overload_4(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_update_with_all_params_overload_4(self, client: Cloudflare) -> None: record = client.dns.records.update( @@ -1635,6 +1752,7 @@ def test_method_update_with_all_params_overload_4(self, client: Cloudflare) -> N ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update_overload_4(self, client: Cloudflare) -> None: response = client.dns.records.with_raw_response.update( @@ -1650,6 +1768,7 @@ def test_raw_response_update_overload_4(self, client: Cloudflare) -> None: record = response.parse() assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update_overload_4(self, client: Cloudflare) -> None: with client.dns.records.with_streaming_response.update( @@ -1667,6 +1786,7 @@ def test_streaming_response_update_overload_4(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update_overload_4(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -1687,6 +1807,7 @@ def test_path_params_update_overload_4(self, client: Cloudflare) -> None: type="CERT", ) + @pytest.mark.skip() @parametrize def test_method_update_overload_5(self, client: Cloudflare) -> None: record = client.dns.records.update( @@ -1698,6 +1819,7 @@ def test_method_update_overload_5(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_update_with_all_params_overload_5(self, client: Cloudflare) -> None: record = client.dns.records.update( @@ -1713,6 +1835,7 @@ def test_method_update_with_all_params_overload_5(self, client: Cloudflare) -> N ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update_overload_5(self, client: Cloudflare) -> None: response = client.dns.records.with_raw_response.update( @@ -1728,6 +1851,7 @@ def test_raw_response_update_overload_5(self, client: Cloudflare) -> None: record = response.parse() assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update_overload_5(self, client: Cloudflare) -> None: with client.dns.records.with_streaming_response.update( @@ -1745,6 +1869,7 @@ def test_streaming_response_update_overload_5(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update_overload_5(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -1765,6 +1890,7 @@ def test_path_params_update_overload_5(self, client: Cloudflare) -> None: type="CNAME", ) + @pytest.mark.skip() @parametrize def test_method_update_overload_6(self, client: Cloudflare) -> None: record = client.dns.records.update( @@ -1776,6 +1902,7 @@ def test_method_update_overload_6(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_update_with_all_params_overload_6(self, client: Cloudflare) -> None: record = client.dns.records.update( @@ -1795,6 +1922,7 @@ def test_method_update_with_all_params_overload_6(self, client: Cloudflare) -> N ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update_overload_6(self, client: Cloudflare) -> None: response = client.dns.records.with_raw_response.update( @@ -1810,6 +1938,7 @@ def test_raw_response_update_overload_6(self, client: Cloudflare) -> None: record = response.parse() assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update_overload_6(self, client: Cloudflare) -> None: with client.dns.records.with_streaming_response.update( @@ -1827,6 +1956,7 @@ def test_streaming_response_update_overload_6(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update_overload_6(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -1847,6 +1977,7 @@ def test_path_params_update_overload_6(self, client: Cloudflare) -> None: type="DNSKEY", ) + @pytest.mark.skip() @parametrize def test_method_update_overload_7(self, client: Cloudflare) -> None: record = client.dns.records.update( @@ -1858,6 +1989,7 @@ def test_method_update_overload_7(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_update_with_all_params_overload_7(self, client: Cloudflare) -> None: record = client.dns.records.update( @@ -1877,6 +2009,7 @@ def test_method_update_with_all_params_overload_7(self, client: Cloudflare) -> N ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update_overload_7(self, client: Cloudflare) -> None: response = client.dns.records.with_raw_response.update( @@ -1892,6 +2025,7 @@ def test_raw_response_update_overload_7(self, client: Cloudflare) -> None: record = response.parse() assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update_overload_7(self, client: Cloudflare) -> None: with client.dns.records.with_streaming_response.update( @@ -1909,6 +2043,7 @@ def test_streaming_response_update_overload_7(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update_overload_7(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -1929,6 +2064,7 @@ def test_path_params_update_overload_7(self, client: Cloudflare) -> None: type="DS", ) + @pytest.mark.skip() @parametrize def test_method_update_overload_8(self, client: Cloudflare) -> None: record = client.dns.records.update( @@ -1940,6 +2076,7 @@ def test_method_update_overload_8(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_update_with_all_params_overload_8(self, client: Cloudflare) -> None: record = client.dns.records.update( @@ -1958,6 +2095,7 @@ def test_method_update_with_all_params_overload_8(self, client: Cloudflare) -> N ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update_overload_8(self, client: Cloudflare) -> None: response = client.dns.records.with_raw_response.update( @@ -1973,6 +2111,7 @@ def test_raw_response_update_overload_8(self, client: Cloudflare) -> None: record = response.parse() assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update_overload_8(self, client: Cloudflare) -> None: with client.dns.records.with_streaming_response.update( @@ -1990,6 +2129,7 @@ def test_streaming_response_update_overload_8(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update_overload_8(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -2010,6 +2150,7 @@ def test_path_params_update_overload_8(self, client: Cloudflare) -> None: type="HTTPS", ) + @pytest.mark.skip() @parametrize def test_method_update_overload_9(self, client: Cloudflare) -> None: record = client.dns.records.update( @@ -2021,6 +2162,7 @@ def test_method_update_overload_9(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_update_with_all_params_overload_9(self, client: Cloudflare) -> None: record = client.dns.records.update( @@ -2048,6 +2190,7 @@ def test_method_update_with_all_params_overload_9(self, client: Cloudflare) -> N ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update_overload_9(self, client: Cloudflare) -> None: response = client.dns.records.with_raw_response.update( @@ -2063,6 +2206,7 @@ def test_raw_response_update_overload_9(self, client: Cloudflare) -> None: record = response.parse() assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update_overload_9(self, client: Cloudflare) -> None: with client.dns.records.with_streaming_response.update( @@ -2080,6 +2224,7 @@ def test_streaming_response_update_overload_9(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update_overload_9(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -2100,6 +2245,7 @@ def test_path_params_update_overload_9(self, client: Cloudflare) -> None: type="LOC", ) + @pytest.mark.skip() @parametrize def test_method_update_overload_10(self, client: Cloudflare) -> None: record = client.dns.records.update( @@ -2112,6 +2258,7 @@ def test_method_update_overload_10(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_update_with_all_params_overload_10(self, client: Cloudflare) -> None: record = client.dns.records.update( @@ -2127,6 +2274,7 @@ def test_method_update_with_all_params_overload_10(self, client: Cloudflare) -> ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update_overload_10(self, client: Cloudflare) -> None: response = client.dns.records.with_raw_response.update( @@ -2143,6 +2291,7 @@ def test_raw_response_update_overload_10(self, client: Cloudflare) -> None: record = response.parse() assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update_overload_10(self, client: Cloudflare) -> None: with client.dns.records.with_streaming_response.update( @@ -2161,6 +2310,7 @@ def test_streaming_response_update_overload_10(self, client: Cloudflare) -> None assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update_overload_10(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -2183,6 +2333,7 @@ def test_path_params_update_overload_10(self, client: Cloudflare) -> None: type="MX", ) + @pytest.mark.skip() @parametrize def test_method_update_overload_11(self, client: Cloudflare) -> None: record = client.dns.records.update( @@ -2194,6 +2345,7 @@ def test_method_update_overload_11(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_update_with_all_params_overload_11(self, client: Cloudflare) -> None: record = client.dns.records.update( @@ -2215,6 +2367,7 @@ def test_method_update_with_all_params_overload_11(self, client: Cloudflare) -> ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update_overload_11(self, client: Cloudflare) -> None: response = client.dns.records.with_raw_response.update( @@ -2230,6 +2383,7 @@ def test_raw_response_update_overload_11(self, client: Cloudflare) -> None: record = response.parse() assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update_overload_11(self, client: Cloudflare) -> None: with client.dns.records.with_streaming_response.update( @@ -2247,6 +2401,7 @@ def test_streaming_response_update_overload_11(self, client: Cloudflare) -> None assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update_overload_11(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -2267,6 +2422,7 @@ def test_path_params_update_overload_11(self, client: Cloudflare) -> None: type="NAPTR", ) + @pytest.mark.skip() @parametrize def test_method_update_overload_12(self, client: Cloudflare) -> None: record = client.dns.records.update( @@ -2278,6 +2434,7 @@ def test_method_update_overload_12(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_update_with_all_params_overload_12(self, client: Cloudflare) -> None: record = client.dns.records.update( @@ -2292,6 +2449,7 @@ def test_method_update_with_all_params_overload_12(self, client: Cloudflare) -> ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update_overload_12(self, client: Cloudflare) -> None: response = client.dns.records.with_raw_response.update( @@ -2307,6 +2465,7 @@ def test_raw_response_update_overload_12(self, client: Cloudflare) -> None: record = response.parse() assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update_overload_12(self, client: Cloudflare) -> None: with client.dns.records.with_streaming_response.update( @@ -2324,6 +2483,7 @@ def test_streaming_response_update_overload_12(self, client: Cloudflare) -> None assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update_overload_12(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -2344,6 +2504,7 @@ def test_path_params_update_overload_12(self, client: Cloudflare) -> None: type="NS", ) + @pytest.mark.skip() @parametrize def test_method_update_overload_13(self, client: Cloudflare) -> None: record = client.dns.records.update( @@ -2355,6 +2516,7 @@ def test_method_update_overload_13(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_update_with_all_params_overload_13(self, client: Cloudflare) -> None: record = client.dns.records.update( @@ -2369,6 +2531,7 @@ def test_method_update_with_all_params_overload_13(self, client: Cloudflare) -> ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update_overload_13(self, client: Cloudflare) -> None: response = client.dns.records.with_raw_response.update( @@ -2384,6 +2547,7 @@ def test_raw_response_update_overload_13(self, client: Cloudflare) -> None: record = response.parse() assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update_overload_13(self, client: Cloudflare) -> None: with client.dns.records.with_streaming_response.update( @@ -2401,6 +2565,7 @@ def test_streaming_response_update_overload_13(self, client: Cloudflare) -> None assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update_overload_13(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -2421,6 +2586,7 @@ def test_path_params_update_overload_13(self, client: Cloudflare) -> None: type="PTR", ) + @pytest.mark.skip() @parametrize def test_method_update_overload_14(self, client: Cloudflare) -> None: record = client.dns.records.update( @@ -2432,6 +2598,7 @@ def test_method_update_overload_14(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_update_with_all_params_overload_14(self, client: Cloudflare) -> None: record = client.dns.records.update( @@ -2451,6 +2618,7 @@ def test_method_update_with_all_params_overload_14(self, client: Cloudflare) -> ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update_overload_14(self, client: Cloudflare) -> None: response = client.dns.records.with_raw_response.update( @@ -2466,6 +2634,7 @@ def test_raw_response_update_overload_14(self, client: Cloudflare) -> None: record = response.parse() assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update_overload_14(self, client: Cloudflare) -> None: with client.dns.records.with_streaming_response.update( @@ -2483,6 +2652,7 @@ def test_streaming_response_update_overload_14(self, client: Cloudflare) -> None assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update_overload_14(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -2503,6 +2673,7 @@ def test_path_params_update_overload_14(self, client: Cloudflare) -> None: type="SMIMEA", ) + @pytest.mark.skip() @parametrize def test_method_update_overload_15(self, client: Cloudflare) -> None: record = client.dns.records.update( @@ -2514,6 +2685,7 @@ def test_method_update_overload_15(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_update_with_all_params_overload_15(self, client: Cloudflare) -> None: record = client.dns.records.update( @@ -2536,6 +2708,7 @@ def test_method_update_with_all_params_overload_15(self, client: Cloudflare) -> ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update_overload_15(self, client: Cloudflare) -> None: response = client.dns.records.with_raw_response.update( @@ -2551,6 +2724,7 @@ def test_raw_response_update_overload_15(self, client: Cloudflare) -> None: record = response.parse() assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update_overload_15(self, client: Cloudflare) -> None: with client.dns.records.with_streaming_response.update( @@ -2568,6 +2742,7 @@ def test_streaming_response_update_overload_15(self, client: Cloudflare) -> None assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update_overload_15(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -2588,6 +2763,7 @@ def test_path_params_update_overload_15(self, client: Cloudflare) -> None: type="SRV", ) + @pytest.mark.skip() @parametrize def test_method_update_overload_16(self, client: Cloudflare) -> None: record = client.dns.records.update( @@ -2599,6 +2775,7 @@ def test_method_update_overload_16(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_update_with_all_params_overload_16(self, client: Cloudflare) -> None: record = client.dns.records.update( @@ -2617,6 +2794,7 @@ def test_method_update_with_all_params_overload_16(self, client: Cloudflare) -> ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update_overload_16(self, client: Cloudflare) -> None: response = client.dns.records.with_raw_response.update( @@ -2632,6 +2810,7 @@ def test_raw_response_update_overload_16(self, client: Cloudflare) -> None: record = response.parse() assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update_overload_16(self, client: Cloudflare) -> None: with client.dns.records.with_streaming_response.update( @@ -2649,6 +2828,7 @@ def test_streaming_response_update_overload_16(self, client: Cloudflare) -> None assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update_overload_16(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -2669,6 +2849,7 @@ def test_path_params_update_overload_16(self, client: Cloudflare) -> None: type="SSHFP", ) + @pytest.mark.skip() @parametrize def test_method_update_overload_17(self, client: Cloudflare) -> None: record = client.dns.records.update( @@ -2680,6 +2861,7 @@ def test_method_update_overload_17(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_update_with_all_params_overload_17(self, client: Cloudflare) -> None: record = client.dns.records.update( @@ -2698,6 +2880,7 @@ def test_method_update_with_all_params_overload_17(self, client: Cloudflare) -> ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update_overload_17(self, client: Cloudflare) -> None: response = client.dns.records.with_raw_response.update( @@ -2713,6 +2896,7 @@ def test_raw_response_update_overload_17(self, client: Cloudflare) -> None: record = response.parse() assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update_overload_17(self, client: Cloudflare) -> None: with client.dns.records.with_streaming_response.update( @@ -2730,6 +2914,7 @@ def test_streaming_response_update_overload_17(self, client: Cloudflare) -> None assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update_overload_17(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -2750,6 +2935,7 @@ def test_path_params_update_overload_17(self, client: Cloudflare) -> None: type="SVCB", ) + @pytest.mark.skip() @parametrize def test_method_update_overload_18(self, client: Cloudflare) -> None: record = client.dns.records.update( @@ -2761,6 +2947,7 @@ def test_method_update_overload_18(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_update_with_all_params_overload_18(self, client: Cloudflare) -> None: record = client.dns.records.update( @@ -2780,6 +2967,7 @@ def test_method_update_with_all_params_overload_18(self, client: Cloudflare) -> ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update_overload_18(self, client: Cloudflare) -> None: response = client.dns.records.with_raw_response.update( @@ -2795,6 +2983,7 @@ def test_raw_response_update_overload_18(self, client: Cloudflare) -> None: record = response.parse() assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update_overload_18(self, client: Cloudflare) -> None: with client.dns.records.with_streaming_response.update( @@ -2812,6 +3001,7 @@ def test_streaming_response_update_overload_18(self, client: Cloudflare) -> None assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update_overload_18(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -2832,6 +3022,7 @@ def test_path_params_update_overload_18(self, client: Cloudflare) -> None: type="TLSA", ) + @pytest.mark.skip() @parametrize def test_method_update_overload_19(self, client: Cloudflare) -> None: record = client.dns.records.update( @@ -2843,6 +3034,7 @@ def test_method_update_overload_19(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_update_with_all_params_overload_19(self, client: Cloudflare) -> None: record = client.dns.records.update( @@ -2857,6 +3049,7 @@ def test_method_update_with_all_params_overload_19(self, client: Cloudflare) -> ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update_overload_19(self, client: Cloudflare) -> None: response = client.dns.records.with_raw_response.update( @@ -2872,6 +3065,7 @@ def test_raw_response_update_overload_19(self, client: Cloudflare) -> None: record = response.parse() assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update_overload_19(self, client: Cloudflare) -> None: with client.dns.records.with_streaming_response.update( @@ -2889,6 +3083,7 @@ def test_streaming_response_update_overload_19(self, client: Cloudflare) -> None assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update_overload_19(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -2909,6 +3104,7 @@ def test_path_params_update_overload_19(self, client: Cloudflare) -> None: type="TXT", ) + @pytest.mark.skip() @parametrize def test_method_update_overload_20(self, client: Cloudflare) -> None: record = client.dns.records.update( @@ -2921,6 +3117,7 @@ def test_method_update_overload_20(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_update_with_all_params_overload_20(self, client: Cloudflare) -> None: record = client.dns.records.update( @@ -2939,6 +3136,7 @@ def test_method_update_with_all_params_overload_20(self, client: Cloudflare) -> ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update_overload_20(self, client: Cloudflare) -> None: response = client.dns.records.with_raw_response.update( @@ -2955,6 +3153,7 @@ def test_raw_response_update_overload_20(self, client: Cloudflare) -> None: record = response.parse() assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update_overload_20(self, client: Cloudflare) -> None: with client.dns.records.with_streaming_response.update( @@ -2973,6 +3172,7 @@ def test_streaming_response_update_overload_20(self, client: Cloudflare) -> None assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update_overload_20(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -2995,6 +3195,7 @@ def test_path_params_update_overload_20(self, client: Cloudflare) -> None: type="URI", ) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: record = client.dns.records.list( @@ -3002,6 +3203,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePaginationArray[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: record = client.dns.records.list( @@ -3036,6 +3238,7 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePaginationArray[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.dns.records.with_raw_response.list( @@ -3047,6 +3250,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: record = response.parse() assert_matches_type(SyncV4PagePaginationArray[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.dns.records.with_streaming_response.list( @@ -3060,6 +3264,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -3067,6 +3272,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: record = client.dns.records.delete( @@ -3076,6 +3282,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[RecordDeleteResponse], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.dns.records.with_raw_response.delete( @@ -3089,6 +3296,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: record = response.parse() assert_matches_type(Optional[RecordDeleteResponse], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.dns.records.with_streaming_response.delete( @@ -3104,6 +3312,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -3120,6 +3329,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize def test_method_edit_overload_1(self, client: Cloudflare) -> None: record = client.dns.records.edit( @@ -3131,6 +3341,7 @@ def test_method_edit_overload_1(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_edit_with_all_params_overload_1(self, client: Cloudflare) -> None: record = client.dns.records.edit( @@ -3146,6 +3357,7 @@ def test_method_edit_with_all_params_overload_1(self, client: Cloudflare) -> Non ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit_overload_1(self, client: Cloudflare) -> None: response = client.dns.records.with_raw_response.edit( @@ -3161,6 +3373,7 @@ def test_raw_response_edit_overload_1(self, client: Cloudflare) -> None: record = response.parse() assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit_overload_1(self, client: Cloudflare) -> None: with client.dns.records.with_streaming_response.edit( @@ -3178,6 +3391,7 @@ def test_streaming_response_edit_overload_1(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit_overload_1(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -3198,6 +3412,7 @@ def test_path_params_edit_overload_1(self, client: Cloudflare) -> None: type="A", ) + @pytest.mark.skip() @parametrize def test_method_edit_overload_2(self, client: Cloudflare) -> None: record = client.dns.records.edit( @@ -3209,6 +3424,7 @@ def test_method_edit_overload_2(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_edit_with_all_params_overload_2(self, client: Cloudflare) -> None: record = client.dns.records.edit( @@ -3224,6 +3440,7 @@ def test_method_edit_with_all_params_overload_2(self, client: Cloudflare) -> Non ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit_overload_2(self, client: Cloudflare) -> None: response = client.dns.records.with_raw_response.edit( @@ -3239,6 +3456,7 @@ def test_raw_response_edit_overload_2(self, client: Cloudflare) -> None: record = response.parse() assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit_overload_2(self, client: Cloudflare) -> None: with client.dns.records.with_streaming_response.edit( @@ -3256,6 +3474,7 @@ def test_streaming_response_edit_overload_2(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit_overload_2(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -3276,6 +3495,7 @@ def test_path_params_edit_overload_2(self, client: Cloudflare) -> None: type="AAAA", ) + @pytest.mark.skip() @parametrize def test_method_edit_overload_3(self, client: Cloudflare) -> None: record = client.dns.records.edit( @@ -3287,6 +3507,7 @@ def test_method_edit_overload_3(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_edit_with_all_params_overload_3(self, client: Cloudflare) -> None: record = client.dns.records.edit( @@ -3305,6 +3526,7 @@ def test_method_edit_with_all_params_overload_3(self, client: Cloudflare) -> Non ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit_overload_3(self, client: Cloudflare) -> None: response = client.dns.records.with_raw_response.edit( @@ -3320,6 +3542,7 @@ def test_raw_response_edit_overload_3(self, client: Cloudflare) -> None: record = response.parse() assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit_overload_3(self, client: Cloudflare) -> None: with client.dns.records.with_streaming_response.edit( @@ -3337,6 +3560,7 @@ def test_streaming_response_edit_overload_3(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit_overload_3(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -3357,6 +3581,7 @@ def test_path_params_edit_overload_3(self, client: Cloudflare) -> None: type="CAA", ) + @pytest.mark.skip() @parametrize def test_method_edit_overload_4(self, client: Cloudflare) -> None: record = client.dns.records.edit( @@ -3368,6 +3593,7 @@ def test_method_edit_overload_4(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_edit_with_all_params_overload_4(self, client: Cloudflare) -> None: record = client.dns.records.edit( @@ -3387,6 +3613,7 @@ def test_method_edit_with_all_params_overload_4(self, client: Cloudflare) -> Non ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit_overload_4(self, client: Cloudflare) -> None: response = client.dns.records.with_raw_response.edit( @@ -3402,6 +3629,7 @@ def test_raw_response_edit_overload_4(self, client: Cloudflare) -> None: record = response.parse() assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit_overload_4(self, client: Cloudflare) -> None: with client.dns.records.with_streaming_response.edit( @@ -3419,6 +3647,7 @@ def test_streaming_response_edit_overload_4(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit_overload_4(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -3439,6 +3668,7 @@ def test_path_params_edit_overload_4(self, client: Cloudflare) -> None: type="CERT", ) + @pytest.mark.skip() @parametrize def test_method_edit_overload_5(self, client: Cloudflare) -> None: record = client.dns.records.edit( @@ -3450,6 +3680,7 @@ def test_method_edit_overload_5(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_edit_with_all_params_overload_5(self, client: Cloudflare) -> None: record = client.dns.records.edit( @@ -3465,6 +3696,7 @@ def test_method_edit_with_all_params_overload_5(self, client: Cloudflare) -> Non ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit_overload_5(self, client: Cloudflare) -> None: response = client.dns.records.with_raw_response.edit( @@ -3480,6 +3712,7 @@ def test_raw_response_edit_overload_5(self, client: Cloudflare) -> None: record = response.parse() assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit_overload_5(self, client: Cloudflare) -> None: with client.dns.records.with_streaming_response.edit( @@ -3497,6 +3730,7 @@ def test_streaming_response_edit_overload_5(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit_overload_5(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -3517,6 +3751,7 @@ def test_path_params_edit_overload_5(self, client: Cloudflare) -> None: type="CNAME", ) + @pytest.mark.skip() @parametrize def test_method_edit_overload_6(self, client: Cloudflare) -> None: record = client.dns.records.edit( @@ -3528,6 +3763,7 @@ def test_method_edit_overload_6(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_edit_with_all_params_overload_6(self, client: Cloudflare) -> None: record = client.dns.records.edit( @@ -3547,6 +3783,7 @@ def test_method_edit_with_all_params_overload_6(self, client: Cloudflare) -> Non ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit_overload_6(self, client: Cloudflare) -> None: response = client.dns.records.with_raw_response.edit( @@ -3562,6 +3799,7 @@ def test_raw_response_edit_overload_6(self, client: Cloudflare) -> None: record = response.parse() assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit_overload_6(self, client: Cloudflare) -> None: with client.dns.records.with_streaming_response.edit( @@ -3579,6 +3817,7 @@ def test_streaming_response_edit_overload_6(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit_overload_6(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -3599,6 +3838,7 @@ def test_path_params_edit_overload_6(self, client: Cloudflare) -> None: type="DNSKEY", ) + @pytest.mark.skip() @parametrize def test_method_edit_overload_7(self, client: Cloudflare) -> None: record = client.dns.records.edit( @@ -3610,6 +3850,7 @@ def test_method_edit_overload_7(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_edit_with_all_params_overload_7(self, client: Cloudflare) -> None: record = client.dns.records.edit( @@ -3629,6 +3870,7 @@ def test_method_edit_with_all_params_overload_7(self, client: Cloudflare) -> Non ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit_overload_7(self, client: Cloudflare) -> None: response = client.dns.records.with_raw_response.edit( @@ -3644,6 +3886,7 @@ def test_raw_response_edit_overload_7(self, client: Cloudflare) -> None: record = response.parse() assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit_overload_7(self, client: Cloudflare) -> None: with client.dns.records.with_streaming_response.edit( @@ -3661,6 +3904,7 @@ def test_streaming_response_edit_overload_7(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit_overload_7(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -3681,6 +3925,7 @@ def test_path_params_edit_overload_7(self, client: Cloudflare) -> None: type="DS", ) + @pytest.mark.skip() @parametrize def test_method_edit_overload_8(self, client: Cloudflare) -> None: record = client.dns.records.edit( @@ -3692,6 +3937,7 @@ def test_method_edit_overload_8(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_edit_with_all_params_overload_8(self, client: Cloudflare) -> None: record = client.dns.records.edit( @@ -3710,6 +3956,7 @@ def test_method_edit_with_all_params_overload_8(self, client: Cloudflare) -> Non ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit_overload_8(self, client: Cloudflare) -> None: response = client.dns.records.with_raw_response.edit( @@ -3725,6 +3972,7 @@ def test_raw_response_edit_overload_8(self, client: Cloudflare) -> None: record = response.parse() assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit_overload_8(self, client: Cloudflare) -> None: with client.dns.records.with_streaming_response.edit( @@ -3742,6 +3990,7 @@ def test_streaming_response_edit_overload_8(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit_overload_8(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -3762,6 +4011,7 @@ def test_path_params_edit_overload_8(self, client: Cloudflare) -> None: type="HTTPS", ) + @pytest.mark.skip() @parametrize def test_method_edit_overload_9(self, client: Cloudflare) -> None: record = client.dns.records.edit( @@ -3773,6 +4023,7 @@ def test_method_edit_overload_9(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_edit_with_all_params_overload_9(self, client: Cloudflare) -> None: record = client.dns.records.edit( @@ -3800,6 +4051,7 @@ def test_method_edit_with_all_params_overload_9(self, client: Cloudflare) -> Non ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit_overload_9(self, client: Cloudflare) -> None: response = client.dns.records.with_raw_response.edit( @@ -3815,6 +4067,7 @@ def test_raw_response_edit_overload_9(self, client: Cloudflare) -> None: record = response.parse() assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit_overload_9(self, client: Cloudflare) -> None: with client.dns.records.with_streaming_response.edit( @@ -3832,6 +4085,7 @@ def test_streaming_response_edit_overload_9(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit_overload_9(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -3852,6 +4106,7 @@ def test_path_params_edit_overload_9(self, client: Cloudflare) -> None: type="LOC", ) + @pytest.mark.skip() @parametrize def test_method_edit_overload_10(self, client: Cloudflare) -> None: record = client.dns.records.edit( @@ -3864,6 +4119,7 @@ def test_method_edit_overload_10(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_edit_with_all_params_overload_10(self, client: Cloudflare) -> None: record = client.dns.records.edit( @@ -3879,6 +4135,7 @@ def test_method_edit_with_all_params_overload_10(self, client: Cloudflare) -> No ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit_overload_10(self, client: Cloudflare) -> None: response = client.dns.records.with_raw_response.edit( @@ -3895,6 +4152,7 @@ def test_raw_response_edit_overload_10(self, client: Cloudflare) -> None: record = response.parse() assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit_overload_10(self, client: Cloudflare) -> None: with client.dns.records.with_streaming_response.edit( @@ -3913,6 +4171,7 @@ def test_streaming_response_edit_overload_10(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit_overload_10(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -3935,6 +4194,7 @@ def test_path_params_edit_overload_10(self, client: Cloudflare) -> None: type="MX", ) + @pytest.mark.skip() @parametrize def test_method_edit_overload_11(self, client: Cloudflare) -> None: record = client.dns.records.edit( @@ -3946,6 +4206,7 @@ def test_method_edit_overload_11(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_edit_with_all_params_overload_11(self, client: Cloudflare) -> None: record = client.dns.records.edit( @@ -3967,6 +4228,7 @@ def test_method_edit_with_all_params_overload_11(self, client: Cloudflare) -> No ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit_overload_11(self, client: Cloudflare) -> None: response = client.dns.records.with_raw_response.edit( @@ -3982,6 +4244,7 @@ def test_raw_response_edit_overload_11(self, client: Cloudflare) -> None: record = response.parse() assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit_overload_11(self, client: Cloudflare) -> None: with client.dns.records.with_streaming_response.edit( @@ -3999,6 +4262,7 @@ def test_streaming_response_edit_overload_11(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit_overload_11(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -4019,6 +4283,7 @@ def test_path_params_edit_overload_11(self, client: Cloudflare) -> None: type="NAPTR", ) + @pytest.mark.skip() @parametrize def test_method_edit_overload_12(self, client: Cloudflare) -> None: record = client.dns.records.edit( @@ -4030,6 +4295,7 @@ def test_method_edit_overload_12(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_edit_with_all_params_overload_12(self, client: Cloudflare) -> None: record = client.dns.records.edit( @@ -4044,6 +4310,7 @@ def test_method_edit_with_all_params_overload_12(self, client: Cloudflare) -> No ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit_overload_12(self, client: Cloudflare) -> None: response = client.dns.records.with_raw_response.edit( @@ -4059,6 +4326,7 @@ def test_raw_response_edit_overload_12(self, client: Cloudflare) -> None: record = response.parse() assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit_overload_12(self, client: Cloudflare) -> None: with client.dns.records.with_streaming_response.edit( @@ -4076,6 +4344,7 @@ def test_streaming_response_edit_overload_12(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit_overload_12(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -4096,6 +4365,7 @@ def test_path_params_edit_overload_12(self, client: Cloudflare) -> None: type="NS", ) + @pytest.mark.skip() @parametrize def test_method_edit_overload_13(self, client: Cloudflare) -> None: record = client.dns.records.edit( @@ -4107,6 +4377,7 @@ def test_method_edit_overload_13(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_edit_with_all_params_overload_13(self, client: Cloudflare) -> None: record = client.dns.records.edit( @@ -4121,6 +4392,7 @@ def test_method_edit_with_all_params_overload_13(self, client: Cloudflare) -> No ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit_overload_13(self, client: Cloudflare) -> None: response = client.dns.records.with_raw_response.edit( @@ -4136,6 +4408,7 @@ def test_raw_response_edit_overload_13(self, client: Cloudflare) -> None: record = response.parse() assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit_overload_13(self, client: Cloudflare) -> None: with client.dns.records.with_streaming_response.edit( @@ -4153,6 +4426,7 @@ def test_streaming_response_edit_overload_13(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit_overload_13(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -4173,6 +4447,7 @@ def test_path_params_edit_overload_13(self, client: Cloudflare) -> None: type="PTR", ) + @pytest.mark.skip() @parametrize def test_method_edit_overload_14(self, client: Cloudflare) -> None: record = client.dns.records.edit( @@ -4184,6 +4459,7 @@ def test_method_edit_overload_14(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_edit_with_all_params_overload_14(self, client: Cloudflare) -> None: record = client.dns.records.edit( @@ -4203,6 +4479,7 @@ def test_method_edit_with_all_params_overload_14(self, client: Cloudflare) -> No ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit_overload_14(self, client: Cloudflare) -> None: response = client.dns.records.with_raw_response.edit( @@ -4218,6 +4495,7 @@ def test_raw_response_edit_overload_14(self, client: Cloudflare) -> None: record = response.parse() assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit_overload_14(self, client: Cloudflare) -> None: with client.dns.records.with_streaming_response.edit( @@ -4235,6 +4513,7 @@ def test_streaming_response_edit_overload_14(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit_overload_14(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -4255,6 +4534,7 @@ def test_path_params_edit_overload_14(self, client: Cloudflare) -> None: type="SMIMEA", ) + @pytest.mark.skip() @parametrize def test_method_edit_overload_15(self, client: Cloudflare) -> None: record = client.dns.records.edit( @@ -4266,6 +4546,7 @@ def test_method_edit_overload_15(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_edit_with_all_params_overload_15(self, client: Cloudflare) -> None: record = client.dns.records.edit( @@ -4288,6 +4569,7 @@ def test_method_edit_with_all_params_overload_15(self, client: Cloudflare) -> No ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit_overload_15(self, client: Cloudflare) -> None: response = client.dns.records.with_raw_response.edit( @@ -4303,6 +4585,7 @@ def test_raw_response_edit_overload_15(self, client: Cloudflare) -> None: record = response.parse() assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit_overload_15(self, client: Cloudflare) -> None: with client.dns.records.with_streaming_response.edit( @@ -4320,6 +4603,7 @@ def test_streaming_response_edit_overload_15(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit_overload_15(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -4340,6 +4624,7 @@ def test_path_params_edit_overload_15(self, client: Cloudflare) -> None: type="SRV", ) + @pytest.mark.skip() @parametrize def test_method_edit_overload_16(self, client: Cloudflare) -> None: record = client.dns.records.edit( @@ -4351,6 +4636,7 @@ def test_method_edit_overload_16(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_edit_with_all_params_overload_16(self, client: Cloudflare) -> None: record = client.dns.records.edit( @@ -4369,6 +4655,7 @@ def test_method_edit_with_all_params_overload_16(self, client: Cloudflare) -> No ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit_overload_16(self, client: Cloudflare) -> None: response = client.dns.records.with_raw_response.edit( @@ -4384,6 +4671,7 @@ def test_raw_response_edit_overload_16(self, client: Cloudflare) -> None: record = response.parse() assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit_overload_16(self, client: Cloudflare) -> None: with client.dns.records.with_streaming_response.edit( @@ -4401,6 +4689,7 @@ def test_streaming_response_edit_overload_16(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit_overload_16(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -4421,6 +4710,7 @@ def test_path_params_edit_overload_16(self, client: Cloudflare) -> None: type="SSHFP", ) + @pytest.mark.skip() @parametrize def test_method_edit_overload_17(self, client: Cloudflare) -> None: record = client.dns.records.edit( @@ -4432,6 +4722,7 @@ def test_method_edit_overload_17(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_edit_with_all_params_overload_17(self, client: Cloudflare) -> None: record = client.dns.records.edit( @@ -4450,6 +4741,7 @@ def test_method_edit_with_all_params_overload_17(self, client: Cloudflare) -> No ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit_overload_17(self, client: Cloudflare) -> None: response = client.dns.records.with_raw_response.edit( @@ -4465,6 +4757,7 @@ def test_raw_response_edit_overload_17(self, client: Cloudflare) -> None: record = response.parse() assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit_overload_17(self, client: Cloudflare) -> None: with client.dns.records.with_streaming_response.edit( @@ -4482,6 +4775,7 @@ def test_streaming_response_edit_overload_17(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit_overload_17(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -4502,6 +4796,7 @@ def test_path_params_edit_overload_17(self, client: Cloudflare) -> None: type="SVCB", ) + @pytest.mark.skip() @parametrize def test_method_edit_overload_18(self, client: Cloudflare) -> None: record = client.dns.records.edit( @@ -4513,6 +4808,7 @@ def test_method_edit_overload_18(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_edit_with_all_params_overload_18(self, client: Cloudflare) -> None: record = client.dns.records.edit( @@ -4532,6 +4828,7 @@ def test_method_edit_with_all_params_overload_18(self, client: Cloudflare) -> No ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit_overload_18(self, client: Cloudflare) -> None: response = client.dns.records.with_raw_response.edit( @@ -4547,6 +4844,7 @@ def test_raw_response_edit_overload_18(self, client: Cloudflare) -> None: record = response.parse() assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit_overload_18(self, client: Cloudflare) -> None: with client.dns.records.with_streaming_response.edit( @@ -4564,6 +4862,7 @@ def test_streaming_response_edit_overload_18(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit_overload_18(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -4584,6 +4883,7 @@ def test_path_params_edit_overload_18(self, client: Cloudflare) -> None: type="TLSA", ) + @pytest.mark.skip() @parametrize def test_method_edit_overload_19(self, client: Cloudflare) -> None: record = client.dns.records.edit( @@ -4595,6 +4895,7 @@ def test_method_edit_overload_19(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_edit_with_all_params_overload_19(self, client: Cloudflare) -> None: record = client.dns.records.edit( @@ -4609,6 +4910,7 @@ def test_method_edit_with_all_params_overload_19(self, client: Cloudflare) -> No ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit_overload_19(self, client: Cloudflare) -> None: response = client.dns.records.with_raw_response.edit( @@ -4624,6 +4926,7 @@ def test_raw_response_edit_overload_19(self, client: Cloudflare) -> None: record = response.parse() assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit_overload_19(self, client: Cloudflare) -> None: with client.dns.records.with_streaming_response.edit( @@ -4641,6 +4944,7 @@ def test_streaming_response_edit_overload_19(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit_overload_19(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -4661,6 +4965,7 @@ def test_path_params_edit_overload_19(self, client: Cloudflare) -> None: type="TXT", ) + @pytest.mark.skip() @parametrize def test_method_edit_overload_20(self, client: Cloudflare) -> None: record = client.dns.records.edit( @@ -4673,6 +4978,7 @@ def test_method_edit_overload_20(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_edit_with_all_params_overload_20(self, client: Cloudflare) -> None: record = client.dns.records.edit( @@ -4691,6 +4997,7 @@ def test_method_edit_with_all_params_overload_20(self, client: Cloudflare) -> No ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit_overload_20(self, client: Cloudflare) -> None: response = client.dns.records.with_raw_response.edit( @@ -4707,6 +5014,7 @@ def test_raw_response_edit_overload_20(self, client: Cloudflare) -> None: record = response.parse() assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit_overload_20(self, client: Cloudflare) -> None: with client.dns.records.with_streaming_response.edit( @@ -4725,6 +5033,7 @@ def test_streaming_response_edit_overload_20(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit_overload_20(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -4747,6 +5056,7 @@ def test_path_params_edit_overload_20(self, client: Cloudflare) -> None: type="URI", ) + @pytest.mark.skip() @parametrize def test_method_export(self, client: Cloudflare) -> None: record = client.dns.records.export( @@ -4754,6 +5064,7 @@ def test_method_export(self, client: Cloudflare) -> None: ) assert_matches_type(str, record, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_export(self, client: Cloudflare) -> None: response = client.dns.records.with_raw_response.export( @@ -4765,6 +5076,7 @@ def test_raw_response_export(self, client: Cloudflare) -> None: record = response.parse() assert_matches_type(str, record, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_export(self, client: Cloudflare) -> None: with client.dns.records.with_streaming_response.export( @@ -4778,6 +5090,7 @@ def test_streaming_response_export(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_export(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -4785,6 +5098,7 @@ def test_path_params_export(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: record = client.dns.records.get( @@ -4793,6 +5107,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.dns.records.with_raw_response.get( @@ -4805,6 +5120,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: record = response.parse() assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.dns.records.with_streaming_response.get( @@ -4819,6 +5135,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -4833,6 +5150,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: zone_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize def test_method_import(self, client: Cloudflare) -> None: record = client.dns.records.import_( @@ -4841,6 +5159,7 @@ def test_method_import(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[RecordImportResponse], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_import_with_all_params(self, client: Cloudflare) -> None: record = client.dns.records.import_( @@ -4850,6 +5169,7 @@ def test_method_import_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[RecordImportResponse], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_import(self, client: Cloudflare) -> None: response = client.dns.records.with_raw_response.import_( @@ -4862,6 +5182,7 @@ def test_raw_response_import(self, client: Cloudflare) -> None: record = response.parse() assert_matches_type(Optional[RecordImportResponse], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_import(self, client: Cloudflare) -> None: with client.dns.records.with_streaming_response.import_( @@ -4876,6 +5197,7 @@ def test_streaming_response_import(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_import(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -4884,6 +5206,7 @@ def test_path_params_import(self, client: Cloudflare) -> None: file="www.example.com. 300 IN A 127.0.0.1", ) + @pytest.mark.skip() @parametrize def test_method_scan(self, client: Cloudflare) -> None: record = client.dns.records.scan( @@ -4892,6 +5215,7 @@ def test_method_scan(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[RecordScanResponse], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_scan(self, client: Cloudflare) -> None: response = client.dns.records.with_raw_response.scan( @@ -4904,6 +5228,7 @@ def test_raw_response_scan(self, client: Cloudflare) -> None: record = response.parse() assert_matches_type(Optional[RecordScanResponse], record, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_scan(self, client: Cloudflare) -> None: with client.dns.records.with_streaming_response.scan( @@ -4918,6 +5243,7 @@ def test_streaming_response_scan(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_scan(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -4930,6 +5256,7 @@ def test_path_params_scan(self, client: Cloudflare) -> None: class TestAsyncRecords: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create_overload_1(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.create( @@ -4940,6 +5267,7 @@ async def test_method_create_overload_1(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params_overload_1(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.create( @@ -4954,6 +5282,7 @@ async def test_method_create_with_all_params_overload_1(self, async_client: Asyn ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create_overload_1(self, async_client: AsyncCloudflare) -> None: response = await async_client.dns.records.with_raw_response.create( @@ -4968,6 +5297,7 @@ async def test_raw_response_create_overload_1(self, async_client: AsyncCloudflar record = await response.parse() assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create_overload_1(self, async_client: AsyncCloudflare) -> None: async with async_client.dns.records.with_streaming_response.create( @@ -4984,6 +5314,7 @@ async def test_streaming_response_create_overload_1(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create_overload_1(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -4994,6 +5325,7 @@ async def test_path_params_create_overload_1(self, async_client: AsyncCloudflare type="A", ) + @pytest.mark.skip() @parametrize async def test_method_create_overload_2(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.create( @@ -5004,6 +5336,7 @@ async def test_method_create_overload_2(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params_overload_2(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.create( @@ -5018,6 +5351,7 @@ async def test_method_create_with_all_params_overload_2(self, async_client: Asyn ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create_overload_2(self, async_client: AsyncCloudflare) -> None: response = await async_client.dns.records.with_raw_response.create( @@ -5032,6 +5366,7 @@ async def test_raw_response_create_overload_2(self, async_client: AsyncCloudflar record = await response.parse() assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create_overload_2(self, async_client: AsyncCloudflare) -> None: async with async_client.dns.records.with_streaming_response.create( @@ -5048,6 +5383,7 @@ async def test_streaming_response_create_overload_2(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create_overload_2(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -5058,6 +5394,7 @@ async def test_path_params_create_overload_2(self, async_client: AsyncCloudflare type="AAAA", ) + @pytest.mark.skip() @parametrize async def test_method_create_overload_3(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.create( @@ -5068,6 +5405,7 @@ async def test_method_create_overload_3(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params_overload_3(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.create( @@ -5085,6 +5423,7 @@ async def test_method_create_with_all_params_overload_3(self, async_client: Asyn ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create_overload_3(self, async_client: AsyncCloudflare) -> None: response = await async_client.dns.records.with_raw_response.create( @@ -5099,6 +5438,7 @@ async def test_raw_response_create_overload_3(self, async_client: AsyncCloudflar record = await response.parse() assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create_overload_3(self, async_client: AsyncCloudflare) -> None: async with async_client.dns.records.with_streaming_response.create( @@ -5115,6 +5455,7 @@ async def test_streaming_response_create_overload_3(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create_overload_3(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -5125,6 +5466,7 @@ async def test_path_params_create_overload_3(self, async_client: AsyncCloudflare type="CAA", ) + @pytest.mark.skip() @parametrize async def test_method_create_overload_4(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.create( @@ -5135,6 +5477,7 @@ async def test_method_create_overload_4(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params_overload_4(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.create( @@ -5153,6 +5496,7 @@ async def test_method_create_with_all_params_overload_4(self, async_client: Asyn ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create_overload_4(self, async_client: AsyncCloudflare) -> None: response = await async_client.dns.records.with_raw_response.create( @@ -5167,6 +5511,7 @@ async def test_raw_response_create_overload_4(self, async_client: AsyncCloudflar record = await response.parse() assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create_overload_4(self, async_client: AsyncCloudflare) -> None: async with async_client.dns.records.with_streaming_response.create( @@ -5183,6 +5528,7 @@ async def test_streaming_response_create_overload_4(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create_overload_4(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -5193,6 +5539,7 @@ async def test_path_params_create_overload_4(self, async_client: AsyncCloudflare type="CERT", ) + @pytest.mark.skip() @parametrize async def test_method_create_overload_5(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.create( @@ -5203,6 +5550,7 @@ async def test_method_create_overload_5(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params_overload_5(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.create( @@ -5217,6 +5565,7 @@ async def test_method_create_with_all_params_overload_5(self, async_client: Asyn ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create_overload_5(self, async_client: AsyncCloudflare) -> None: response = await async_client.dns.records.with_raw_response.create( @@ -5231,6 +5580,7 @@ async def test_raw_response_create_overload_5(self, async_client: AsyncCloudflar record = await response.parse() assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create_overload_5(self, async_client: AsyncCloudflare) -> None: async with async_client.dns.records.with_streaming_response.create( @@ -5247,6 +5597,7 @@ async def test_streaming_response_create_overload_5(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create_overload_5(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -5257,6 +5608,7 @@ async def test_path_params_create_overload_5(self, async_client: AsyncCloudflare type="CNAME", ) + @pytest.mark.skip() @parametrize async def test_method_create_overload_6(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.create( @@ -5267,6 +5619,7 @@ async def test_method_create_overload_6(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params_overload_6(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.create( @@ -5285,6 +5638,7 @@ async def test_method_create_with_all_params_overload_6(self, async_client: Asyn ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create_overload_6(self, async_client: AsyncCloudflare) -> None: response = await async_client.dns.records.with_raw_response.create( @@ -5299,6 +5653,7 @@ async def test_raw_response_create_overload_6(self, async_client: AsyncCloudflar record = await response.parse() assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create_overload_6(self, async_client: AsyncCloudflare) -> None: async with async_client.dns.records.with_streaming_response.create( @@ -5315,6 +5670,7 @@ async def test_streaming_response_create_overload_6(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create_overload_6(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -5325,6 +5681,7 @@ async def test_path_params_create_overload_6(self, async_client: AsyncCloudflare type="DNSKEY", ) + @pytest.mark.skip() @parametrize async def test_method_create_overload_7(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.create( @@ -5335,6 +5692,7 @@ async def test_method_create_overload_7(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params_overload_7(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.create( @@ -5353,6 +5711,7 @@ async def test_method_create_with_all_params_overload_7(self, async_client: Asyn ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create_overload_7(self, async_client: AsyncCloudflare) -> None: response = await async_client.dns.records.with_raw_response.create( @@ -5367,6 +5726,7 @@ async def test_raw_response_create_overload_7(self, async_client: AsyncCloudflar record = await response.parse() assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create_overload_7(self, async_client: AsyncCloudflare) -> None: async with async_client.dns.records.with_streaming_response.create( @@ -5383,6 +5743,7 @@ async def test_streaming_response_create_overload_7(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create_overload_7(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -5393,6 +5754,7 @@ async def test_path_params_create_overload_7(self, async_client: AsyncCloudflare type="DS", ) + @pytest.mark.skip() @parametrize async def test_method_create_overload_8(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.create( @@ -5403,6 +5765,7 @@ async def test_method_create_overload_8(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params_overload_8(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.create( @@ -5420,6 +5783,7 @@ async def test_method_create_with_all_params_overload_8(self, async_client: Asyn ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create_overload_8(self, async_client: AsyncCloudflare) -> None: response = await async_client.dns.records.with_raw_response.create( @@ -5434,6 +5798,7 @@ async def test_raw_response_create_overload_8(self, async_client: AsyncCloudflar record = await response.parse() assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create_overload_8(self, async_client: AsyncCloudflare) -> None: async with async_client.dns.records.with_streaming_response.create( @@ -5450,6 +5815,7 @@ async def test_streaming_response_create_overload_8(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create_overload_8(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -5460,6 +5826,7 @@ async def test_path_params_create_overload_8(self, async_client: AsyncCloudflare type="HTTPS", ) + @pytest.mark.skip() @parametrize async def test_method_create_overload_9(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.create( @@ -5470,6 +5837,7 @@ async def test_method_create_overload_9(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params_overload_9(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.create( @@ -5496,6 +5864,7 @@ async def test_method_create_with_all_params_overload_9(self, async_client: Asyn ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create_overload_9(self, async_client: AsyncCloudflare) -> None: response = await async_client.dns.records.with_raw_response.create( @@ -5510,6 +5879,7 @@ async def test_raw_response_create_overload_9(self, async_client: AsyncCloudflar record = await response.parse() assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create_overload_9(self, async_client: AsyncCloudflare) -> None: async with async_client.dns.records.with_streaming_response.create( @@ -5526,6 +5896,7 @@ async def test_streaming_response_create_overload_9(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create_overload_9(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -5536,6 +5907,7 @@ async def test_path_params_create_overload_9(self, async_client: AsyncCloudflare type="LOC", ) + @pytest.mark.skip() @parametrize async def test_method_create_overload_10(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.create( @@ -5547,6 +5919,7 @@ async def test_method_create_overload_10(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params_overload_10(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.create( @@ -5561,6 +5934,7 @@ async def test_method_create_with_all_params_overload_10(self, async_client: Asy ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create_overload_10(self, async_client: AsyncCloudflare) -> None: response = await async_client.dns.records.with_raw_response.create( @@ -5576,6 +5950,7 @@ async def test_raw_response_create_overload_10(self, async_client: AsyncCloudfla record = await response.parse() assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create_overload_10(self, async_client: AsyncCloudflare) -> None: async with async_client.dns.records.with_streaming_response.create( @@ -5593,6 +5968,7 @@ async def test_streaming_response_create_overload_10(self, async_client: AsyncCl assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create_overload_10(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -5604,6 +5980,7 @@ async def test_path_params_create_overload_10(self, async_client: AsyncCloudflar type="MX", ) + @pytest.mark.skip() @parametrize async def test_method_create_overload_11(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.create( @@ -5614,6 +5991,7 @@ async def test_method_create_overload_11(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params_overload_11(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.create( @@ -5634,6 +6012,7 @@ async def test_method_create_with_all_params_overload_11(self, async_client: Asy ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create_overload_11(self, async_client: AsyncCloudflare) -> None: response = await async_client.dns.records.with_raw_response.create( @@ -5648,6 +6027,7 @@ async def test_raw_response_create_overload_11(self, async_client: AsyncCloudfla record = await response.parse() assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create_overload_11(self, async_client: AsyncCloudflare) -> None: async with async_client.dns.records.with_streaming_response.create( @@ -5664,6 +6044,7 @@ async def test_streaming_response_create_overload_11(self, async_client: AsyncCl assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create_overload_11(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -5674,6 +6055,7 @@ async def test_path_params_create_overload_11(self, async_client: AsyncCloudflar type="NAPTR", ) + @pytest.mark.skip() @parametrize async def test_method_create_overload_12(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.create( @@ -5684,6 +6066,7 @@ async def test_method_create_overload_12(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params_overload_12(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.create( @@ -5697,6 +6080,7 @@ async def test_method_create_with_all_params_overload_12(self, async_client: Asy ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create_overload_12(self, async_client: AsyncCloudflare) -> None: response = await async_client.dns.records.with_raw_response.create( @@ -5711,6 +6095,7 @@ async def test_raw_response_create_overload_12(self, async_client: AsyncCloudfla record = await response.parse() assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create_overload_12(self, async_client: AsyncCloudflare) -> None: async with async_client.dns.records.with_streaming_response.create( @@ -5727,6 +6112,7 @@ async def test_streaming_response_create_overload_12(self, async_client: AsyncCl assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create_overload_12(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -5737,6 +6123,7 @@ async def test_path_params_create_overload_12(self, async_client: AsyncCloudflar type="NS", ) + @pytest.mark.skip() @parametrize async def test_method_create_overload_13(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.create( @@ -5747,6 +6134,7 @@ async def test_method_create_overload_13(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params_overload_13(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.create( @@ -5760,6 +6148,7 @@ async def test_method_create_with_all_params_overload_13(self, async_client: Asy ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create_overload_13(self, async_client: AsyncCloudflare) -> None: response = await async_client.dns.records.with_raw_response.create( @@ -5774,6 +6163,7 @@ async def test_raw_response_create_overload_13(self, async_client: AsyncCloudfla record = await response.parse() assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create_overload_13(self, async_client: AsyncCloudflare) -> None: async with async_client.dns.records.with_streaming_response.create( @@ -5790,6 +6180,7 @@ async def test_streaming_response_create_overload_13(self, async_client: AsyncCl assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create_overload_13(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -5800,6 +6191,7 @@ async def test_path_params_create_overload_13(self, async_client: AsyncCloudflar type="PTR", ) + @pytest.mark.skip() @parametrize async def test_method_create_overload_14(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.create( @@ -5810,6 +6202,7 @@ async def test_method_create_overload_14(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params_overload_14(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.create( @@ -5828,6 +6221,7 @@ async def test_method_create_with_all_params_overload_14(self, async_client: Asy ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create_overload_14(self, async_client: AsyncCloudflare) -> None: response = await async_client.dns.records.with_raw_response.create( @@ -5842,6 +6236,7 @@ async def test_raw_response_create_overload_14(self, async_client: AsyncCloudfla record = await response.parse() assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create_overload_14(self, async_client: AsyncCloudflare) -> None: async with async_client.dns.records.with_streaming_response.create( @@ -5858,6 +6253,7 @@ async def test_streaming_response_create_overload_14(self, async_client: AsyncCl assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create_overload_14(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -5868,6 +6264,7 @@ async def test_path_params_create_overload_14(self, async_client: AsyncCloudflar type="SMIMEA", ) + @pytest.mark.skip() @parametrize async def test_method_create_overload_15(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.create( @@ -5878,6 +6275,7 @@ async def test_method_create_overload_15(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params_overload_15(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.create( @@ -5899,6 +6297,7 @@ async def test_method_create_with_all_params_overload_15(self, async_client: Asy ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create_overload_15(self, async_client: AsyncCloudflare) -> None: response = await async_client.dns.records.with_raw_response.create( @@ -5913,6 +6312,7 @@ async def test_raw_response_create_overload_15(self, async_client: AsyncCloudfla record = await response.parse() assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create_overload_15(self, async_client: AsyncCloudflare) -> None: async with async_client.dns.records.with_streaming_response.create( @@ -5929,6 +6329,7 @@ async def test_streaming_response_create_overload_15(self, async_client: AsyncCl assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create_overload_15(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -5939,6 +6340,7 @@ async def test_path_params_create_overload_15(self, async_client: AsyncCloudflar type="SRV", ) + @pytest.mark.skip() @parametrize async def test_method_create_overload_16(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.create( @@ -5949,6 +6351,7 @@ async def test_method_create_overload_16(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params_overload_16(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.create( @@ -5966,6 +6369,7 @@ async def test_method_create_with_all_params_overload_16(self, async_client: Asy ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create_overload_16(self, async_client: AsyncCloudflare) -> None: response = await async_client.dns.records.with_raw_response.create( @@ -5980,6 +6384,7 @@ async def test_raw_response_create_overload_16(self, async_client: AsyncCloudfla record = await response.parse() assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create_overload_16(self, async_client: AsyncCloudflare) -> None: async with async_client.dns.records.with_streaming_response.create( @@ -5996,6 +6401,7 @@ async def test_streaming_response_create_overload_16(self, async_client: AsyncCl assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create_overload_16(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -6006,6 +6412,7 @@ async def test_path_params_create_overload_16(self, async_client: AsyncCloudflar type="SSHFP", ) + @pytest.mark.skip() @parametrize async def test_method_create_overload_17(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.create( @@ -6016,6 +6423,7 @@ async def test_method_create_overload_17(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params_overload_17(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.create( @@ -6033,6 +6441,7 @@ async def test_method_create_with_all_params_overload_17(self, async_client: Asy ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create_overload_17(self, async_client: AsyncCloudflare) -> None: response = await async_client.dns.records.with_raw_response.create( @@ -6047,6 +6456,7 @@ async def test_raw_response_create_overload_17(self, async_client: AsyncCloudfla record = await response.parse() assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create_overload_17(self, async_client: AsyncCloudflare) -> None: async with async_client.dns.records.with_streaming_response.create( @@ -6063,6 +6473,7 @@ async def test_streaming_response_create_overload_17(self, async_client: AsyncCl assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create_overload_17(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -6073,6 +6484,7 @@ async def test_path_params_create_overload_17(self, async_client: AsyncCloudflar type="SVCB", ) + @pytest.mark.skip() @parametrize async def test_method_create_overload_18(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.create( @@ -6083,6 +6495,7 @@ async def test_method_create_overload_18(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params_overload_18(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.create( @@ -6101,6 +6514,7 @@ async def test_method_create_with_all_params_overload_18(self, async_client: Asy ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create_overload_18(self, async_client: AsyncCloudflare) -> None: response = await async_client.dns.records.with_raw_response.create( @@ -6115,6 +6529,7 @@ async def test_raw_response_create_overload_18(self, async_client: AsyncCloudfla record = await response.parse() assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create_overload_18(self, async_client: AsyncCloudflare) -> None: async with async_client.dns.records.with_streaming_response.create( @@ -6131,6 +6546,7 @@ async def test_streaming_response_create_overload_18(self, async_client: AsyncCl assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create_overload_18(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -6141,6 +6557,7 @@ async def test_path_params_create_overload_18(self, async_client: AsyncCloudflar type="TLSA", ) + @pytest.mark.skip() @parametrize async def test_method_create_overload_19(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.create( @@ -6151,6 +6568,7 @@ async def test_method_create_overload_19(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params_overload_19(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.create( @@ -6164,6 +6582,7 @@ async def test_method_create_with_all_params_overload_19(self, async_client: Asy ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create_overload_19(self, async_client: AsyncCloudflare) -> None: response = await async_client.dns.records.with_raw_response.create( @@ -6178,6 +6597,7 @@ async def test_raw_response_create_overload_19(self, async_client: AsyncCloudfla record = await response.parse() assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create_overload_19(self, async_client: AsyncCloudflare) -> None: async with async_client.dns.records.with_streaming_response.create( @@ -6194,6 +6614,7 @@ async def test_streaming_response_create_overload_19(self, async_client: AsyncCl assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create_overload_19(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -6204,6 +6625,7 @@ async def test_path_params_create_overload_19(self, async_client: AsyncCloudflar type="TXT", ) + @pytest.mark.skip() @parametrize async def test_method_create_overload_20(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.create( @@ -6215,6 +6637,7 @@ async def test_method_create_overload_20(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params_overload_20(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.create( @@ -6232,6 +6655,7 @@ async def test_method_create_with_all_params_overload_20(self, async_client: Asy ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create_overload_20(self, async_client: AsyncCloudflare) -> None: response = await async_client.dns.records.with_raw_response.create( @@ -6247,6 +6671,7 @@ async def test_raw_response_create_overload_20(self, async_client: AsyncCloudfla record = await response.parse() assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create_overload_20(self, async_client: AsyncCloudflare) -> None: async with async_client.dns.records.with_streaming_response.create( @@ -6264,6 +6689,7 @@ async def test_streaming_response_create_overload_20(self, async_client: AsyncCl assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create_overload_20(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -6275,6 +6701,7 @@ async def test_path_params_create_overload_20(self, async_client: AsyncCloudflar type="URI", ) + @pytest.mark.skip() @parametrize async def test_method_update_overload_1(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.update( @@ -6286,6 +6713,7 @@ async def test_method_update_overload_1(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_update_with_all_params_overload_1(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.update( @@ -6301,6 +6729,7 @@ async def test_method_update_with_all_params_overload_1(self, async_client: Asyn ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update_overload_1(self, async_client: AsyncCloudflare) -> None: response = await async_client.dns.records.with_raw_response.update( @@ -6316,6 +6745,7 @@ async def test_raw_response_update_overload_1(self, async_client: AsyncCloudflar record = await response.parse() assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update_overload_1(self, async_client: AsyncCloudflare) -> None: async with async_client.dns.records.with_streaming_response.update( @@ -6333,6 +6763,7 @@ async def test_streaming_response_update_overload_1(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update_overload_1(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -6353,6 +6784,7 @@ async def test_path_params_update_overload_1(self, async_client: AsyncCloudflare type="A", ) + @pytest.mark.skip() @parametrize async def test_method_update_overload_2(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.update( @@ -6364,6 +6796,7 @@ async def test_method_update_overload_2(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_update_with_all_params_overload_2(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.update( @@ -6379,6 +6812,7 @@ async def test_method_update_with_all_params_overload_2(self, async_client: Asyn ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update_overload_2(self, async_client: AsyncCloudflare) -> None: response = await async_client.dns.records.with_raw_response.update( @@ -6394,6 +6828,7 @@ async def test_raw_response_update_overload_2(self, async_client: AsyncCloudflar record = await response.parse() assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update_overload_2(self, async_client: AsyncCloudflare) -> None: async with async_client.dns.records.with_streaming_response.update( @@ -6411,6 +6846,7 @@ async def test_streaming_response_update_overload_2(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update_overload_2(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -6431,6 +6867,7 @@ async def test_path_params_update_overload_2(self, async_client: AsyncCloudflare type="AAAA", ) + @pytest.mark.skip() @parametrize async def test_method_update_overload_3(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.update( @@ -6442,6 +6879,7 @@ async def test_method_update_overload_3(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_update_with_all_params_overload_3(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.update( @@ -6460,6 +6898,7 @@ async def test_method_update_with_all_params_overload_3(self, async_client: Asyn ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update_overload_3(self, async_client: AsyncCloudflare) -> None: response = await async_client.dns.records.with_raw_response.update( @@ -6475,6 +6914,7 @@ async def test_raw_response_update_overload_3(self, async_client: AsyncCloudflar record = await response.parse() assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update_overload_3(self, async_client: AsyncCloudflare) -> None: async with async_client.dns.records.with_streaming_response.update( @@ -6492,6 +6932,7 @@ async def test_streaming_response_update_overload_3(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update_overload_3(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -6512,6 +6953,7 @@ async def test_path_params_update_overload_3(self, async_client: AsyncCloudflare type="CAA", ) + @pytest.mark.skip() @parametrize async def test_method_update_overload_4(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.update( @@ -6523,6 +6965,7 @@ async def test_method_update_overload_4(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_update_with_all_params_overload_4(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.update( @@ -6542,6 +6985,7 @@ async def test_method_update_with_all_params_overload_4(self, async_client: Asyn ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update_overload_4(self, async_client: AsyncCloudflare) -> None: response = await async_client.dns.records.with_raw_response.update( @@ -6557,6 +7001,7 @@ async def test_raw_response_update_overload_4(self, async_client: AsyncCloudflar record = await response.parse() assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update_overload_4(self, async_client: AsyncCloudflare) -> None: async with async_client.dns.records.with_streaming_response.update( @@ -6574,6 +7019,7 @@ async def test_streaming_response_update_overload_4(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update_overload_4(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -6594,6 +7040,7 @@ async def test_path_params_update_overload_4(self, async_client: AsyncCloudflare type="CERT", ) + @pytest.mark.skip() @parametrize async def test_method_update_overload_5(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.update( @@ -6605,6 +7052,7 @@ async def test_method_update_overload_5(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_update_with_all_params_overload_5(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.update( @@ -6620,6 +7068,7 @@ async def test_method_update_with_all_params_overload_5(self, async_client: Asyn ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update_overload_5(self, async_client: AsyncCloudflare) -> None: response = await async_client.dns.records.with_raw_response.update( @@ -6635,6 +7084,7 @@ async def test_raw_response_update_overload_5(self, async_client: AsyncCloudflar record = await response.parse() assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update_overload_5(self, async_client: AsyncCloudflare) -> None: async with async_client.dns.records.with_streaming_response.update( @@ -6652,6 +7102,7 @@ async def test_streaming_response_update_overload_5(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update_overload_5(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -6672,6 +7123,7 @@ async def test_path_params_update_overload_5(self, async_client: AsyncCloudflare type="CNAME", ) + @pytest.mark.skip() @parametrize async def test_method_update_overload_6(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.update( @@ -6683,6 +7135,7 @@ async def test_method_update_overload_6(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_update_with_all_params_overload_6(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.update( @@ -6702,6 +7155,7 @@ async def test_method_update_with_all_params_overload_6(self, async_client: Asyn ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update_overload_6(self, async_client: AsyncCloudflare) -> None: response = await async_client.dns.records.with_raw_response.update( @@ -6717,6 +7171,7 @@ async def test_raw_response_update_overload_6(self, async_client: AsyncCloudflar record = await response.parse() assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update_overload_6(self, async_client: AsyncCloudflare) -> None: async with async_client.dns.records.with_streaming_response.update( @@ -6734,6 +7189,7 @@ async def test_streaming_response_update_overload_6(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update_overload_6(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -6754,6 +7210,7 @@ async def test_path_params_update_overload_6(self, async_client: AsyncCloudflare type="DNSKEY", ) + @pytest.mark.skip() @parametrize async def test_method_update_overload_7(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.update( @@ -6765,6 +7222,7 @@ async def test_method_update_overload_7(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_update_with_all_params_overload_7(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.update( @@ -6784,6 +7242,7 @@ async def test_method_update_with_all_params_overload_7(self, async_client: Asyn ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update_overload_7(self, async_client: AsyncCloudflare) -> None: response = await async_client.dns.records.with_raw_response.update( @@ -6799,6 +7258,7 @@ async def test_raw_response_update_overload_7(self, async_client: AsyncCloudflar record = await response.parse() assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update_overload_7(self, async_client: AsyncCloudflare) -> None: async with async_client.dns.records.with_streaming_response.update( @@ -6816,6 +7276,7 @@ async def test_streaming_response_update_overload_7(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update_overload_7(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -6836,6 +7297,7 @@ async def test_path_params_update_overload_7(self, async_client: AsyncCloudflare type="DS", ) + @pytest.mark.skip() @parametrize async def test_method_update_overload_8(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.update( @@ -6847,6 +7309,7 @@ async def test_method_update_overload_8(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_update_with_all_params_overload_8(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.update( @@ -6865,6 +7328,7 @@ async def test_method_update_with_all_params_overload_8(self, async_client: Asyn ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update_overload_8(self, async_client: AsyncCloudflare) -> None: response = await async_client.dns.records.with_raw_response.update( @@ -6880,6 +7344,7 @@ async def test_raw_response_update_overload_8(self, async_client: AsyncCloudflar record = await response.parse() assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update_overload_8(self, async_client: AsyncCloudflare) -> None: async with async_client.dns.records.with_streaming_response.update( @@ -6897,6 +7362,7 @@ async def test_streaming_response_update_overload_8(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update_overload_8(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -6917,6 +7383,7 @@ async def test_path_params_update_overload_8(self, async_client: AsyncCloudflare type="HTTPS", ) + @pytest.mark.skip() @parametrize async def test_method_update_overload_9(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.update( @@ -6928,6 +7395,7 @@ async def test_method_update_overload_9(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_update_with_all_params_overload_9(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.update( @@ -6955,6 +7423,7 @@ async def test_method_update_with_all_params_overload_9(self, async_client: Asyn ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update_overload_9(self, async_client: AsyncCloudflare) -> None: response = await async_client.dns.records.with_raw_response.update( @@ -6970,6 +7439,7 @@ async def test_raw_response_update_overload_9(self, async_client: AsyncCloudflar record = await response.parse() assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update_overload_9(self, async_client: AsyncCloudflare) -> None: async with async_client.dns.records.with_streaming_response.update( @@ -6987,6 +7457,7 @@ async def test_streaming_response_update_overload_9(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update_overload_9(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -7007,6 +7478,7 @@ async def test_path_params_update_overload_9(self, async_client: AsyncCloudflare type="LOC", ) + @pytest.mark.skip() @parametrize async def test_method_update_overload_10(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.update( @@ -7019,6 +7491,7 @@ async def test_method_update_overload_10(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_update_with_all_params_overload_10(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.update( @@ -7034,6 +7507,7 @@ async def test_method_update_with_all_params_overload_10(self, async_client: Asy ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update_overload_10(self, async_client: AsyncCloudflare) -> None: response = await async_client.dns.records.with_raw_response.update( @@ -7050,6 +7524,7 @@ async def test_raw_response_update_overload_10(self, async_client: AsyncCloudfla record = await response.parse() assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update_overload_10(self, async_client: AsyncCloudflare) -> None: async with async_client.dns.records.with_streaming_response.update( @@ -7068,6 +7543,7 @@ async def test_streaming_response_update_overload_10(self, async_client: AsyncCl assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update_overload_10(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -7090,6 +7566,7 @@ async def test_path_params_update_overload_10(self, async_client: AsyncCloudflar type="MX", ) + @pytest.mark.skip() @parametrize async def test_method_update_overload_11(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.update( @@ -7101,6 +7578,7 @@ async def test_method_update_overload_11(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_update_with_all_params_overload_11(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.update( @@ -7122,6 +7600,7 @@ async def test_method_update_with_all_params_overload_11(self, async_client: Asy ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update_overload_11(self, async_client: AsyncCloudflare) -> None: response = await async_client.dns.records.with_raw_response.update( @@ -7137,6 +7616,7 @@ async def test_raw_response_update_overload_11(self, async_client: AsyncCloudfla record = await response.parse() assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update_overload_11(self, async_client: AsyncCloudflare) -> None: async with async_client.dns.records.with_streaming_response.update( @@ -7154,6 +7634,7 @@ async def test_streaming_response_update_overload_11(self, async_client: AsyncCl assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update_overload_11(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -7174,6 +7655,7 @@ async def test_path_params_update_overload_11(self, async_client: AsyncCloudflar type="NAPTR", ) + @pytest.mark.skip() @parametrize async def test_method_update_overload_12(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.update( @@ -7185,6 +7667,7 @@ async def test_method_update_overload_12(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_update_with_all_params_overload_12(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.update( @@ -7199,6 +7682,7 @@ async def test_method_update_with_all_params_overload_12(self, async_client: Asy ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update_overload_12(self, async_client: AsyncCloudflare) -> None: response = await async_client.dns.records.with_raw_response.update( @@ -7214,6 +7698,7 @@ async def test_raw_response_update_overload_12(self, async_client: AsyncCloudfla record = await response.parse() assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update_overload_12(self, async_client: AsyncCloudflare) -> None: async with async_client.dns.records.with_streaming_response.update( @@ -7231,6 +7716,7 @@ async def test_streaming_response_update_overload_12(self, async_client: AsyncCl assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update_overload_12(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -7251,6 +7737,7 @@ async def test_path_params_update_overload_12(self, async_client: AsyncCloudflar type="NS", ) + @pytest.mark.skip() @parametrize async def test_method_update_overload_13(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.update( @@ -7262,6 +7749,7 @@ async def test_method_update_overload_13(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_update_with_all_params_overload_13(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.update( @@ -7276,6 +7764,7 @@ async def test_method_update_with_all_params_overload_13(self, async_client: Asy ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update_overload_13(self, async_client: AsyncCloudflare) -> None: response = await async_client.dns.records.with_raw_response.update( @@ -7291,6 +7780,7 @@ async def test_raw_response_update_overload_13(self, async_client: AsyncCloudfla record = await response.parse() assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update_overload_13(self, async_client: AsyncCloudflare) -> None: async with async_client.dns.records.with_streaming_response.update( @@ -7308,6 +7798,7 @@ async def test_streaming_response_update_overload_13(self, async_client: AsyncCl assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update_overload_13(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -7328,6 +7819,7 @@ async def test_path_params_update_overload_13(self, async_client: AsyncCloudflar type="PTR", ) + @pytest.mark.skip() @parametrize async def test_method_update_overload_14(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.update( @@ -7339,6 +7831,7 @@ async def test_method_update_overload_14(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_update_with_all_params_overload_14(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.update( @@ -7358,6 +7851,7 @@ async def test_method_update_with_all_params_overload_14(self, async_client: Asy ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update_overload_14(self, async_client: AsyncCloudflare) -> None: response = await async_client.dns.records.with_raw_response.update( @@ -7373,6 +7867,7 @@ async def test_raw_response_update_overload_14(self, async_client: AsyncCloudfla record = await response.parse() assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update_overload_14(self, async_client: AsyncCloudflare) -> None: async with async_client.dns.records.with_streaming_response.update( @@ -7390,6 +7885,7 @@ async def test_streaming_response_update_overload_14(self, async_client: AsyncCl assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update_overload_14(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -7410,6 +7906,7 @@ async def test_path_params_update_overload_14(self, async_client: AsyncCloudflar type="SMIMEA", ) + @pytest.mark.skip() @parametrize async def test_method_update_overload_15(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.update( @@ -7421,6 +7918,7 @@ async def test_method_update_overload_15(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_update_with_all_params_overload_15(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.update( @@ -7443,6 +7941,7 @@ async def test_method_update_with_all_params_overload_15(self, async_client: Asy ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update_overload_15(self, async_client: AsyncCloudflare) -> None: response = await async_client.dns.records.with_raw_response.update( @@ -7458,6 +7957,7 @@ async def test_raw_response_update_overload_15(self, async_client: AsyncCloudfla record = await response.parse() assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update_overload_15(self, async_client: AsyncCloudflare) -> None: async with async_client.dns.records.with_streaming_response.update( @@ -7475,6 +7975,7 @@ async def test_streaming_response_update_overload_15(self, async_client: AsyncCl assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update_overload_15(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -7495,6 +7996,7 @@ async def test_path_params_update_overload_15(self, async_client: AsyncCloudflar type="SRV", ) + @pytest.mark.skip() @parametrize async def test_method_update_overload_16(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.update( @@ -7506,6 +8008,7 @@ async def test_method_update_overload_16(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_update_with_all_params_overload_16(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.update( @@ -7524,6 +8027,7 @@ async def test_method_update_with_all_params_overload_16(self, async_client: Asy ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update_overload_16(self, async_client: AsyncCloudflare) -> None: response = await async_client.dns.records.with_raw_response.update( @@ -7539,6 +8043,7 @@ async def test_raw_response_update_overload_16(self, async_client: AsyncCloudfla record = await response.parse() assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update_overload_16(self, async_client: AsyncCloudflare) -> None: async with async_client.dns.records.with_streaming_response.update( @@ -7556,6 +8061,7 @@ async def test_streaming_response_update_overload_16(self, async_client: AsyncCl assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update_overload_16(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -7576,6 +8082,7 @@ async def test_path_params_update_overload_16(self, async_client: AsyncCloudflar type="SSHFP", ) + @pytest.mark.skip() @parametrize async def test_method_update_overload_17(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.update( @@ -7587,6 +8094,7 @@ async def test_method_update_overload_17(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_update_with_all_params_overload_17(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.update( @@ -7605,6 +8113,7 @@ async def test_method_update_with_all_params_overload_17(self, async_client: Asy ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update_overload_17(self, async_client: AsyncCloudflare) -> None: response = await async_client.dns.records.with_raw_response.update( @@ -7620,6 +8129,7 @@ async def test_raw_response_update_overload_17(self, async_client: AsyncCloudfla record = await response.parse() assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update_overload_17(self, async_client: AsyncCloudflare) -> None: async with async_client.dns.records.with_streaming_response.update( @@ -7637,6 +8147,7 @@ async def test_streaming_response_update_overload_17(self, async_client: AsyncCl assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update_overload_17(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -7657,6 +8168,7 @@ async def test_path_params_update_overload_17(self, async_client: AsyncCloudflar type="SVCB", ) + @pytest.mark.skip() @parametrize async def test_method_update_overload_18(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.update( @@ -7668,6 +8180,7 @@ async def test_method_update_overload_18(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_update_with_all_params_overload_18(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.update( @@ -7687,6 +8200,7 @@ async def test_method_update_with_all_params_overload_18(self, async_client: Asy ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update_overload_18(self, async_client: AsyncCloudflare) -> None: response = await async_client.dns.records.with_raw_response.update( @@ -7702,6 +8216,7 @@ async def test_raw_response_update_overload_18(self, async_client: AsyncCloudfla record = await response.parse() assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update_overload_18(self, async_client: AsyncCloudflare) -> None: async with async_client.dns.records.with_streaming_response.update( @@ -7719,6 +8234,7 @@ async def test_streaming_response_update_overload_18(self, async_client: AsyncCl assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update_overload_18(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -7739,6 +8255,7 @@ async def test_path_params_update_overload_18(self, async_client: AsyncCloudflar type="TLSA", ) + @pytest.mark.skip() @parametrize async def test_method_update_overload_19(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.update( @@ -7750,6 +8267,7 @@ async def test_method_update_overload_19(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_update_with_all_params_overload_19(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.update( @@ -7764,6 +8282,7 @@ async def test_method_update_with_all_params_overload_19(self, async_client: Asy ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update_overload_19(self, async_client: AsyncCloudflare) -> None: response = await async_client.dns.records.with_raw_response.update( @@ -7779,6 +8298,7 @@ async def test_raw_response_update_overload_19(self, async_client: AsyncCloudfla record = await response.parse() assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update_overload_19(self, async_client: AsyncCloudflare) -> None: async with async_client.dns.records.with_streaming_response.update( @@ -7796,6 +8316,7 @@ async def test_streaming_response_update_overload_19(self, async_client: AsyncCl assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update_overload_19(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -7816,6 +8337,7 @@ async def test_path_params_update_overload_19(self, async_client: AsyncCloudflar type="TXT", ) + @pytest.mark.skip() @parametrize async def test_method_update_overload_20(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.update( @@ -7828,6 +8350,7 @@ async def test_method_update_overload_20(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_update_with_all_params_overload_20(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.update( @@ -7846,6 +8369,7 @@ async def test_method_update_with_all_params_overload_20(self, async_client: Asy ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update_overload_20(self, async_client: AsyncCloudflare) -> None: response = await async_client.dns.records.with_raw_response.update( @@ -7862,6 +8386,7 @@ async def test_raw_response_update_overload_20(self, async_client: AsyncCloudfla record = await response.parse() assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update_overload_20(self, async_client: AsyncCloudflare) -> None: async with async_client.dns.records.with_streaming_response.update( @@ -7880,6 +8405,7 @@ async def test_streaming_response_update_overload_20(self, async_client: AsyncCl assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update_overload_20(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -7902,6 +8428,7 @@ async def test_path_params_update_overload_20(self, async_client: AsyncCloudflar type="URI", ) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.list( @@ -7909,6 +8436,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncV4PagePaginationArray[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.list( @@ -7943,6 +8471,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncV4PagePaginationArray[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.dns.records.with_raw_response.list( @@ -7954,6 +8483,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: record = await response.parse() assert_matches_type(AsyncV4PagePaginationArray[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.dns.records.with_streaming_response.list( @@ -7967,6 +8497,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -7974,6 +8505,7 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.delete( @@ -7983,6 +8515,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[RecordDeleteResponse], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.dns.records.with_raw_response.delete( @@ -7996,6 +8529,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: record = await response.parse() assert_matches_type(Optional[RecordDeleteResponse], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.dns.records.with_streaming_response.delete( @@ -8011,6 +8545,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -8027,6 +8562,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize async def test_method_edit_overload_1(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.edit( @@ -8038,6 +8574,7 @@ async def test_method_edit_overload_1(self, async_client: AsyncCloudflare) -> No ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_edit_with_all_params_overload_1(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.edit( @@ -8053,6 +8590,7 @@ async def test_method_edit_with_all_params_overload_1(self, async_client: AsyncC ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit_overload_1(self, async_client: AsyncCloudflare) -> None: response = await async_client.dns.records.with_raw_response.edit( @@ -8068,6 +8606,7 @@ async def test_raw_response_edit_overload_1(self, async_client: AsyncCloudflare) record = await response.parse() assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit_overload_1(self, async_client: AsyncCloudflare) -> None: async with async_client.dns.records.with_streaming_response.edit( @@ -8085,6 +8624,7 @@ async def test_streaming_response_edit_overload_1(self, async_client: AsyncCloud assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit_overload_1(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -8105,6 +8645,7 @@ async def test_path_params_edit_overload_1(self, async_client: AsyncCloudflare) type="A", ) + @pytest.mark.skip() @parametrize async def test_method_edit_overload_2(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.edit( @@ -8116,6 +8657,7 @@ async def test_method_edit_overload_2(self, async_client: AsyncCloudflare) -> No ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_edit_with_all_params_overload_2(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.edit( @@ -8131,6 +8673,7 @@ async def test_method_edit_with_all_params_overload_2(self, async_client: AsyncC ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit_overload_2(self, async_client: AsyncCloudflare) -> None: response = await async_client.dns.records.with_raw_response.edit( @@ -8146,6 +8689,7 @@ async def test_raw_response_edit_overload_2(self, async_client: AsyncCloudflare) record = await response.parse() assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit_overload_2(self, async_client: AsyncCloudflare) -> None: async with async_client.dns.records.with_streaming_response.edit( @@ -8163,6 +8707,7 @@ async def test_streaming_response_edit_overload_2(self, async_client: AsyncCloud assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit_overload_2(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -8183,6 +8728,7 @@ async def test_path_params_edit_overload_2(self, async_client: AsyncCloudflare) type="AAAA", ) + @pytest.mark.skip() @parametrize async def test_method_edit_overload_3(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.edit( @@ -8194,6 +8740,7 @@ async def test_method_edit_overload_3(self, async_client: AsyncCloudflare) -> No ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_edit_with_all_params_overload_3(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.edit( @@ -8212,6 +8759,7 @@ async def test_method_edit_with_all_params_overload_3(self, async_client: AsyncC ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit_overload_3(self, async_client: AsyncCloudflare) -> None: response = await async_client.dns.records.with_raw_response.edit( @@ -8227,6 +8775,7 @@ async def test_raw_response_edit_overload_3(self, async_client: AsyncCloudflare) record = await response.parse() assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit_overload_3(self, async_client: AsyncCloudflare) -> None: async with async_client.dns.records.with_streaming_response.edit( @@ -8244,6 +8793,7 @@ async def test_streaming_response_edit_overload_3(self, async_client: AsyncCloud assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit_overload_3(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -8264,6 +8814,7 @@ async def test_path_params_edit_overload_3(self, async_client: AsyncCloudflare) type="CAA", ) + @pytest.mark.skip() @parametrize async def test_method_edit_overload_4(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.edit( @@ -8275,6 +8826,7 @@ async def test_method_edit_overload_4(self, async_client: AsyncCloudflare) -> No ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_edit_with_all_params_overload_4(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.edit( @@ -8294,6 +8846,7 @@ async def test_method_edit_with_all_params_overload_4(self, async_client: AsyncC ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit_overload_4(self, async_client: AsyncCloudflare) -> None: response = await async_client.dns.records.with_raw_response.edit( @@ -8309,6 +8862,7 @@ async def test_raw_response_edit_overload_4(self, async_client: AsyncCloudflare) record = await response.parse() assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit_overload_4(self, async_client: AsyncCloudflare) -> None: async with async_client.dns.records.with_streaming_response.edit( @@ -8326,6 +8880,7 @@ async def test_streaming_response_edit_overload_4(self, async_client: AsyncCloud assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit_overload_4(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -8346,6 +8901,7 @@ async def test_path_params_edit_overload_4(self, async_client: AsyncCloudflare) type="CERT", ) + @pytest.mark.skip() @parametrize async def test_method_edit_overload_5(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.edit( @@ -8357,6 +8913,7 @@ async def test_method_edit_overload_5(self, async_client: AsyncCloudflare) -> No ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_edit_with_all_params_overload_5(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.edit( @@ -8372,6 +8929,7 @@ async def test_method_edit_with_all_params_overload_5(self, async_client: AsyncC ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit_overload_5(self, async_client: AsyncCloudflare) -> None: response = await async_client.dns.records.with_raw_response.edit( @@ -8387,6 +8945,7 @@ async def test_raw_response_edit_overload_5(self, async_client: AsyncCloudflare) record = await response.parse() assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit_overload_5(self, async_client: AsyncCloudflare) -> None: async with async_client.dns.records.with_streaming_response.edit( @@ -8404,6 +8963,7 @@ async def test_streaming_response_edit_overload_5(self, async_client: AsyncCloud assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit_overload_5(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -8424,6 +8984,7 @@ async def test_path_params_edit_overload_5(self, async_client: AsyncCloudflare) type="CNAME", ) + @pytest.mark.skip() @parametrize async def test_method_edit_overload_6(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.edit( @@ -8435,6 +8996,7 @@ async def test_method_edit_overload_6(self, async_client: AsyncCloudflare) -> No ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_edit_with_all_params_overload_6(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.edit( @@ -8454,6 +9016,7 @@ async def test_method_edit_with_all_params_overload_6(self, async_client: AsyncC ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit_overload_6(self, async_client: AsyncCloudflare) -> None: response = await async_client.dns.records.with_raw_response.edit( @@ -8469,6 +9032,7 @@ async def test_raw_response_edit_overload_6(self, async_client: AsyncCloudflare) record = await response.parse() assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit_overload_6(self, async_client: AsyncCloudflare) -> None: async with async_client.dns.records.with_streaming_response.edit( @@ -8486,6 +9050,7 @@ async def test_streaming_response_edit_overload_6(self, async_client: AsyncCloud assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit_overload_6(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -8506,6 +9071,7 @@ async def test_path_params_edit_overload_6(self, async_client: AsyncCloudflare) type="DNSKEY", ) + @pytest.mark.skip() @parametrize async def test_method_edit_overload_7(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.edit( @@ -8517,6 +9083,7 @@ async def test_method_edit_overload_7(self, async_client: AsyncCloudflare) -> No ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_edit_with_all_params_overload_7(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.edit( @@ -8536,6 +9103,7 @@ async def test_method_edit_with_all_params_overload_7(self, async_client: AsyncC ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit_overload_7(self, async_client: AsyncCloudflare) -> None: response = await async_client.dns.records.with_raw_response.edit( @@ -8551,6 +9119,7 @@ async def test_raw_response_edit_overload_7(self, async_client: AsyncCloudflare) record = await response.parse() assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit_overload_7(self, async_client: AsyncCloudflare) -> None: async with async_client.dns.records.with_streaming_response.edit( @@ -8568,6 +9137,7 @@ async def test_streaming_response_edit_overload_7(self, async_client: AsyncCloud assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit_overload_7(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -8588,6 +9158,7 @@ async def test_path_params_edit_overload_7(self, async_client: AsyncCloudflare) type="DS", ) + @pytest.mark.skip() @parametrize async def test_method_edit_overload_8(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.edit( @@ -8599,6 +9170,7 @@ async def test_method_edit_overload_8(self, async_client: AsyncCloudflare) -> No ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_edit_with_all_params_overload_8(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.edit( @@ -8617,6 +9189,7 @@ async def test_method_edit_with_all_params_overload_8(self, async_client: AsyncC ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit_overload_8(self, async_client: AsyncCloudflare) -> None: response = await async_client.dns.records.with_raw_response.edit( @@ -8632,6 +9205,7 @@ async def test_raw_response_edit_overload_8(self, async_client: AsyncCloudflare) record = await response.parse() assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit_overload_8(self, async_client: AsyncCloudflare) -> None: async with async_client.dns.records.with_streaming_response.edit( @@ -8649,6 +9223,7 @@ async def test_streaming_response_edit_overload_8(self, async_client: AsyncCloud assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit_overload_8(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -8669,6 +9244,7 @@ async def test_path_params_edit_overload_8(self, async_client: AsyncCloudflare) type="HTTPS", ) + @pytest.mark.skip() @parametrize async def test_method_edit_overload_9(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.edit( @@ -8680,6 +9256,7 @@ async def test_method_edit_overload_9(self, async_client: AsyncCloudflare) -> No ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_edit_with_all_params_overload_9(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.edit( @@ -8707,6 +9284,7 @@ async def test_method_edit_with_all_params_overload_9(self, async_client: AsyncC ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit_overload_9(self, async_client: AsyncCloudflare) -> None: response = await async_client.dns.records.with_raw_response.edit( @@ -8722,6 +9300,7 @@ async def test_raw_response_edit_overload_9(self, async_client: AsyncCloudflare) record = await response.parse() assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit_overload_9(self, async_client: AsyncCloudflare) -> None: async with async_client.dns.records.with_streaming_response.edit( @@ -8739,6 +9318,7 @@ async def test_streaming_response_edit_overload_9(self, async_client: AsyncCloud assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit_overload_9(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -8759,6 +9339,7 @@ async def test_path_params_edit_overload_9(self, async_client: AsyncCloudflare) type="LOC", ) + @pytest.mark.skip() @parametrize async def test_method_edit_overload_10(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.edit( @@ -8771,6 +9352,7 @@ async def test_method_edit_overload_10(self, async_client: AsyncCloudflare) -> N ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_edit_with_all_params_overload_10(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.edit( @@ -8786,6 +9368,7 @@ async def test_method_edit_with_all_params_overload_10(self, async_client: Async ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit_overload_10(self, async_client: AsyncCloudflare) -> None: response = await async_client.dns.records.with_raw_response.edit( @@ -8802,6 +9385,7 @@ async def test_raw_response_edit_overload_10(self, async_client: AsyncCloudflare record = await response.parse() assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit_overload_10(self, async_client: AsyncCloudflare) -> None: async with async_client.dns.records.with_streaming_response.edit( @@ -8820,6 +9404,7 @@ async def test_streaming_response_edit_overload_10(self, async_client: AsyncClou assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit_overload_10(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -8842,6 +9427,7 @@ async def test_path_params_edit_overload_10(self, async_client: AsyncCloudflare) type="MX", ) + @pytest.mark.skip() @parametrize async def test_method_edit_overload_11(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.edit( @@ -8853,6 +9439,7 @@ async def test_method_edit_overload_11(self, async_client: AsyncCloudflare) -> N ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_edit_with_all_params_overload_11(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.edit( @@ -8874,6 +9461,7 @@ async def test_method_edit_with_all_params_overload_11(self, async_client: Async ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit_overload_11(self, async_client: AsyncCloudflare) -> None: response = await async_client.dns.records.with_raw_response.edit( @@ -8889,6 +9477,7 @@ async def test_raw_response_edit_overload_11(self, async_client: AsyncCloudflare record = await response.parse() assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit_overload_11(self, async_client: AsyncCloudflare) -> None: async with async_client.dns.records.with_streaming_response.edit( @@ -8906,6 +9495,7 @@ async def test_streaming_response_edit_overload_11(self, async_client: AsyncClou assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit_overload_11(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -8926,6 +9516,7 @@ async def test_path_params_edit_overload_11(self, async_client: AsyncCloudflare) type="NAPTR", ) + @pytest.mark.skip() @parametrize async def test_method_edit_overload_12(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.edit( @@ -8937,6 +9528,7 @@ async def test_method_edit_overload_12(self, async_client: AsyncCloudflare) -> N ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_edit_with_all_params_overload_12(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.edit( @@ -8951,6 +9543,7 @@ async def test_method_edit_with_all_params_overload_12(self, async_client: Async ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit_overload_12(self, async_client: AsyncCloudflare) -> None: response = await async_client.dns.records.with_raw_response.edit( @@ -8966,6 +9559,7 @@ async def test_raw_response_edit_overload_12(self, async_client: AsyncCloudflare record = await response.parse() assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit_overload_12(self, async_client: AsyncCloudflare) -> None: async with async_client.dns.records.with_streaming_response.edit( @@ -8983,6 +9577,7 @@ async def test_streaming_response_edit_overload_12(self, async_client: AsyncClou assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit_overload_12(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -9003,6 +9598,7 @@ async def test_path_params_edit_overload_12(self, async_client: AsyncCloudflare) type="NS", ) + @pytest.mark.skip() @parametrize async def test_method_edit_overload_13(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.edit( @@ -9014,6 +9610,7 @@ async def test_method_edit_overload_13(self, async_client: AsyncCloudflare) -> N ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_edit_with_all_params_overload_13(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.edit( @@ -9028,6 +9625,7 @@ async def test_method_edit_with_all_params_overload_13(self, async_client: Async ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit_overload_13(self, async_client: AsyncCloudflare) -> None: response = await async_client.dns.records.with_raw_response.edit( @@ -9043,6 +9641,7 @@ async def test_raw_response_edit_overload_13(self, async_client: AsyncCloudflare record = await response.parse() assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit_overload_13(self, async_client: AsyncCloudflare) -> None: async with async_client.dns.records.with_streaming_response.edit( @@ -9060,6 +9659,7 @@ async def test_streaming_response_edit_overload_13(self, async_client: AsyncClou assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit_overload_13(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -9080,6 +9680,7 @@ async def test_path_params_edit_overload_13(self, async_client: AsyncCloudflare) type="PTR", ) + @pytest.mark.skip() @parametrize async def test_method_edit_overload_14(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.edit( @@ -9091,6 +9692,7 @@ async def test_method_edit_overload_14(self, async_client: AsyncCloudflare) -> N ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_edit_with_all_params_overload_14(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.edit( @@ -9110,6 +9712,7 @@ async def test_method_edit_with_all_params_overload_14(self, async_client: Async ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit_overload_14(self, async_client: AsyncCloudflare) -> None: response = await async_client.dns.records.with_raw_response.edit( @@ -9125,6 +9728,7 @@ async def test_raw_response_edit_overload_14(self, async_client: AsyncCloudflare record = await response.parse() assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit_overload_14(self, async_client: AsyncCloudflare) -> None: async with async_client.dns.records.with_streaming_response.edit( @@ -9142,6 +9746,7 @@ async def test_streaming_response_edit_overload_14(self, async_client: AsyncClou assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit_overload_14(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -9162,6 +9767,7 @@ async def test_path_params_edit_overload_14(self, async_client: AsyncCloudflare) type="SMIMEA", ) + @pytest.mark.skip() @parametrize async def test_method_edit_overload_15(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.edit( @@ -9173,6 +9779,7 @@ async def test_method_edit_overload_15(self, async_client: AsyncCloudflare) -> N ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_edit_with_all_params_overload_15(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.edit( @@ -9195,6 +9802,7 @@ async def test_method_edit_with_all_params_overload_15(self, async_client: Async ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit_overload_15(self, async_client: AsyncCloudflare) -> None: response = await async_client.dns.records.with_raw_response.edit( @@ -9210,6 +9818,7 @@ async def test_raw_response_edit_overload_15(self, async_client: AsyncCloudflare record = await response.parse() assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit_overload_15(self, async_client: AsyncCloudflare) -> None: async with async_client.dns.records.with_streaming_response.edit( @@ -9227,6 +9836,7 @@ async def test_streaming_response_edit_overload_15(self, async_client: AsyncClou assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit_overload_15(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -9247,6 +9857,7 @@ async def test_path_params_edit_overload_15(self, async_client: AsyncCloudflare) type="SRV", ) + @pytest.mark.skip() @parametrize async def test_method_edit_overload_16(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.edit( @@ -9258,6 +9869,7 @@ async def test_method_edit_overload_16(self, async_client: AsyncCloudflare) -> N ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_edit_with_all_params_overload_16(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.edit( @@ -9276,6 +9888,7 @@ async def test_method_edit_with_all_params_overload_16(self, async_client: Async ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit_overload_16(self, async_client: AsyncCloudflare) -> None: response = await async_client.dns.records.with_raw_response.edit( @@ -9291,6 +9904,7 @@ async def test_raw_response_edit_overload_16(self, async_client: AsyncCloudflare record = await response.parse() assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit_overload_16(self, async_client: AsyncCloudflare) -> None: async with async_client.dns.records.with_streaming_response.edit( @@ -9308,6 +9922,7 @@ async def test_streaming_response_edit_overload_16(self, async_client: AsyncClou assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit_overload_16(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -9328,6 +9943,7 @@ async def test_path_params_edit_overload_16(self, async_client: AsyncCloudflare) type="SSHFP", ) + @pytest.mark.skip() @parametrize async def test_method_edit_overload_17(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.edit( @@ -9339,6 +9955,7 @@ async def test_method_edit_overload_17(self, async_client: AsyncCloudflare) -> N ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_edit_with_all_params_overload_17(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.edit( @@ -9357,6 +9974,7 @@ async def test_method_edit_with_all_params_overload_17(self, async_client: Async ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit_overload_17(self, async_client: AsyncCloudflare) -> None: response = await async_client.dns.records.with_raw_response.edit( @@ -9372,6 +9990,7 @@ async def test_raw_response_edit_overload_17(self, async_client: AsyncCloudflare record = await response.parse() assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit_overload_17(self, async_client: AsyncCloudflare) -> None: async with async_client.dns.records.with_streaming_response.edit( @@ -9389,6 +10008,7 @@ async def test_streaming_response_edit_overload_17(self, async_client: AsyncClou assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit_overload_17(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -9409,6 +10029,7 @@ async def test_path_params_edit_overload_17(self, async_client: AsyncCloudflare) type="SVCB", ) + @pytest.mark.skip() @parametrize async def test_method_edit_overload_18(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.edit( @@ -9420,6 +10041,7 @@ async def test_method_edit_overload_18(self, async_client: AsyncCloudflare) -> N ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_edit_with_all_params_overload_18(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.edit( @@ -9439,6 +10061,7 @@ async def test_method_edit_with_all_params_overload_18(self, async_client: Async ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit_overload_18(self, async_client: AsyncCloudflare) -> None: response = await async_client.dns.records.with_raw_response.edit( @@ -9454,6 +10077,7 @@ async def test_raw_response_edit_overload_18(self, async_client: AsyncCloudflare record = await response.parse() assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit_overload_18(self, async_client: AsyncCloudflare) -> None: async with async_client.dns.records.with_streaming_response.edit( @@ -9471,6 +10095,7 @@ async def test_streaming_response_edit_overload_18(self, async_client: AsyncClou assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit_overload_18(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -9491,6 +10116,7 @@ async def test_path_params_edit_overload_18(self, async_client: AsyncCloudflare) type="TLSA", ) + @pytest.mark.skip() @parametrize async def test_method_edit_overload_19(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.edit( @@ -9502,6 +10128,7 @@ async def test_method_edit_overload_19(self, async_client: AsyncCloudflare) -> N ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_edit_with_all_params_overload_19(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.edit( @@ -9516,6 +10143,7 @@ async def test_method_edit_with_all_params_overload_19(self, async_client: Async ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit_overload_19(self, async_client: AsyncCloudflare) -> None: response = await async_client.dns.records.with_raw_response.edit( @@ -9531,6 +10159,7 @@ async def test_raw_response_edit_overload_19(self, async_client: AsyncCloudflare record = await response.parse() assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit_overload_19(self, async_client: AsyncCloudflare) -> None: async with async_client.dns.records.with_streaming_response.edit( @@ -9548,6 +10177,7 @@ async def test_streaming_response_edit_overload_19(self, async_client: AsyncClou assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit_overload_19(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -9568,6 +10198,7 @@ async def test_path_params_edit_overload_19(self, async_client: AsyncCloudflare) type="TXT", ) + @pytest.mark.skip() @parametrize async def test_method_edit_overload_20(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.edit( @@ -9580,6 +10211,7 @@ async def test_method_edit_overload_20(self, async_client: AsyncCloudflare) -> N ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_edit_with_all_params_overload_20(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.edit( @@ -9598,6 +10230,7 @@ async def test_method_edit_with_all_params_overload_20(self, async_client: Async ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit_overload_20(self, async_client: AsyncCloudflare) -> None: response = await async_client.dns.records.with_raw_response.edit( @@ -9614,6 +10247,7 @@ async def test_raw_response_edit_overload_20(self, async_client: AsyncCloudflare record = await response.parse() assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit_overload_20(self, async_client: AsyncCloudflare) -> None: async with async_client.dns.records.with_streaming_response.edit( @@ -9632,6 +10266,7 @@ async def test_streaming_response_edit_overload_20(self, async_client: AsyncClou assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit_overload_20(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -9654,6 +10289,7 @@ async def test_path_params_edit_overload_20(self, async_client: AsyncCloudflare) type="URI", ) + @pytest.mark.skip() @parametrize async def test_method_export(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.export( @@ -9661,6 +10297,7 @@ async def test_method_export(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(str, record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_export(self, async_client: AsyncCloudflare) -> None: response = await async_client.dns.records.with_raw_response.export( @@ -9672,6 +10309,7 @@ async def test_raw_response_export(self, async_client: AsyncCloudflare) -> None: record = await response.parse() assert_matches_type(str, record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_export(self, async_client: AsyncCloudflare) -> None: async with async_client.dns.records.with_streaming_response.export( @@ -9685,6 +10323,7 @@ async def test_streaming_response_export(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_export(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -9692,6 +10331,7 @@ async def test_path_params_export(self, async_client: AsyncCloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.get( @@ -9700,6 +10340,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.dns.records.with_raw_response.get( @@ -9712,6 +10353,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: record = await response.parse() assert_matches_type(Optional[Record], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.dns.records.with_streaming_response.get( @@ -9726,6 +10368,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -9740,6 +10383,7 @@ async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: zone_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize async def test_method_import(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.import_( @@ -9748,6 +10392,7 @@ async def test_method_import(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[RecordImportResponse], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_import_with_all_params(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.import_( @@ -9757,6 +10402,7 @@ async def test_method_import_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[RecordImportResponse], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_import(self, async_client: AsyncCloudflare) -> None: response = await async_client.dns.records.with_raw_response.import_( @@ -9769,6 +10415,7 @@ async def test_raw_response_import(self, async_client: AsyncCloudflare) -> None: record = await response.parse() assert_matches_type(Optional[RecordImportResponse], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_import(self, async_client: AsyncCloudflare) -> None: async with async_client.dns.records.with_streaming_response.import_( @@ -9783,6 +10430,7 @@ async def test_streaming_response_import(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_import(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -9791,6 +10439,7 @@ async def test_path_params_import(self, async_client: AsyncCloudflare) -> None: file="www.example.com. 300 IN A 127.0.0.1", ) + @pytest.mark.skip() @parametrize async def test_method_scan(self, async_client: AsyncCloudflare) -> None: record = await async_client.dns.records.scan( @@ -9799,6 +10448,7 @@ async def test_method_scan(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[RecordScanResponse], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_scan(self, async_client: AsyncCloudflare) -> None: response = await async_client.dns.records.with_raw_response.scan( @@ -9811,6 +10461,7 @@ async def test_raw_response_scan(self, async_client: AsyncCloudflare) -> None: record = await response.parse() assert_matches_type(Optional[RecordScanResponse], record, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_scan(self, async_client: AsyncCloudflare) -> None: async with async_client.dns.records.with_streaming_response.scan( @@ -9825,6 +10476,7 @@ async def test_streaming_response_scan(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_scan(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): diff --git a/tests/api_resources/durable_objects/namespaces/test_objects.py b/tests/api_resources/durable_objects/namespaces/test_objects.py index a68e090542a..3273c4e5eda 100644 --- a/tests/api_resources/durable_objects/namespaces/test_objects.py +++ b/tests/api_resources/durable_objects/namespaces/test_objects.py @@ -18,6 +18,7 @@ class TestObjects: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: object = client.durable_objects.namespaces.objects.list( @@ -26,6 +27,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncCursorLimitPagination[DurableObject], object, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: object = client.durable_objects.namespaces.objects.list( @@ -36,6 +38,7 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncCursorLimitPagination[DurableObject], object, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.durable_objects.namespaces.objects.with_raw_response.list( @@ -48,6 +51,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: object = response.parse() assert_matches_type(SyncCursorLimitPagination[DurableObject], object, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.durable_objects.namespaces.objects.with_streaming_response.list( @@ -62,6 +66,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -80,6 +85,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: class TestAsyncObjects: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: object = await async_client.durable_objects.namespaces.objects.list( @@ -88,6 +94,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncCursorLimitPagination[DurableObject], object, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: object = await async_client.durable_objects.namespaces.objects.list( @@ -98,6 +105,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncCursorLimitPagination[DurableObject], object, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.durable_objects.namespaces.objects.with_raw_response.list( @@ -110,6 +118,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: object = await response.parse() assert_matches_type(AsyncCursorLimitPagination[DurableObject], object, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.durable_objects.namespaces.objects.with_streaming_response.list( @@ -124,6 +133,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/durable_objects/test_namespaces.py b/tests/api_resources/durable_objects/test_namespaces.py index db836e379cd..ca9f1d784cc 100644 --- a/tests/api_resources/durable_objects/test_namespaces.py +++ b/tests/api_resources/durable_objects/test_namespaces.py @@ -18,6 +18,7 @@ class TestNamespaces: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: namespace = client.durable_objects.namespaces.list( @@ -25,6 +26,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[Namespace], namespace, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.durable_objects.namespaces.with_raw_response.list( @@ -36,6 +38,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: namespace = response.parse() assert_matches_type(SyncSinglePage[Namespace], namespace, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.durable_objects.namespaces.with_streaming_response.list( @@ -49,6 +52,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -60,6 +64,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: class TestAsyncNamespaces: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: namespace = await async_client.durable_objects.namespaces.list( @@ -67,6 +72,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[Namespace], namespace, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.durable_objects.namespaces.with_raw_response.list( @@ -78,6 +84,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: namespace = await response.parse() assert_matches_type(AsyncSinglePage[Namespace], namespace, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.durable_objects.namespaces.with_streaming_response.list( @@ -91,6 +98,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/email_routing/rules/test_catch_alls.py b/tests/api_resources/email_routing/rules/test_catch_alls.py index 1e50ffb3147..e0901a6d600 100644 --- a/tests/api_resources/email_routing/rules/test_catch_alls.py +++ b/tests/api_resources/email_routing/rules/test_catch_alls.py @@ -17,6 +17,7 @@ class TestCatchAlls: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: catch_all = client.email_routing.rules.catch_alls.update( @@ -26,6 +27,7 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(CatchAllUpdateResponse, catch_all, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: catch_all = client.email_routing.rules.catch_alls.update( @@ -62,6 +64,7 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(CatchAllUpdateResponse, catch_all, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.email_routing.rules.catch_alls.with_raw_response.update( @@ -75,6 +78,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: catch_all = response.parse() assert_matches_type(CatchAllUpdateResponse, catch_all, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.email_routing.rules.catch_alls.with_streaming_response.update( @@ -90,6 +94,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -99,6 +104,7 @@ def test_path_params_update(self, client: Cloudflare) -> None: matchers=[{"type": "all"}, {"type": "all"}, {"type": "all"}], ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: catch_all = client.email_routing.rules.catch_alls.get( @@ -106,6 +112,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(CatchAllGetResponse, catch_all, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.email_routing.rules.catch_alls.with_raw_response.get( @@ -117,6 +124,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: catch_all = response.parse() assert_matches_type(CatchAllGetResponse, catch_all, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.email_routing.rules.catch_alls.with_streaming_response.get( @@ -130,6 +138,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -141,6 +150,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncCatchAlls: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: catch_all = await async_client.email_routing.rules.catch_alls.update( @@ -150,6 +160,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(CatchAllUpdateResponse, catch_all, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: catch_all = await async_client.email_routing.rules.catch_alls.update( @@ -186,6 +197,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(CatchAllUpdateResponse, catch_all, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.email_routing.rules.catch_alls.with_raw_response.update( @@ -199,6 +211,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: catch_all = await response.parse() assert_matches_type(CatchAllUpdateResponse, catch_all, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.email_routing.rules.catch_alls.with_streaming_response.update( @@ -214,6 +227,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -223,6 +237,7 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: matchers=[{"type": "all"}, {"type": "all"}, {"type": "all"}], ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: catch_all = await async_client.email_routing.rules.catch_alls.get( @@ -230,6 +245,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(CatchAllGetResponse, catch_all, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.email_routing.rules.catch_alls.with_raw_response.get( @@ -241,6 +257,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: catch_all = await response.parse() assert_matches_type(CatchAllGetResponse, catch_all, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.email_routing.rules.catch_alls.with_streaming_response.get( @@ -254,6 +271,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): diff --git a/tests/api_resources/email_routing/test_addresses.py b/tests/api_resources/email_routing/test_addresses.py index 82e7f13e617..76bbe3c7794 100644 --- a/tests/api_resources/email_routing/test_addresses.py +++ b/tests/api_resources/email_routing/test_addresses.py @@ -18,6 +18,7 @@ class TestAddresses: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: address = client.email_routing.addresses.create( @@ -26,6 +27,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Address, address, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.email_routing.addresses.with_raw_response.create( @@ -38,6 +40,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: address = response.parse() assert_matches_type(Address, address, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.email_routing.addresses.with_streaming_response.create( @@ -52,6 +55,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_identifier` but received ''"): @@ -60,6 +64,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: email="user@example.com", ) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: address = client.email_routing.addresses.list( @@ -67,6 +72,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePaginationArray[Address], address, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: address = client.email_routing.addresses.list( @@ -78,6 +84,7 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePaginationArray[Address], address, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.email_routing.addresses.with_raw_response.list( @@ -89,6 +96,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: address = response.parse() assert_matches_type(SyncV4PagePaginationArray[Address], address, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.email_routing.addresses.with_streaming_response.list( @@ -102,6 +110,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_identifier` but received ''"): @@ -109,6 +118,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: "", ) + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: address = client.email_routing.addresses.delete( @@ -117,6 +127,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(Address, address, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.email_routing.addresses.with_raw_response.delete( @@ -129,6 +140,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: address = response.parse() assert_matches_type(Address, address, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.email_routing.addresses.with_streaming_response.delete( @@ -143,6 +155,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_identifier` but received ''"): @@ -159,6 +172,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: account_identifier="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: address = client.email_routing.addresses.get( @@ -167,6 +181,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Address, address, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.email_routing.addresses.with_raw_response.get( @@ -179,6 +194,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: address = response.parse() assert_matches_type(Address, address, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.email_routing.addresses.with_streaming_response.get( @@ -193,6 +209,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_identifier` but received ''"): @@ -213,6 +230,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncAddresses: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: address = await async_client.email_routing.addresses.create( @@ -221,6 +239,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Address, address, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.email_routing.addresses.with_raw_response.create( @@ -233,6 +252,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: address = await response.parse() assert_matches_type(Address, address, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.email_routing.addresses.with_streaming_response.create( @@ -247,6 +267,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_identifier` but received ''"): @@ -255,6 +276,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: email="user@example.com", ) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: address = await async_client.email_routing.addresses.list( @@ -262,6 +284,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncV4PagePaginationArray[Address], address, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: address = await async_client.email_routing.addresses.list( @@ -273,6 +296,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncV4PagePaginationArray[Address], address, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.email_routing.addresses.with_raw_response.list( @@ -284,6 +308,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: address = await response.parse() assert_matches_type(AsyncV4PagePaginationArray[Address], address, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.email_routing.addresses.with_streaming_response.list( @@ -297,6 +322,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_identifier` but received ''"): @@ -304,6 +330,7 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: "", ) + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: address = await async_client.email_routing.addresses.delete( @@ -312,6 +339,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Address, address, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.email_routing.addresses.with_raw_response.delete( @@ -324,6 +352,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: address = await response.parse() assert_matches_type(Address, address, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.email_routing.addresses.with_streaming_response.delete( @@ -338,6 +367,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_identifier` but received ''"): @@ -354,6 +384,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: account_identifier="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: address = await async_client.email_routing.addresses.get( @@ -362,6 +393,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Address, address, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.email_routing.addresses.with_raw_response.get( @@ -374,6 +406,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: address = await response.parse() assert_matches_type(Address, address, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.email_routing.addresses.with_streaming_response.get( @@ -388,6 +421,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_identifier` but received ''"): diff --git a/tests/api_resources/email_routing/test_dns.py b/tests/api_resources/email_routing/test_dns.py index 0cee3728995..c4831f6464d 100644 --- a/tests/api_resources/email_routing/test_dns.py +++ b/tests/api_resources/email_routing/test_dns.py @@ -17,6 +17,7 @@ class TestDNS: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: dns = client.email_routing.dns.get( @@ -24,6 +25,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[DNSGetResponse], dns, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.email_routing.dns.with_raw_response.get( @@ -35,6 +37,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: dns = response.parse() assert_matches_type(Optional[DNSGetResponse], dns, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.email_routing.dns.with_streaming_response.get( @@ -48,6 +51,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -59,6 +63,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncDNS: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: dns = await async_client.email_routing.dns.get( @@ -66,6 +71,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[DNSGetResponse], dns, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.email_routing.dns.with_raw_response.get( @@ -77,6 +83,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: dns = await response.parse() assert_matches_type(Optional[DNSGetResponse], dns, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.email_routing.dns.with_streaming_response.get( @@ -90,6 +97,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): diff --git a/tests/api_resources/email_routing/test_rules.py b/tests/api_resources/email_routing/test_rules.py index 10e890b4d0e..f38bc2e6c60 100644 --- a/tests/api_resources/email_routing/test_rules.py +++ b/tests/api_resources/email_routing/test_rules.py @@ -18,6 +18,7 @@ class TestRules: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: rule = client.email_routing.rules.create( @@ -68,6 +69,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(EmailRoutingRule, rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: rule = client.email_routing.rules.create( @@ -121,6 +123,7 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(EmailRoutingRule, rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.email_routing.rules.with_raw_response.create( @@ -175,6 +178,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: rule = response.parse() assert_matches_type(EmailRoutingRule, rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.email_routing.rules.with_streaming_response.create( @@ -231,6 +235,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -281,6 +286,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: ], ) + @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: rule = client.email_routing.rules.update( @@ -332,6 +338,7 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(EmailRoutingRule, rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: rule = client.email_routing.rules.update( @@ -386,6 +393,7 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(EmailRoutingRule, rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.email_routing.rules.with_raw_response.update( @@ -441,6 +449,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: rule = response.parse() assert_matches_type(EmailRoutingRule, rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.email_routing.rules.with_streaming_response.update( @@ -498,6 +507,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -598,6 +608,7 @@ def test_path_params_update(self, client: Cloudflare) -> None: ], ) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: rule = client.email_routing.rules.list( @@ -605,6 +616,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePaginationArray[EmailRoutingRule], rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: rule = client.email_routing.rules.list( @@ -615,6 +627,7 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePaginationArray[EmailRoutingRule], rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.email_routing.rules.with_raw_response.list( @@ -626,6 +639,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: rule = response.parse() assert_matches_type(SyncV4PagePaginationArray[EmailRoutingRule], rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.email_routing.rules.with_streaming_response.list( @@ -639,6 +653,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -646,6 +661,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: "", ) + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: rule = client.email_routing.rules.delete( @@ -654,6 +670,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(EmailRoutingRule, rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.email_routing.rules.with_raw_response.delete( @@ -666,6 +683,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: rule = response.parse() assert_matches_type(EmailRoutingRule, rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.email_routing.rules.with_streaming_response.delete( @@ -680,6 +698,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -694,6 +713,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: zone_identifier="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: rule = client.email_routing.rules.get( @@ -702,6 +722,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(EmailRoutingRule, rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.email_routing.rules.with_raw_response.get( @@ -714,6 +735,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: rule = response.parse() assert_matches_type(EmailRoutingRule, rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.email_routing.rules.with_streaming_response.get( @@ -728,6 +750,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -746,6 +769,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncRules: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: rule = await async_client.email_routing.rules.create( @@ -796,6 +820,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(EmailRoutingRule, rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: rule = await async_client.email_routing.rules.create( @@ -849,6 +874,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(EmailRoutingRule, rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.email_routing.rules.with_raw_response.create( @@ -903,6 +929,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: rule = await response.parse() assert_matches_type(EmailRoutingRule, rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.email_routing.rules.with_streaming_response.create( @@ -959,6 +986,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -1009,6 +1037,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: ], ) + @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: rule = await async_client.email_routing.rules.update( @@ -1060,6 +1089,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(EmailRoutingRule, rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: rule = await async_client.email_routing.rules.update( @@ -1114,6 +1144,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(EmailRoutingRule, rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.email_routing.rules.with_raw_response.update( @@ -1169,6 +1200,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: rule = await response.parse() assert_matches_type(EmailRoutingRule, rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.email_routing.rules.with_streaming_response.update( @@ -1226,6 +1258,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -1326,6 +1359,7 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: ], ) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: rule = await async_client.email_routing.rules.list( @@ -1333,6 +1367,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncV4PagePaginationArray[EmailRoutingRule], rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: rule = await async_client.email_routing.rules.list( @@ -1343,6 +1378,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncV4PagePaginationArray[EmailRoutingRule], rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.email_routing.rules.with_raw_response.list( @@ -1354,6 +1390,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: rule = await response.parse() assert_matches_type(AsyncV4PagePaginationArray[EmailRoutingRule], rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.email_routing.rules.with_streaming_response.list( @@ -1367,6 +1404,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -1374,6 +1412,7 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: "", ) + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: rule = await async_client.email_routing.rules.delete( @@ -1382,6 +1421,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(EmailRoutingRule, rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.email_routing.rules.with_raw_response.delete( @@ -1394,6 +1434,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: rule = await response.parse() assert_matches_type(EmailRoutingRule, rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.email_routing.rules.with_streaming_response.delete( @@ -1408,6 +1449,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -1422,6 +1464,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: zone_identifier="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: rule = await async_client.email_routing.rules.get( @@ -1430,6 +1473,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(EmailRoutingRule, rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.email_routing.rules.with_raw_response.get( @@ -1442,6 +1486,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: rule = await response.parse() assert_matches_type(EmailRoutingRule, rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.email_routing.rules.with_streaming_response.get( @@ -1456,6 +1501,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): diff --git a/tests/api_resources/event_notifications/r2/configuration/test_queues.py b/tests/api_resources/event_notifications/r2/configuration/test_queues.py index a0fd0bc166d..86d44184798 100644 --- a/tests/api_resources/event_notifications/r2/configuration/test_queues.py +++ b/tests/api_resources/event_notifications/r2/configuration/test_queues.py @@ -20,6 +20,7 @@ class TestQueues: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: queue = client.event_notifications.r2.configuration.queues.update( @@ -29,6 +30,7 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(QueueUpdateResponse, queue, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: queue = client.event_notifications.r2.configuration.queues.update( @@ -55,6 +57,7 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(QueueUpdateResponse, queue, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.event_notifications.r2.configuration.queues.with_raw_response.update( @@ -68,6 +71,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: queue = response.parse() assert_matches_type(QueueUpdateResponse, queue, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.event_notifications.r2.configuration.queues.with_streaming_response.update( @@ -83,6 +87,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -106,6 +111,7 @@ def test_path_params_update(self, client: Cloudflare) -> None: bucket_name="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: queue = client.event_notifications.r2.configuration.queues.delete( @@ -115,6 +121,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(QueueDeleteResponse, queue, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.event_notifications.r2.configuration.queues.with_raw_response.delete( @@ -128,6 +135,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: queue = response.parse() assert_matches_type(QueueDeleteResponse, queue, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.event_notifications.r2.configuration.queues.with_streaming_response.delete( @@ -143,6 +151,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -170,6 +179,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: class TestAsyncQueues: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: queue = await async_client.event_notifications.r2.configuration.queues.update( @@ -179,6 +189,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(QueueUpdateResponse, queue, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: queue = await async_client.event_notifications.r2.configuration.queues.update( @@ -205,6 +216,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(QueueUpdateResponse, queue, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.event_notifications.r2.configuration.queues.with_raw_response.update( @@ -218,6 +230,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: queue = await response.parse() assert_matches_type(QueueUpdateResponse, queue, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.event_notifications.r2.configuration.queues.with_streaming_response.update( @@ -233,6 +246,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -256,6 +270,7 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: bucket_name="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: queue = await async_client.event_notifications.r2.configuration.queues.delete( @@ -265,6 +280,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(QueueDeleteResponse, queue, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.event_notifications.r2.configuration.queues.with_raw_response.delete( @@ -278,6 +294,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: queue = await response.parse() assert_matches_type(QueueDeleteResponse, queue, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.event_notifications.r2.configuration.queues.with_streaming_response.delete( @@ -293,6 +310,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/event_notifications/r2/test_configuration.py b/tests/api_resources/event_notifications/r2/test_configuration.py index 0b4dd17ff6f..7fb8bfb1965 100644 --- a/tests/api_resources/event_notifications/r2/test_configuration.py +++ b/tests/api_resources/event_notifications/r2/test_configuration.py @@ -17,6 +17,7 @@ class TestConfiguration: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: configuration = client.event_notifications.r2.configuration.get( @@ -25,6 +26,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(ConfigurationGetResponse, configuration, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.event_notifications.r2.configuration.with_raw_response.get( @@ -37,6 +39,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: configuration = response.parse() assert_matches_type(ConfigurationGetResponse, configuration, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.event_notifications.r2.configuration.with_streaming_response.get( @@ -51,6 +54,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -69,6 +73,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncConfiguration: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: configuration = await async_client.event_notifications.r2.configuration.get( @@ -77,6 +82,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(ConfigurationGetResponse, configuration, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.event_notifications.r2.configuration.with_raw_response.get( @@ -89,6 +95,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: configuration = await response.parse() assert_matches_type(ConfigurationGetResponse, configuration, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.event_notifications.r2.configuration.with_streaming_response.get( @@ -103,6 +110,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/firewall/test_access_rules.py b/tests/api_resources/firewall/test_access_rules.py index 538729de64d..25d2152c462 100644 --- a/tests/api_resources/firewall/test_access_rules.py +++ b/tests/api_resources/firewall/test_access_rules.py @@ -23,6 +23,7 @@ class TestAccessRules: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: access_rule = client.firewall.access_rules.create( @@ -33,6 +34,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(AccessRuleCreateResponse, access_rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: access_rule = client.firewall.access_rules.create( @@ -47,6 +49,7 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(AccessRuleCreateResponse, access_rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.firewall.access_rules.with_raw_response.create( @@ -61,6 +64,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: access_rule = response.parse() assert_matches_type(AccessRuleCreateResponse, access_rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.firewall.access_rules.with_streaming_response.create( @@ -77,6 +81,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -95,6 +100,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: access_rule = client.firewall.access_rules.list( @@ -103,6 +109,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePaginationArray[object], access_rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: access_rule = client.firewall.access_rules.list( @@ -128,6 +135,7 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePaginationArray[object], access_rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.firewall.access_rules.with_raw_response.list( @@ -140,6 +148,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: access_rule = response.parse() assert_matches_type(SyncV4PagePaginationArray[object], access_rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.firewall.access_rules.with_streaming_response.list( @@ -154,6 +163,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -168,6 +178,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: access_rule = client.firewall.access_rules.delete( @@ -178,6 +189,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[AccessRuleDeleteResponse], access_rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_delete_with_all_params(self, client: Cloudflare) -> None: access_rule = client.firewall.access_rules.delete( @@ -188,6 +200,7 @@ def test_method_delete_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[AccessRuleDeleteResponse], access_rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.firewall.access_rules.with_raw_response.delete( @@ -202,6 +215,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: access_rule = response.parse() assert_matches_type(Optional[AccessRuleDeleteResponse], access_rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.firewall.access_rules.with_streaming_response.delete( @@ -218,6 +232,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -236,6 +251,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: access_rule = client.firewall.access_rules.edit( @@ -247,6 +263,7 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(AccessRuleEditResponse, access_rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_edit_with_all_params(self, client: Cloudflare) -> None: access_rule = client.firewall.access_rules.edit( @@ -262,6 +279,7 @@ def test_method_edit_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(AccessRuleEditResponse, access_rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.firewall.access_rules.with_raw_response.edit( @@ -277,6 +295,7 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: access_rule = response.parse() assert_matches_type(AccessRuleEditResponse, access_rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.firewall.access_rules.with_streaming_response.edit( @@ -294,6 +313,7 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -314,6 +334,7 @@ def test_path_params_edit(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: access_rule = client.firewall.access_rules.get( @@ -323,6 +344,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(AccessRuleGetResponse, access_rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: access_rule = client.firewall.access_rules.get( @@ -332,6 +354,7 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(AccessRuleGetResponse, access_rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.firewall.access_rules.with_raw_response.get( @@ -345,6 +368,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: access_rule = response.parse() assert_matches_type(AccessRuleGetResponse, access_rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.firewall.access_rules.with_streaming_response.get( @@ -360,6 +384,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -380,6 +405,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncAccessRules: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: access_rule = await async_client.firewall.access_rules.create( @@ -390,6 +416,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AccessRuleCreateResponse, access_rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: access_rule = await async_client.firewall.access_rules.create( @@ -404,6 +431,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(AccessRuleCreateResponse, access_rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.firewall.access_rules.with_raw_response.create( @@ -418,6 +446,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: access_rule = await response.parse() assert_matches_type(AccessRuleCreateResponse, access_rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.firewall.access_rules.with_streaming_response.create( @@ -434,6 +463,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -452,6 +482,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: access_rule = await async_client.firewall.access_rules.list( @@ -460,6 +491,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncV4PagePaginationArray[object], access_rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: access_rule = await async_client.firewall.access_rules.list( @@ -485,6 +517,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncV4PagePaginationArray[object], access_rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.firewall.access_rules.with_raw_response.list( @@ -497,6 +530,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: access_rule = await response.parse() assert_matches_type(AsyncV4PagePaginationArray[object], access_rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.firewall.access_rules.with_streaming_response.list( @@ -511,6 +545,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -525,6 +560,7 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: access_rule = await async_client.firewall.access_rules.delete( @@ -535,6 +571,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[AccessRuleDeleteResponse], access_rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_delete_with_all_params(self, async_client: AsyncCloudflare) -> None: access_rule = await async_client.firewall.access_rules.delete( @@ -545,6 +582,7 @@ async def test_method_delete_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[AccessRuleDeleteResponse], access_rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.firewall.access_rules.with_raw_response.delete( @@ -559,6 +597,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: access_rule = await response.parse() assert_matches_type(Optional[AccessRuleDeleteResponse], access_rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.firewall.access_rules.with_streaming_response.delete( @@ -575,6 +614,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -593,6 +633,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: access_rule = await async_client.firewall.access_rules.edit( @@ -604,6 +645,7 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AccessRuleEditResponse, access_rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) -> None: access_rule = await async_client.firewall.access_rules.edit( @@ -619,6 +661,7 @@ async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AccessRuleEditResponse, access_rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.firewall.access_rules.with_raw_response.edit( @@ -634,6 +677,7 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: access_rule = await response.parse() assert_matches_type(AccessRuleEditResponse, access_rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.firewall.access_rules.with_streaming_response.edit( @@ -651,6 +695,7 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -671,6 +716,7 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: access_rule = await async_client.firewall.access_rules.get( @@ -680,6 +726,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AccessRuleGetResponse, access_rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: access_rule = await async_client.firewall.access_rules.get( @@ -689,6 +736,7 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(AccessRuleGetResponse, access_rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.firewall.access_rules.with_raw_response.get( @@ -702,6 +750,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: access_rule = await response.parse() assert_matches_type(AccessRuleGetResponse, access_rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.firewall.access_rules.with_streaming_response.get( @@ -717,6 +766,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/firewall/test_lockdowns.py b/tests/api_resources/firewall/test_lockdowns.py index 034f57b60e2..2295de8f29f 100644 --- a/tests/api_resources/firewall/test_lockdowns.py +++ b/tests/api_resources/firewall/test_lockdowns.py @@ -22,6 +22,7 @@ class TestLockdowns: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: lockdown = client.firewall.lockdowns.create( @@ -30,6 +31,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Lockdown, lockdown, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.firewall.lockdowns.with_raw_response.create( @@ -42,6 +44,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: lockdown = response.parse() assert_matches_type(Lockdown, lockdown, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.firewall.lockdowns.with_streaming_response.create( @@ -56,6 +59,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -64,6 +68,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: lockdown = client.firewall.lockdowns.update( @@ -73,6 +78,7 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Lockdown, lockdown, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.firewall.lockdowns.with_raw_response.update( @@ -86,6 +92,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: lockdown = response.parse() assert_matches_type(Lockdown, lockdown, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.firewall.lockdowns.with_streaming_response.update( @@ -101,6 +108,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -117,6 +125,7 @@ def test_path_params_update(self, client: Cloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: lockdown = client.firewall.lockdowns.list( @@ -124,6 +133,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePaginationArray[Lockdown], lockdown, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: lockdown = client.firewall.lockdowns.list( @@ -142,6 +152,7 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePaginationArray[Lockdown], lockdown, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.firewall.lockdowns.with_raw_response.list( @@ -153,6 +164,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: lockdown = response.parse() assert_matches_type(SyncV4PagePaginationArray[Lockdown], lockdown, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.firewall.lockdowns.with_streaming_response.list( @@ -166,6 +178,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -173,6 +186,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: "", ) + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: lockdown = client.firewall.lockdowns.delete( @@ -182,6 +196,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[LockdownDeleteResponse], lockdown, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.firewall.lockdowns.with_raw_response.delete( @@ -195,6 +210,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: lockdown = response.parse() assert_matches_type(Optional[LockdownDeleteResponse], lockdown, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.firewall.lockdowns.with_streaming_response.delete( @@ -210,6 +226,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -226,6 +243,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: lockdown = client.firewall.lockdowns.get( @@ -234,6 +252,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Lockdown, lockdown, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.firewall.lockdowns.with_raw_response.get( @@ -246,6 +265,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: lockdown = response.parse() assert_matches_type(Lockdown, lockdown, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.firewall.lockdowns.with_streaming_response.get( @@ -260,6 +280,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -278,6 +299,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncLockdowns: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: lockdown = await async_client.firewall.lockdowns.create( @@ -286,6 +308,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Lockdown, lockdown, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.firewall.lockdowns.with_raw_response.create( @@ -298,6 +321,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: lockdown = await response.parse() assert_matches_type(Lockdown, lockdown, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.firewall.lockdowns.with_streaming_response.create( @@ -312,6 +336,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -320,6 +345,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: lockdown = await async_client.firewall.lockdowns.update( @@ -329,6 +355,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Lockdown, lockdown, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.firewall.lockdowns.with_raw_response.update( @@ -342,6 +369,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: lockdown = await response.parse() assert_matches_type(Lockdown, lockdown, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.firewall.lockdowns.with_streaming_response.update( @@ -357,6 +385,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -373,6 +402,7 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: lockdown = await async_client.firewall.lockdowns.list( @@ -380,6 +410,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncV4PagePaginationArray[Lockdown], lockdown, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: lockdown = await async_client.firewall.lockdowns.list( @@ -398,6 +429,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncV4PagePaginationArray[Lockdown], lockdown, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.firewall.lockdowns.with_raw_response.list( @@ -409,6 +441,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: lockdown = await response.parse() assert_matches_type(AsyncV4PagePaginationArray[Lockdown], lockdown, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.firewall.lockdowns.with_streaming_response.list( @@ -422,6 +455,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -429,6 +463,7 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: "", ) + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: lockdown = await async_client.firewall.lockdowns.delete( @@ -438,6 +473,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[LockdownDeleteResponse], lockdown, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.firewall.lockdowns.with_raw_response.delete( @@ -451,6 +487,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: lockdown = await response.parse() assert_matches_type(Optional[LockdownDeleteResponse], lockdown, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.firewall.lockdowns.with_streaming_response.delete( @@ -466,6 +503,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -482,6 +520,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: lockdown = await async_client.firewall.lockdowns.get( @@ -490,6 +529,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Lockdown, lockdown, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.firewall.lockdowns.with_raw_response.get( @@ -502,6 +542,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: lockdown = await response.parse() assert_matches_type(Lockdown, lockdown, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.firewall.lockdowns.with_streaming_response.get( @@ -516,6 +557,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): diff --git a/tests/api_resources/firewall/test_rules.py b/tests/api_resources/firewall/test_rules.py index 7450e32fb17..5ac53c629f5 100644 --- a/tests/api_resources/firewall/test_rules.py +++ b/tests/api_resources/firewall/test_rules.py @@ -22,6 +22,7 @@ class TestRules: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: rule = client.firewall.rules.create( @@ -30,6 +31,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[RuleCreateResponse], rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.firewall.rules.with_raw_response.create( @@ -42,6 +44,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: rule = response.parse() assert_matches_type(Optional[RuleCreateResponse], rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.firewall.rules.with_streaming_response.create( @@ -56,6 +59,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -64,6 +68,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: rule = client.firewall.rules.update( @@ -73,6 +78,7 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(FirewallRule, rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.firewall.rules.with_raw_response.update( @@ -86,6 +92,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: rule = response.parse() assert_matches_type(FirewallRule, rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.firewall.rules.with_streaming_response.update( @@ -101,6 +108,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -117,6 +125,7 @@ def test_path_params_update(self, client: Cloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: rule = client.firewall.rules.list( @@ -124,6 +133,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePaginationArray[FirewallRule], rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: rule = client.firewall.rules.list( @@ -137,6 +147,7 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePaginationArray[FirewallRule], rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.firewall.rules.with_raw_response.list( @@ -148,6 +159,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: rule = response.parse() assert_matches_type(SyncV4PagePaginationArray[FirewallRule], rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.firewall.rules.with_streaming_response.list( @@ -161,6 +173,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -168,6 +181,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: "", ) + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: rule = client.firewall.rules.delete( @@ -176,6 +190,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(FirewallRule, rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_delete_with_all_params(self, client: Cloudflare) -> None: rule = client.firewall.rules.delete( @@ -185,6 +200,7 @@ def test_method_delete_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(FirewallRule, rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.firewall.rules.with_raw_response.delete( @@ -197,6 +213,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: rule = response.parse() assert_matches_type(FirewallRule, rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.firewall.rules.with_streaming_response.delete( @@ -211,6 +228,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -225,6 +243,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: zone_identifier="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: rule = client.firewall.rules.edit( @@ -234,6 +253,7 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[RuleEditResponse], rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.firewall.rules.with_raw_response.edit( @@ -247,6 +267,7 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: rule = response.parse() assert_matches_type(Optional[RuleEditResponse], rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.firewall.rules.with_streaming_response.edit( @@ -262,6 +283,7 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -278,6 +300,7 @@ def test_path_params_edit(self, client: Cloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: rule = client.firewall.rules.get( @@ -286,6 +309,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(FirewallRule, rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: rule = client.firewall.rules.get( @@ -295,6 +319,7 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(FirewallRule, rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.firewall.rules.with_raw_response.get( @@ -307,6 +332,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: rule = response.parse() assert_matches_type(FirewallRule, rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.firewall.rules.with_streaming_response.get( @@ -321,6 +347,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `path_id` but received ''"): @@ -340,6 +367,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncRules: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: rule = await async_client.firewall.rules.create( @@ -348,6 +376,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[RuleCreateResponse], rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.firewall.rules.with_raw_response.create( @@ -360,6 +389,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: rule = await response.parse() assert_matches_type(Optional[RuleCreateResponse], rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.firewall.rules.with_streaming_response.create( @@ -374,6 +404,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -382,6 +413,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: rule = await async_client.firewall.rules.update( @@ -391,6 +423,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(FirewallRule, rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.firewall.rules.with_raw_response.update( @@ -404,6 +437,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: rule = await response.parse() assert_matches_type(FirewallRule, rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.firewall.rules.with_streaming_response.update( @@ -419,6 +453,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -435,6 +470,7 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: rule = await async_client.firewall.rules.list( @@ -442,6 +478,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncV4PagePaginationArray[FirewallRule], rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: rule = await async_client.firewall.rules.list( @@ -455,6 +492,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncV4PagePaginationArray[FirewallRule], rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.firewall.rules.with_raw_response.list( @@ -466,6 +504,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: rule = await response.parse() assert_matches_type(AsyncV4PagePaginationArray[FirewallRule], rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.firewall.rules.with_streaming_response.list( @@ -479,6 +518,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -486,6 +526,7 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: "", ) + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: rule = await async_client.firewall.rules.delete( @@ -494,6 +535,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(FirewallRule, rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_delete_with_all_params(self, async_client: AsyncCloudflare) -> None: rule = await async_client.firewall.rules.delete( @@ -503,6 +545,7 @@ async def test_method_delete_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(FirewallRule, rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.firewall.rules.with_raw_response.delete( @@ -515,6 +558,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: rule = await response.parse() assert_matches_type(FirewallRule, rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.firewall.rules.with_streaming_response.delete( @@ -529,6 +573,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -543,6 +588,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: zone_identifier="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: rule = await async_client.firewall.rules.edit( @@ -552,6 +598,7 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[RuleEditResponse], rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.firewall.rules.with_raw_response.edit( @@ -565,6 +612,7 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: rule = await response.parse() assert_matches_type(Optional[RuleEditResponse], rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.firewall.rules.with_streaming_response.edit( @@ -580,6 +628,7 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -596,6 +645,7 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: rule = await async_client.firewall.rules.get( @@ -604,6 +654,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(FirewallRule, rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: rule = await async_client.firewall.rules.get( @@ -613,6 +664,7 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(FirewallRule, rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.firewall.rules.with_raw_response.get( @@ -625,6 +677,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: rule = await response.parse() assert_matches_type(FirewallRule, rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.firewall.rules.with_streaming_response.get( @@ -639,6 +692,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `path_id` but received ''"): diff --git a/tests/api_resources/firewall/test_ua_rules.py b/tests/api_resources/firewall/test_ua_rules.py index fa070a6a0fc..ab5a374f1c4 100644 --- a/tests/api_resources/firewall/test_ua_rules.py +++ b/tests/api_resources/firewall/test_ua_rules.py @@ -24,6 +24,7 @@ class TestUARules: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: ua_rule = client.firewall.ua_rules.create( @@ -32,6 +33,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(UARuleCreateResponse, ua_rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.firewall.ua_rules.with_raw_response.create( @@ -44,6 +46,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: ua_rule = response.parse() assert_matches_type(UARuleCreateResponse, ua_rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.firewall.ua_rules.with_streaming_response.create( @@ -58,6 +61,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -66,6 +70,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: ua_rule = client.firewall.ua_rules.update( @@ -75,6 +80,7 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(UARuleUpdateResponse, ua_rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.firewall.ua_rules.with_raw_response.update( @@ -88,6 +94,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: ua_rule = response.parse() assert_matches_type(UARuleUpdateResponse, ua_rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.firewall.ua_rules.with_streaming_response.update( @@ -103,6 +110,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -119,6 +127,7 @@ def test_path_params_update(self, client: Cloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: ua_rule = client.firewall.ua_rules.list( @@ -126,6 +135,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePaginationArray[UARuleListResponse], ua_rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: ua_rule = client.firewall.ua_rules.list( @@ -138,6 +148,7 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePaginationArray[UARuleListResponse], ua_rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.firewall.ua_rules.with_raw_response.list( @@ -149,6 +160,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: ua_rule = response.parse() assert_matches_type(SyncV4PagePaginationArray[UARuleListResponse], ua_rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.firewall.ua_rules.with_streaming_response.list( @@ -162,6 +174,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -169,6 +182,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: "", ) + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: ua_rule = client.firewall.ua_rules.delete( @@ -178,6 +192,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(UARuleDeleteResponse, ua_rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.firewall.ua_rules.with_raw_response.delete( @@ -191,6 +206,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: ua_rule = response.parse() assert_matches_type(UARuleDeleteResponse, ua_rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.firewall.ua_rules.with_streaming_response.delete( @@ -206,6 +222,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -222,6 +239,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: ua_rule = client.firewall.ua_rules.get( @@ -230,6 +248,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(UARuleGetResponse, ua_rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.firewall.ua_rules.with_raw_response.get( @@ -242,6 +261,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: ua_rule = response.parse() assert_matches_type(UARuleGetResponse, ua_rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.firewall.ua_rules.with_streaming_response.get( @@ -256,6 +276,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -274,6 +295,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncUARules: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: ua_rule = await async_client.firewall.ua_rules.create( @@ -282,6 +304,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(UARuleCreateResponse, ua_rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.firewall.ua_rules.with_raw_response.create( @@ -294,6 +317,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: ua_rule = await response.parse() assert_matches_type(UARuleCreateResponse, ua_rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.firewall.ua_rules.with_streaming_response.create( @@ -308,6 +332,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -316,6 +341,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: ua_rule = await async_client.firewall.ua_rules.update( @@ -325,6 +351,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(UARuleUpdateResponse, ua_rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.firewall.ua_rules.with_raw_response.update( @@ -338,6 +365,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: ua_rule = await response.parse() assert_matches_type(UARuleUpdateResponse, ua_rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.firewall.ua_rules.with_streaming_response.update( @@ -353,6 +381,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -369,6 +398,7 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: ua_rule = await async_client.firewall.ua_rules.list( @@ -376,6 +406,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncV4PagePaginationArray[UARuleListResponse], ua_rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: ua_rule = await async_client.firewall.ua_rules.list( @@ -388,6 +419,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncV4PagePaginationArray[UARuleListResponse], ua_rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.firewall.ua_rules.with_raw_response.list( @@ -399,6 +431,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: ua_rule = await response.parse() assert_matches_type(AsyncV4PagePaginationArray[UARuleListResponse], ua_rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.firewall.ua_rules.with_streaming_response.list( @@ -412,6 +445,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -419,6 +453,7 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: "", ) + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ua_rule = await async_client.firewall.ua_rules.delete( @@ -428,6 +463,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(UARuleDeleteResponse, ua_rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.firewall.ua_rules.with_raw_response.delete( @@ -441,6 +477,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: ua_rule = await response.parse() assert_matches_type(UARuleDeleteResponse, ua_rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.firewall.ua_rules.with_streaming_response.delete( @@ -456,6 +493,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -472,6 +510,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: ua_rule = await async_client.firewall.ua_rules.get( @@ -480,6 +519,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(UARuleGetResponse, ua_rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.firewall.ua_rules.with_raw_response.get( @@ -492,6 +532,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: ua_rule = await response.parse() assert_matches_type(UARuleGetResponse, ua_rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.firewall.ua_rules.with_streaming_response.get( @@ -506,6 +547,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): diff --git a/tests/api_resources/firewall/waf/packages/test_groups.py b/tests/api_resources/firewall/waf/packages/test_groups.py index b07aff7ed9d..9fc8f82f467 100644 --- a/tests/api_resources/firewall/waf/packages/test_groups.py +++ b/tests/api_resources/firewall/waf/packages/test_groups.py @@ -22,6 +22,7 @@ class TestGroups: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: group = client.firewall.waf.packages.groups.list( @@ -30,6 +31,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePaginationArray[Group], group, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: group = client.firewall.waf.packages.groups.list( @@ -46,6 +48,7 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePaginationArray[Group], group, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.firewall.waf.packages.groups.with_raw_response.list( @@ -58,6 +61,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: group = response.parse() assert_matches_type(SyncV4PagePaginationArray[Group], group, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.firewall.waf.packages.groups.with_streaming_response.list( @@ -72,6 +76,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -86,6 +91,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: zone_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: group = client.firewall.waf.packages.groups.edit( @@ -95,6 +101,7 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(GroupEditResponse, group, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_edit_with_all_params(self, client: Cloudflare) -> None: group = client.firewall.waf.packages.groups.edit( @@ -105,6 +112,7 @@ def test_method_edit_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(GroupEditResponse, group, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.firewall.waf.packages.groups.with_raw_response.edit( @@ -118,6 +126,7 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: group = response.parse() assert_matches_type(GroupEditResponse, group, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.firewall.waf.packages.groups.with_streaming_response.edit( @@ -133,6 +142,7 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -156,6 +166,7 @@ def test_path_params_edit(self, client: Cloudflare) -> None: package_id="a25a9a7e9c00afc1fb2e0245519d725b", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: group = client.firewall.waf.packages.groups.get( @@ -165,6 +176,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(GroupGetResponse, group, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.firewall.waf.packages.groups.with_raw_response.get( @@ -178,6 +190,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: group = response.parse() assert_matches_type(GroupGetResponse, group, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.firewall.waf.packages.groups.with_streaming_response.get( @@ -193,6 +206,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -220,6 +234,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncGroups: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: group = await async_client.firewall.waf.packages.groups.list( @@ -228,6 +243,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncV4PagePaginationArray[Group], group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: group = await async_client.firewall.waf.packages.groups.list( @@ -244,6 +260,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncV4PagePaginationArray[Group], group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.firewall.waf.packages.groups.with_raw_response.list( @@ -256,6 +273,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: group = await response.parse() assert_matches_type(AsyncV4PagePaginationArray[Group], group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.firewall.waf.packages.groups.with_streaming_response.list( @@ -270,6 +288,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -284,6 +303,7 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: zone_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: group = await async_client.firewall.waf.packages.groups.edit( @@ -293,6 +313,7 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(GroupEditResponse, group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) -> None: group = await async_client.firewall.waf.packages.groups.edit( @@ -303,6 +324,7 @@ async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(GroupEditResponse, group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.firewall.waf.packages.groups.with_raw_response.edit( @@ -316,6 +338,7 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: group = await response.parse() assert_matches_type(GroupEditResponse, group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.firewall.waf.packages.groups.with_streaming_response.edit( @@ -331,6 +354,7 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -354,6 +378,7 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: package_id="a25a9a7e9c00afc1fb2e0245519d725b", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: group = await async_client.firewall.waf.packages.groups.get( @@ -363,6 +388,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(GroupGetResponse, group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.firewall.waf.packages.groups.with_raw_response.get( @@ -376,6 +402,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: group = await response.parse() assert_matches_type(GroupGetResponse, group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.firewall.waf.packages.groups.with_streaming_response.get( @@ -391,6 +418,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): diff --git a/tests/api_resources/firewall/waf/packages/test_rules.py b/tests/api_resources/firewall/waf/packages/test_rules.py index 5936030bd50..772dd3a3128 100644 --- a/tests/api_resources/firewall/waf/packages/test_rules.py +++ b/tests/api_resources/firewall/waf/packages/test_rules.py @@ -22,6 +22,7 @@ class TestRules: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: rule = client.firewall.waf.packages.rules.list( @@ -30,6 +31,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePaginationArray[RuleListResponse], rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: rule = client.firewall.waf.packages.rules.list( @@ -47,6 +49,7 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePaginationArray[RuleListResponse], rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.firewall.waf.packages.rules.with_raw_response.list( @@ -59,6 +62,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: rule = response.parse() assert_matches_type(SyncV4PagePaginationArray[RuleListResponse], rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.firewall.waf.packages.rules.with_streaming_response.list( @@ -73,6 +77,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -87,6 +92,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: zone_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: rule = client.firewall.waf.packages.rules.edit( @@ -96,6 +102,7 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(RuleEditResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_edit_with_all_params(self, client: Cloudflare) -> None: rule = client.firewall.waf.packages.rules.edit( @@ -106,6 +113,7 @@ def test_method_edit_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(RuleEditResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.firewall.waf.packages.rules.with_raw_response.edit( @@ -119,6 +127,7 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: rule = response.parse() assert_matches_type(RuleEditResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.firewall.waf.packages.rules.with_streaming_response.edit( @@ -134,6 +143,7 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -157,6 +167,7 @@ def test_path_params_edit(self, client: Cloudflare) -> None: package_id="a25a9a7e9c00afc1fb2e0245519d725b", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: rule = client.firewall.waf.packages.rules.get( @@ -166,6 +177,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(RuleGetResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.firewall.waf.packages.rules.with_raw_response.get( @@ -179,6 +191,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: rule = response.parse() assert_matches_type(RuleGetResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.firewall.waf.packages.rules.with_streaming_response.get( @@ -194,6 +207,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -221,6 +235,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncRules: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: rule = await async_client.firewall.waf.packages.rules.list( @@ -229,6 +244,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncV4PagePaginationArray[RuleListResponse], rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: rule = await async_client.firewall.waf.packages.rules.list( @@ -246,6 +262,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncV4PagePaginationArray[RuleListResponse], rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.firewall.waf.packages.rules.with_raw_response.list( @@ -258,6 +275,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: rule = await response.parse() assert_matches_type(AsyncV4PagePaginationArray[RuleListResponse], rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.firewall.waf.packages.rules.with_streaming_response.list( @@ -272,6 +290,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -286,6 +305,7 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: zone_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: rule = await async_client.firewall.waf.packages.rules.edit( @@ -295,6 +315,7 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(RuleEditResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) -> None: rule = await async_client.firewall.waf.packages.rules.edit( @@ -305,6 +326,7 @@ async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(RuleEditResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.firewall.waf.packages.rules.with_raw_response.edit( @@ -318,6 +340,7 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: rule = await response.parse() assert_matches_type(RuleEditResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.firewall.waf.packages.rules.with_streaming_response.edit( @@ -333,6 +356,7 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -356,6 +380,7 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: package_id="a25a9a7e9c00afc1fb2e0245519d725b", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: rule = await async_client.firewall.waf.packages.rules.get( @@ -365,6 +390,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(RuleGetResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.firewall.waf.packages.rules.with_raw_response.get( @@ -378,6 +404,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: rule = await response.parse() assert_matches_type(RuleGetResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.firewall.waf.packages.rules.with_streaming_response.get( @@ -393,6 +420,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): diff --git a/tests/api_resources/firewall/waf/test_overrides.py b/tests/api_resources/firewall/waf/test_overrides.py index f61245c5547..b27cefd5f67 100644 --- a/tests/api_resources/firewall/waf/test_overrides.py +++ b/tests/api_resources/firewall/waf/test_overrides.py @@ -21,6 +21,7 @@ class TestOverrides: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: override = client.firewall.waf.overrides.create( @@ -29,6 +30,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Override, override, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.firewall.waf.overrides.with_raw_response.create( @@ -41,6 +43,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: override = response.parse() assert_matches_type(Override, override, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.firewall.waf.overrides.with_streaming_response.create( @@ -55,6 +58,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -63,6 +67,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: override = client.firewall.waf.overrides.update( @@ -72,6 +77,7 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Override, override, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.firewall.waf.overrides.with_raw_response.update( @@ -85,6 +91,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: override = response.parse() assert_matches_type(Override, override, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.firewall.waf.overrides.with_streaming_response.update( @@ -100,6 +107,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -116,6 +124,7 @@ def test_path_params_update(self, client: Cloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: override = client.firewall.waf.overrides.list( @@ -123,6 +132,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePaginationArray[Override], override, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: override = client.firewall.waf.overrides.list( @@ -132,6 +142,7 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePaginationArray[Override], override, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.firewall.waf.overrides.with_raw_response.list( @@ -143,6 +154,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: override = response.parse() assert_matches_type(SyncV4PagePaginationArray[Override], override, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.firewall.waf.overrides.with_streaming_response.list( @@ -156,6 +168,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -163,6 +176,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: "", ) + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: override = client.firewall.waf.overrides.delete( @@ -172,6 +186,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[OverrideDeleteResponse], override, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.firewall.waf.overrides.with_raw_response.delete( @@ -185,6 +200,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: override = response.parse() assert_matches_type(Optional[OverrideDeleteResponse], override, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.firewall.waf.overrides.with_streaming_response.delete( @@ -200,6 +216,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -216,6 +233,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: override = client.firewall.waf.overrides.get( @@ -224,6 +242,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Override, override, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.firewall.waf.overrides.with_raw_response.get( @@ -236,6 +255,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: override = response.parse() assert_matches_type(Override, override, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.firewall.waf.overrides.with_streaming_response.get( @@ -250,6 +270,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -268,6 +289,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncOverrides: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: override = await async_client.firewall.waf.overrides.create( @@ -276,6 +298,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Override, override, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.firewall.waf.overrides.with_raw_response.create( @@ -288,6 +311,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: override = await response.parse() assert_matches_type(Override, override, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.firewall.waf.overrides.with_streaming_response.create( @@ -302,6 +326,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -310,6 +335,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: override = await async_client.firewall.waf.overrides.update( @@ -319,6 +345,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Override, override, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.firewall.waf.overrides.with_raw_response.update( @@ -332,6 +359,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: override = await response.parse() assert_matches_type(Override, override, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.firewall.waf.overrides.with_streaming_response.update( @@ -347,6 +375,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -363,6 +392,7 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: override = await async_client.firewall.waf.overrides.list( @@ -370,6 +400,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncV4PagePaginationArray[Override], override, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: override = await async_client.firewall.waf.overrides.list( @@ -379,6 +410,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncV4PagePaginationArray[Override], override, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.firewall.waf.overrides.with_raw_response.list( @@ -390,6 +422,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: override = await response.parse() assert_matches_type(AsyncV4PagePaginationArray[Override], override, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.firewall.waf.overrides.with_streaming_response.list( @@ -403,6 +436,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -410,6 +444,7 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: "", ) + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: override = await async_client.firewall.waf.overrides.delete( @@ -419,6 +454,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[OverrideDeleteResponse], override, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.firewall.waf.overrides.with_raw_response.delete( @@ -432,6 +468,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: override = await response.parse() assert_matches_type(Optional[OverrideDeleteResponse], override, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.firewall.waf.overrides.with_streaming_response.delete( @@ -447,6 +484,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -463,6 +501,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: override = await async_client.firewall.waf.overrides.get( @@ -471,6 +510,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Override, override, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.firewall.waf.overrides.with_raw_response.get( @@ -483,6 +523,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: override = await response.parse() assert_matches_type(Override, override, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.firewall.waf.overrides.with_streaming_response.get( @@ -497,6 +538,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): diff --git a/tests/api_resources/firewall/waf/test_packages.py b/tests/api_resources/firewall/waf/test_packages.py index 359d94ee651..405a42b1221 100644 --- a/tests/api_resources/firewall/waf/test_packages.py +++ b/tests/api_resources/firewall/waf/test_packages.py @@ -18,6 +18,7 @@ class TestPackages: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: package = client.firewall.waf.packages.list( @@ -25,6 +26,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePaginationArray[PackageListResponse], package, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: package = client.firewall.waf.packages.list( @@ -38,6 +40,7 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePaginationArray[PackageListResponse], package, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.firewall.waf.packages.with_raw_response.list( @@ -49,6 +52,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: package = response.parse() assert_matches_type(SyncV4PagePaginationArray[PackageListResponse], package, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.firewall.waf.packages.with_streaming_response.list( @@ -62,6 +66,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -69,6 +74,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: "", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: package = client.firewall.waf.packages.get( @@ -77,6 +83,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(PackageGetResponse, package, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.firewall.waf.packages.with_raw_response.get( @@ -89,6 +96,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: package = response.parse() assert_matches_type(PackageGetResponse, package, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.firewall.waf.packages.with_streaming_response.get( @@ -103,6 +111,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -121,6 +130,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncPackages: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: package = await async_client.firewall.waf.packages.list( @@ -128,6 +138,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncV4PagePaginationArray[PackageListResponse], package, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: package = await async_client.firewall.waf.packages.list( @@ -141,6 +152,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncV4PagePaginationArray[PackageListResponse], package, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.firewall.waf.packages.with_raw_response.list( @@ -152,6 +164,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: package = await response.parse() assert_matches_type(AsyncV4PagePaginationArray[PackageListResponse], package, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.firewall.waf.packages.with_streaming_response.list( @@ -165,6 +178,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -172,6 +186,7 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: "", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: package = await async_client.firewall.waf.packages.get( @@ -180,6 +195,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(PackageGetResponse, package, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.firewall.waf.packages.with_raw_response.get( @@ -192,6 +208,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: package = await response.parse() assert_matches_type(PackageGetResponse, package, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.firewall.waf.packages.with_streaming_response.get( @@ -206,6 +223,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): diff --git a/tests/api_resources/healthchecks/test_previews.py b/tests/api_resources/healthchecks/test_previews.py index dcc7f298665..a5eba5e0e78 100644 --- a/tests/api_resources/healthchecks/test_previews.py +++ b/tests/api_resources/healthchecks/test_previews.py @@ -20,6 +20,7 @@ class TestPreviews: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: preview = client.healthchecks.previews.create( @@ -29,6 +30,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Healthcheck, preview, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: preview = client.healthchecks.previews.create( @@ -64,6 +66,7 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Healthcheck, preview, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.healthchecks.previews.with_raw_response.create( @@ -77,6 +80,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: preview = response.parse() assert_matches_type(Healthcheck, preview, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.healthchecks.previews.with_streaming_response.create( @@ -92,6 +96,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -101,6 +106,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: name="server-1", ) + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: preview = client.healthchecks.previews.delete( @@ -110,6 +116,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(PreviewDeleteResponse, preview, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.healthchecks.previews.with_raw_response.delete( @@ -123,6 +130,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: preview = response.parse() assert_matches_type(PreviewDeleteResponse, preview, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.healthchecks.previews.with_streaming_response.delete( @@ -138,6 +146,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -154,6 +163,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: preview = client.healthchecks.previews.get( @@ -162,6 +172,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Healthcheck, preview, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.healthchecks.previews.with_raw_response.get( @@ -174,6 +185,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: preview = response.parse() assert_matches_type(Healthcheck, preview, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.healthchecks.previews.with_streaming_response.get( @@ -188,6 +200,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -206,6 +219,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncPreviews: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: preview = await async_client.healthchecks.previews.create( @@ -215,6 +229,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Healthcheck, preview, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: preview = await async_client.healthchecks.previews.create( @@ -250,6 +265,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Healthcheck, preview, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.healthchecks.previews.with_raw_response.create( @@ -263,6 +279,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: preview = await response.parse() assert_matches_type(Healthcheck, preview, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.healthchecks.previews.with_streaming_response.create( @@ -278,6 +295,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -287,6 +305,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: name="server-1", ) + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: preview = await async_client.healthchecks.previews.delete( @@ -296,6 +315,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(PreviewDeleteResponse, preview, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.healthchecks.previews.with_raw_response.delete( @@ -309,6 +329,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: preview = await response.parse() assert_matches_type(PreviewDeleteResponse, preview, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.healthchecks.previews.with_streaming_response.delete( @@ -324,6 +345,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -340,6 +362,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: preview = await async_client.healthchecks.previews.get( @@ -348,6 +371,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Healthcheck, preview, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.healthchecks.previews.with_raw_response.get( @@ -360,6 +384,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: preview = await response.parse() assert_matches_type(Healthcheck, preview, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.healthchecks.previews.with_streaming_response.get( @@ -374,6 +399,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): diff --git a/tests/api_resources/hostnames/settings/test_tls.py b/tests/api_resources/hostnames/settings/test_tls.py index b320eb82130..889e06e7b7e 100644 --- a/tests/api_resources/hostnames/settings/test_tls.py +++ b/tests/api_resources/hostnames/settings/test_tls.py @@ -21,6 +21,7 @@ class TestTLS: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: tls = client.hostnames.settings.tls.update( @@ -31,6 +32,7 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Setting, tls, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.hostnames.settings.tls.with_raw_response.update( @@ -45,6 +47,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: tls = response.parse() assert_matches_type(Setting, tls, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.hostnames.settings.tls.with_streaming_response.update( @@ -61,6 +64,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -79,6 +83,7 @@ def test_path_params_update(self, client: Cloudflare) -> None: value=["ECDHE-RSA-AES128-GCM-SHA256", "AES128-GCM-SHA256"], ) + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: tls = client.hostnames.settings.tls.delete( @@ -88,6 +93,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(TLSDeleteResponse, tls, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.hostnames.settings.tls.with_raw_response.delete( @@ -101,6 +107,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: tls = response.parse() assert_matches_type(TLSDeleteResponse, tls, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.hostnames.settings.tls.with_streaming_response.delete( @@ -116,6 +123,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -132,6 +140,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: setting_id="ciphers", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: tls = client.hostnames.settings.tls.get( @@ -140,6 +149,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[TLSGetResponse], tls, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.hostnames.settings.tls.with_raw_response.get( @@ -152,6 +162,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: tls = response.parse() assert_matches_type(Optional[TLSGetResponse], tls, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.hostnames.settings.tls.with_streaming_response.get( @@ -166,6 +177,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -178,6 +190,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncTLS: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: tls = await async_client.hostnames.settings.tls.update( @@ -188,6 +201,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Setting, tls, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.hostnames.settings.tls.with_raw_response.update( @@ -202,6 +216,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: tls = await response.parse() assert_matches_type(Setting, tls, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.hostnames.settings.tls.with_streaming_response.update( @@ -218,6 +233,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -236,6 +252,7 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: value=["ECDHE-RSA-AES128-GCM-SHA256", "AES128-GCM-SHA256"], ) + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: tls = await async_client.hostnames.settings.tls.delete( @@ -245,6 +262,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(TLSDeleteResponse, tls, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.hostnames.settings.tls.with_raw_response.delete( @@ -258,6 +276,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: tls = await response.parse() assert_matches_type(TLSDeleteResponse, tls, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.hostnames.settings.tls.with_streaming_response.delete( @@ -273,6 +292,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -289,6 +309,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: setting_id="ciphers", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: tls = await async_client.hostnames.settings.tls.get( @@ -297,6 +318,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[TLSGetResponse], tls, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.hostnames.settings.tls.with_raw_response.get( @@ -309,6 +331,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: tls = await response.parse() assert_matches_type(Optional[TLSGetResponse], tls, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.hostnames.settings.tls.with_streaming_response.get( @@ -323,6 +346,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): diff --git a/tests/api_resources/hyperdrive/test_configs.py b/tests/api_resources/hyperdrive/test_configs.py index 467f6021b2a..1170bd21c14 100644 --- a/tests/api_resources/hyperdrive/test_configs.py +++ b/tests/api_resources/hyperdrive/test_configs.py @@ -21,6 +21,7 @@ class TestConfigs: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: config = client.hyperdrive.configs.create( @@ -36,6 +37,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Hyperdrive], config, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: config = client.hyperdrive.configs.create( @@ -56,6 +58,7 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Hyperdrive], config, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.hyperdrive.configs.with_raw_response.create( @@ -75,6 +78,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: config = response.parse() assert_matches_type(Optional[Hyperdrive], config, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.hyperdrive.configs.with_streaming_response.create( @@ -96,6 +100,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -111,6 +116,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: }, ) + @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: config = client.hyperdrive.configs.update( @@ -127,6 +133,7 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Hyperdrive], config, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: config = client.hyperdrive.configs.update( @@ -148,6 +155,7 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Hyperdrive], config, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.hyperdrive.configs.with_raw_response.update( @@ -168,6 +176,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: config = response.parse() assert_matches_type(Optional[Hyperdrive], config, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.hyperdrive.configs.with_streaming_response.update( @@ -190,6 +199,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -220,6 +230,7 @@ def test_path_params_update(self, client: Cloudflare) -> None: }, ) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: config = client.hyperdrive.configs.list( @@ -227,6 +238,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[Hyperdrive], config, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.hyperdrive.configs.with_raw_response.list( @@ -238,6 +250,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: config = response.parse() assert_matches_type(SyncSinglePage[Hyperdrive], config, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.hyperdrive.configs.with_streaming_response.list( @@ -251,6 +264,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -258,6 +272,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: config = client.hyperdrive.configs.delete( @@ -266,6 +281,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(ConfigDeleteResponse, config, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.hyperdrive.configs.with_raw_response.delete( @@ -278,6 +294,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: config = response.parse() assert_matches_type(ConfigDeleteResponse, config, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.hyperdrive.configs.with_streaming_response.delete( @@ -292,6 +309,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -306,6 +324,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: config = client.hyperdrive.configs.edit( @@ -314,6 +333,7 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Hyperdrive], config, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_edit_with_all_params(self, client: Cloudflare) -> None: config = client.hyperdrive.configs.edit( @@ -335,6 +355,7 @@ def test_method_edit_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Hyperdrive], config, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.hyperdrive.configs.with_raw_response.edit( @@ -347,6 +368,7 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: config = response.parse() assert_matches_type(Optional[Hyperdrive], config, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.hyperdrive.configs.with_streaming_response.edit( @@ -361,6 +383,7 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -375,6 +398,7 @@ def test_path_params_edit(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: config = client.hyperdrive.configs.get( @@ -383,6 +407,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Hyperdrive], config, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.hyperdrive.configs.with_raw_response.get( @@ -395,6 +420,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: config = response.parse() assert_matches_type(Optional[Hyperdrive], config, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.hyperdrive.configs.with_streaming_response.get( @@ -409,6 +435,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -427,6 +454,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncConfigs: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: config = await async_client.hyperdrive.configs.create( @@ -442,6 +470,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Hyperdrive], config, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: config = await async_client.hyperdrive.configs.create( @@ -462,6 +491,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[Hyperdrive], config, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.hyperdrive.configs.with_raw_response.create( @@ -481,6 +511,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: config = await response.parse() assert_matches_type(Optional[Hyperdrive], config, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.hyperdrive.configs.with_streaming_response.create( @@ -502,6 +533,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -517,6 +549,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: }, ) + @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: config = await async_client.hyperdrive.configs.update( @@ -533,6 +566,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Hyperdrive], config, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: config = await async_client.hyperdrive.configs.update( @@ -554,6 +588,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[Hyperdrive], config, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.hyperdrive.configs.with_raw_response.update( @@ -574,6 +609,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: config = await response.parse() assert_matches_type(Optional[Hyperdrive], config, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.hyperdrive.configs.with_streaming_response.update( @@ -596,6 +632,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -626,6 +663,7 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: }, ) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: config = await async_client.hyperdrive.configs.list( @@ -633,6 +671,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[Hyperdrive], config, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.hyperdrive.configs.with_raw_response.list( @@ -644,6 +683,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: config = await response.parse() assert_matches_type(AsyncSinglePage[Hyperdrive], config, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.hyperdrive.configs.with_streaming_response.list( @@ -657,6 +697,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -664,6 +705,7 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: config = await async_client.hyperdrive.configs.delete( @@ -672,6 +714,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(ConfigDeleteResponse, config, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.hyperdrive.configs.with_raw_response.delete( @@ -684,6 +727,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: config = await response.parse() assert_matches_type(ConfigDeleteResponse, config, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.hyperdrive.configs.with_streaming_response.delete( @@ -698,6 +742,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -712,6 +757,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: config = await async_client.hyperdrive.configs.edit( @@ -720,6 +766,7 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Hyperdrive], config, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) -> None: config = await async_client.hyperdrive.configs.edit( @@ -741,6 +788,7 @@ async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(Optional[Hyperdrive], config, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.hyperdrive.configs.with_raw_response.edit( @@ -753,6 +801,7 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: config = await response.parse() assert_matches_type(Optional[Hyperdrive], config, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.hyperdrive.configs.with_streaming_response.edit( @@ -767,6 +816,7 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -781,6 +831,7 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: config = await async_client.hyperdrive.configs.get( @@ -789,6 +840,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Hyperdrive], config, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.hyperdrive.configs.with_raw_response.get( @@ -801,6 +853,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: config = await response.parse() assert_matches_type(Optional[Hyperdrive], config, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.hyperdrive.configs.with_streaming_response.get( @@ -815,6 +868,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/images/test_v1.py b/tests/api_resources/images/test_v1.py index 0c862f870b1..dd02d217f8d 100644 --- a/tests/api_resources/images/test_v1.py +++ b/tests/api_resources/images/test_v1.py @@ -22,6 +22,7 @@ class TestV1: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: v1 = client.images.v1.create( @@ -29,6 +30,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Image, v1, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: v1 = client.images.v1.create( @@ -40,6 +42,7 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Image, v1, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.images.v1.with_raw_response.create( @@ -51,6 +54,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: v1 = response.parse() assert_matches_type(Image, v1, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.images.v1.with_streaming_response.create( @@ -64,6 +68,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -71,6 +76,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: v1 = client.images.v1.list( @@ -78,6 +84,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePagination[V1ListResponse], v1, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: v1 = client.images.v1.list( @@ -87,6 +94,7 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePagination[V1ListResponse], v1, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.images.v1.with_raw_response.list( @@ -98,6 +106,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: v1 = response.parse() assert_matches_type(SyncV4PagePagination[V1ListResponse], v1, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.images.v1.with_streaming_response.list( @@ -111,6 +120,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -118,6 +128,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: v1 = client.images.v1.delete( @@ -127,6 +138,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(V1DeleteResponse, v1, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.images.v1.with_raw_response.delete( @@ -140,6 +152,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: v1 = response.parse() assert_matches_type(V1DeleteResponse, v1, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.images.v1.with_streaming_response.delete( @@ -155,6 +168,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -171,6 +185,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: v1 = client.images.v1.edit( @@ -179,6 +194,7 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Image, v1, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_edit_with_all_params(self, client: Cloudflare) -> None: v1 = client.images.v1.edit( @@ -189,6 +205,7 @@ def test_method_edit_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Image, v1, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.images.v1.with_raw_response.edit( @@ -201,6 +218,7 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: v1 = response.parse() assert_matches_type(Image, v1, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.images.v1.with_streaming_response.edit( @@ -215,6 +233,7 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -229,6 +248,7 @@ def test_path_params_edit(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: v1 = client.images.v1.get( @@ -237,6 +257,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Image, v1, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.images.v1.with_raw_response.get( @@ -249,6 +270,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: v1 = response.parse() assert_matches_type(Image, v1, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.images.v1.with_streaming_response.get( @@ -263,6 +285,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -281,6 +304,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncV1: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: v1 = await async_client.images.v1.create( @@ -288,6 +312,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Image, v1, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: v1 = await async_client.images.v1.create( @@ -299,6 +324,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Image, v1, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.images.v1.with_raw_response.create( @@ -310,6 +336,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: v1 = await response.parse() assert_matches_type(Image, v1, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.images.v1.with_streaming_response.create( @@ -323,6 +350,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -330,6 +358,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: v1 = await async_client.images.v1.list( @@ -337,6 +366,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncV4PagePagination[V1ListResponse], v1, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: v1 = await async_client.images.v1.list( @@ -346,6 +376,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncV4PagePagination[V1ListResponse], v1, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.images.v1.with_raw_response.list( @@ -357,6 +388,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: v1 = await response.parse() assert_matches_type(AsyncV4PagePagination[V1ListResponse], v1, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.images.v1.with_streaming_response.list( @@ -370,6 +402,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -377,6 +410,7 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: v1 = await async_client.images.v1.delete( @@ -386,6 +420,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(V1DeleteResponse, v1, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.images.v1.with_raw_response.delete( @@ -399,6 +434,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: v1 = await response.parse() assert_matches_type(V1DeleteResponse, v1, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.images.v1.with_streaming_response.delete( @@ -414,6 +450,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -430,6 +467,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: v1 = await async_client.images.v1.edit( @@ -438,6 +476,7 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Image, v1, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) -> None: v1 = await async_client.images.v1.edit( @@ -448,6 +487,7 @@ async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(Image, v1, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.images.v1.with_raw_response.edit( @@ -460,6 +500,7 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: v1 = await response.parse() assert_matches_type(Image, v1, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.images.v1.with_streaming_response.edit( @@ -474,6 +515,7 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -488,6 +530,7 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: v1 = await async_client.images.v1.get( @@ -496,6 +539,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Image, v1, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.images.v1.with_raw_response.get( @@ -508,6 +552,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: v1 = await response.parse() assert_matches_type(Image, v1, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.images.v1.with_streaming_response.get( @@ -522,6 +567,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/images/test_v2.py b/tests/api_resources/images/test_v2.py index 52527ae66ae..b40c7c1b94a 100644 --- a/tests/api_resources/images/test_v2.py +++ b/tests/api_resources/images/test_v2.py @@ -17,6 +17,7 @@ class TestV2: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: v2 = client.images.v2.list( @@ -24,6 +25,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(V2ListResponse, v2, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: v2 = client.images.v2.list( @@ -34,6 +36,7 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(V2ListResponse, v2, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.images.v2.with_raw_response.list( @@ -45,6 +48,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: v2 = response.parse() assert_matches_type(V2ListResponse, v2, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.images.v2.with_streaming_response.list( @@ -58,6 +62,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -69,6 +74,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: class TestAsyncV2: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: v2 = await async_client.images.v2.list( @@ -76,6 +82,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(V2ListResponse, v2, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: v2 = await async_client.images.v2.list( @@ -86,6 +93,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(V2ListResponse, v2, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.images.v2.with_raw_response.list( @@ -97,6 +105,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: v2 = await response.parse() assert_matches_type(V2ListResponse, v2, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.images.v2.with_streaming_response.list( @@ -110,6 +119,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/images/v1/test_blobs.py b/tests/api_resources/images/v1/test_blobs.py index e9573fc5000..51341b70d65 100644 --- a/tests/api_resources/images/v1/test_blobs.py +++ b/tests/api_resources/images/v1/test_blobs.py @@ -23,6 +23,7 @@ class TestBlobs: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize @pytest.mark.respx(base_url=base_url) def test_method_get(self, client: Cloudflare, respx_mock: MockRouter) -> None: @@ -38,6 +39,7 @@ def test_method_get(self, client: Cloudflare, respx_mock: MockRouter) -> None: assert cast(Any, blob.is_closed) is True assert isinstance(blob, BinaryAPIResponse) + @pytest.mark.skip() @parametrize @pytest.mark.respx(base_url=base_url) def test_raw_response_get(self, client: Cloudflare, respx_mock: MockRouter) -> None: @@ -55,6 +57,7 @@ def test_raw_response_get(self, client: Cloudflare, respx_mock: MockRouter) -> N assert blob.json() == {"foo": "bar"} assert isinstance(blob, BinaryAPIResponse) + @pytest.mark.skip() @parametrize @pytest.mark.respx(base_url=base_url) def test_streaming_response_get(self, client: Cloudflare, respx_mock: MockRouter) -> None: @@ -74,6 +77,7 @@ def test_streaming_response_get(self, client: Cloudflare, respx_mock: MockRouter assert cast(Any, blob.is_closed) is True + @pytest.mark.skip() @parametrize @pytest.mark.respx(base_url=base_url) def test_path_params_get(self, client: Cloudflare) -> None: @@ -93,6 +97,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncBlobs: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize @pytest.mark.respx(base_url=base_url) async def test_method_get(self, async_client: AsyncCloudflare, respx_mock: MockRouter) -> None: @@ -108,6 +113,7 @@ async def test_method_get(self, async_client: AsyncCloudflare, respx_mock: MockR assert cast(Any, blob.is_closed) is True assert isinstance(blob, AsyncBinaryAPIResponse) + @pytest.mark.skip() @parametrize @pytest.mark.respx(base_url=base_url) async def test_raw_response_get(self, async_client: AsyncCloudflare, respx_mock: MockRouter) -> None: @@ -125,6 +131,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare, respx_mock: assert await blob.json() == {"foo": "bar"} assert isinstance(blob, AsyncBinaryAPIResponse) + @pytest.mark.skip() @parametrize @pytest.mark.respx(base_url=base_url) async def test_streaming_response_get(self, async_client: AsyncCloudflare, respx_mock: MockRouter) -> None: @@ -144,6 +151,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare, respx assert cast(Any, blob.is_closed) is True + @pytest.mark.skip() @parametrize @pytest.mark.respx(base_url=base_url) async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: diff --git a/tests/api_resources/images/v1/test_keys.py b/tests/api_resources/images/v1/test_keys.py index 570044e7b4f..42691cb49b0 100644 --- a/tests/api_resources/images/v1/test_keys.py +++ b/tests/api_resources/images/v1/test_keys.py @@ -17,6 +17,7 @@ class TestKeys: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: key = client.images.v1.keys.update( @@ -25,6 +26,7 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(KeyUpdateResponse, key, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.images.v1.keys.with_raw_response.update( @@ -37,6 +39,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: key = response.parse() assert_matches_type(KeyUpdateResponse, key, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.images.v1.keys.with_streaming_response.update( @@ -51,6 +54,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -65,6 +69,7 @@ def test_path_params_update(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: key = client.images.v1.keys.list( @@ -72,6 +77,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(KeyListResponse, key, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.images.v1.keys.with_raw_response.list( @@ -83,6 +89,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: key = response.parse() assert_matches_type(KeyListResponse, key, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.images.v1.keys.with_streaming_response.list( @@ -96,6 +103,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -103,6 +111,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: key = client.images.v1.keys.delete( @@ -111,6 +120,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(KeyDeleteResponse, key, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.images.v1.keys.with_raw_response.delete( @@ -123,6 +133,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: key = response.parse() assert_matches_type(KeyDeleteResponse, key, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.images.v1.keys.with_streaming_response.delete( @@ -137,6 +148,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -155,6 +167,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: class TestAsyncKeys: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: key = await async_client.images.v1.keys.update( @@ -163,6 +176,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(KeyUpdateResponse, key, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.images.v1.keys.with_raw_response.update( @@ -175,6 +189,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: key = await response.parse() assert_matches_type(KeyUpdateResponse, key, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.images.v1.keys.with_streaming_response.update( @@ -189,6 +204,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -203,6 +219,7 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: key = await async_client.images.v1.keys.list( @@ -210,6 +227,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(KeyListResponse, key, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.images.v1.keys.with_raw_response.list( @@ -221,6 +239,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: key = await response.parse() assert_matches_type(KeyListResponse, key, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.images.v1.keys.with_streaming_response.list( @@ -234,6 +253,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -241,6 +261,7 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: key = await async_client.images.v1.keys.delete( @@ -249,6 +270,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(KeyDeleteResponse, key, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.images.v1.keys.with_raw_response.delete( @@ -261,6 +283,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: key = await response.parse() assert_matches_type(KeyDeleteResponse, key, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.images.v1.keys.with_streaming_response.delete( @@ -275,6 +298,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/images/v1/test_stats.py b/tests/api_resources/images/v1/test_stats.py index ba44e332bc2..d2ea3b07cbb 100644 --- a/tests/api_resources/images/v1/test_stats.py +++ b/tests/api_resources/images/v1/test_stats.py @@ -17,6 +17,7 @@ class TestStats: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: stat = client.images.v1.stats.get( @@ -24,6 +25,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Stat, stat, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.images.v1.stats.with_raw_response.get( @@ -35,6 +37,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: stat = response.parse() assert_matches_type(Stat, stat, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.images.v1.stats.with_streaming_response.get( @@ -48,6 +51,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -59,6 +63,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncStats: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: stat = await async_client.images.v1.stats.get( @@ -66,6 +71,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Stat, stat, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.images.v1.stats.with_raw_response.get( @@ -77,6 +83,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: stat = await response.parse() assert_matches_type(Stat, stat, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.images.v1.stats.with_streaming_response.get( @@ -90,6 +97,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/images/v1/test_variants.py b/tests/api_resources/images/v1/test_variants.py index 6869a0e4188..7cf913e80f6 100644 --- a/tests/api_resources/images/v1/test_variants.py +++ b/tests/api_resources/images/v1/test_variants.py @@ -23,6 +23,7 @@ class TestVariants: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: variant = client.images.v1.variants.create( @@ -37,6 +38,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(VariantCreateResponse, variant, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: variant = client.images.v1.variants.create( @@ -52,6 +54,7 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(VariantCreateResponse, variant, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.images.v1.variants.with_raw_response.create( @@ -70,6 +73,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: variant = response.parse() assert_matches_type(VariantCreateResponse, variant, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.images.v1.variants.with_streaming_response.create( @@ -90,6 +94,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -104,6 +109,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: }, ) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: variant = client.images.v1.variants.list( @@ -111,6 +117,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(Variant, variant, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.images.v1.variants.with_raw_response.list( @@ -122,6 +129,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: variant = response.parse() assert_matches_type(Variant, variant, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.images.v1.variants.with_streaming_response.list( @@ -135,6 +143,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -142,6 +151,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: variant = client.images.v1.variants.delete( @@ -151,6 +161,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(VariantDeleteResponse, variant, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.images.v1.variants.with_raw_response.delete( @@ -164,6 +175,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: variant = response.parse() assert_matches_type(VariantDeleteResponse, variant, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.images.v1.variants.with_streaming_response.delete( @@ -179,6 +191,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -195,6 +208,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: variant = client.images.v1.variants.edit( @@ -209,6 +223,7 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(VariantEditResponse, variant, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_edit_with_all_params(self, client: Cloudflare) -> None: variant = client.images.v1.variants.edit( @@ -224,6 +239,7 @@ def test_method_edit_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(VariantEditResponse, variant, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.images.v1.variants.with_raw_response.edit( @@ -242,6 +258,7 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: variant = response.parse() assert_matches_type(VariantEditResponse, variant, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.images.v1.variants.with_streaming_response.edit( @@ -262,6 +279,7 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -288,6 +306,7 @@ def test_path_params_edit(self, client: Cloudflare) -> None: }, ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: variant = client.images.v1.variants.get( @@ -296,6 +315,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(VariantGetResponse, variant, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.images.v1.variants.with_raw_response.get( @@ -308,6 +328,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: variant = response.parse() assert_matches_type(VariantGetResponse, variant, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.images.v1.variants.with_streaming_response.get( @@ -322,6 +343,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -340,6 +362,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncVariants: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: variant = await async_client.images.v1.variants.create( @@ -354,6 +377,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(VariantCreateResponse, variant, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: variant = await async_client.images.v1.variants.create( @@ -369,6 +393,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(VariantCreateResponse, variant, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.images.v1.variants.with_raw_response.create( @@ -387,6 +412,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: variant = await response.parse() assert_matches_type(VariantCreateResponse, variant, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.images.v1.variants.with_streaming_response.create( @@ -407,6 +433,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -421,6 +448,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: }, ) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: variant = await async_client.images.v1.variants.list( @@ -428,6 +456,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Variant, variant, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.images.v1.variants.with_raw_response.list( @@ -439,6 +468,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: variant = await response.parse() assert_matches_type(Variant, variant, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.images.v1.variants.with_streaming_response.list( @@ -452,6 +482,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -459,6 +490,7 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: variant = await async_client.images.v1.variants.delete( @@ -468,6 +500,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(VariantDeleteResponse, variant, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.images.v1.variants.with_raw_response.delete( @@ -481,6 +514,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: variant = await response.parse() assert_matches_type(VariantDeleteResponse, variant, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.images.v1.variants.with_streaming_response.delete( @@ -496,6 +530,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -512,6 +547,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: variant = await async_client.images.v1.variants.edit( @@ -526,6 +562,7 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(VariantEditResponse, variant, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) -> None: variant = await async_client.images.v1.variants.edit( @@ -541,6 +578,7 @@ async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(VariantEditResponse, variant, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.images.v1.variants.with_raw_response.edit( @@ -559,6 +597,7 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: variant = await response.parse() assert_matches_type(VariantEditResponse, variant, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.images.v1.variants.with_streaming_response.edit( @@ -579,6 +618,7 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -605,6 +645,7 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: }, ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: variant = await async_client.images.v1.variants.get( @@ -613,6 +654,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(VariantGetResponse, variant, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.images.v1.variants.with_raw_response.get( @@ -625,6 +667,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: variant = await response.parse() assert_matches_type(VariantGetResponse, variant, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.images.v1.variants.with_streaming_response.get( @@ -639,6 +682,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/images/v2/test_direct_uploads.py b/tests/api_resources/images/v2/test_direct_uploads.py index b525d932285..a9ed5cc45d6 100644 --- a/tests/api_resources/images/v2/test_direct_uploads.py +++ b/tests/api_resources/images/v2/test_direct_uploads.py @@ -18,6 +18,7 @@ class TestDirectUploads: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: direct_upload = client.images.v2.direct_uploads.create( @@ -25,6 +26,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(DirectUploadCreateResponse, direct_upload, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: direct_upload = client.images.v2.direct_uploads.create( @@ -36,6 +38,7 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(DirectUploadCreateResponse, direct_upload, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.images.v2.direct_uploads.with_raw_response.create( @@ -47,6 +50,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: direct_upload = response.parse() assert_matches_type(DirectUploadCreateResponse, direct_upload, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.images.v2.direct_uploads.with_streaming_response.create( @@ -60,6 +64,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -71,6 +76,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: class TestAsyncDirectUploads: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: direct_upload = await async_client.images.v2.direct_uploads.create( @@ -78,6 +84,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(DirectUploadCreateResponse, direct_upload, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: direct_upload = await async_client.images.v2.direct_uploads.create( @@ -89,6 +96,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(DirectUploadCreateResponse, direct_upload, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.images.v2.direct_uploads.with_raw_response.create( @@ -100,6 +108,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: direct_upload = await response.parse() assert_matches_type(DirectUploadCreateResponse, direct_upload, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.images.v2.direct_uploads.with_streaming_response.create( @@ -113,6 +122,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/intel/asn/test_subnets.py b/tests/api_resources/intel/asn/test_subnets.py index b231532262f..3014e7984ef 100644 --- a/tests/api_resources/intel/asn/test_subnets.py +++ b/tests/api_resources/intel/asn/test_subnets.py @@ -17,6 +17,7 @@ class TestSubnets: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: subnet = client.intel.asn.subnets.get( @@ -25,6 +26,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(SubnetGetResponse, subnet, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.intel.asn.subnets.with_raw_response.get( @@ -37,6 +39,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: subnet = response.parse() assert_matches_type(SubnetGetResponse, subnet, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.intel.asn.subnets.with_streaming_response.get( @@ -51,6 +54,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -63,6 +67,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncSubnets: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: subnet = await async_client.intel.asn.subnets.get( @@ -71,6 +76,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(SubnetGetResponse, subnet, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.intel.asn.subnets.with_raw_response.get( @@ -83,6 +89,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: subnet = await response.parse() assert_matches_type(SubnetGetResponse, subnet, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.intel.asn.subnets.with_streaming_response.get( @@ -97,6 +104,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/intel/attack_surface_report/test_issue_types.py b/tests/api_resources/intel/attack_surface_report/test_issue_types.py index 904b3db245f..1274cb4c67d 100644 --- a/tests/api_resources/intel/attack_surface_report/test_issue_types.py +++ b/tests/api_resources/intel/attack_surface_report/test_issue_types.py @@ -17,6 +17,7 @@ class TestIssueTypes: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: issue_type = client.intel.attack_surface_report.issue_types.get( @@ -24,6 +25,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(IssueTypeGetResponse, issue_type, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.intel.attack_surface_report.issue_types.with_raw_response.get( @@ -35,6 +37,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: issue_type = response.parse() assert_matches_type(IssueTypeGetResponse, issue_type, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.intel.attack_surface_report.issue_types.with_streaming_response.get( @@ -48,6 +51,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -59,6 +63,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncIssueTypes: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: issue_type = await async_client.intel.attack_surface_report.issue_types.get( @@ -66,6 +71,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(IssueTypeGetResponse, issue_type, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.intel.attack_surface_report.issue_types.with_raw_response.get( @@ -77,6 +83,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: issue_type = await response.parse() assert_matches_type(IssueTypeGetResponse, issue_type, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.intel.attack_surface_report.issue_types.with_streaming_response.get( @@ -90,6 +97,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/intel/attack_surface_report/test_issues.py b/tests/api_resources/intel/attack_surface_report/test_issues.py index 7f46dae5dca..31bd421e533 100644 --- a/tests/api_resources/intel/attack_surface_report/test_issues.py +++ b/tests/api_resources/intel/attack_surface_report/test_issues.py @@ -24,6 +24,7 @@ class TestIssues: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: issue = client.intel.attack_surface_report.issues.list( @@ -31,6 +32,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePagination[IssueListResponse], issue, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: issue = client.intel.attack_surface_report.issues.list( @@ -51,6 +53,7 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePagination[IssueListResponse], issue, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.intel.attack_surface_report.issues.with_raw_response.list( @@ -62,6 +65,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: issue = response.parse() assert_matches_type(SyncV4PagePagination[IssueListResponse], issue, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.intel.attack_surface_report.issues.with_streaming_response.list( @@ -75,6 +79,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -82,6 +87,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize def test_method_class(self, client: Cloudflare) -> None: issue = client.intel.attack_surface_report.issues.class_( @@ -89,6 +95,7 @@ def test_method_class(self, client: Cloudflare) -> None: ) assert_matches_type(IssueClassResponse, issue, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_class_with_all_params(self, client: Cloudflare) -> None: issue = client.intel.attack_surface_report.issues.class_( @@ -107,6 +114,7 @@ def test_method_class_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(IssueClassResponse, issue, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_class(self, client: Cloudflare) -> None: response = client.intel.attack_surface_report.issues.with_raw_response.class_( @@ -118,6 +126,7 @@ def test_raw_response_class(self, client: Cloudflare) -> None: issue = response.parse() assert_matches_type(IssueClassResponse, issue, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_class(self, client: Cloudflare) -> None: with client.intel.attack_surface_report.issues.with_streaming_response.class_( @@ -131,6 +140,7 @@ def test_streaming_response_class(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_class(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -138,6 +148,7 @@ def test_path_params_class(self, client: Cloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize def test_method_dismiss(self, client: Cloudflare) -> None: issue = client.intel.attack_surface_report.issues.dismiss( @@ -146,6 +157,7 @@ def test_method_dismiss(self, client: Cloudflare) -> None: ) assert_matches_type(IssueDismissResponse, issue, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_dismiss_with_all_params(self, client: Cloudflare) -> None: issue = client.intel.attack_surface_report.issues.dismiss( @@ -155,6 +167,7 @@ def test_method_dismiss_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(IssueDismissResponse, issue, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_dismiss(self, client: Cloudflare) -> None: response = client.intel.attack_surface_report.issues.with_raw_response.dismiss( @@ -167,6 +180,7 @@ def test_raw_response_dismiss(self, client: Cloudflare) -> None: issue = response.parse() assert_matches_type(IssueDismissResponse, issue, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_dismiss(self, client: Cloudflare) -> None: with client.intel.attack_surface_report.issues.with_streaming_response.dismiss( @@ -181,6 +195,7 @@ def test_streaming_response_dismiss(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_dismiss(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -195,6 +210,7 @@ def test_path_params_dismiss(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize def test_method_severity(self, client: Cloudflare) -> None: issue = client.intel.attack_surface_report.issues.severity( @@ -202,6 +218,7 @@ def test_method_severity(self, client: Cloudflare) -> None: ) assert_matches_type(IssueSeverityResponse, issue, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_severity_with_all_params(self, client: Cloudflare) -> None: issue = client.intel.attack_surface_report.issues.severity( @@ -220,6 +237,7 @@ def test_method_severity_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(IssueSeverityResponse, issue, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_severity(self, client: Cloudflare) -> None: response = client.intel.attack_surface_report.issues.with_raw_response.severity( @@ -231,6 +249,7 @@ def test_raw_response_severity(self, client: Cloudflare) -> None: issue = response.parse() assert_matches_type(IssueSeverityResponse, issue, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_severity(self, client: Cloudflare) -> None: with client.intel.attack_surface_report.issues.with_streaming_response.severity( @@ -244,6 +263,7 @@ def test_streaming_response_severity(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_severity(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -251,6 +271,7 @@ def test_path_params_severity(self, client: Cloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize def test_method_type(self, client: Cloudflare) -> None: issue = client.intel.attack_surface_report.issues.type( @@ -258,6 +279,7 @@ def test_method_type(self, client: Cloudflare) -> None: ) assert_matches_type(IssueTypeResponse, issue, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_type_with_all_params(self, client: Cloudflare) -> None: issue = client.intel.attack_surface_report.issues.type( @@ -276,6 +298,7 @@ def test_method_type_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(IssueTypeResponse, issue, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_type(self, client: Cloudflare) -> None: response = client.intel.attack_surface_report.issues.with_raw_response.type( @@ -287,6 +310,7 @@ def test_raw_response_type(self, client: Cloudflare) -> None: issue = response.parse() assert_matches_type(IssueTypeResponse, issue, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_type(self, client: Cloudflare) -> None: with client.intel.attack_surface_report.issues.with_streaming_response.type( @@ -300,6 +324,7 @@ def test_streaming_response_type(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_type(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -311,6 +336,7 @@ def test_path_params_type(self, client: Cloudflare) -> None: class TestAsyncIssues: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: issue = await async_client.intel.attack_surface_report.issues.list( @@ -318,6 +344,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncV4PagePagination[IssueListResponse], issue, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: issue = await async_client.intel.attack_surface_report.issues.list( @@ -338,6 +365,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncV4PagePagination[IssueListResponse], issue, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.intel.attack_surface_report.issues.with_raw_response.list( @@ -349,6 +377,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: issue = await response.parse() assert_matches_type(AsyncV4PagePagination[IssueListResponse], issue, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.intel.attack_surface_report.issues.with_streaming_response.list( @@ -362,6 +391,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -369,6 +399,7 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize async def test_method_class(self, async_client: AsyncCloudflare) -> None: issue = await async_client.intel.attack_surface_report.issues.class_( @@ -376,6 +407,7 @@ async def test_method_class(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(IssueClassResponse, issue, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_class_with_all_params(self, async_client: AsyncCloudflare) -> None: issue = await async_client.intel.attack_surface_report.issues.class_( @@ -394,6 +426,7 @@ async def test_method_class_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(IssueClassResponse, issue, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_class(self, async_client: AsyncCloudflare) -> None: response = await async_client.intel.attack_surface_report.issues.with_raw_response.class_( @@ -405,6 +438,7 @@ async def test_raw_response_class(self, async_client: AsyncCloudflare) -> None: issue = await response.parse() assert_matches_type(IssueClassResponse, issue, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_class(self, async_client: AsyncCloudflare) -> None: async with async_client.intel.attack_surface_report.issues.with_streaming_response.class_( @@ -418,6 +452,7 @@ async def test_streaming_response_class(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_class(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -425,6 +460,7 @@ async def test_path_params_class(self, async_client: AsyncCloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize async def test_method_dismiss(self, async_client: AsyncCloudflare) -> None: issue = await async_client.intel.attack_surface_report.issues.dismiss( @@ -433,6 +469,7 @@ async def test_method_dismiss(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(IssueDismissResponse, issue, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_dismiss_with_all_params(self, async_client: AsyncCloudflare) -> None: issue = await async_client.intel.attack_surface_report.issues.dismiss( @@ -442,6 +479,7 @@ async def test_method_dismiss_with_all_params(self, async_client: AsyncCloudflar ) assert_matches_type(IssueDismissResponse, issue, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_dismiss(self, async_client: AsyncCloudflare) -> None: response = await async_client.intel.attack_surface_report.issues.with_raw_response.dismiss( @@ -454,6 +492,7 @@ async def test_raw_response_dismiss(self, async_client: AsyncCloudflare) -> None issue = await response.parse() assert_matches_type(IssueDismissResponse, issue, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_dismiss(self, async_client: AsyncCloudflare) -> None: async with async_client.intel.attack_surface_report.issues.with_streaming_response.dismiss( @@ -468,6 +507,7 @@ async def test_streaming_response_dismiss(self, async_client: AsyncCloudflare) - assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_dismiss(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -482,6 +522,7 @@ async def test_path_params_dismiss(self, async_client: AsyncCloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize async def test_method_severity(self, async_client: AsyncCloudflare) -> None: issue = await async_client.intel.attack_surface_report.issues.severity( @@ -489,6 +530,7 @@ async def test_method_severity(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(IssueSeverityResponse, issue, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_severity_with_all_params(self, async_client: AsyncCloudflare) -> None: issue = await async_client.intel.attack_surface_report.issues.severity( @@ -507,6 +549,7 @@ async def test_method_severity_with_all_params(self, async_client: AsyncCloudfla ) assert_matches_type(IssueSeverityResponse, issue, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_severity(self, async_client: AsyncCloudflare) -> None: response = await async_client.intel.attack_surface_report.issues.with_raw_response.severity( @@ -518,6 +561,7 @@ async def test_raw_response_severity(self, async_client: AsyncCloudflare) -> Non issue = await response.parse() assert_matches_type(IssueSeverityResponse, issue, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_severity(self, async_client: AsyncCloudflare) -> None: async with async_client.intel.attack_surface_report.issues.with_streaming_response.severity( @@ -531,6 +575,7 @@ async def test_streaming_response_severity(self, async_client: AsyncCloudflare) assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_severity(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -538,6 +583,7 @@ async def test_path_params_severity(self, async_client: AsyncCloudflare) -> None account_id="", ) + @pytest.mark.skip() @parametrize async def test_method_type(self, async_client: AsyncCloudflare) -> None: issue = await async_client.intel.attack_surface_report.issues.type( @@ -545,6 +591,7 @@ async def test_method_type(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(IssueTypeResponse, issue, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_type_with_all_params(self, async_client: AsyncCloudflare) -> None: issue = await async_client.intel.attack_surface_report.issues.type( @@ -563,6 +610,7 @@ async def test_method_type_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(IssueTypeResponse, issue, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_type(self, async_client: AsyncCloudflare) -> None: response = await async_client.intel.attack_surface_report.issues.with_raw_response.type( @@ -574,6 +622,7 @@ async def test_raw_response_type(self, async_client: AsyncCloudflare) -> None: issue = await response.parse() assert_matches_type(IssueTypeResponse, issue, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_type(self, async_client: AsyncCloudflare) -> None: async with async_client.intel.attack_surface_report.issues.with_streaming_response.type( @@ -587,6 +636,7 @@ async def test_streaming_response_type(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_type(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/intel/domains/test_bulks.py b/tests/api_resources/intel/domains/test_bulks.py index 0a1c1828bc7..10054a63d1c 100644 --- a/tests/api_resources/intel/domains/test_bulks.py +++ b/tests/api_resources/intel/domains/test_bulks.py @@ -17,6 +17,7 @@ class TestBulks: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: bulk = client.intel.domains.bulks.get( @@ -24,6 +25,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[BulkGetResponse], bulk, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: bulk = client.intel.domains.bulks.get( @@ -32,6 +34,7 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[BulkGetResponse], bulk, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.intel.domains.bulks.with_raw_response.get( @@ -43,6 +46,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: bulk = response.parse() assert_matches_type(Optional[BulkGetResponse], bulk, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.intel.domains.bulks.with_streaming_response.get( @@ -56,6 +60,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -67,6 +72,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncBulks: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: bulk = await async_client.intel.domains.bulks.get( @@ -74,6 +80,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[BulkGetResponse], bulk, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: bulk = await async_client.intel.domains.bulks.get( @@ -82,6 +89,7 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(Optional[BulkGetResponse], bulk, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.intel.domains.bulks.with_raw_response.get( @@ -93,6 +101,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: bulk = await response.parse() assert_matches_type(Optional[BulkGetResponse], bulk, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.intel.domains.bulks.with_streaming_response.get( @@ -106,6 +115,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/intel/indicator_feeds/test_permissions.py b/tests/api_resources/intel/indicator_feeds/test_permissions.py index 5e89ce038e2..f7da59f2cda 100644 --- a/tests/api_resources/intel/indicator_feeds/test_permissions.py +++ b/tests/api_resources/intel/indicator_feeds/test_permissions.py @@ -21,6 +21,7 @@ class TestPermissions: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: permission = client.intel.indicator_feeds.permissions.create( @@ -28,6 +29,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(PermissionCreateResponse, permission, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: permission = client.intel.indicator_feeds.permissions.create( @@ -37,6 +39,7 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(PermissionCreateResponse, permission, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.intel.indicator_feeds.permissions.with_raw_response.create( @@ -48,6 +51,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: permission = response.parse() assert_matches_type(PermissionCreateResponse, permission, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.intel.indicator_feeds.permissions.with_streaming_response.create( @@ -61,6 +65,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -68,6 +73,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: permission = client.intel.indicator_feeds.permissions.list( @@ -75,6 +81,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(PermissionListResponse, permission, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.intel.indicator_feeds.permissions.with_raw_response.list( @@ -86,6 +93,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: permission = response.parse() assert_matches_type(PermissionListResponse, permission, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.intel.indicator_feeds.permissions.with_streaming_response.list( @@ -99,6 +107,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -106,6 +115,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: permission = client.intel.indicator_feeds.permissions.delete( @@ -113,6 +123,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(PermissionDeleteResponse, permission, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_delete_with_all_params(self, client: Cloudflare) -> None: permission = client.intel.indicator_feeds.permissions.delete( @@ -122,6 +133,7 @@ def test_method_delete_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(PermissionDeleteResponse, permission, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.intel.indicator_feeds.permissions.with_raw_response.delete( @@ -133,6 +145,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: permission = response.parse() assert_matches_type(PermissionDeleteResponse, permission, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.intel.indicator_feeds.permissions.with_streaming_response.delete( @@ -146,6 +159,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -157,6 +171,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: class TestAsyncPermissions: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: permission = await async_client.intel.indicator_feeds.permissions.create( @@ -164,6 +179,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(PermissionCreateResponse, permission, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: permission = await async_client.intel.indicator_feeds.permissions.create( @@ -173,6 +189,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(PermissionCreateResponse, permission, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.intel.indicator_feeds.permissions.with_raw_response.create( @@ -184,6 +201,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: permission = await response.parse() assert_matches_type(PermissionCreateResponse, permission, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.intel.indicator_feeds.permissions.with_streaming_response.create( @@ -197,6 +215,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -204,6 +223,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: permission = await async_client.intel.indicator_feeds.permissions.list( @@ -211,6 +231,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(PermissionListResponse, permission, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.intel.indicator_feeds.permissions.with_raw_response.list( @@ -222,6 +243,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: permission = await response.parse() assert_matches_type(PermissionListResponse, permission, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.intel.indicator_feeds.permissions.with_streaming_response.list( @@ -235,6 +257,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -242,6 +265,7 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: permission = await async_client.intel.indicator_feeds.permissions.delete( @@ -249,6 +273,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(PermissionDeleteResponse, permission, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_delete_with_all_params(self, async_client: AsyncCloudflare) -> None: permission = await async_client.intel.indicator_feeds.permissions.delete( @@ -258,6 +283,7 @@ async def test_method_delete_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(PermissionDeleteResponse, permission, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.intel.indicator_feeds.permissions.with_raw_response.delete( @@ -269,6 +295,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: permission = await response.parse() assert_matches_type(PermissionDeleteResponse, permission, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.intel.indicator_feeds.permissions.with_streaming_response.delete( @@ -282,6 +309,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/intel/test_asn.py b/tests/api_resources/intel/test_asn.py index cf60e9ff9cb..b2c1b70f746 100644 --- a/tests/api_resources/intel/test_asn.py +++ b/tests/api_resources/intel/test_asn.py @@ -17,6 +17,7 @@ class TestASN: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: asn = client.intel.asn.get( @@ -25,6 +26,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(ASN, asn, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.intel.asn.with_raw_response.get( @@ -37,6 +39,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: asn = response.parse() assert_matches_type(ASN, asn, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.intel.asn.with_streaming_response.get( @@ -51,6 +54,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -63,6 +67,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncASN: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: asn = await async_client.intel.asn.get( @@ -71,6 +76,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(ASN, asn, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.intel.asn.with_raw_response.get( @@ -83,6 +89,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: asn = await response.parse() assert_matches_type(ASN, asn, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.intel.asn.with_streaming_response.get( @@ -97,6 +104,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/intel/test_dns.py b/tests/api_resources/intel/test_dns.py index 4e95dc2891a..0c916acc860 100644 --- a/tests/api_resources/intel/test_dns.py +++ b/tests/api_resources/intel/test_dns.py @@ -19,6 +19,7 @@ class TestDNS: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: dns = client.intel.dns.list( @@ -26,6 +27,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePagination[DNSListResponse], dns, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: dns = client.intel.dns.list( @@ -40,6 +42,7 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePagination[DNSListResponse], dns, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.intel.dns.with_raw_response.list( @@ -51,6 +54,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: dns = response.parse() assert_matches_type(SyncV4PagePagination[DNSListResponse], dns, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.intel.dns.with_streaming_response.list( @@ -64,6 +68,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -75,6 +80,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: class TestAsyncDNS: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: dns = await async_client.intel.dns.list( @@ -82,6 +88,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncV4PagePagination[DNSListResponse], dns, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: dns = await async_client.intel.dns.list( @@ -96,6 +103,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncV4PagePagination[DNSListResponse], dns, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.intel.dns.with_raw_response.list( @@ -107,6 +115,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: dns = await response.parse() assert_matches_type(AsyncV4PagePagination[DNSListResponse], dns, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.intel.dns.with_streaming_response.list( @@ -120,6 +129,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/intel/test_domain_history.py b/tests/api_resources/intel/test_domain_history.py index 75926dc919d..811ded0a843 100644 --- a/tests/api_resources/intel/test_domain_history.py +++ b/tests/api_resources/intel/test_domain_history.py @@ -17,6 +17,7 @@ class TestDomainHistory: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: domain_history = client.intel.domain_history.get( @@ -24,6 +25,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[DomainHistoryGetResponse], domain_history, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: domain_history = client.intel.domain_history.get( @@ -32,6 +34,7 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[DomainHistoryGetResponse], domain_history, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.intel.domain_history.with_raw_response.get( @@ -43,6 +46,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: domain_history = response.parse() assert_matches_type(Optional[DomainHistoryGetResponse], domain_history, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.intel.domain_history.with_streaming_response.get( @@ -56,6 +60,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -67,6 +72,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncDomainHistory: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: domain_history = await async_client.intel.domain_history.get( @@ -74,6 +80,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[DomainHistoryGetResponse], domain_history, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: domain_history = await async_client.intel.domain_history.get( @@ -82,6 +89,7 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(Optional[DomainHistoryGetResponse], domain_history, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.intel.domain_history.with_raw_response.get( @@ -93,6 +101,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: domain_history = await response.parse() assert_matches_type(Optional[DomainHistoryGetResponse], domain_history, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.intel.domain_history.with_streaming_response.get( @@ -106,6 +115,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/intel/test_domains.py b/tests/api_resources/intel/test_domains.py index 8a5a65a6699..ccf650a3380 100644 --- a/tests/api_resources/intel/test_domains.py +++ b/tests/api_resources/intel/test_domains.py @@ -17,6 +17,7 @@ class TestDomains: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: domain = client.intel.domains.get( @@ -24,6 +25,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Domain, domain, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: domain = client.intel.domains.get( @@ -32,6 +34,7 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Domain, domain, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.intel.domains.with_raw_response.get( @@ -43,6 +46,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: domain = response.parse() assert_matches_type(Domain, domain, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.intel.domains.with_streaming_response.get( @@ -56,6 +60,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -67,6 +72,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncDomains: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: domain = await async_client.intel.domains.get( @@ -74,6 +80,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Domain, domain, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: domain = await async_client.intel.domains.get( @@ -82,6 +89,7 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(Domain, domain, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.intel.domains.with_raw_response.get( @@ -93,6 +101,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: domain = await response.parse() assert_matches_type(Domain, domain, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.intel.domains.with_streaming_response.get( @@ -106,6 +115,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/intel/test_indicator_feeds.py b/tests/api_resources/intel/test_indicator_feeds.py index b80247f01f6..956f15c0233 100644 --- a/tests/api_resources/intel/test_indicator_feeds.py +++ b/tests/api_resources/intel/test_indicator_feeds.py @@ -23,6 +23,7 @@ class TestIndicatorFeeds: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: indicator_feed = client.intel.indicator_feeds.create( @@ -30,6 +31,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(IndicatorFeedCreateResponse, indicator_feed, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: indicator_feed = client.intel.indicator_feeds.create( @@ -39,6 +41,7 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(IndicatorFeedCreateResponse, indicator_feed, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.intel.indicator_feeds.with_raw_response.create( @@ -50,6 +53,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: indicator_feed = response.parse() assert_matches_type(IndicatorFeedCreateResponse, indicator_feed, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.intel.indicator_feeds.with_streaming_response.create( @@ -63,6 +67,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -70,6 +75,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: indicator_feed = client.intel.indicator_feeds.update( @@ -78,6 +84,7 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(IndicatorFeedUpdateResponse, indicator_feed, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: indicator_feed = client.intel.indicator_feeds.update( @@ -87,6 +94,7 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(IndicatorFeedUpdateResponse, indicator_feed, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.intel.indicator_feeds.with_raw_response.update( @@ -99,6 +107,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: indicator_feed = response.parse() assert_matches_type(IndicatorFeedUpdateResponse, indicator_feed, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.intel.indicator_feeds.with_streaming_response.update( @@ -113,6 +122,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -121,6 +131,7 @@ def test_path_params_update(self, client: Cloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: indicator_feed = client.intel.indicator_feeds.list( @@ -128,6 +139,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[IndicatorFeedListResponse], indicator_feed, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.intel.indicator_feeds.with_raw_response.list( @@ -139,6 +151,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: indicator_feed = response.parse() assert_matches_type(SyncSinglePage[IndicatorFeedListResponse], indicator_feed, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.intel.indicator_feeds.with_streaming_response.list( @@ -152,6 +165,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -159,6 +173,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize def test_method_data(self, client: Cloudflare) -> None: indicator_feed = client.intel.indicator_feeds.data( @@ -167,6 +182,7 @@ def test_method_data(self, client: Cloudflare) -> None: ) assert_matches_type(str, indicator_feed, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_data(self, client: Cloudflare) -> None: response = client.intel.indicator_feeds.with_raw_response.data( @@ -179,6 +195,7 @@ def test_raw_response_data(self, client: Cloudflare) -> None: indicator_feed = response.parse() assert_matches_type(str, indicator_feed, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_data(self, client: Cloudflare) -> None: with client.intel.indicator_feeds.with_streaming_response.data( @@ -193,6 +210,7 @@ def test_streaming_response_data(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_data(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -201,6 +219,7 @@ def test_path_params_data(self, client: Cloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: indicator_feed = client.intel.indicator_feeds.get( @@ -209,6 +228,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(IndicatorFeedGetResponse, indicator_feed, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.intel.indicator_feeds.with_raw_response.get( @@ -221,6 +241,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: indicator_feed = response.parse() assert_matches_type(IndicatorFeedGetResponse, indicator_feed, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.intel.indicator_feeds.with_streaming_response.get( @@ -235,6 +256,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -247,6 +269,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncIndicatorFeeds: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: indicator_feed = await async_client.intel.indicator_feeds.create( @@ -254,6 +277,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(IndicatorFeedCreateResponse, indicator_feed, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: indicator_feed = await async_client.intel.indicator_feeds.create( @@ -263,6 +287,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(IndicatorFeedCreateResponse, indicator_feed, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.intel.indicator_feeds.with_raw_response.create( @@ -274,6 +299,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: indicator_feed = await response.parse() assert_matches_type(IndicatorFeedCreateResponse, indicator_feed, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.intel.indicator_feeds.with_streaming_response.create( @@ -287,6 +313,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -294,6 +321,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: indicator_feed = await async_client.intel.indicator_feeds.update( @@ -302,6 +330,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(IndicatorFeedUpdateResponse, indicator_feed, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: indicator_feed = await async_client.intel.indicator_feeds.update( @@ -311,6 +340,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(IndicatorFeedUpdateResponse, indicator_feed, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.intel.indicator_feeds.with_raw_response.update( @@ -323,6 +353,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: indicator_feed = await response.parse() assert_matches_type(IndicatorFeedUpdateResponse, indicator_feed, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.intel.indicator_feeds.with_streaming_response.update( @@ -337,6 +368,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -345,6 +377,7 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: indicator_feed = await async_client.intel.indicator_feeds.list( @@ -352,6 +385,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[IndicatorFeedListResponse], indicator_feed, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.intel.indicator_feeds.with_raw_response.list( @@ -363,6 +397,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: indicator_feed = await response.parse() assert_matches_type(AsyncSinglePage[IndicatorFeedListResponse], indicator_feed, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.intel.indicator_feeds.with_streaming_response.list( @@ -376,6 +411,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -383,6 +419,7 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize async def test_method_data(self, async_client: AsyncCloudflare) -> None: indicator_feed = await async_client.intel.indicator_feeds.data( @@ -391,6 +428,7 @@ async def test_method_data(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(str, indicator_feed, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_data(self, async_client: AsyncCloudflare) -> None: response = await async_client.intel.indicator_feeds.with_raw_response.data( @@ -403,6 +441,7 @@ async def test_raw_response_data(self, async_client: AsyncCloudflare) -> None: indicator_feed = await response.parse() assert_matches_type(str, indicator_feed, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_data(self, async_client: AsyncCloudflare) -> None: async with async_client.intel.indicator_feeds.with_streaming_response.data( @@ -417,6 +456,7 @@ async def test_streaming_response_data(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_data(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -425,6 +465,7 @@ async def test_path_params_data(self, async_client: AsyncCloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: indicator_feed = await async_client.intel.indicator_feeds.get( @@ -433,6 +474,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(IndicatorFeedGetResponse, indicator_feed, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.intel.indicator_feeds.with_raw_response.get( @@ -445,6 +487,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: indicator_feed = await response.parse() assert_matches_type(IndicatorFeedGetResponse, indicator_feed, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.intel.indicator_feeds.with_streaming_response.get( @@ -459,6 +502,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/intel/test_ip_lists.py b/tests/api_resources/intel/test_ip_lists.py index afb47b13e8c..2adbe284b62 100644 --- a/tests/api_resources/intel/test_ip_lists.py +++ b/tests/api_resources/intel/test_ip_lists.py @@ -17,6 +17,7 @@ class TestIPLists: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: ip_list = client.intel.ip_lists.get( @@ -24,6 +25,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[IPListGetResponse], ip_list, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.intel.ip_lists.with_raw_response.get( @@ -35,6 +37,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: ip_list = response.parse() assert_matches_type(Optional[IPListGetResponse], ip_list, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.intel.ip_lists.with_streaming_response.get( @@ -48,6 +51,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -59,6 +63,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncIPLists: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: ip_list = await async_client.intel.ip_lists.get( @@ -66,6 +71,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[IPListGetResponse], ip_list, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.intel.ip_lists.with_raw_response.get( @@ -77,6 +83,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: ip_list = await response.parse() assert_matches_type(Optional[IPListGetResponse], ip_list, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.intel.ip_lists.with_streaming_response.get( @@ -90,6 +97,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/intel/test_ips.py b/tests/api_resources/intel/test_ips.py index 56721abdf3a..8956bb8c5fa 100644 --- a/tests/api_resources/intel/test_ips.py +++ b/tests/api_resources/intel/test_ips.py @@ -17,6 +17,7 @@ class TestIPs: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: ip = client.intel.ips.get( @@ -24,6 +25,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[IPGetResponse], ip, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: ip = client.intel.ips.get( @@ -33,6 +35,7 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[IPGetResponse], ip, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.intel.ips.with_raw_response.get( @@ -44,6 +47,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: ip = response.parse() assert_matches_type(Optional[IPGetResponse], ip, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.intel.ips.with_streaming_response.get( @@ -57,6 +61,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -68,6 +73,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncIPs: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: ip = await async_client.intel.ips.get( @@ -75,6 +81,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[IPGetResponse], ip, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: ip = await async_client.intel.ips.get( @@ -84,6 +91,7 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(Optional[IPGetResponse], ip, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.intel.ips.with_raw_response.get( @@ -95,6 +103,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: ip = await response.parse() assert_matches_type(Optional[IPGetResponse], ip, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.intel.ips.with_streaming_response.get( @@ -108,6 +117,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/intel/test_miscategorizations.py b/tests/api_resources/intel/test_miscategorizations.py index 9e5d6b8786f..8231ba952c5 100644 --- a/tests/api_resources/intel/test_miscategorizations.py +++ b/tests/api_resources/intel/test_miscategorizations.py @@ -17,6 +17,7 @@ class TestMiscategorizations: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: miscategorization = client.intel.miscategorizations.create( @@ -24,6 +25,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(MiscategorizationCreateResponse, miscategorization, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: miscategorization = client.intel.miscategorizations.create( @@ -38,6 +40,7 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(MiscategorizationCreateResponse, miscategorization, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.intel.miscategorizations.with_raw_response.create( @@ -49,6 +52,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: miscategorization = response.parse() assert_matches_type(MiscategorizationCreateResponse, miscategorization, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.intel.miscategorizations.with_streaming_response.create( @@ -62,6 +66,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -73,6 +78,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: class TestAsyncMiscategorizations: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: miscategorization = await async_client.intel.miscategorizations.create( @@ -80,6 +86,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(MiscategorizationCreateResponse, miscategorization, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: miscategorization = await async_client.intel.miscategorizations.create( @@ -94,6 +101,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(MiscategorizationCreateResponse, miscategorization, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.intel.miscategorizations.with_raw_response.create( @@ -105,6 +113,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: miscategorization = await response.parse() assert_matches_type(MiscategorizationCreateResponse, miscategorization, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.intel.miscategorizations.with_streaming_response.create( @@ -118,6 +127,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/intel/test_sinkholes.py b/tests/api_resources/intel/test_sinkholes.py index 5e9b3dda069..9c3ac5abb15 100644 --- a/tests/api_resources/intel/test_sinkholes.py +++ b/tests/api_resources/intel/test_sinkholes.py @@ -18,6 +18,7 @@ class TestSinkholes: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: sinkhole = client.intel.sinkholes.list( @@ -25,6 +26,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[Sinkhole], sinkhole, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.intel.sinkholes.with_raw_response.list( @@ -36,6 +38,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: sinkhole = response.parse() assert_matches_type(SyncSinglePage[Sinkhole], sinkhole, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.intel.sinkholes.with_streaming_response.list( @@ -49,6 +52,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -60,6 +64,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: class TestAsyncSinkholes: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: sinkhole = await async_client.intel.sinkholes.list( @@ -67,6 +72,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[Sinkhole], sinkhole, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.intel.sinkholes.with_raw_response.list( @@ -78,6 +84,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: sinkhole = await response.parse() assert_matches_type(AsyncSinglePage[Sinkhole], sinkhole, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.intel.sinkholes.with_streaming_response.list( @@ -91,6 +98,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/intel/test_whois.py b/tests/api_resources/intel/test_whois.py index d9d603dfc23..5f42548c43b 100644 --- a/tests/api_resources/intel/test_whois.py +++ b/tests/api_resources/intel/test_whois.py @@ -17,6 +17,7 @@ class TestWhois: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: whois = client.intel.whois.get( @@ -24,6 +25,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Whois, whois, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: whois = client.intel.whois.get( @@ -32,6 +34,7 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Whois, whois, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.intel.whois.with_raw_response.get( @@ -43,6 +46,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: whois = response.parse() assert_matches_type(Whois, whois, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.intel.whois.with_streaming_response.get( @@ -56,6 +60,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -67,6 +72,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncWhois: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: whois = await async_client.intel.whois.get( @@ -74,6 +80,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Whois, whois, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: whois = await async_client.intel.whois.get( @@ -82,6 +89,7 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(Whois, whois, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.intel.whois.with_raw_response.get( @@ -93,6 +101,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: whois = await response.parse() assert_matches_type(Whois, whois, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.intel.whois.with_streaming_response.get( @@ -106,6 +115,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/kv/namespaces/test_bulk.py b/tests/api_resources/kv/namespaces/test_bulk.py index 10b717f25ec..50d6d3c6d99 100644 --- a/tests/api_resources/kv/namespaces/test_bulk.py +++ b/tests/api_resources/kv/namespaces/test_bulk.py @@ -20,6 +20,7 @@ class TestBulk: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: bulk = client.kv.namespaces.bulk.update( @@ -29,6 +30,7 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(BulkUpdateResponse, bulk, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.kv.namespaces.bulk.with_raw_response.update( @@ -42,6 +44,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: bulk = response.parse() assert_matches_type(BulkUpdateResponse, bulk, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.kv.namespaces.bulk.with_streaming_response.update( @@ -57,6 +60,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -73,6 +77,7 @@ def test_path_params_update(self, client: Cloudflare) -> None: body=[{}, {}, {}], ) + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: bulk = client.kv.namespaces.bulk.delete( @@ -82,6 +87,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(BulkDeleteResponse, bulk, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.kv.namespaces.bulk.with_raw_response.delete( @@ -95,6 +101,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: bulk = response.parse() assert_matches_type(BulkDeleteResponse, bulk, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.kv.namespaces.bulk.with_streaming_response.delete( @@ -110,6 +117,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -130,6 +138,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: class TestAsyncBulk: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: bulk = await async_client.kv.namespaces.bulk.update( @@ -139,6 +148,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(BulkUpdateResponse, bulk, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.kv.namespaces.bulk.with_raw_response.update( @@ -152,6 +162,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: bulk = await response.parse() assert_matches_type(BulkUpdateResponse, bulk, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.kv.namespaces.bulk.with_streaming_response.update( @@ -167,6 +178,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -183,6 +195,7 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: body=[{}, {}, {}], ) + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: bulk = await async_client.kv.namespaces.bulk.delete( @@ -192,6 +205,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(BulkDeleteResponse, bulk, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.kv.namespaces.bulk.with_raw_response.delete( @@ -205,6 +219,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: bulk = await response.parse() assert_matches_type(BulkDeleteResponse, bulk, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.kv.namespaces.bulk.with_streaming_response.delete( @@ -220,6 +235,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/kv/namespaces/test_keys.py b/tests/api_resources/kv/namespaces/test_keys.py index 26c09a1f9b5..36b5cad82c6 100644 --- a/tests/api_resources/kv/namespaces/test_keys.py +++ b/tests/api_resources/kv/namespaces/test_keys.py @@ -18,6 +18,7 @@ class TestKeys: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: key = client.kv.namespaces.keys.list( @@ -26,6 +27,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncCursorLimitPagination[Key], key, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: key = client.kv.namespaces.keys.list( @@ -37,6 +39,7 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncCursorLimitPagination[Key], key, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.kv.namespaces.keys.with_raw_response.list( @@ -49,6 +52,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: key = response.parse() assert_matches_type(SyncCursorLimitPagination[Key], key, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.kv.namespaces.keys.with_streaming_response.list( @@ -63,6 +67,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -81,6 +86,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: class TestAsyncKeys: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: key = await async_client.kv.namespaces.keys.list( @@ -89,6 +95,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncCursorLimitPagination[Key], key, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: key = await async_client.kv.namespaces.keys.list( @@ -100,6 +107,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncCursorLimitPagination[Key], key, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.kv.namespaces.keys.with_raw_response.list( @@ -112,6 +120,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: key = await response.parse() assert_matches_type(AsyncCursorLimitPagination[Key], key, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.kv.namespaces.keys.with_streaming_response.list( @@ -126,6 +135,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/kv/namespaces/test_metadata.py b/tests/api_resources/kv/namespaces/test_metadata.py index e7f40bbb7bd..f7fbd01bdd5 100644 --- a/tests/api_resources/kv/namespaces/test_metadata.py +++ b/tests/api_resources/kv/namespaces/test_metadata.py @@ -16,6 +16,7 @@ class TestMetadata: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: metadata = client.kv.namespaces.metadata.get( @@ -25,6 +26,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(object, metadata, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.kv.namespaces.metadata.with_raw_response.get( @@ -38,6 +40,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: metadata = response.parse() assert_matches_type(object, metadata, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.kv.namespaces.metadata.with_streaming_response.get( @@ -53,6 +56,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -80,6 +84,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncMetadata: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: metadata = await async_client.kv.namespaces.metadata.get( @@ -89,6 +94,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(object, metadata, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.kv.namespaces.metadata.with_raw_response.get( @@ -102,6 +108,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: metadata = await response.parse() assert_matches_type(object, metadata, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.kv.namespaces.metadata.with_streaming_response.get( @@ -117,6 +124,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/kv/namespaces/test_values.py b/tests/api_resources/kv/namespaces/test_values.py index c561484b270..9003443b5e9 100644 --- a/tests/api_resources/kv/namespaces/test_values.py +++ b/tests/api_resources/kv/namespaces/test_values.py @@ -20,6 +20,7 @@ class TestValues: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: value = client.kv.namespaces.values.update( @@ -31,6 +32,7 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(ValueUpdateResponse, value, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.kv.namespaces.values.with_raw_response.update( @@ -46,6 +48,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: value = response.parse() assert_matches_type(ValueUpdateResponse, value, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.kv.namespaces.values.with_streaming_response.update( @@ -63,6 +66,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -92,6 +96,7 @@ def test_path_params_update(self, client: Cloudflare) -> None: value="Some Value", ) + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: value = client.kv.namespaces.values.delete( @@ -102,6 +107,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(ValueDeleteResponse, value, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.kv.namespaces.values.with_raw_response.delete( @@ -116,6 +122,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: value = response.parse() assert_matches_type(ValueDeleteResponse, value, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.kv.namespaces.values.with_streaming_response.delete( @@ -132,6 +139,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -158,6 +166,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: value = client.kv.namespaces.values.get( @@ -167,6 +176,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(str, value, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.kv.namespaces.values.with_raw_response.get( @@ -180,6 +190,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: value = response.parse() assert_matches_type(str, value, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.kv.namespaces.values.with_streaming_response.get( @@ -195,6 +206,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -222,6 +234,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncValues: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: value = await async_client.kv.namespaces.values.update( @@ -233,6 +246,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(ValueUpdateResponse, value, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.kv.namespaces.values.with_raw_response.update( @@ -248,6 +262,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: value = await response.parse() assert_matches_type(ValueUpdateResponse, value, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.kv.namespaces.values.with_streaming_response.update( @@ -265,6 +280,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -294,6 +310,7 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: value="Some Value", ) + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: value = await async_client.kv.namespaces.values.delete( @@ -304,6 +321,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(ValueDeleteResponse, value, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.kv.namespaces.values.with_raw_response.delete( @@ -318,6 +336,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: value = await response.parse() assert_matches_type(ValueDeleteResponse, value, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.kv.namespaces.values.with_streaming_response.delete( @@ -334,6 +353,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -360,6 +380,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: value = await async_client.kv.namespaces.values.get( @@ -369,6 +390,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(str, value, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.kv.namespaces.values.with_raw_response.get( @@ -382,6 +404,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: value = await response.parse() assert_matches_type(str, value, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.kv.namespaces.values.with_streaming_response.get( @@ -397,6 +420,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/kv/test_namespaces.py b/tests/api_resources/kv/test_namespaces.py index f864f77cac8..2a4369f39d8 100644 --- a/tests/api_resources/kv/test_namespaces.py +++ b/tests/api_resources/kv/test_namespaces.py @@ -22,6 +22,7 @@ class TestNamespaces: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: namespace = client.kv.namespaces.create( @@ -30,6 +31,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Namespace, namespace, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.kv.namespaces.with_raw_response.create( @@ -42,6 +44,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: namespace = response.parse() assert_matches_type(Namespace, namespace, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.kv.namespaces.with_streaming_response.create( @@ -56,6 +59,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -64,6 +68,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: title="My Own Namespace", ) + @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: namespace = client.kv.namespaces.update( @@ -73,6 +78,7 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(NamespaceUpdateResponse, namespace, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.kv.namespaces.with_raw_response.update( @@ -86,6 +92,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: namespace = response.parse() assert_matches_type(NamespaceUpdateResponse, namespace, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.kv.namespaces.with_streaming_response.update( @@ -101,6 +108,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -117,6 +125,7 @@ def test_path_params_update(self, client: Cloudflare) -> None: title="My Own Namespace", ) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: namespace = client.kv.namespaces.list( @@ -124,6 +133,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePaginationArray[Namespace], namespace, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: namespace = client.kv.namespaces.list( @@ -135,6 +145,7 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePaginationArray[Namespace], namespace, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.kv.namespaces.with_raw_response.list( @@ -146,6 +157,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: namespace = response.parse() assert_matches_type(SyncV4PagePaginationArray[Namespace], namespace, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.kv.namespaces.with_streaming_response.list( @@ -159,6 +171,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -166,6 +179,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: namespace = client.kv.namespaces.delete( @@ -175,6 +189,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(NamespaceDeleteResponse, namespace, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.kv.namespaces.with_raw_response.delete( @@ -188,6 +203,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: namespace = response.parse() assert_matches_type(NamespaceDeleteResponse, namespace, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.kv.namespaces.with_streaming_response.delete( @@ -203,6 +219,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -223,6 +240,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: class TestAsyncNamespaces: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: namespace = await async_client.kv.namespaces.create( @@ -231,6 +249,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Namespace, namespace, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.kv.namespaces.with_raw_response.create( @@ -243,6 +262,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: namespace = await response.parse() assert_matches_type(Namespace, namespace, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.kv.namespaces.with_streaming_response.create( @@ -257,6 +277,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -265,6 +286,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: title="My Own Namespace", ) + @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: namespace = await async_client.kv.namespaces.update( @@ -274,6 +296,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(NamespaceUpdateResponse, namespace, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.kv.namespaces.with_raw_response.update( @@ -287,6 +310,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: namespace = await response.parse() assert_matches_type(NamespaceUpdateResponse, namespace, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.kv.namespaces.with_streaming_response.update( @@ -302,6 +326,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -318,6 +343,7 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: title="My Own Namespace", ) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: namespace = await async_client.kv.namespaces.list( @@ -325,6 +351,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncV4PagePaginationArray[Namespace], namespace, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: namespace = await async_client.kv.namespaces.list( @@ -336,6 +363,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncV4PagePaginationArray[Namespace], namespace, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.kv.namespaces.with_raw_response.list( @@ -347,6 +375,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: namespace = await response.parse() assert_matches_type(AsyncV4PagePaginationArray[Namespace], namespace, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.kv.namespaces.with_streaming_response.list( @@ -360,6 +389,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -367,6 +397,7 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: namespace = await async_client.kv.namespaces.delete( @@ -376,6 +407,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(NamespaceDeleteResponse, namespace, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.kv.namespaces.with_raw_response.delete( @@ -389,6 +421,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: namespace = await response.parse() assert_matches_type(NamespaceDeleteResponse, namespace, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.kv.namespaces.with_streaming_response.delete( @@ -404,6 +437,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/load_balancers/monitors/test_previews.py b/tests/api_resources/load_balancers/monitors/test_previews.py index 71a61ec7d40..791b255f075 100644 --- a/tests/api_resources/load_balancers/monitors/test_previews.py +++ b/tests/api_resources/load_balancers/monitors/test_previews.py @@ -17,6 +17,7 @@ class TestPreviews: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: preview = client.load_balancers.monitors.previews.create( @@ -26,6 +27,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(PreviewCreateResponse, preview, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: preview = client.load_balancers.monitors.previews.create( @@ -53,6 +55,7 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(PreviewCreateResponse, preview, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.load_balancers.monitors.previews.with_raw_response.create( @@ -66,6 +69,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: preview = response.parse() assert_matches_type(PreviewCreateResponse, preview, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.load_balancers.monitors.previews.with_streaming_response.create( @@ -81,6 +85,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -101,6 +106,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: class TestAsyncPreviews: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: preview = await async_client.load_balancers.monitors.previews.create( @@ -110,6 +116,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(PreviewCreateResponse, preview, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: preview = await async_client.load_balancers.monitors.previews.create( @@ -137,6 +144,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(PreviewCreateResponse, preview, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.load_balancers.monitors.previews.with_raw_response.create( @@ -150,6 +158,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: preview = await response.parse() assert_matches_type(PreviewCreateResponse, preview, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.load_balancers.monitors.previews.with_streaming_response.create( @@ -165,6 +174,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/load_balancers/monitors/test_references.py b/tests/api_resources/load_balancers/monitors/test_references.py index a31063f687e..ac893043fec 100644 --- a/tests/api_resources/load_balancers/monitors/test_references.py +++ b/tests/api_resources/load_balancers/monitors/test_references.py @@ -17,6 +17,7 @@ class TestReferences: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: reference = client.load_balancers.monitors.references.get( @@ -25,6 +26,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ReferenceGetResponse], reference, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.load_balancers.monitors.references.with_raw_response.get( @@ -37,6 +39,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: reference = response.parse() assert_matches_type(Optional[ReferenceGetResponse], reference, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.load_balancers.monitors.references.with_streaming_response.get( @@ -51,6 +54,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -69,6 +73,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncReferences: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: reference = await async_client.load_balancers.monitors.references.get( @@ -77,6 +82,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[ReferenceGetResponse], reference, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.load_balancers.monitors.references.with_raw_response.get( @@ -89,6 +95,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: reference = await response.parse() assert_matches_type(Optional[ReferenceGetResponse], reference, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.load_balancers.monitors.references.with_streaming_response.get( @@ -103,6 +110,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/load_balancers/pools/test_health.py b/tests/api_resources/load_balancers/pools/test_health.py index 6c9b62dcdea..13c1108bf5d 100644 --- a/tests/api_resources/load_balancers/pools/test_health.py +++ b/tests/api_resources/load_balancers/pools/test_health.py @@ -17,6 +17,7 @@ class TestHealth: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: health = client.load_balancers.pools.health.create( @@ -26,6 +27,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(HealthCreateResponse, health, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: health = client.load_balancers.pools.health.create( @@ -53,6 +55,7 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(HealthCreateResponse, health, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.load_balancers.pools.health.with_raw_response.create( @@ -66,6 +69,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: health = response.parse() assert_matches_type(HealthCreateResponse, health, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.load_balancers.pools.health.with_streaming_response.create( @@ -81,6 +85,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -97,6 +102,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: expected_codes="2xx", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: health = client.load_balancers.pools.health.get( @@ -105,6 +111,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(HealthGetResponse, health, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.load_balancers.pools.health.with_raw_response.get( @@ -117,6 +124,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: health = response.parse() assert_matches_type(HealthGetResponse, health, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.load_balancers.pools.health.with_streaming_response.get( @@ -131,6 +139,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -149,6 +158,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncHealth: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: health = await async_client.load_balancers.pools.health.create( @@ -158,6 +168,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(HealthCreateResponse, health, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: health = await async_client.load_balancers.pools.health.create( @@ -185,6 +196,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(HealthCreateResponse, health, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.load_balancers.pools.health.with_raw_response.create( @@ -198,6 +210,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: health = await response.parse() assert_matches_type(HealthCreateResponse, health, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.load_balancers.pools.health.with_streaming_response.create( @@ -213,6 +226,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -229,6 +243,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: expected_codes="2xx", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: health = await async_client.load_balancers.pools.health.get( @@ -237,6 +252,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(HealthGetResponse, health, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.load_balancers.pools.health.with_raw_response.get( @@ -249,6 +265,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: health = await response.parse() assert_matches_type(HealthGetResponse, health, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.load_balancers.pools.health.with_streaming_response.get( @@ -263,6 +280,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/load_balancers/pools/test_references.py b/tests/api_resources/load_balancers/pools/test_references.py index 409be7228ac..723f890e4e7 100644 --- a/tests/api_resources/load_balancers/pools/test_references.py +++ b/tests/api_resources/load_balancers/pools/test_references.py @@ -17,6 +17,7 @@ class TestReferences: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: reference = client.load_balancers.pools.references.get( @@ -25,6 +26,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ReferenceGetResponse], reference, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.load_balancers.pools.references.with_raw_response.get( @@ -37,6 +39,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: reference = response.parse() assert_matches_type(Optional[ReferenceGetResponse], reference, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.load_balancers.pools.references.with_streaming_response.get( @@ -51,6 +54,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -69,6 +73,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncReferences: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: reference = await async_client.load_balancers.pools.references.get( @@ -77,6 +82,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[ReferenceGetResponse], reference, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.load_balancers.pools.references.with_raw_response.get( @@ -89,6 +95,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: reference = await response.parse() assert_matches_type(Optional[ReferenceGetResponse], reference, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.load_balancers.pools.references.with_streaming_response.get( @@ -103,6 +110,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/load_balancers/test_monitors.py b/tests/api_resources/load_balancers/test_monitors.py index a017368cc07..1fc1f757124 100644 --- a/tests/api_resources/load_balancers/test_monitors.py +++ b/tests/api_resources/load_balancers/test_monitors.py @@ -21,6 +21,7 @@ class TestMonitors: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: monitor = client.load_balancers.monitors.create( @@ -29,6 +30,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Monitor, monitor, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: monitor = client.load_balancers.monitors.create( @@ -55,6 +57,7 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Monitor, monitor, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.load_balancers.monitors.with_raw_response.create( @@ -67,6 +70,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: monitor = response.parse() assert_matches_type(Monitor, monitor, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.load_balancers.monitors.with_streaming_response.create( @@ -81,6 +85,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -89,6 +94,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: expected_codes="2xx", ) + @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: monitor = client.load_balancers.monitors.update( @@ -98,6 +104,7 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Monitor, monitor, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: monitor = client.load_balancers.monitors.update( @@ -125,6 +132,7 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Monitor, monitor, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.load_balancers.monitors.with_raw_response.update( @@ -138,6 +146,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: monitor = response.parse() assert_matches_type(Monitor, monitor, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.load_balancers.monitors.with_streaming_response.update( @@ -153,6 +162,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -169,6 +179,7 @@ def test_path_params_update(self, client: Cloudflare) -> None: expected_codes="2xx", ) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: monitor = client.load_balancers.monitors.list( @@ -176,6 +187,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[Monitor], monitor, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.load_balancers.monitors.with_raw_response.list( @@ -187,6 +199,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: monitor = response.parse() assert_matches_type(SyncSinglePage[Monitor], monitor, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.load_balancers.monitors.with_streaming_response.list( @@ -200,6 +213,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -207,6 +221,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: monitor = client.load_balancers.monitors.delete( @@ -216,6 +231,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(MonitorDeleteResponse, monitor, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.load_balancers.monitors.with_raw_response.delete( @@ -229,6 +245,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: monitor = response.parse() assert_matches_type(MonitorDeleteResponse, monitor, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.load_balancers.monitors.with_streaming_response.delete( @@ -244,6 +261,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -260,6 +278,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: monitor = client.load_balancers.monitors.edit( @@ -269,6 +288,7 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Monitor, monitor, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_edit_with_all_params(self, client: Cloudflare) -> None: monitor = client.load_balancers.monitors.edit( @@ -296,6 +316,7 @@ def test_method_edit_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Monitor, monitor, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.load_balancers.monitors.with_raw_response.edit( @@ -309,6 +330,7 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: monitor = response.parse() assert_matches_type(Monitor, monitor, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.load_balancers.monitors.with_streaming_response.edit( @@ -324,6 +346,7 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -340,6 +363,7 @@ def test_path_params_edit(self, client: Cloudflare) -> None: expected_codes="2xx", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: monitor = client.load_balancers.monitors.get( @@ -348,6 +372,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Monitor, monitor, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.load_balancers.monitors.with_raw_response.get( @@ -360,6 +385,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: monitor = response.parse() assert_matches_type(Monitor, monitor, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.load_balancers.monitors.with_streaming_response.get( @@ -374,6 +400,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -392,6 +419,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncMonitors: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: monitor = await async_client.load_balancers.monitors.create( @@ -400,6 +428,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Monitor, monitor, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: monitor = await async_client.load_balancers.monitors.create( @@ -426,6 +455,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Monitor, monitor, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.load_balancers.monitors.with_raw_response.create( @@ -438,6 +468,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: monitor = await response.parse() assert_matches_type(Monitor, monitor, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.load_balancers.monitors.with_streaming_response.create( @@ -452,6 +483,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -460,6 +492,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: expected_codes="2xx", ) + @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: monitor = await async_client.load_balancers.monitors.update( @@ -469,6 +502,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Monitor, monitor, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: monitor = await async_client.load_balancers.monitors.update( @@ -496,6 +530,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Monitor, monitor, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.load_balancers.monitors.with_raw_response.update( @@ -509,6 +544,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: monitor = await response.parse() assert_matches_type(Monitor, monitor, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.load_balancers.monitors.with_streaming_response.update( @@ -524,6 +560,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -540,6 +577,7 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: expected_codes="2xx", ) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: monitor = await async_client.load_balancers.monitors.list( @@ -547,6 +585,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[Monitor], monitor, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.load_balancers.monitors.with_raw_response.list( @@ -558,6 +597,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: monitor = await response.parse() assert_matches_type(AsyncSinglePage[Monitor], monitor, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.load_balancers.monitors.with_streaming_response.list( @@ -571,6 +611,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -578,6 +619,7 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: monitor = await async_client.load_balancers.monitors.delete( @@ -587,6 +629,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(MonitorDeleteResponse, monitor, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.load_balancers.monitors.with_raw_response.delete( @@ -600,6 +643,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: monitor = await response.parse() assert_matches_type(MonitorDeleteResponse, monitor, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.load_balancers.monitors.with_streaming_response.delete( @@ -615,6 +659,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -631,6 +676,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: monitor = await async_client.load_balancers.monitors.edit( @@ -640,6 +686,7 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Monitor, monitor, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) -> None: monitor = await async_client.load_balancers.monitors.edit( @@ -667,6 +714,7 @@ async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(Monitor, monitor, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.load_balancers.monitors.with_raw_response.edit( @@ -680,6 +728,7 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: monitor = await response.parse() assert_matches_type(Monitor, monitor, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.load_balancers.monitors.with_streaming_response.edit( @@ -695,6 +744,7 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -711,6 +761,7 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: expected_codes="2xx", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: monitor = await async_client.load_balancers.monitors.get( @@ -719,6 +770,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Monitor, monitor, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.load_balancers.monitors.with_raw_response.get( @@ -731,6 +783,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: monitor = await response.parse() assert_matches_type(Monitor, monitor, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.load_balancers.monitors.with_streaming_response.get( @@ -745,6 +798,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/load_balancers/test_pools.py b/tests/api_resources/load_balancers/test_pools.py index cf90b3a64d8..da5c771f17b 100644 --- a/tests/api_resources/load_balancers/test_pools.py +++ b/tests/api_resources/load_balancers/test_pools.py @@ -21,6 +21,7 @@ class TestPools: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: pool = client.load_balancers.pools.create( @@ -30,6 +31,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Pool, pool, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: pool = client.load_balancers.pools.create( @@ -88,6 +90,7 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Pool, pool, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.load_balancers.pools.with_raw_response.create( @@ -101,6 +104,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: pool = response.parse() assert_matches_type(Pool, pool, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.load_balancers.pools.with_streaming_response.create( @@ -116,6 +120,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -125,6 +130,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: origins=[{}, {}, {}], ) + @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: pool = client.load_balancers.pools.update( @@ -135,6 +141,7 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Pool, pool, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: pool = client.load_balancers.pools.update( @@ -195,6 +202,7 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Pool, pool, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.load_balancers.pools.with_raw_response.update( @@ -209,6 +217,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: pool = response.parse() assert_matches_type(Pool, pool, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.load_balancers.pools.with_streaming_response.update( @@ -225,6 +234,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -243,6 +253,7 @@ def test_path_params_update(self, client: Cloudflare) -> None: origins=[{}, {}, {}], ) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: pool = client.load_balancers.pools.list( @@ -250,6 +261,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[Pool], pool, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: pool = client.load_balancers.pools.list( @@ -258,6 +270,7 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[Pool], pool, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.load_balancers.pools.with_raw_response.list( @@ -269,6 +282,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: pool = response.parse() assert_matches_type(SyncSinglePage[Pool], pool, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.load_balancers.pools.with_streaming_response.list( @@ -282,6 +296,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -289,6 +304,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: pool = client.load_balancers.pools.delete( @@ -298,6 +314,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(PoolDeleteResponse, pool, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.load_balancers.pools.with_raw_response.delete( @@ -311,6 +328,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: pool = response.parse() assert_matches_type(PoolDeleteResponse, pool, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.load_balancers.pools.with_streaming_response.delete( @@ -326,6 +344,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -342,6 +361,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: pool = client.load_balancers.pools.edit( @@ -350,6 +370,7 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Pool, pool, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_edit_with_all_params(self, client: Cloudflare) -> None: pool = client.load_balancers.pools.edit( @@ -410,6 +431,7 @@ def test_method_edit_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Pool, pool, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.load_balancers.pools.with_raw_response.edit( @@ -422,6 +444,7 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: pool = response.parse() assert_matches_type(Pool, pool, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.load_balancers.pools.with_streaming_response.edit( @@ -436,6 +459,7 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -450,6 +474,7 @@ def test_path_params_edit(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: pool = client.load_balancers.pools.get( @@ -458,6 +483,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Pool, pool, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.load_balancers.pools.with_raw_response.get( @@ -470,6 +496,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: pool = response.parse() assert_matches_type(Pool, pool, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.load_balancers.pools.with_streaming_response.get( @@ -484,6 +511,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -502,6 +530,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncPools: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: pool = await async_client.load_balancers.pools.create( @@ -511,6 +540,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Pool, pool, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: pool = await async_client.load_balancers.pools.create( @@ -569,6 +599,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Pool, pool, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.load_balancers.pools.with_raw_response.create( @@ -582,6 +613,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: pool = await response.parse() assert_matches_type(Pool, pool, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.load_balancers.pools.with_streaming_response.create( @@ -597,6 +629,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -606,6 +639,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: origins=[{}, {}, {}], ) + @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: pool = await async_client.load_balancers.pools.update( @@ -616,6 +650,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Pool, pool, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: pool = await async_client.load_balancers.pools.update( @@ -676,6 +711,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Pool, pool, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.load_balancers.pools.with_raw_response.update( @@ -690,6 +726,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: pool = await response.parse() assert_matches_type(Pool, pool, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.load_balancers.pools.with_streaming_response.update( @@ -706,6 +743,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -724,6 +762,7 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: origins=[{}, {}, {}], ) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: pool = await async_client.load_balancers.pools.list( @@ -731,6 +770,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[Pool], pool, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: pool = await async_client.load_balancers.pools.list( @@ -739,6 +779,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncSinglePage[Pool], pool, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.load_balancers.pools.with_raw_response.list( @@ -750,6 +791,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: pool = await response.parse() assert_matches_type(AsyncSinglePage[Pool], pool, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.load_balancers.pools.with_streaming_response.list( @@ -763,6 +805,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -770,6 +813,7 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: pool = await async_client.load_balancers.pools.delete( @@ -779,6 +823,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(PoolDeleteResponse, pool, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.load_balancers.pools.with_raw_response.delete( @@ -792,6 +837,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: pool = await response.parse() assert_matches_type(PoolDeleteResponse, pool, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.load_balancers.pools.with_streaming_response.delete( @@ -807,6 +853,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -823,6 +870,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: pool = await async_client.load_balancers.pools.edit( @@ -831,6 +879,7 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Pool, pool, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) -> None: pool = await async_client.load_balancers.pools.edit( @@ -891,6 +940,7 @@ async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(Pool, pool, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.load_balancers.pools.with_raw_response.edit( @@ -903,6 +953,7 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: pool = await response.parse() assert_matches_type(Pool, pool, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.load_balancers.pools.with_streaming_response.edit( @@ -917,6 +968,7 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -931,6 +983,7 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: pool = await async_client.load_balancers.pools.get( @@ -939,6 +992,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Pool, pool, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.load_balancers.pools.with_raw_response.get( @@ -951,6 +1005,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: pool = await response.parse() assert_matches_type(Pool, pool, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.load_balancers.pools.with_streaming_response.get( @@ -965,6 +1020,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/load_balancers/test_previews.py b/tests/api_resources/load_balancers/test_previews.py index 62da37e0c52..588ab766d4a 100644 --- a/tests/api_resources/load_balancers/test_previews.py +++ b/tests/api_resources/load_balancers/test_previews.py @@ -17,6 +17,7 @@ class TestPreviews: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: preview = client.load_balancers.previews.get( @@ -25,6 +26,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(PreviewGetResponse, preview, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.load_balancers.previews.with_raw_response.get( @@ -37,6 +39,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: preview = response.parse() assert_matches_type(PreviewGetResponse, preview, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.load_balancers.previews.with_streaming_response.get( @@ -51,6 +54,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -69,6 +73,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncPreviews: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: preview = await async_client.load_balancers.previews.get( @@ -77,6 +82,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(PreviewGetResponse, preview, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.load_balancers.previews.with_raw_response.get( @@ -89,6 +95,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: preview = await response.parse() assert_matches_type(PreviewGetResponse, preview, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.load_balancers.previews.with_streaming_response.get( @@ -103,6 +110,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/load_balancers/test_regions.py b/tests/api_resources/load_balancers/test_regions.py index 34d882330a0..ae7e7b8f3d4 100644 --- a/tests/api_resources/load_balancers/test_regions.py +++ b/tests/api_resources/load_balancers/test_regions.py @@ -17,6 +17,7 @@ class TestRegions: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: region = client.load_balancers.regions.list( @@ -24,6 +25,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(RegionListResponse, region, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: region = client.load_balancers.regions.list( @@ -34,6 +36,7 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(RegionListResponse, region, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.load_balancers.regions.with_raw_response.list( @@ -45,6 +48,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: region = response.parse() assert_matches_type(RegionListResponse, region, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.load_balancers.regions.with_streaming_response.list( @@ -58,6 +62,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -65,6 +70,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: region = client.load_balancers.regions.get( @@ -73,6 +79,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(RegionGetResponse, region, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.load_balancers.regions.with_raw_response.get( @@ -85,6 +92,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: region = response.parse() assert_matches_type(RegionGetResponse, region, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.load_balancers.regions.with_streaming_response.get( @@ -99,6 +107,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -111,6 +120,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncRegions: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: region = await async_client.load_balancers.regions.list( @@ -118,6 +128,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(RegionListResponse, region, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: region = await async_client.load_balancers.regions.list( @@ -128,6 +139,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(RegionListResponse, region, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.load_balancers.regions.with_raw_response.list( @@ -139,6 +151,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: region = await response.parse() assert_matches_type(RegionListResponse, region, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.load_balancers.regions.with_streaming_response.list( @@ -152,6 +165,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -159,6 +173,7 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: region = await async_client.load_balancers.regions.get( @@ -167,6 +182,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(RegionGetResponse, region, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.load_balancers.regions.with_raw_response.get( @@ -179,6 +195,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: region = await response.parse() assert_matches_type(RegionGetResponse, region, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.load_balancers.regions.with_streaming_response.get( @@ -193,6 +210,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/load_balancers/test_searches.py b/tests/api_resources/load_balancers/test_searches.py index 46e8c9df231..22949e8c586 100644 --- a/tests/api_resources/load_balancers/test_searches.py +++ b/tests/api_resources/load_balancers/test_searches.py @@ -17,6 +17,7 @@ class TestSearches: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: search = client.load_balancers.searches.get( @@ -24,6 +25,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[SearchGetResponse], search, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: search = client.load_balancers.searches.get( @@ -37,6 +39,7 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[SearchGetResponse], search, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.load_balancers.searches.with_raw_response.get( @@ -48,6 +51,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: search = response.parse() assert_matches_type(Optional[SearchGetResponse], search, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.load_balancers.searches.with_streaming_response.get( @@ -61,6 +65,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -72,6 +77,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncSearches: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: search = await async_client.load_balancers.searches.get( @@ -79,6 +85,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[SearchGetResponse], search, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: search = await async_client.load_balancers.searches.get( @@ -92,6 +99,7 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(Optional[SearchGetResponse], search, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.load_balancers.searches.with_raw_response.get( @@ -103,6 +111,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: search = await response.parse() assert_matches_type(Optional[SearchGetResponse], search, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.load_balancers.searches.with_streaming_response.get( @@ -116,6 +125,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/logpush/datasets/test_fields.py b/tests/api_resources/logpush/datasets/test_fields.py index 46fe9a88285..cd6ac1cc813 100644 --- a/tests/api_resources/logpush/datasets/test_fields.py +++ b/tests/api_resources/logpush/datasets/test_fields.py @@ -16,6 +16,7 @@ class TestFields: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: field = client.logpush.datasets.fields.get( @@ -25,6 +26,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(object, field, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: field = client.logpush.datasets.fields.get( @@ -34,6 +36,7 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(object, field, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.logpush.datasets.fields.with_raw_response.get( @@ -47,6 +50,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: field = response.parse() assert_matches_type(object, field, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.logpush.datasets.fields.with_streaming_response.get( @@ -62,6 +66,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `dataset_id` but received ''"): @@ -89,6 +94,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncFields: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: field = await async_client.logpush.datasets.fields.get( @@ -98,6 +104,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(object, field, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: field = await async_client.logpush.datasets.fields.get( @@ -107,6 +114,7 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(object, field, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.logpush.datasets.fields.with_raw_response.get( @@ -120,6 +128,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: field = await response.parse() assert_matches_type(object, field, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.logpush.datasets.fields.with_streaming_response.get( @@ -135,6 +144,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `dataset_id` but received ''"): diff --git a/tests/api_resources/logpush/datasets/test_jobs.py b/tests/api_resources/logpush/datasets/test_jobs.py index f9277714e0a..d15c3873dd5 100644 --- a/tests/api_resources/logpush/datasets/test_jobs.py +++ b/tests/api_resources/logpush/datasets/test_jobs.py @@ -17,6 +17,7 @@ class TestJobs: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: job = client.logpush.datasets.jobs.get( @@ -26,6 +27,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[JobGetResponse], job, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: job = client.logpush.datasets.jobs.get( @@ -35,6 +37,7 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[JobGetResponse], job, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.logpush.datasets.jobs.with_raw_response.get( @@ -48,6 +51,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: job = response.parse() assert_matches_type(Optional[JobGetResponse], job, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.logpush.datasets.jobs.with_streaming_response.get( @@ -63,6 +67,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `dataset_id` but received ''"): @@ -90,6 +95,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncJobs: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: job = await async_client.logpush.datasets.jobs.get( @@ -99,6 +105,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[JobGetResponse], job, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: job = await async_client.logpush.datasets.jobs.get( @@ -108,6 +115,7 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(Optional[JobGetResponse], job, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.logpush.datasets.jobs.with_raw_response.get( @@ -121,6 +129,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: job = await response.parse() assert_matches_type(Optional[JobGetResponse], job, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.logpush.datasets.jobs.with_streaming_response.get( @@ -136,6 +145,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `dataset_id` but received ''"): diff --git a/tests/api_resources/logpush/test_edge.py b/tests/api_resources/logpush/test_edge.py index 850a8a4cb57..b1bdf576c70 100644 --- a/tests/api_resources/logpush/test_edge.py +++ b/tests/api_resources/logpush/test_edge.py @@ -17,6 +17,7 @@ class TestEdge: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: edge = client.logpush.edge.create( @@ -24,6 +25,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[InstantLogpushJob], edge, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: edge = client.logpush.edge.create( @@ -34,6 +36,7 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[InstantLogpushJob], edge, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.logpush.edge.with_raw_response.create( @@ -45,6 +48,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: edge = response.parse() assert_matches_type(Optional[InstantLogpushJob], edge, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.logpush.edge.with_streaming_response.create( @@ -58,6 +62,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -65,6 +70,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: edge = client.logpush.edge.get( @@ -72,6 +78,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[EdgeGetResponse], edge, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.logpush.edge.with_raw_response.get( @@ -83,6 +90,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: edge = response.parse() assert_matches_type(Optional[EdgeGetResponse], edge, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.logpush.edge.with_streaming_response.get( @@ -96,6 +104,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -107,6 +116,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncEdge: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: edge = await async_client.logpush.edge.create( @@ -114,6 +124,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[InstantLogpushJob], edge, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: edge = await async_client.logpush.edge.create( @@ -124,6 +135,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[InstantLogpushJob], edge, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.logpush.edge.with_raw_response.create( @@ -135,6 +147,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: edge = await response.parse() assert_matches_type(Optional[InstantLogpushJob], edge, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.logpush.edge.with_streaming_response.create( @@ -148,6 +161,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -155,6 +169,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: edge = await async_client.logpush.edge.get( @@ -162,6 +177,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[EdgeGetResponse], edge, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.logpush.edge.with_raw_response.get( @@ -173,6 +189,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: edge = await response.parse() assert_matches_type(Optional[EdgeGetResponse], edge, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.logpush.edge.with_streaming_response.get( @@ -186,6 +203,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): diff --git a/tests/api_resources/logpush/test_jobs.py b/tests/api_resources/logpush/test_jobs.py index fa6560418d5..00c5ac7f89a 100644 --- a/tests/api_resources/logpush/test_jobs.py +++ b/tests/api_resources/logpush/test_jobs.py @@ -18,6 +18,7 @@ class TestJobs: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: job = client.logpush.jobs.create( @@ -27,6 +28,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[LogpushJob], job, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: job = client.logpush.jobs.create( @@ -56,6 +58,7 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[LogpushJob], job, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.logpush.jobs.with_raw_response.create( @@ -69,6 +72,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: job = response.parse() assert_matches_type(Optional[LogpushJob], job, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.logpush.jobs.with_streaming_response.create( @@ -84,6 +88,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -100,6 +105,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: job = client.logpush.jobs.update( @@ -109,6 +115,7 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[LogpushJob], job, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: job = client.logpush.jobs.update( @@ -137,6 +144,7 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[LogpushJob], job, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.logpush.jobs.with_raw_response.update( @@ -150,6 +158,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: job = response.parse() assert_matches_type(Optional[LogpushJob], job, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.logpush.jobs.with_streaming_response.update( @@ -165,6 +174,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -181,6 +191,7 @@ def test_path_params_update(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: job = client.logpush.jobs.list( @@ -189,6 +200,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[Optional[LogpushJob]], job, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: job = client.logpush.jobs.list( @@ -197,6 +209,7 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[Optional[LogpushJob]], job, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.logpush.jobs.with_raw_response.list( @@ -209,6 +222,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: job = response.parse() assert_matches_type(SyncSinglePage[Optional[LogpushJob]], job, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.logpush.jobs.with_streaming_response.list( @@ -223,6 +237,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -237,6 +252,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: job = client.logpush.jobs.delete( @@ -247,6 +263,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(object, job, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_delete_with_all_params(self, client: Cloudflare) -> None: job = client.logpush.jobs.delete( @@ -257,6 +274,7 @@ def test_method_delete_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(object, job, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.logpush.jobs.with_raw_response.delete( @@ -271,6 +289,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: job = response.parse() assert_matches_type(object, job, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.logpush.jobs.with_streaming_response.delete( @@ -287,6 +306,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -305,6 +325,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: job = client.logpush.jobs.get( @@ -314,6 +335,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[LogpushJob], job, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: job = client.logpush.jobs.get( @@ -323,6 +345,7 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[LogpushJob], job, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.logpush.jobs.with_raw_response.get( @@ -336,6 +359,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: job = response.parse() assert_matches_type(Optional[LogpushJob], job, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.logpush.jobs.with_streaming_response.get( @@ -351,6 +375,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -371,6 +396,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncJobs: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: job = await async_client.logpush.jobs.create( @@ -380,6 +406,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[LogpushJob], job, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: job = await async_client.logpush.jobs.create( @@ -409,6 +436,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[LogpushJob], job, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.logpush.jobs.with_raw_response.create( @@ -422,6 +450,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: job = await response.parse() assert_matches_type(Optional[LogpushJob], job, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.logpush.jobs.with_streaming_response.create( @@ -437,6 +466,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -453,6 +483,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: job = await async_client.logpush.jobs.update( @@ -462,6 +493,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[LogpushJob], job, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: job = await async_client.logpush.jobs.update( @@ -490,6 +522,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[LogpushJob], job, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.logpush.jobs.with_raw_response.update( @@ -503,6 +536,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: job = await response.parse() assert_matches_type(Optional[LogpushJob], job, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.logpush.jobs.with_streaming_response.update( @@ -518,6 +552,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -534,6 +569,7 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: job = await async_client.logpush.jobs.list( @@ -542,6 +578,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[Optional[LogpushJob]], job, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: job = await async_client.logpush.jobs.list( @@ -550,6 +587,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncSinglePage[Optional[LogpushJob]], job, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.logpush.jobs.with_raw_response.list( @@ -562,6 +600,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: job = await response.parse() assert_matches_type(AsyncSinglePage[Optional[LogpushJob]], job, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.logpush.jobs.with_streaming_response.list( @@ -576,6 +615,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -590,6 +630,7 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: job = await async_client.logpush.jobs.delete( @@ -600,6 +641,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(object, job, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_delete_with_all_params(self, async_client: AsyncCloudflare) -> None: job = await async_client.logpush.jobs.delete( @@ -610,6 +652,7 @@ async def test_method_delete_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(object, job, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.logpush.jobs.with_raw_response.delete( @@ -624,6 +667,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: job = await response.parse() assert_matches_type(object, job, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.logpush.jobs.with_streaming_response.delete( @@ -640,6 +684,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -658,6 +703,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: job = await async_client.logpush.jobs.get( @@ -667,6 +713,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[LogpushJob], job, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: job = await async_client.logpush.jobs.get( @@ -676,6 +723,7 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(Optional[LogpushJob], job, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.logpush.jobs.with_raw_response.get( @@ -689,6 +737,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: job = await response.parse() assert_matches_type(Optional[LogpushJob], job, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.logpush.jobs.with_streaming_response.get( @@ -704,6 +753,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/logpush/test_ownership.py b/tests/api_resources/logpush/test_ownership.py index e1cfa59e8e7..034653393d7 100644 --- a/tests/api_resources/logpush/test_ownership.py +++ b/tests/api_resources/logpush/test_ownership.py @@ -20,6 +20,7 @@ class TestOwnership: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: ownership = client.logpush.ownership.create( @@ -29,6 +30,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[OwnershipCreateResponse], ownership, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: ownership = client.logpush.ownership.create( @@ -38,6 +40,7 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[OwnershipCreateResponse], ownership, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.logpush.ownership.with_raw_response.create( @@ -51,6 +54,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: ownership = response.parse() assert_matches_type(Optional[OwnershipCreateResponse], ownership, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.logpush.ownership.with_streaming_response.create( @@ -66,6 +70,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -82,6 +87,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_validate(self, client: Cloudflare) -> None: ownership = client.logpush.ownership.validate( @@ -92,6 +98,7 @@ def test_method_validate(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[OwnershipValidation], ownership, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_validate_with_all_params(self, client: Cloudflare) -> None: ownership = client.logpush.ownership.validate( @@ -102,6 +109,7 @@ def test_method_validate_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[OwnershipValidation], ownership, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_validate(self, client: Cloudflare) -> None: response = client.logpush.ownership.with_raw_response.validate( @@ -116,6 +124,7 @@ def test_raw_response_validate(self, client: Cloudflare) -> None: ownership = response.parse() assert_matches_type(Optional[OwnershipValidation], ownership, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_validate(self, client: Cloudflare) -> None: with client.logpush.ownership.with_streaming_response.validate( @@ -132,6 +141,7 @@ def test_streaming_response_validate(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_validate(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -154,6 +164,7 @@ def test_path_params_validate(self, client: Cloudflare) -> None: class TestAsyncOwnership: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: ownership = await async_client.logpush.ownership.create( @@ -163,6 +174,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[OwnershipCreateResponse], ownership, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: ownership = await async_client.logpush.ownership.create( @@ -172,6 +184,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[OwnershipCreateResponse], ownership, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.logpush.ownership.with_raw_response.create( @@ -185,6 +198,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: ownership = await response.parse() assert_matches_type(Optional[OwnershipCreateResponse], ownership, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.logpush.ownership.with_streaming_response.create( @@ -200,6 +214,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -216,6 +231,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_validate(self, async_client: AsyncCloudflare) -> None: ownership = await async_client.logpush.ownership.validate( @@ -226,6 +242,7 @@ async def test_method_validate(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[OwnershipValidation], ownership, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_validate_with_all_params(self, async_client: AsyncCloudflare) -> None: ownership = await async_client.logpush.ownership.validate( @@ -236,6 +253,7 @@ async def test_method_validate_with_all_params(self, async_client: AsyncCloudfla ) assert_matches_type(Optional[OwnershipValidation], ownership, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_validate(self, async_client: AsyncCloudflare) -> None: response = await async_client.logpush.ownership.with_raw_response.validate( @@ -250,6 +268,7 @@ async def test_raw_response_validate(self, async_client: AsyncCloudflare) -> Non ownership = await response.parse() assert_matches_type(Optional[OwnershipValidation], ownership, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_validate(self, async_client: AsyncCloudflare) -> None: async with async_client.logpush.ownership.with_streaming_response.validate( @@ -266,6 +285,7 @@ async def test_streaming_response_validate(self, async_client: AsyncCloudflare) assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_validate(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/logpush/test_validate.py b/tests/api_resources/logpush/test_validate.py index d7065791339..c56ba0f660c 100644 --- a/tests/api_resources/logpush/test_validate.py +++ b/tests/api_resources/logpush/test_validate.py @@ -20,6 +20,7 @@ class TestValidate: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_destination(self, client: Cloudflare) -> None: validate = client.logpush.validate.destination( @@ -29,6 +30,7 @@ def test_method_destination(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ValidateDestinationResponse], validate, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_destination_with_all_params(self, client: Cloudflare) -> None: validate = client.logpush.validate.destination( @@ -38,6 +40,7 @@ def test_method_destination_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ValidateDestinationResponse], validate, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_destination(self, client: Cloudflare) -> None: response = client.logpush.validate.with_raw_response.destination( @@ -51,6 +54,7 @@ def test_raw_response_destination(self, client: Cloudflare) -> None: validate = response.parse() assert_matches_type(Optional[ValidateDestinationResponse], validate, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_destination(self, client: Cloudflare) -> None: with client.logpush.validate.with_streaming_response.destination( @@ -66,6 +70,7 @@ def test_streaming_response_destination(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_destination(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -82,6 +87,7 @@ def test_path_params_destination(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_origin(self, client: Cloudflare) -> None: validate = client.logpush.validate.origin( @@ -91,6 +97,7 @@ def test_method_origin(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ValidateOriginResponse], validate, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_origin_with_all_params(self, client: Cloudflare) -> None: validate = client.logpush.validate.origin( @@ -100,6 +107,7 @@ def test_method_origin_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ValidateOriginResponse], validate, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_origin(self, client: Cloudflare) -> None: response = client.logpush.validate.with_raw_response.origin( @@ -113,6 +121,7 @@ def test_raw_response_origin(self, client: Cloudflare) -> None: validate = response.parse() assert_matches_type(Optional[ValidateOriginResponse], validate, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_origin(self, client: Cloudflare) -> None: with client.logpush.validate.with_streaming_response.origin( @@ -128,6 +137,7 @@ def test_streaming_response_origin(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_origin(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -148,6 +158,7 @@ def test_path_params_origin(self, client: Cloudflare) -> None: class TestAsyncValidate: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_destination(self, async_client: AsyncCloudflare) -> None: validate = await async_client.logpush.validate.destination( @@ -157,6 +168,7 @@ async def test_method_destination(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[ValidateDestinationResponse], validate, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_destination_with_all_params(self, async_client: AsyncCloudflare) -> None: validate = await async_client.logpush.validate.destination( @@ -166,6 +178,7 @@ async def test_method_destination_with_all_params(self, async_client: AsyncCloud ) assert_matches_type(Optional[ValidateDestinationResponse], validate, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_destination(self, async_client: AsyncCloudflare) -> None: response = await async_client.logpush.validate.with_raw_response.destination( @@ -179,6 +192,7 @@ async def test_raw_response_destination(self, async_client: AsyncCloudflare) -> validate = await response.parse() assert_matches_type(Optional[ValidateDestinationResponse], validate, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_destination(self, async_client: AsyncCloudflare) -> None: async with async_client.logpush.validate.with_streaming_response.destination( @@ -194,6 +208,7 @@ async def test_streaming_response_destination(self, async_client: AsyncCloudflar assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_destination(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -210,6 +225,7 @@ async def test_path_params_destination(self, async_client: AsyncCloudflare) -> N zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_origin(self, async_client: AsyncCloudflare) -> None: validate = await async_client.logpush.validate.origin( @@ -219,6 +235,7 @@ async def test_method_origin(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[ValidateOriginResponse], validate, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_origin_with_all_params(self, async_client: AsyncCloudflare) -> None: validate = await async_client.logpush.validate.origin( @@ -228,6 +245,7 @@ async def test_method_origin_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[ValidateOriginResponse], validate, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_origin(self, async_client: AsyncCloudflare) -> None: response = await async_client.logpush.validate.with_raw_response.origin( @@ -241,6 +259,7 @@ async def test_raw_response_origin(self, async_client: AsyncCloudflare) -> None: validate = await response.parse() assert_matches_type(Optional[ValidateOriginResponse], validate, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_origin(self, async_client: AsyncCloudflare) -> None: async with async_client.logpush.validate.with_streaming_response.origin( @@ -256,6 +275,7 @@ async def test_streaming_response_origin(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_origin(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/logs/control/cmb/test_config.py b/tests/api_resources/logs/control/cmb/test_config.py index ec097f13612..20b0222ef19 100644 --- a/tests/api_resources/logs/control/cmb/test_config.py +++ b/tests/api_resources/logs/control/cmb/test_config.py @@ -17,6 +17,7 @@ class TestConfig: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: config = client.logs.control.cmb.config.create( @@ -24,6 +25,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[CmbConfig], config, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: config = client.logs.control.cmb.config.create( @@ -32,6 +34,7 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[CmbConfig], config, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.logs.control.cmb.config.with_raw_response.create( @@ -43,6 +46,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: config = response.parse() assert_matches_type(Optional[CmbConfig], config, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.logs.control.cmb.config.with_streaming_response.create( @@ -56,6 +60,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -63,6 +68,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: config = client.logs.control.cmb.config.delete( @@ -71,6 +77,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(object, config, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.logs.control.cmb.config.with_raw_response.delete( @@ -83,6 +90,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: config = response.parse() assert_matches_type(object, config, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.logs.control.cmb.config.with_streaming_response.delete( @@ -97,6 +105,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -105,6 +114,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: config = client.logs.control.cmb.config.get( @@ -112,6 +122,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[CmbConfig], config, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.logs.control.cmb.config.with_raw_response.get( @@ -123,6 +134,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: config = response.parse() assert_matches_type(Optional[CmbConfig], config, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.logs.control.cmb.config.with_streaming_response.get( @@ -136,6 +148,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -147,6 +160,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncConfig: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: config = await async_client.logs.control.cmb.config.create( @@ -154,6 +168,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[CmbConfig], config, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: config = await async_client.logs.control.cmb.config.create( @@ -162,6 +177,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[CmbConfig], config, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.logs.control.cmb.config.with_raw_response.create( @@ -173,6 +189,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: config = await response.parse() assert_matches_type(Optional[CmbConfig], config, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.logs.control.cmb.config.with_streaming_response.create( @@ -186,6 +203,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -193,6 +211,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: config = await async_client.logs.control.cmb.config.delete( @@ -201,6 +220,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(object, config, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.logs.control.cmb.config.with_raw_response.delete( @@ -213,6 +233,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: config = await response.parse() assert_matches_type(object, config, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.logs.control.cmb.config.with_streaming_response.delete( @@ -227,6 +248,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -235,6 +257,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: config = await async_client.logs.control.cmb.config.get( @@ -242,6 +265,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[CmbConfig], config, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.logs.control.cmb.config.with_raw_response.get( @@ -253,6 +277,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: config = await response.parse() assert_matches_type(Optional[CmbConfig], config, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.logs.control.cmb.config.with_streaming_response.get( @@ -266,6 +291,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/logs/control/retention/test_flag.py b/tests/api_resources/logs/control/retention/test_flag.py index ace95eb0dd9..a6fce61750f 100644 --- a/tests/api_resources/logs/control/retention/test_flag.py +++ b/tests/api_resources/logs/control/retention/test_flag.py @@ -17,6 +17,7 @@ class TestFlag: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: flag = client.logs.control.retention.flag.create( @@ -25,6 +26,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(FlagCreateResponse, flag, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.logs.control.retention.flag.with_raw_response.create( @@ -37,6 +39,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: flag = response.parse() assert_matches_type(FlagCreateResponse, flag, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.logs.control.retention.flag.with_streaming_response.create( @@ -51,6 +54,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -59,6 +63,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: flag=True, ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: flag = client.logs.control.retention.flag.get( @@ -66,6 +71,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(FlagGetResponse, flag, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.logs.control.retention.flag.with_raw_response.get( @@ -77,6 +83,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: flag = response.parse() assert_matches_type(FlagGetResponse, flag, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.logs.control.retention.flag.with_streaming_response.get( @@ -90,6 +97,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -101,6 +109,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncFlag: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: flag = await async_client.logs.control.retention.flag.create( @@ -109,6 +118,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(FlagCreateResponse, flag, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.logs.control.retention.flag.with_raw_response.create( @@ -121,6 +131,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: flag = await response.parse() assert_matches_type(FlagCreateResponse, flag, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.logs.control.retention.flag.with_streaming_response.create( @@ -135,6 +146,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -143,6 +155,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: flag=True, ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: flag = await async_client.logs.control.retention.flag.get( @@ -150,6 +163,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(FlagGetResponse, flag, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.logs.control.retention.flag.with_raw_response.get( @@ -161,6 +175,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: flag = await response.parse() assert_matches_type(FlagGetResponse, flag, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.logs.control.retention.flag.with_streaming_response.get( @@ -174,6 +189,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): diff --git a/tests/api_resources/logs/received/test_fields.py b/tests/api_resources/logs/received/test_fields.py index 67fa637d050..38a6509bf56 100644 --- a/tests/api_resources/logs/received/test_fields.py +++ b/tests/api_resources/logs/received/test_fields.py @@ -17,6 +17,7 @@ class TestFields: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: field = client.logs.received.fields.get( @@ -24,6 +25,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(FieldGetResponse, field, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.logs.received.fields.with_raw_response.get( @@ -35,6 +37,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: field = response.parse() assert_matches_type(FieldGetResponse, field, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.logs.received.fields.with_streaming_response.get( @@ -48,6 +51,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -59,6 +63,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncFields: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: field = await async_client.logs.received.fields.get( @@ -66,6 +71,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(FieldGetResponse, field, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.logs.received.fields.with_raw_response.get( @@ -77,6 +83,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: field = await response.parse() assert_matches_type(FieldGetResponse, field, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.logs.received.fields.with_streaming_response.get( @@ -90,6 +97,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): diff --git a/tests/api_resources/logs/test_rayid.py b/tests/api_resources/logs/test_rayid.py index 5268b84e977..a5264c4450a 100644 --- a/tests/api_resources/logs/test_rayid.py +++ b/tests/api_resources/logs/test_rayid.py @@ -17,6 +17,7 @@ class TestRayID: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: rayid = client.logs.rayid.get( @@ -25,6 +26,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(RayIDGetResponse, rayid, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: rayid = client.logs.rayid.get( @@ -35,6 +37,7 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(RayIDGetResponse, rayid, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.logs.rayid.with_raw_response.get( @@ -47,6 +50,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: rayid = response.parse() assert_matches_type(RayIDGetResponse, rayid, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.logs.rayid.with_streaming_response.get( @@ -61,6 +65,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -79,6 +84,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncRayID: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: rayid = await async_client.logs.rayid.get( @@ -87,6 +93,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(RayIDGetResponse, rayid, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: rayid = await async_client.logs.rayid.get( @@ -97,6 +104,7 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(RayIDGetResponse, rayid, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.logs.rayid.with_raw_response.get( @@ -109,6 +117,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: rayid = await response.parse() assert_matches_type(RayIDGetResponse, rayid, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.logs.rayid.with_streaming_response.get( @@ -123,6 +132,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): diff --git a/tests/api_resources/logs/test_received.py b/tests/api_resources/logs/test_received.py index 86effb42fe4..38002e7e0f9 100644 --- a/tests/api_resources/logs/test_received.py +++ b/tests/api_resources/logs/test_received.py @@ -17,6 +17,7 @@ class TestReceived: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: received = client.logs.received.get( @@ -25,6 +26,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(ReceivedGetResponse, received, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: received = client.logs.received.get( @@ -38,6 +40,7 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(ReceivedGetResponse, received, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.logs.received.with_raw_response.get( @@ -50,6 +53,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: received = response.parse() assert_matches_type(ReceivedGetResponse, received, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.logs.received.with_streaming_response.get( @@ -64,6 +68,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -76,6 +81,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncReceived: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: received = await async_client.logs.received.get( @@ -84,6 +90,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(ReceivedGetResponse, received, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: received = await async_client.logs.received.get( @@ -97,6 +104,7 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(ReceivedGetResponse, received, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.logs.received.with_raw_response.get( @@ -109,6 +117,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: received = await response.parse() assert_matches_type(ReceivedGetResponse, received, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.logs.received.with_streaming_response.get( @@ -123,6 +132,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): diff --git a/tests/api_resources/magic_network_monitoring/configs/test_full.py b/tests/api_resources/magic_network_monitoring/configs/test_full.py index fa2d1efd518..27f997aab52 100644 --- a/tests/api_resources/magic_network_monitoring/configs/test_full.py +++ b/tests/api_resources/magic_network_monitoring/configs/test_full.py @@ -17,6 +17,7 @@ class TestFull: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: full = client.magic_network_monitoring.configs.full.get( @@ -24,6 +25,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Configuration, full, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.magic_network_monitoring.configs.full.with_raw_response.get( @@ -35,6 +37,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: full = response.parse() assert_matches_type(Configuration, full, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.magic_network_monitoring.configs.full.with_streaming_response.get( @@ -48,6 +51,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -59,6 +63,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncFull: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: full = await async_client.magic_network_monitoring.configs.full.get( @@ -66,6 +71,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Configuration, full, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.magic_network_monitoring.configs.full.with_raw_response.get( @@ -77,6 +83,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: full = await response.parse() assert_matches_type(Configuration, full, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.magic_network_monitoring.configs.full.with_streaming_response.get( @@ -90,6 +97,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/magic_network_monitoring/rules/test_advertisements.py b/tests/api_resources/magic_network_monitoring/rules/test_advertisements.py index 6f0e476a67e..ab20ee89a26 100644 --- a/tests/api_resources/magic_network_monitoring/rules/test_advertisements.py +++ b/tests/api_resources/magic_network_monitoring/rules/test_advertisements.py @@ -17,6 +17,7 @@ class TestAdvertisements: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: advertisement = client.magic_network_monitoring.rules.advertisements.edit( @@ -26,6 +27,7 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Advertisement], advertisement, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.magic_network_monitoring.rules.advertisements.with_raw_response.edit( @@ -39,6 +41,7 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: advertisement = response.parse() assert_matches_type(Optional[Advertisement], advertisement, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.magic_network_monitoring.rules.advertisements.with_streaming_response.edit( @@ -54,6 +57,7 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -74,6 +78,7 @@ def test_path_params_edit(self, client: Cloudflare) -> None: class TestAsyncAdvertisements: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: advertisement = await async_client.magic_network_monitoring.rules.advertisements.edit( @@ -83,6 +88,7 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Advertisement], advertisement, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.magic_network_monitoring.rules.advertisements.with_raw_response.edit( @@ -96,6 +102,7 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: advertisement = await response.parse() assert_matches_type(Optional[Advertisement], advertisement, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.magic_network_monitoring.rules.advertisements.with_streaming_response.edit( @@ -111,6 +118,7 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/magic_network_monitoring/test_configs.py b/tests/api_resources/magic_network_monitoring/test_configs.py index 980b6168208..b576e51b7e6 100644 --- a/tests/api_resources/magic_network_monitoring/test_configs.py +++ b/tests/api_resources/magic_network_monitoring/test_configs.py @@ -19,6 +19,7 @@ class TestConfigs: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: config = client.magic_network_monitoring.configs.create( @@ -27,6 +28,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Configuration, config, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.magic_network_monitoring.configs.with_raw_response.create( @@ -39,6 +41,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: config = response.parse() assert_matches_type(Configuration, config, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.magic_network_monitoring.configs.with_streaming_response.create( @@ -53,6 +56,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -61,6 +65,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: config = client.magic_network_monitoring.configs.update( @@ -69,6 +74,7 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Configuration, config, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.magic_network_monitoring.configs.with_raw_response.update( @@ -81,6 +87,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: config = response.parse() assert_matches_type(Configuration, config, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.magic_network_monitoring.configs.with_streaming_response.update( @@ -95,6 +102,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -103,6 +111,7 @@ def test_path_params_update(self, client: Cloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: config = client.magic_network_monitoring.configs.delete( @@ -111,6 +120,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(Configuration, config, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.magic_network_monitoring.configs.with_raw_response.delete( @@ -123,6 +133,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: config = response.parse() assert_matches_type(Configuration, config, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.magic_network_monitoring.configs.with_streaming_response.delete( @@ -137,6 +148,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -145,6 +157,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: config = client.magic_network_monitoring.configs.edit( @@ -153,6 +166,7 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Configuration, config, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.magic_network_monitoring.configs.with_raw_response.edit( @@ -165,6 +179,7 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: config = response.parse() assert_matches_type(Configuration, config, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.magic_network_monitoring.configs.with_streaming_response.edit( @@ -179,6 +194,7 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -187,6 +203,7 @@ def test_path_params_edit(self, client: Cloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: config = client.magic_network_monitoring.configs.get( @@ -194,6 +211,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Configuration, config, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.magic_network_monitoring.configs.with_raw_response.get( @@ -205,6 +223,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: config = response.parse() assert_matches_type(Configuration, config, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.magic_network_monitoring.configs.with_streaming_response.get( @@ -218,6 +237,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -229,6 +249,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncConfigs: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: config = await async_client.magic_network_monitoring.configs.create( @@ -237,6 +258,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Configuration, config, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.magic_network_monitoring.configs.with_raw_response.create( @@ -249,6 +271,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: config = await response.parse() assert_matches_type(Configuration, config, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.magic_network_monitoring.configs.with_streaming_response.create( @@ -263,6 +286,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -271,6 +295,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: config = await async_client.magic_network_monitoring.configs.update( @@ -279,6 +304,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Configuration, config, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.magic_network_monitoring.configs.with_raw_response.update( @@ -291,6 +317,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: config = await response.parse() assert_matches_type(Configuration, config, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.magic_network_monitoring.configs.with_streaming_response.update( @@ -305,6 +332,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -313,6 +341,7 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: config = await async_client.magic_network_monitoring.configs.delete( @@ -321,6 +350,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Configuration, config, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.magic_network_monitoring.configs.with_raw_response.delete( @@ -333,6 +363,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: config = await response.parse() assert_matches_type(Configuration, config, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.magic_network_monitoring.configs.with_streaming_response.delete( @@ -347,6 +378,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -355,6 +387,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: config = await async_client.magic_network_monitoring.configs.edit( @@ -363,6 +396,7 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Configuration, config, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.magic_network_monitoring.configs.with_raw_response.edit( @@ -375,6 +409,7 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: config = await response.parse() assert_matches_type(Configuration, config, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.magic_network_monitoring.configs.with_streaming_response.edit( @@ -389,6 +424,7 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -397,6 +433,7 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: config = await async_client.magic_network_monitoring.configs.get( @@ -404,6 +441,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Configuration, config, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.magic_network_monitoring.configs.with_raw_response.get( @@ -415,6 +453,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: config = await response.parse() assert_matches_type(Configuration, config, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.magic_network_monitoring.configs.with_streaming_response.get( @@ -428,6 +467,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/magic_network_monitoring/test_rules.py b/tests/api_resources/magic_network_monitoring/test_rules.py index eced0bbf75e..2d5ba503284 100644 --- a/tests/api_resources/magic_network_monitoring/test_rules.py +++ b/tests/api_resources/magic_network_monitoring/test_rules.py @@ -20,6 +20,7 @@ class TestRules: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: rule = client.magic_network_monitoring.rules.create( @@ -28,6 +29,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[MagicNetworkMonitoringRule], rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.magic_network_monitoring.rules.with_raw_response.create( @@ -40,6 +42,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: rule = response.parse() assert_matches_type(Optional[MagicNetworkMonitoringRule], rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.magic_network_monitoring.rules.with_streaming_response.create( @@ -54,6 +57,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -62,6 +66,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: rule = client.magic_network_monitoring.rules.update( @@ -70,6 +75,7 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[MagicNetworkMonitoringRule], rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.magic_network_monitoring.rules.with_raw_response.update( @@ -82,6 +88,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: rule = response.parse() assert_matches_type(Optional[MagicNetworkMonitoringRule], rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.magic_network_monitoring.rules.with_streaming_response.update( @@ -96,6 +103,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -104,6 +112,7 @@ def test_path_params_update(self, client: Cloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: rule = client.magic_network_monitoring.rules.list( @@ -111,6 +120,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[Optional[MagicNetworkMonitoringRule]], rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.magic_network_monitoring.rules.with_raw_response.list( @@ -122,6 +132,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: rule = response.parse() assert_matches_type(SyncSinglePage[Optional[MagicNetworkMonitoringRule]], rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.magic_network_monitoring.rules.with_streaming_response.list( @@ -135,6 +146,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -142,6 +154,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: rule = client.magic_network_monitoring.rules.delete( @@ -151,6 +164,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[MagicNetworkMonitoringRule], rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.magic_network_monitoring.rules.with_raw_response.delete( @@ -164,6 +178,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: rule = response.parse() assert_matches_type(Optional[MagicNetworkMonitoringRule], rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.magic_network_monitoring.rules.with_streaming_response.delete( @@ -179,6 +194,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -195,6 +211,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: rule = client.magic_network_monitoring.rules.edit( @@ -204,6 +221,7 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[MagicNetworkMonitoringRule], rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.magic_network_monitoring.rules.with_raw_response.edit( @@ -217,6 +235,7 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: rule = response.parse() assert_matches_type(Optional[MagicNetworkMonitoringRule], rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.magic_network_monitoring.rules.with_streaming_response.edit( @@ -232,6 +251,7 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -248,6 +268,7 @@ def test_path_params_edit(self, client: Cloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: rule = client.magic_network_monitoring.rules.get( @@ -256,6 +277,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[MagicNetworkMonitoringRule], rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.magic_network_monitoring.rules.with_raw_response.get( @@ -268,6 +290,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: rule = response.parse() assert_matches_type(Optional[MagicNetworkMonitoringRule], rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.magic_network_monitoring.rules.with_streaming_response.get( @@ -282,6 +305,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -300,6 +324,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncRules: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: rule = await async_client.magic_network_monitoring.rules.create( @@ -308,6 +333,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[MagicNetworkMonitoringRule], rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.magic_network_monitoring.rules.with_raw_response.create( @@ -320,6 +346,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: rule = await response.parse() assert_matches_type(Optional[MagicNetworkMonitoringRule], rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.magic_network_monitoring.rules.with_streaming_response.create( @@ -334,6 +361,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -342,6 +370,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: rule = await async_client.magic_network_monitoring.rules.update( @@ -350,6 +379,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[MagicNetworkMonitoringRule], rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.magic_network_monitoring.rules.with_raw_response.update( @@ -362,6 +392,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: rule = await response.parse() assert_matches_type(Optional[MagicNetworkMonitoringRule], rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.magic_network_monitoring.rules.with_streaming_response.update( @@ -376,6 +407,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -384,6 +416,7 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: rule = await async_client.magic_network_monitoring.rules.list( @@ -391,6 +424,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[Optional[MagicNetworkMonitoringRule]], rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.magic_network_monitoring.rules.with_raw_response.list( @@ -402,6 +436,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: rule = await response.parse() assert_matches_type(AsyncSinglePage[Optional[MagicNetworkMonitoringRule]], rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.magic_network_monitoring.rules.with_streaming_response.list( @@ -415,6 +450,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -422,6 +458,7 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: rule = await async_client.magic_network_monitoring.rules.delete( @@ -431,6 +468,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[MagicNetworkMonitoringRule], rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.magic_network_monitoring.rules.with_raw_response.delete( @@ -444,6 +482,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: rule = await response.parse() assert_matches_type(Optional[MagicNetworkMonitoringRule], rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.magic_network_monitoring.rules.with_streaming_response.delete( @@ -459,6 +498,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -475,6 +515,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: rule = await async_client.magic_network_monitoring.rules.edit( @@ -484,6 +525,7 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[MagicNetworkMonitoringRule], rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.magic_network_monitoring.rules.with_raw_response.edit( @@ -497,6 +539,7 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: rule = await response.parse() assert_matches_type(Optional[MagicNetworkMonitoringRule], rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.magic_network_monitoring.rules.with_streaming_response.edit( @@ -512,6 +555,7 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -528,6 +572,7 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: rule = await async_client.magic_network_monitoring.rules.get( @@ -536,6 +581,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[MagicNetworkMonitoringRule], rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.magic_network_monitoring.rules.with_raw_response.get( @@ -548,6 +594,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: rule = await response.parse() assert_matches_type(Optional[MagicNetworkMonitoringRule], rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.magic_network_monitoring.rules.with_streaming_response.get( @@ -562,6 +609,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/magic_transit/sites/test_acls.py b/tests/api_resources/magic_transit/sites/test_acls.py index 461198c96f3..97709ac7ee2 100644 --- a/tests/api_resources/magic_transit/sites/test_acls.py +++ b/tests/api_resources/magic_transit/sites/test_acls.py @@ -23,6 +23,7 @@ class TestACLs: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: acl = client.magic_transit.sites.acls.create( @@ -31,6 +32,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(ACLCreateResponse, acl, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: acl = client.magic_transit.sites.acls.create( @@ -57,6 +59,7 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(ACLCreateResponse, acl, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.magic_transit.sites.acls.with_raw_response.create( @@ -69,6 +72,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: acl = response.parse() assert_matches_type(ACLCreateResponse, acl, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.magic_transit.sites.acls.with_streaming_response.create( @@ -83,6 +87,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -97,6 +102,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: acl = client.magic_transit.sites.acls.update( @@ -106,6 +112,7 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(ACLUpdateResponse, acl, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: acl = client.magic_transit.sites.acls.update( @@ -133,6 +140,7 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(ACLUpdateResponse, acl, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.magic_transit.sites.acls.with_raw_response.update( @@ -146,6 +154,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: acl = response.parse() assert_matches_type(ACLUpdateResponse, acl, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.magic_transit.sites.acls.with_streaming_response.update( @@ -161,6 +170,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -184,6 +194,7 @@ def test_path_params_update(self, client: Cloudflare) -> None: site_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: acl = client.magic_transit.sites.acls.list( @@ -192,6 +203,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(ACLListResponse, acl, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.magic_transit.sites.acls.with_raw_response.list( @@ -204,6 +216,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: acl = response.parse() assert_matches_type(ACLListResponse, acl, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.magic_transit.sites.acls.with_streaming_response.list( @@ -218,6 +231,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -232,6 +246,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: acl = client.magic_transit.sites.acls.delete( @@ -242,6 +257,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(ACLDeleteResponse, acl, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.magic_transit.sites.acls.with_raw_response.delete( @@ -256,6 +272,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: acl = response.parse() assert_matches_type(ACLDeleteResponse, acl, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.magic_transit.sites.acls.with_streaming_response.delete( @@ -272,6 +289,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -298,6 +316,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: acl = client.magic_transit.sites.acls.get( @@ -307,6 +326,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(ACLGetResponse, acl, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.magic_transit.sites.acls.with_raw_response.get( @@ -320,6 +340,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: acl = response.parse() assert_matches_type(ACLGetResponse, acl, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.magic_transit.sites.acls.with_streaming_response.get( @@ -335,6 +356,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -362,6 +384,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncACLs: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: acl = await async_client.magic_transit.sites.acls.create( @@ -370,6 +393,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(ACLCreateResponse, acl, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: acl = await async_client.magic_transit.sites.acls.create( @@ -396,6 +420,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(ACLCreateResponse, acl, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.magic_transit.sites.acls.with_raw_response.create( @@ -408,6 +433,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: acl = await response.parse() assert_matches_type(ACLCreateResponse, acl, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.magic_transit.sites.acls.with_streaming_response.create( @@ -422,6 +448,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -436,6 +463,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: acl = await async_client.magic_transit.sites.acls.update( @@ -445,6 +473,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(ACLUpdateResponse, acl, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: acl = await async_client.magic_transit.sites.acls.update( @@ -472,6 +501,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(ACLUpdateResponse, acl, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.magic_transit.sites.acls.with_raw_response.update( @@ -485,6 +515,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: acl = await response.parse() assert_matches_type(ACLUpdateResponse, acl, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.magic_transit.sites.acls.with_streaming_response.update( @@ -500,6 +531,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -523,6 +555,7 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: site_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: acl = await async_client.magic_transit.sites.acls.list( @@ -531,6 +564,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(ACLListResponse, acl, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.magic_transit.sites.acls.with_raw_response.list( @@ -543,6 +577,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: acl = await response.parse() assert_matches_type(ACLListResponse, acl, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.magic_transit.sites.acls.with_streaming_response.list( @@ -557,6 +592,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -571,6 +607,7 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: acl = await async_client.magic_transit.sites.acls.delete( @@ -581,6 +618,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(ACLDeleteResponse, acl, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.magic_transit.sites.acls.with_raw_response.delete( @@ -595,6 +633,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: acl = await response.parse() assert_matches_type(ACLDeleteResponse, acl, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.magic_transit.sites.acls.with_streaming_response.delete( @@ -611,6 +650,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -637,6 +677,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: acl = await async_client.magic_transit.sites.acls.get( @@ -646,6 +687,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(ACLGetResponse, acl, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.magic_transit.sites.acls.with_raw_response.get( @@ -659,6 +701,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: acl = await response.parse() assert_matches_type(ACLGetResponse, acl, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.magic_transit.sites.acls.with_streaming_response.get( @@ -674,6 +717,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/magic_transit/sites/test_lans.py b/tests/api_resources/magic_transit/sites/test_lans.py index 00bf85863aa..c32b860414a 100644 --- a/tests/api_resources/magic_transit/sites/test_lans.py +++ b/tests/api_resources/magic_transit/sites/test_lans.py @@ -23,6 +23,7 @@ class TestLANs: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: lan = client.magic_transit.sites.lans.create( @@ -31,6 +32,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(LANCreateResponse, lan, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: lan = client.magic_transit.sites.lans.create( @@ -78,6 +80,7 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(LANCreateResponse, lan, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.magic_transit.sites.lans.with_raw_response.create( @@ -90,6 +93,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: lan = response.parse() assert_matches_type(LANCreateResponse, lan, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.magic_transit.sites.lans.with_streaming_response.create( @@ -104,6 +108,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -118,6 +123,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: lan = client.magic_transit.sites.lans.update( @@ -127,6 +133,7 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(LANUpdateResponse, lan, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: lan = client.magic_transit.sites.lans.update( @@ -174,6 +181,7 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(LANUpdateResponse, lan, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.magic_transit.sites.lans.with_raw_response.update( @@ -187,6 +195,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: lan = response.parse() assert_matches_type(LANUpdateResponse, lan, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.magic_transit.sites.lans.with_streaming_response.update( @@ -202,6 +211,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -225,6 +235,7 @@ def test_path_params_update(self, client: Cloudflare) -> None: site_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: lan = client.magic_transit.sites.lans.list( @@ -233,6 +244,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(LANListResponse, lan, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.magic_transit.sites.lans.with_raw_response.list( @@ -245,6 +257,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: lan = response.parse() assert_matches_type(LANListResponse, lan, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.magic_transit.sites.lans.with_streaming_response.list( @@ -259,6 +272,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -273,6 +287,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: lan = client.magic_transit.sites.lans.delete( @@ -283,6 +298,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(LANDeleteResponse, lan, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.magic_transit.sites.lans.with_raw_response.delete( @@ -297,6 +313,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: lan = response.parse() assert_matches_type(LANDeleteResponse, lan, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.magic_transit.sites.lans.with_streaming_response.delete( @@ -313,6 +330,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -339,6 +357,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: lan = client.magic_transit.sites.lans.get( @@ -348,6 +367,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(LANGetResponse, lan, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.magic_transit.sites.lans.with_raw_response.get( @@ -361,6 +381,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: lan = response.parse() assert_matches_type(LANGetResponse, lan, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.magic_transit.sites.lans.with_streaming_response.get( @@ -376,6 +397,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -403,6 +425,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncLANs: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: lan = await async_client.magic_transit.sites.lans.create( @@ -411,6 +434,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(LANCreateResponse, lan, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: lan = await async_client.magic_transit.sites.lans.create( @@ -458,6 +482,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(LANCreateResponse, lan, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.magic_transit.sites.lans.with_raw_response.create( @@ -470,6 +495,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: lan = await response.parse() assert_matches_type(LANCreateResponse, lan, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.magic_transit.sites.lans.with_streaming_response.create( @@ -484,6 +510,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -498,6 +525,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: lan = await async_client.magic_transit.sites.lans.update( @@ -507,6 +535,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(LANUpdateResponse, lan, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: lan = await async_client.magic_transit.sites.lans.update( @@ -554,6 +583,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(LANUpdateResponse, lan, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.magic_transit.sites.lans.with_raw_response.update( @@ -567,6 +597,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: lan = await response.parse() assert_matches_type(LANUpdateResponse, lan, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.magic_transit.sites.lans.with_streaming_response.update( @@ -582,6 +613,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -605,6 +637,7 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: site_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: lan = await async_client.magic_transit.sites.lans.list( @@ -613,6 +646,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(LANListResponse, lan, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.magic_transit.sites.lans.with_raw_response.list( @@ -625,6 +659,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: lan = await response.parse() assert_matches_type(LANListResponse, lan, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.magic_transit.sites.lans.with_streaming_response.list( @@ -639,6 +674,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -653,6 +689,7 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: lan = await async_client.magic_transit.sites.lans.delete( @@ -663,6 +700,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(LANDeleteResponse, lan, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.magic_transit.sites.lans.with_raw_response.delete( @@ -677,6 +715,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: lan = await response.parse() assert_matches_type(LANDeleteResponse, lan, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.magic_transit.sites.lans.with_streaming_response.delete( @@ -693,6 +732,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -719,6 +759,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: lan = await async_client.magic_transit.sites.lans.get( @@ -728,6 +769,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(LANGetResponse, lan, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.magic_transit.sites.lans.with_raw_response.get( @@ -741,6 +783,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: lan = await response.parse() assert_matches_type(LANGetResponse, lan, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.magic_transit.sites.lans.with_streaming_response.get( @@ -756,6 +799,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/magic_transit/sites/test_wans.py b/tests/api_resources/magic_transit/sites/test_wans.py index b3c4a069637..163a1a1d6f5 100644 --- a/tests/api_resources/magic_transit/sites/test_wans.py +++ b/tests/api_resources/magic_transit/sites/test_wans.py @@ -23,6 +23,7 @@ class TestWANs: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: wan = client.magic_transit.sites.wans.create( @@ -31,6 +32,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(WANCreateResponse, wan, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: wan = client.magic_transit.sites.wans.create( @@ -50,6 +52,7 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(WANCreateResponse, wan, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.magic_transit.sites.wans.with_raw_response.create( @@ -62,6 +65,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: wan = response.parse() assert_matches_type(WANCreateResponse, wan, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.magic_transit.sites.wans.with_streaming_response.create( @@ -76,6 +80,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -90,6 +95,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: wan = client.magic_transit.sites.wans.update( @@ -99,6 +105,7 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(WANUpdateResponse, wan, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: wan = client.magic_transit.sites.wans.update( @@ -119,6 +126,7 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(WANUpdateResponse, wan, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.magic_transit.sites.wans.with_raw_response.update( @@ -132,6 +140,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: wan = response.parse() assert_matches_type(WANUpdateResponse, wan, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.magic_transit.sites.wans.with_streaming_response.update( @@ -147,6 +156,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -170,6 +180,7 @@ def test_path_params_update(self, client: Cloudflare) -> None: site_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: wan = client.magic_transit.sites.wans.list( @@ -178,6 +189,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(WANListResponse, wan, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.magic_transit.sites.wans.with_raw_response.list( @@ -190,6 +202,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: wan = response.parse() assert_matches_type(WANListResponse, wan, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.magic_transit.sites.wans.with_streaming_response.list( @@ -204,6 +217,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -218,6 +232,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: wan = client.magic_transit.sites.wans.delete( @@ -228,6 +243,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(WANDeleteResponse, wan, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.magic_transit.sites.wans.with_raw_response.delete( @@ -242,6 +258,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: wan = response.parse() assert_matches_type(WANDeleteResponse, wan, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.magic_transit.sites.wans.with_streaming_response.delete( @@ -258,6 +275,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -284,6 +302,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: wan = client.magic_transit.sites.wans.get( @@ -293,6 +312,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(WANGetResponse, wan, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.magic_transit.sites.wans.with_raw_response.get( @@ -306,6 +326,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: wan = response.parse() assert_matches_type(WANGetResponse, wan, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.magic_transit.sites.wans.with_streaming_response.get( @@ -321,6 +342,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -348,6 +370,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncWANs: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: wan = await async_client.magic_transit.sites.wans.create( @@ -356,6 +379,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(WANCreateResponse, wan, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: wan = await async_client.magic_transit.sites.wans.create( @@ -375,6 +399,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(WANCreateResponse, wan, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.magic_transit.sites.wans.with_raw_response.create( @@ -387,6 +412,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: wan = await response.parse() assert_matches_type(WANCreateResponse, wan, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.magic_transit.sites.wans.with_streaming_response.create( @@ -401,6 +427,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -415,6 +442,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: wan = await async_client.magic_transit.sites.wans.update( @@ -424,6 +452,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(WANUpdateResponse, wan, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: wan = await async_client.magic_transit.sites.wans.update( @@ -444,6 +473,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(WANUpdateResponse, wan, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.magic_transit.sites.wans.with_raw_response.update( @@ -457,6 +487,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: wan = await response.parse() assert_matches_type(WANUpdateResponse, wan, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.magic_transit.sites.wans.with_streaming_response.update( @@ -472,6 +503,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -495,6 +527,7 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: site_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: wan = await async_client.magic_transit.sites.wans.list( @@ -503,6 +536,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(WANListResponse, wan, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.magic_transit.sites.wans.with_raw_response.list( @@ -515,6 +549,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: wan = await response.parse() assert_matches_type(WANListResponse, wan, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.magic_transit.sites.wans.with_streaming_response.list( @@ -529,6 +564,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -543,6 +579,7 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: wan = await async_client.magic_transit.sites.wans.delete( @@ -553,6 +590,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(WANDeleteResponse, wan, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.magic_transit.sites.wans.with_raw_response.delete( @@ -567,6 +605,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: wan = await response.parse() assert_matches_type(WANDeleteResponse, wan, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.magic_transit.sites.wans.with_streaming_response.delete( @@ -583,6 +622,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -609,6 +649,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: wan = await async_client.magic_transit.sites.wans.get( @@ -618,6 +659,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(WANGetResponse, wan, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.magic_transit.sites.wans.with_raw_response.get( @@ -631,6 +673,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: wan = await response.parse() assert_matches_type(WANGetResponse, wan, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.magic_transit.sites.wans.with_streaming_response.get( @@ -646,6 +689,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/magic_transit/test_cf_interconnects.py b/tests/api_resources/magic_transit/test_cf_interconnects.py index 8869b789a89..1c04dbbae9f 100644 --- a/tests/api_resources/magic_transit/test_cf_interconnects.py +++ b/tests/api_resources/magic_transit/test_cf_interconnects.py @@ -21,6 +21,7 @@ class TestCfInterconnects: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: cf_interconnect = client.magic_transit.cf_interconnects.update( @@ -29,6 +30,7 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(CfInterconnectUpdateResponse, cf_interconnect, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: cf_interconnect = client.magic_transit.cf_interconnects.update( @@ -47,6 +49,7 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(CfInterconnectUpdateResponse, cf_interconnect, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.magic_transit.cf_interconnects.with_raw_response.update( @@ -59,6 +62,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: cf_interconnect = response.parse() assert_matches_type(CfInterconnectUpdateResponse, cf_interconnect, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.magic_transit.cf_interconnects.with_streaming_response.update( @@ -73,6 +77,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -87,6 +92,7 @@ def test_path_params_update(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: cf_interconnect = client.magic_transit.cf_interconnects.list( @@ -94,6 +100,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(CfInterconnectListResponse, cf_interconnect, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.magic_transit.cf_interconnects.with_raw_response.list( @@ -105,6 +112,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: cf_interconnect = response.parse() assert_matches_type(CfInterconnectListResponse, cf_interconnect, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.magic_transit.cf_interconnects.with_streaming_response.list( @@ -118,6 +126,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -125,6 +134,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: cf_interconnect = client.magic_transit.cf_interconnects.get( @@ -133,6 +143,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(CfInterconnectGetResponse, cf_interconnect, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.magic_transit.cf_interconnects.with_raw_response.get( @@ -145,6 +156,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: cf_interconnect = response.parse() assert_matches_type(CfInterconnectGetResponse, cf_interconnect, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.magic_transit.cf_interconnects.with_streaming_response.get( @@ -159,6 +171,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -177,6 +190,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncCfInterconnects: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: cf_interconnect = await async_client.magic_transit.cf_interconnects.update( @@ -185,6 +199,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(CfInterconnectUpdateResponse, cf_interconnect, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: cf_interconnect = await async_client.magic_transit.cf_interconnects.update( @@ -203,6 +218,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(CfInterconnectUpdateResponse, cf_interconnect, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.magic_transit.cf_interconnects.with_raw_response.update( @@ -215,6 +231,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: cf_interconnect = await response.parse() assert_matches_type(CfInterconnectUpdateResponse, cf_interconnect, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.magic_transit.cf_interconnects.with_streaming_response.update( @@ -229,6 +246,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -243,6 +261,7 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: cf_interconnect = await async_client.magic_transit.cf_interconnects.list( @@ -250,6 +269,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(CfInterconnectListResponse, cf_interconnect, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.magic_transit.cf_interconnects.with_raw_response.list( @@ -261,6 +281,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: cf_interconnect = await response.parse() assert_matches_type(CfInterconnectListResponse, cf_interconnect, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.magic_transit.cf_interconnects.with_streaming_response.list( @@ -274,6 +295,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -281,6 +303,7 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: cf_interconnect = await async_client.magic_transit.cf_interconnects.get( @@ -289,6 +312,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(CfInterconnectGetResponse, cf_interconnect, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.magic_transit.cf_interconnects.with_raw_response.get( @@ -301,6 +325,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: cf_interconnect = await response.parse() assert_matches_type(CfInterconnectGetResponse, cf_interconnect, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.magic_transit.cf_interconnects.with_streaming_response.get( @@ -315,6 +340,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/magic_transit/test_gre_tunnels.py b/tests/api_resources/magic_transit/test_gre_tunnels.py index a4883afcd67..41761c37795 100644 --- a/tests/api_resources/magic_transit/test_gre_tunnels.py +++ b/tests/api_resources/magic_transit/test_gre_tunnels.py @@ -23,6 +23,7 @@ class TestGRETunnels: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: gre_tunnel = client.magic_transit.gre_tunnels.create( @@ -31,6 +32,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(GRETunnelCreateResponse, gre_tunnel, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.magic_transit.gre_tunnels.with_raw_response.create( @@ -43,6 +45,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: gre_tunnel = response.parse() assert_matches_type(GRETunnelCreateResponse, gre_tunnel, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.magic_transit.gre_tunnels.with_streaming_response.create( @@ -57,6 +60,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -65,6 +69,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: gre_tunnel = client.magic_transit.gre_tunnels.update( @@ -77,6 +82,7 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(GRETunnelUpdateResponse, gre_tunnel, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: gre_tunnel = client.magic_transit.gre_tunnels.update( @@ -99,6 +105,7 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(GRETunnelUpdateResponse, gre_tunnel, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.magic_transit.gre_tunnels.with_raw_response.update( @@ -115,6 +122,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: gre_tunnel = response.parse() assert_matches_type(GRETunnelUpdateResponse, gre_tunnel, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.magic_transit.gre_tunnels.with_streaming_response.update( @@ -133,6 +141,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -155,6 +164,7 @@ def test_path_params_update(self, client: Cloudflare) -> None: name="GRE_1", ) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: gre_tunnel = client.magic_transit.gre_tunnels.list( @@ -162,6 +172,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(GRETunnelListResponse, gre_tunnel, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.magic_transit.gre_tunnels.with_raw_response.list( @@ -173,6 +184,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: gre_tunnel = response.parse() assert_matches_type(GRETunnelListResponse, gre_tunnel, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.magic_transit.gre_tunnels.with_streaming_response.list( @@ -186,6 +198,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -193,6 +206,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: gre_tunnel = client.magic_transit.gre_tunnels.delete( @@ -202,6 +216,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(GRETunnelDeleteResponse, gre_tunnel, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.magic_transit.gre_tunnels.with_raw_response.delete( @@ -215,6 +230,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: gre_tunnel = response.parse() assert_matches_type(GRETunnelDeleteResponse, gre_tunnel, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.magic_transit.gre_tunnels.with_streaming_response.delete( @@ -230,6 +246,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -246,6 +263,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: gre_tunnel = client.magic_transit.gre_tunnels.get( @@ -254,6 +272,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(GRETunnelGetResponse, gre_tunnel, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.magic_transit.gre_tunnels.with_raw_response.get( @@ -266,6 +285,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: gre_tunnel = response.parse() assert_matches_type(GRETunnelGetResponse, gre_tunnel, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.magic_transit.gre_tunnels.with_streaming_response.get( @@ -280,6 +300,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -298,6 +319,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncGRETunnels: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: gre_tunnel = await async_client.magic_transit.gre_tunnels.create( @@ -306,6 +328,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(GRETunnelCreateResponse, gre_tunnel, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.magic_transit.gre_tunnels.with_raw_response.create( @@ -318,6 +341,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: gre_tunnel = await response.parse() assert_matches_type(GRETunnelCreateResponse, gre_tunnel, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.magic_transit.gre_tunnels.with_streaming_response.create( @@ -332,6 +356,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -340,6 +365,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: gre_tunnel = await async_client.magic_transit.gre_tunnels.update( @@ -352,6 +378,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(GRETunnelUpdateResponse, gre_tunnel, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: gre_tunnel = await async_client.magic_transit.gre_tunnels.update( @@ -374,6 +401,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(GRETunnelUpdateResponse, gre_tunnel, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.magic_transit.gre_tunnels.with_raw_response.update( @@ -390,6 +418,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: gre_tunnel = await response.parse() assert_matches_type(GRETunnelUpdateResponse, gre_tunnel, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.magic_transit.gre_tunnels.with_streaming_response.update( @@ -408,6 +437,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -430,6 +460,7 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: name="GRE_1", ) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: gre_tunnel = await async_client.magic_transit.gre_tunnels.list( @@ -437,6 +468,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(GRETunnelListResponse, gre_tunnel, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.magic_transit.gre_tunnels.with_raw_response.list( @@ -448,6 +480,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: gre_tunnel = await response.parse() assert_matches_type(GRETunnelListResponse, gre_tunnel, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.magic_transit.gre_tunnels.with_streaming_response.list( @@ -461,6 +494,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -468,6 +502,7 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: gre_tunnel = await async_client.magic_transit.gre_tunnels.delete( @@ -477,6 +512,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(GRETunnelDeleteResponse, gre_tunnel, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.magic_transit.gre_tunnels.with_raw_response.delete( @@ -490,6 +526,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: gre_tunnel = await response.parse() assert_matches_type(GRETunnelDeleteResponse, gre_tunnel, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.magic_transit.gre_tunnels.with_streaming_response.delete( @@ -505,6 +542,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -521,6 +559,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: gre_tunnel = await async_client.magic_transit.gre_tunnels.get( @@ -529,6 +568,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(GRETunnelGetResponse, gre_tunnel, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.magic_transit.gre_tunnels.with_raw_response.get( @@ -541,6 +581,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: gre_tunnel = await response.parse() assert_matches_type(GRETunnelGetResponse, gre_tunnel, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.magic_transit.gre_tunnels.with_streaming_response.get( @@ -555,6 +596,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/magic_transit/test_ipsec_tunnels.py b/tests/api_resources/magic_transit/test_ipsec_tunnels.py index 5afeff220d3..0b528f25c67 100644 --- a/tests/api_resources/magic_transit/test_ipsec_tunnels.py +++ b/tests/api_resources/magic_transit/test_ipsec_tunnels.py @@ -24,6 +24,7 @@ class TestIPSECTunnels: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: ipsec_tunnel = client.magic_transit.ipsec_tunnels.create( @@ -34,6 +35,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(IPSECTunnelCreateResponse, ipsec_tunnel, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: ipsec_tunnel = client.magic_transit.ipsec_tunnels.create( @@ -55,6 +57,7 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(IPSECTunnelCreateResponse, ipsec_tunnel, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.magic_transit.ipsec_tunnels.with_raw_response.create( @@ -69,6 +72,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: ipsec_tunnel = response.parse() assert_matches_type(IPSECTunnelCreateResponse, ipsec_tunnel, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.magic_transit.ipsec_tunnels.with_streaming_response.create( @@ -85,6 +89,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -95,6 +100,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: name="IPsec_1", ) + @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: ipsec_tunnel = client.magic_transit.ipsec_tunnels.update( @@ -106,6 +112,7 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(IPSECTunnelUpdateResponse, ipsec_tunnel, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: ipsec_tunnel = client.magic_transit.ipsec_tunnels.update( @@ -128,6 +135,7 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(IPSECTunnelUpdateResponse, ipsec_tunnel, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.magic_transit.ipsec_tunnels.with_raw_response.update( @@ -143,6 +151,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: ipsec_tunnel = response.parse() assert_matches_type(IPSECTunnelUpdateResponse, ipsec_tunnel, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.magic_transit.ipsec_tunnels.with_streaming_response.update( @@ -160,6 +169,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -180,6 +190,7 @@ def test_path_params_update(self, client: Cloudflare) -> None: name="IPsec_1", ) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: ipsec_tunnel = client.magic_transit.ipsec_tunnels.list( @@ -187,6 +198,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(IPSECTunnelListResponse, ipsec_tunnel, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.magic_transit.ipsec_tunnels.with_raw_response.list( @@ -198,6 +210,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: ipsec_tunnel = response.parse() assert_matches_type(IPSECTunnelListResponse, ipsec_tunnel, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.magic_transit.ipsec_tunnels.with_streaming_response.list( @@ -211,6 +224,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -218,6 +232,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: ipsec_tunnel = client.magic_transit.ipsec_tunnels.delete( @@ -227,6 +242,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(IPSECTunnelDeleteResponse, ipsec_tunnel, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.magic_transit.ipsec_tunnels.with_raw_response.delete( @@ -240,6 +256,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: ipsec_tunnel = response.parse() assert_matches_type(IPSECTunnelDeleteResponse, ipsec_tunnel, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.magic_transit.ipsec_tunnels.with_streaming_response.delete( @@ -255,6 +272,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -271,6 +289,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: ipsec_tunnel = client.magic_transit.ipsec_tunnels.get( @@ -279,6 +298,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(IPSECTunnelGetResponse, ipsec_tunnel, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.magic_transit.ipsec_tunnels.with_raw_response.get( @@ -291,6 +311,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: ipsec_tunnel = response.parse() assert_matches_type(IPSECTunnelGetResponse, ipsec_tunnel, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.magic_transit.ipsec_tunnels.with_streaming_response.get( @@ -305,6 +326,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -319,6 +341,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize def test_method_psk_generate(self, client: Cloudflare) -> None: ipsec_tunnel = client.magic_transit.ipsec_tunnels.psk_generate( @@ -328,6 +351,7 @@ def test_method_psk_generate(self, client: Cloudflare) -> None: ) assert_matches_type(IPSECTunnelPSKGenerateResponse, ipsec_tunnel, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_psk_generate(self, client: Cloudflare) -> None: response = client.magic_transit.ipsec_tunnels.with_raw_response.psk_generate( @@ -341,6 +365,7 @@ def test_raw_response_psk_generate(self, client: Cloudflare) -> None: ipsec_tunnel = response.parse() assert_matches_type(IPSECTunnelPSKGenerateResponse, ipsec_tunnel, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_psk_generate(self, client: Cloudflare) -> None: with client.magic_transit.ipsec_tunnels.with_streaming_response.psk_generate( @@ -356,6 +381,7 @@ def test_streaming_response_psk_generate(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_psk_generate(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -376,6 +402,7 @@ def test_path_params_psk_generate(self, client: Cloudflare) -> None: class TestAsyncIPSECTunnels: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: ipsec_tunnel = await async_client.magic_transit.ipsec_tunnels.create( @@ -386,6 +413,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(IPSECTunnelCreateResponse, ipsec_tunnel, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: ipsec_tunnel = await async_client.magic_transit.ipsec_tunnels.create( @@ -407,6 +435,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(IPSECTunnelCreateResponse, ipsec_tunnel, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.magic_transit.ipsec_tunnels.with_raw_response.create( @@ -421,6 +450,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: ipsec_tunnel = await response.parse() assert_matches_type(IPSECTunnelCreateResponse, ipsec_tunnel, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.magic_transit.ipsec_tunnels.with_streaming_response.create( @@ -437,6 +467,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -447,6 +478,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: name="IPsec_1", ) + @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: ipsec_tunnel = await async_client.magic_transit.ipsec_tunnels.update( @@ -458,6 +490,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(IPSECTunnelUpdateResponse, ipsec_tunnel, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: ipsec_tunnel = await async_client.magic_transit.ipsec_tunnels.update( @@ -480,6 +513,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(IPSECTunnelUpdateResponse, ipsec_tunnel, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.magic_transit.ipsec_tunnels.with_raw_response.update( @@ -495,6 +529,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: ipsec_tunnel = await response.parse() assert_matches_type(IPSECTunnelUpdateResponse, ipsec_tunnel, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.magic_transit.ipsec_tunnels.with_streaming_response.update( @@ -512,6 +547,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -532,6 +568,7 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: name="IPsec_1", ) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: ipsec_tunnel = await async_client.magic_transit.ipsec_tunnels.list( @@ -539,6 +576,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(IPSECTunnelListResponse, ipsec_tunnel, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.magic_transit.ipsec_tunnels.with_raw_response.list( @@ -550,6 +588,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: ipsec_tunnel = await response.parse() assert_matches_type(IPSECTunnelListResponse, ipsec_tunnel, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.magic_transit.ipsec_tunnels.with_streaming_response.list( @@ -563,6 +602,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -570,6 +610,7 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ipsec_tunnel = await async_client.magic_transit.ipsec_tunnels.delete( @@ -579,6 +620,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(IPSECTunnelDeleteResponse, ipsec_tunnel, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.magic_transit.ipsec_tunnels.with_raw_response.delete( @@ -592,6 +634,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: ipsec_tunnel = await response.parse() assert_matches_type(IPSECTunnelDeleteResponse, ipsec_tunnel, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.magic_transit.ipsec_tunnels.with_streaming_response.delete( @@ -607,6 +650,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -623,6 +667,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: ipsec_tunnel = await async_client.magic_transit.ipsec_tunnels.get( @@ -631,6 +676,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(IPSECTunnelGetResponse, ipsec_tunnel, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.magic_transit.ipsec_tunnels.with_raw_response.get( @@ -643,6 +689,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: ipsec_tunnel = await response.parse() assert_matches_type(IPSECTunnelGetResponse, ipsec_tunnel, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.magic_transit.ipsec_tunnels.with_streaming_response.get( @@ -657,6 +704,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -671,6 +719,7 @@ async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize async def test_method_psk_generate(self, async_client: AsyncCloudflare) -> None: ipsec_tunnel = await async_client.magic_transit.ipsec_tunnels.psk_generate( @@ -680,6 +729,7 @@ async def test_method_psk_generate(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(IPSECTunnelPSKGenerateResponse, ipsec_tunnel, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_psk_generate(self, async_client: AsyncCloudflare) -> None: response = await async_client.magic_transit.ipsec_tunnels.with_raw_response.psk_generate( @@ -693,6 +743,7 @@ async def test_raw_response_psk_generate(self, async_client: AsyncCloudflare) -> ipsec_tunnel = await response.parse() assert_matches_type(IPSECTunnelPSKGenerateResponse, ipsec_tunnel, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_psk_generate(self, async_client: AsyncCloudflare) -> None: async with async_client.magic_transit.ipsec_tunnels.with_streaming_response.psk_generate( @@ -708,6 +759,7 @@ async def test_streaming_response_psk_generate(self, async_client: AsyncCloudfla assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_psk_generate(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/magic_transit/test_routes.py b/tests/api_resources/magic_transit/test_routes.py index 861ea145315..1278b9ccae5 100644 --- a/tests/api_resources/magic_transit/test_routes.py +++ b/tests/api_resources/magic_transit/test_routes.py @@ -24,6 +24,7 @@ class TestRoutes: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: route = client.magic_transit.routes.create( @@ -32,6 +33,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(RouteCreateResponse, route, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.magic_transit.routes.with_raw_response.create( @@ -44,6 +46,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: route = response.parse() assert_matches_type(RouteCreateResponse, route, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.magic_transit.routes.with_streaming_response.create( @@ -58,6 +61,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -66,6 +70,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: route = client.magic_transit.routes.update( @@ -77,6 +82,7 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(RouteUpdateResponse, route, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: route = client.magic_transit.routes.update( @@ -94,6 +100,7 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(RouteUpdateResponse, route, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.magic_transit.routes.with_raw_response.update( @@ -109,6 +116,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: route = response.parse() assert_matches_type(RouteUpdateResponse, route, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.magic_transit.routes.with_streaming_response.update( @@ -126,6 +134,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -146,6 +155,7 @@ def test_path_params_update(self, client: Cloudflare) -> None: priority=0, ) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: route = client.magic_transit.routes.list( @@ -153,6 +163,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(RouteListResponse, route, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.magic_transit.routes.with_raw_response.list( @@ -164,6 +175,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: route = response.parse() assert_matches_type(RouteListResponse, route, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.magic_transit.routes.with_streaming_response.list( @@ -177,6 +189,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -184,6 +197,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: route = client.magic_transit.routes.delete( @@ -193,6 +207,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(RouteDeleteResponse, route, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.magic_transit.routes.with_raw_response.delete( @@ -206,6 +221,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: route = response.parse() assert_matches_type(RouteDeleteResponse, route, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.magic_transit.routes.with_streaming_response.delete( @@ -221,6 +237,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -237,6 +254,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize def test_method_empty(self, client: Cloudflare) -> None: route = client.magic_transit.routes.empty( @@ -245,6 +263,7 @@ def test_method_empty(self, client: Cloudflare) -> None: ) assert_matches_type(RouteEmptyResponse, route, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_empty(self, client: Cloudflare) -> None: response = client.magic_transit.routes.with_raw_response.empty( @@ -257,6 +276,7 @@ def test_raw_response_empty(self, client: Cloudflare) -> None: route = response.parse() assert_matches_type(RouteEmptyResponse, route, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_empty(self, client: Cloudflare) -> None: with client.magic_transit.routes.with_streaming_response.empty( @@ -271,6 +291,7 @@ def test_streaming_response_empty(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_empty(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -279,6 +300,7 @@ def test_path_params_empty(self, client: Cloudflare) -> None: routes=[{}, {}, {}], ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: route = client.magic_transit.routes.get( @@ -287,6 +309,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(RouteGetResponse, route, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.magic_transit.routes.with_raw_response.get( @@ -299,6 +322,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: route = response.parse() assert_matches_type(RouteGetResponse, route, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.magic_transit.routes.with_streaming_response.get( @@ -313,6 +337,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -331,6 +356,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncRoutes: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: route = await async_client.magic_transit.routes.create( @@ -339,6 +365,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(RouteCreateResponse, route, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.magic_transit.routes.with_raw_response.create( @@ -351,6 +378,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: route = await response.parse() assert_matches_type(RouteCreateResponse, route, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.magic_transit.routes.with_streaming_response.create( @@ -365,6 +393,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -373,6 +402,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: route = await async_client.magic_transit.routes.update( @@ -384,6 +414,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(RouteUpdateResponse, route, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: route = await async_client.magic_transit.routes.update( @@ -401,6 +432,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(RouteUpdateResponse, route, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.magic_transit.routes.with_raw_response.update( @@ -416,6 +448,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: route = await response.parse() assert_matches_type(RouteUpdateResponse, route, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.magic_transit.routes.with_streaming_response.update( @@ -433,6 +466,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -453,6 +487,7 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: priority=0, ) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: route = await async_client.magic_transit.routes.list( @@ -460,6 +495,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(RouteListResponse, route, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.magic_transit.routes.with_raw_response.list( @@ -471,6 +507,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: route = await response.parse() assert_matches_type(RouteListResponse, route, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.magic_transit.routes.with_streaming_response.list( @@ -484,6 +521,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -491,6 +529,7 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: route = await async_client.magic_transit.routes.delete( @@ -500,6 +539,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(RouteDeleteResponse, route, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.magic_transit.routes.with_raw_response.delete( @@ -513,6 +553,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: route = await response.parse() assert_matches_type(RouteDeleteResponse, route, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.magic_transit.routes.with_streaming_response.delete( @@ -528,6 +569,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -544,6 +586,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize async def test_method_empty(self, async_client: AsyncCloudflare) -> None: route = await async_client.magic_transit.routes.empty( @@ -552,6 +595,7 @@ async def test_method_empty(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(RouteEmptyResponse, route, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_empty(self, async_client: AsyncCloudflare) -> None: response = await async_client.magic_transit.routes.with_raw_response.empty( @@ -564,6 +608,7 @@ async def test_raw_response_empty(self, async_client: AsyncCloudflare) -> None: route = await response.parse() assert_matches_type(RouteEmptyResponse, route, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_empty(self, async_client: AsyncCloudflare) -> None: async with async_client.magic_transit.routes.with_streaming_response.empty( @@ -578,6 +623,7 @@ async def test_streaming_response_empty(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_empty(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -586,6 +632,7 @@ async def test_path_params_empty(self, async_client: AsyncCloudflare) -> None: routes=[{}, {}, {}], ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: route = await async_client.magic_transit.routes.get( @@ -594,6 +641,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(RouteGetResponse, route, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.magic_transit.routes.with_raw_response.get( @@ -606,6 +654,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: route = await response.parse() assert_matches_type(RouteGetResponse, route, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.magic_transit.routes.with_streaming_response.get( @@ -620,6 +669,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/magic_transit/test_sites.py b/tests/api_resources/magic_transit/test_sites.py index 2003ba52faf..d3c2faa8f48 100644 --- a/tests/api_resources/magic_transit/test_sites.py +++ b/tests/api_resources/magic_transit/test_sites.py @@ -23,6 +23,7 @@ class TestSites: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: site = client.magic_transit.sites.create( @@ -30,6 +31,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(SiteCreateResponse, site, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: site = client.magic_transit.sites.create( @@ -48,6 +50,7 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SiteCreateResponse, site, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.magic_transit.sites.with_raw_response.create( @@ -59,6 +62,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: site = response.parse() assert_matches_type(SiteCreateResponse, site, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.magic_transit.sites.with_streaming_response.create( @@ -72,6 +76,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -79,6 +84,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: site = client.magic_transit.sites.update( @@ -87,6 +93,7 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(SiteUpdateResponse, site, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: site = client.magic_transit.sites.update( @@ -105,6 +112,7 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SiteUpdateResponse, site, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.magic_transit.sites.with_raw_response.update( @@ -117,6 +125,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: site = response.parse() assert_matches_type(SiteUpdateResponse, site, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.magic_transit.sites.with_streaming_response.update( @@ -131,6 +140,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -145,6 +155,7 @@ def test_path_params_update(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: site = client.magic_transit.sites.list( @@ -152,6 +163,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SiteListResponse, site, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: site = client.magic_transit.sites.list( @@ -160,6 +172,7 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SiteListResponse, site, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.magic_transit.sites.with_raw_response.list( @@ -171,6 +184,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: site = response.parse() assert_matches_type(SiteListResponse, site, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.magic_transit.sites.with_streaming_response.list( @@ -184,6 +198,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -191,6 +206,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: site = client.magic_transit.sites.delete( @@ -200,6 +216,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(SiteDeleteResponse, site, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.magic_transit.sites.with_raw_response.delete( @@ -213,6 +230,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: site = response.parse() assert_matches_type(SiteDeleteResponse, site, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.magic_transit.sites.with_streaming_response.delete( @@ -228,6 +246,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -244,6 +263,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: site = client.magic_transit.sites.get( @@ -252,6 +272,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(SiteGetResponse, site, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.magic_transit.sites.with_raw_response.get( @@ -264,6 +285,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: site = response.parse() assert_matches_type(SiteGetResponse, site, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.magic_transit.sites.with_streaming_response.get( @@ -278,6 +300,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -296,6 +319,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncSites: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: site = await async_client.magic_transit.sites.create( @@ -303,6 +327,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(SiteCreateResponse, site, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: site = await async_client.magic_transit.sites.create( @@ -321,6 +346,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(SiteCreateResponse, site, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.magic_transit.sites.with_raw_response.create( @@ -332,6 +358,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: site = await response.parse() assert_matches_type(SiteCreateResponse, site, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.magic_transit.sites.with_streaming_response.create( @@ -345,6 +372,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -352,6 +380,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: site = await async_client.magic_transit.sites.update( @@ -360,6 +389,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(SiteUpdateResponse, site, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: site = await async_client.magic_transit.sites.update( @@ -378,6 +408,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(SiteUpdateResponse, site, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.magic_transit.sites.with_raw_response.update( @@ -390,6 +421,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: site = await response.parse() assert_matches_type(SiteUpdateResponse, site, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.magic_transit.sites.with_streaming_response.update( @@ -404,6 +436,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -418,6 +451,7 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: site = await async_client.magic_transit.sites.list( @@ -425,6 +459,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(SiteListResponse, site, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: site = await async_client.magic_transit.sites.list( @@ -433,6 +468,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(SiteListResponse, site, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.magic_transit.sites.with_raw_response.list( @@ -444,6 +480,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: site = await response.parse() assert_matches_type(SiteListResponse, site, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.magic_transit.sites.with_streaming_response.list( @@ -457,6 +494,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -464,6 +502,7 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: site = await async_client.magic_transit.sites.delete( @@ -473,6 +512,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(SiteDeleteResponse, site, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.magic_transit.sites.with_raw_response.delete( @@ -486,6 +526,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: site = await response.parse() assert_matches_type(SiteDeleteResponse, site, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.magic_transit.sites.with_streaming_response.delete( @@ -501,6 +542,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -517,6 +559,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: site = await async_client.magic_transit.sites.get( @@ -525,6 +568,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(SiteGetResponse, site, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.magic_transit.sites.with_raw_response.get( @@ -537,6 +581,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: site = await response.parse() assert_matches_type(SiteGetResponse, site, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.magic_transit.sites.with_streaming_response.get( @@ -551,6 +596,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/mtls_certificates/test_associations.py b/tests/api_resources/mtls_certificates/test_associations.py index cce75fc9fec..a253daa651a 100644 --- a/tests/api_resources/mtls_certificates/test_associations.py +++ b/tests/api_resources/mtls_certificates/test_associations.py @@ -17,6 +17,7 @@ class TestAssociations: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: association = client.mtls_certificates.associations.get( @@ -25,6 +26,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[AssociationGetResponse], association, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.mtls_certificates.associations.with_raw_response.get( @@ -37,6 +39,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: association = response.parse() assert_matches_type(Optional[AssociationGetResponse], association, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.mtls_certificates.associations.with_streaming_response.get( @@ -51,6 +54,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -69,6 +73,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncAssociations: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: association = await async_client.mtls_certificates.associations.get( @@ -77,6 +82,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[AssociationGetResponse], association, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.mtls_certificates.associations.with_raw_response.get( @@ -89,6 +95,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: association = await response.parse() assert_matches_type(Optional[AssociationGetResponse], association, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.mtls_certificates.associations.with_streaming_response.get( @@ -103,6 +110,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/origin_tls_client_auth/hostnames/test_certificates.py b/tests/api_resources/origin_tls_client_auth/hostnames/test_certificates.py index 28591604bf5..ff3cb79a4b9 100644 --- a/tests/api_resources/origin_tls_client_auth/hostnames/test_certificates.py +++ b/tests/api_resources/origin_tls_client_auth/hostnames/test_certificates.py @@ -23,6 +23,7 @@ class TestCertificates: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: certificate = client.origin_tls_client_auth.hostnames.certificates.create( @@ -32,6 +33,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(CertificateCreateResponse, certificate, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.origin_tls_client_auth.hostnames.certificates.with_raw_response.create( @@ -45,6 +47,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: certificate = response.parse() assert_matches_type(CertificateCreateResponse, certificate, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.origin_tls_client_auth.hostnames.certificates.with_streaming_response.create( @@ -60,6 +63,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -69,6 +73,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: private_key="-----BEGIN RSA PRIVATE KEY-----\nMIIEowIBAAKCAQEAwQHoetcl9+5ikGzV6cMzWtWPJHqXT3wpbEkRU9Yz7lgvddmG\ndtcGbg/1CGZu0jJGkMoppoUo4c3dts3iwqRYmBikUP77wwY2QGmDZw2FvkJCJlKn\nabIRuGvBKwzESIXgKk2016aTP6/dAjEHyo6SeoK8lkIySUvK0fyOVlsiEsCmOpid\ntnKX/a+50GjB79CJH4ER2lLVZnhePFR/zUOyPxZQQ4naHf7yu/b5jhO0f8fwt+py\nFxIXjbEIdZliWRkRMtzrHOJIhrmJ2A1J7iOrirbbwillwjjNVUWPf3IJ3M12S9pE\newooaeO2izNTERcG9HzAacbVRn2Y2SWIyT/18QIDAQABAoIBACbhTYXBZYKmYPCb\nHBR1IBlCQA2nLGf0qRuJNJZg5iEzXows/6tc8YymZkQE7nolapWsQ+upk2y5Xdp/\naxiuprIs9JzkYK8Ox0r+dlwCG1kSW+UAbX0bQ/qUqlsTvU6muVuMP8vZYHxJ3wmb\n+ufRBKztPTQ/rYWaYQcgC0RWI20HTFBMxlTAyNxYNWzX7RKFkGVVyB9RsAtmcc8g\n+j4OdosbfNoJPS0HeIfNpAznDfHKdxDk2Yc1tV6RHBrC1ynyLE9+TaflIAdo2MVv\nKLMLq51GqYKtgJFIlBRPQqKoyXdz3fGvXrTkf/WY9QNq0J1Vk5ERePZ54mN8iZB7\n9lwy/AkCgYEA6FXzosxswaJ2wQLeoYc7ceaweX/SwTvxHgXzRyJIIT0eJWgx13Wo\n/WA3Iziimsjf6qE+SI/8laxPp2A86VMaIt3Z3mJN/CqSVGw8LK2AQst+OwdPyDMu\niacE8lj/IFGC8mwNUAb9CzGU3JpU4PxxGFjS/eMtGeRXCWkK4NE+G08CgYEA1Kp9\nN2JrVlqUz+gAX+LPmE9OEMAS9WQSQsfCHGogIFDGGcNf7+uwBM7GAaSJIP01zcoe\nVAgWdzXCv3FLhsaZoJ6RyLOLay5phbu1iaTr4UNYm5WtYTzMzqh8l1+MFFDl9xDB\nvULuCIIrglM5MeS/qnSg1uMoH2oVPj9TVst/ir8CgYEAxrI7Ws9Zc4Bt70N1As+U\nlySjaEVZCMkqvHJ6TCuVZFfQoE0r0whdLdRLU2PsLFP+q7qaeZQqgBaNSKeVcDYR\n9B+nY/jOmQoPewPVsp/vQTCnE/R81spu0mp0YI6cIheT1Z9zAy322svcc43JaWB7\nmEbeqyLOP4Z4qSOcmghZBSECgYACvR9Xs0DGn+wCsW4vze/2ei77MD4OQvepPIFX\ndFZtlBy5ADcgE9z0cuVB6CiL8DbdK5kwY9pGNr8HUCI03iHkW6Zs+0L0YmihfEVe\nPG19PSzK9CaDdhD9KFZSbLyVFmWfxOt50H7YRTTiPMgjyFpfi5j2q348yVT0tEQS\nfhRqaQKBgAcWPokmJ7EbYQGeMbS7HC8eWO/RyamlnSffdCdSc7ue3zdVJxpAkQ8W\nqu80pEIF6raIQfAf8MXiiZ7auFOSnHQTXUbhCpvDLKi0Mwq3G8Pl07l+2s6dQG6T\nlv6XTQaMyf6n1yjzL+fzDrH3qXMxHMO/b13EePXpDMpY7HQpoLDi\n-----END RSA PRIVATE KEY-----\n", ) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: certificate = client.origin_tls_client_auth.hostnames.certificates.list( @@ -76,6 +81,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[AuthenticatedOriginPull], certificate, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.origin_tls_client_auth.hostnames.certificates.with_raw_response.list( @@ -87,6 +93,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: certificate = response.parse() assert_matches_type(SyncSinglePage[AuthenticatedOriginPull], certificate, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.origin_tls_client_auth.hostnames.certificates.with_streaming_response.list( @@ -100,6 +107,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -107,6 +115,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: certificate = client.origin_tls_client_auth.hostnames.certificates.delete( @@ -116,6 +125,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(CertificateDeleteResponse, certificate, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.origin_tls_client_auth.hostnames.certificates.with_raw_response.delete( @@ -129,6 +139,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: certificate = response.parse() assert_matches_type(CertificateDeleteResponse, certificate, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.origin_tls_client_auth.hostnames.certificates.with_streaming_response.delete( @@ -144,6 +155,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -160,6 +172,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: certificate = client.origin_tls_client_auth.hostnames.certificates.get( @@ -168,6 +181,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(CertificateGetResponse, certificate, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.origin_tls_client_auth.hostnames.certificates.with_raw_response.get( @@ -180,6 +194,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: certificate = response.parse() assert_matches_type(CertificateGetResponse, certificate, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.origin_tls_client_auth.hostnames.certificates.with_streaming_response.get( @@ -194,6 +209,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -212,6 +228,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncCertificates: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: certificate = await async_client.origin_tls_client_auth.hostnames.certificates.create( @@ -221,6 +238,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(CertificateCreateResponse, certificate, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.origin_tls_client_auth.hostnames.certificates.with_raw_response.create( @@ -234,6 +252,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: certificate = await response.parse() assert_matches_type(CertificateCreateResponse, certificate, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.origin_tls_client_auth.hostnames.certificates.with_streaming_response.create( @@ -249,6 +268,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -258,6 +278,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: private_key="-----BEGIN RSA PRIVATE KEY-----\nMIIEowIBAAKCAQEAwQHoetcl9+5ikGzV6cMzWtWPJHqXT3wpbEkRU9Yz7lgvddmG\ndtcGbg/1CGZu0jJGkMoppoUo4c3dts3iwqRYmBikUP77wwY2QGmDZw2FvkJCJlKn\nabIRuGvBKwzESIXgKk2016aTP6/dAjEHyo6SeoK8lkIySUvK0fyOVlsiEsCmOpid\ntnKX/a+50GjB79CJH4ER2lLVZnhePFR/zUOyPxZQQ4naHf7yu/b5jhO0f8fwt+py\nFxIXjbEIdZliWRkRMtzrHOJIhrmJ2A1J7iOrirbbwillwjjNVUWPf3IJ3M12S9pE\newooaeO2izNTERcG9HzAacbVRn2Y2SWIyT/18QIDAQABAoIBACbhTYXBZYKmYPCb\nHBR1IBlCQA2nLGf0qRuJNJZg5iEzXows/6tc8YymZkQE7nolapWsQ+upk2y5Xdp/\naxiuprIs9JzkYK8Ox0r+dlwCG1kSW+UAbX0bQ/qUqlsTvU6muVuMP8vZYHxJ3wmb\n+ufRBKztPTQ/rYWaYQcgC0RWI20HTFBMxlTAyNxYNWzX7RKFkGVVyB9RsAtmcc8g\n+j4OdosbfNoJPS0HeIfNpAznDfHKdxDk2Yc1tV6RHBrC1ynyLE9+TaflIAdo2MVv\nKLMLq51GqYKtgJFIlBRPQqKoyXdz3fGvXrTkf/WY9QNq0J1Vk5ERePZ54mN8iZB7\n9lwy/AkCgYEA6FXzosxswaJ2wQLeoYc7ceaweX/SwTvxHgXzRyJIIT0eJWgx13Wo\n/WA3Iziimsjf6qE+SI/8laxPp2A86VMaIt3Z3mJN/CqSVGw8LK2AQst+OwdPyDMu\niacE8lj/IFGC8mwNUAb9CzGU3JpU4PxxGFjS/eMtGeRXCWkK4NE+G08CgYEA1Kp9\nN2JrVlqUz+gAX+LPmE9OEMAS9WQSQsfCHGogIFDGGcNf7+uwBM7GAaSJIP01zcoe\nVAgWdzXCv3FLhsaZoJ6RyLOLay5phbu1iaTr4UNYm5WtYTzMzqh8l1+MFFDl9xDB\nvULuCIIrglM5MeS/qnSg1uMoH2oVPj9TVst/ir8CgYEAxrI7Ws9Zc4Bt70N1As+U\nlySjaEVZCMkqvHJ6TCuVZFfQoE0r0whdLdRLU2PsLFP+q7qaeZQqgBaNSKeVcDYR\n9B+nY/jOmQoPewPVsp/vQTCnE/R81spu0mp0YI6cIheT1Z9zAy322svcc43JaWB7\nmEbeqyLOP4Z4qSOcmghZBSECgYACvR9Xs0DGn+wCsW4vze/2ei77MD4OQvepPIFX\ndFZtlBy5ADcgE9z0cuVB6CiL8DbdK5kwY9pGNr8HUCI03iHkW6Zs+0L0YmihfEVe\nPG19PSzK9CaDdhD9KFZSbLyVFmWfxOt50H7YRTTiPMgjyFpfi5j2q348yVT0tEQS\nfhRqaQKBgAcWPokmJ7EbYQGeMbS7HC8eWO/RyamlnSffdCdSc7ue3zdVJxpAkQ8W\nqu80pEIF6raIQfAf8MXiiZ7auFOSnHQTXUbhCpvDLKi0Mwq3G8Pl07l+2s6dQG6T\nlv6XTQaMyf6n1yjzL+fzDrH3qXMxHMO/b13EePXpDMpY7HQpoLDi\n-----END RSA PRIVATE KEY-----\n", ) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: certificate = await async_client.origin_tls_client_auth.hostnames.certificates.list( @@ -265,6 +286,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[AuthenticatedOriginPull], certificate, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.origin_tls_client_auth.hostnames.certificates.with_raw_response.list( @@ -276,6 +298,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: certificate = await response.parse() assert_matches_type(AsyncSinglePage[AuthenticatedOriginPull], certificate, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.origin_tls_client_auth.hostnames.certificates.with_streaming_response.list( @@ -289,6 +312,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -296,6 +320,7 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: certificate = await async_client.origin_tls_client_auth.hostnames.certificates.delete( @@ -305,6 +330,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(CertificateDeleteResponse, certificate, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.origin_tls_client_auth.hostnames.certificates.with_raw_response.delete( @@ -318,6 +344,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: certificate = await response.parse() assert_matches_type(CertificateDeleteResponse, certificate, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.origin_tls_client_auth.hostnames.certificates.with_streaming_response.delete( @@ -333,6 +360,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -349,6 +377,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: certificate = await async_client.origin_tls_client_auth.hostnames.certificates.get( @@ -357,6 +386,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(CertificateGetResponse, certificate, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.origin_tls_client_auth.hostnames.certificates.with_raw_response.get( @@ -369,6 +399,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: certificate = await response.parse() assert_matches_type(CertificateGetResponse, certificate, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.origin_tls_client_auth.hostnames.certificates.with_streaming_response.get( @@ -383,6 +414,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): diff --git a/tests/api_resources/origin_tls_client_auth/test_hostnames.py b/tests/api_resources/origin_tls_client_auth/test_hostnames.py index 2878f827e81..a3247d84853 100644 --- a/tests/api_resources/origin_tls_client_auth/test_hostnames.py +++ b/tests/api_resources/origin_tls_client_auth/test_hostnames.py @@ -20,6 +20,7 @@ class TestHostnames: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: hostname = client.origin_tls_client_auth.hostnames.update( @@ -28,6 +29,7 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[HostnameUpdateResponse], hostname, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.origin_tls_client_auth.hostnames.with_raw_response.update( @@ -40,6 +42,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: hostname = response.parse() assert_matches_type(Optional[HostnameUpdateResponse], hostname, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.origin_tls_client_auth.hostnames.with_streaming_response.update( @@ -54,6 +57,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -62,6 +66,7 @@ def test_path_params_update(self, client: Cloudflare) -> None: config=[{}, {}, {}], ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: hostname = client.origin_tls_client_auth.hostnames.get( @@ -70,6 +75,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(AuthenticatedOriginPull, hostname, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.origin_tls_client_auth.hostnames.with_raw_response.get( @@ -82,6 +88,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: hostname = response.parse() assert_matches_type(AuthenticatedOriginPull, hostname, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.origin_tls_client_auth.hostnames.with_streaming_response.get( @@ -96,6 +103,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -114,6 +122,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncHostnames: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: hostname = await async_client.origin_tls_client_auth.hostnames.update( @@ -122,6 +131,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[HostnameUpdateResponse], hostname, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.origin_tls_client_auth.hostnames.with_raw_response.update( @@ -134,6 +144,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: hostname = await response.parse() assert_matches_type(Optional[HostnameUpdateResponse], hostname, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.origin_tls_client_auth.hostnames.with_streaming_response.update( @@ -148,6 +159,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -156,6 +168,7 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: config=[{}, {}, {}], ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: hostname = await async_client.origin_tls_client_auth.hostnames.get( @@ -164,6 +177,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AuthenticatedOriginPull, hostname, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.origin_tls_client_auth.hostnames.with_raw_response.get( @@ -176,6 +190,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: hostname = await response.parse() assert_matches_type(AuthenticatedOriginPull, hostname, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.origin_tls_client_auth.hostnames.with_streaming_response.get( @@ -190,6 +205,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): diff --git a/tests/api_resources/origin_tls_client_auth/test_settings.py b/tests/api_resources/origin_tls_client_auth/test_settings.py index 36d285fe92f..009e48b2779 100644 --- a/tests/api_resources/origin_tls_client_auth/test_settings.py +++ b/tests/api_resources/origin_tls_client_auth/test_settings.py @@ -17,6 +17,7 @@ class TestSettings: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: setting = client.origin_tls_client_auth.settings.update( @@ -25,6 +26,7 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(SettingUpdateResponse, setting, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.origin_tls_client_auth.settings.with_raw_response.update( @@ -37,6 +39,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: setting = response.parse() assert_matches_type(SettingUpdateResponse, setting, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.origin_tls_client_auth.settings.with_streaming_response.update( @@ -51,6 +54,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -59,6 +63,7 @@ def test_path_params_update(self, client: Cloudflare) -> None: enabled=True, ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: setting = client.origin_tls_client_auth.settings.get( @@ -66,6 +71,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(SettingGetResponse, setting, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.origin_tls_client_auth.settings.with_raw_response.get( @@ -77,6 +83,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: setting = response.parse() assert_matches_type(SettingGetResponse, setting, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.origin_tls_client_auth.settings.with_streaming_response.get( @@ -90,6 +97,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -101,6 +109,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncSettings: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: setting = await async_client.origin_tls_client_auth.settings.update( @@ -109,6 +118,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(SettingUpdateResponse, setting, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.origin_tls_client_auth.settings.with_raw_response.update( @@ -121,6 +131,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: setting = await response.parse() assert_matches_type(SettingUpdateResponse, setting, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.origin_tls_client_auth.settings.with_streaming_response.update( @@ -135,6 +146,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -143,6 +155,7 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: enabled=True, ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: setting = await async_client.origin_tls_client_auth.settings.get( @@ -150,6 +163,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(SettingGetResponse, setting, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.origin_tls_client_auth.settings.with_raw_response.get( @@ -161,6 +175,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: setting = await response.parse() assert_matches_type(SettingGetResponse, setting, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.origin_tls_client_auth.settings.with_streaming_response.get( @@ -174,6 +189,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): diff --git a/tests/api_resources/page_shield/test_connections.py b/tests/api_resources/page_shield/test_connections.py index 30fcbaa641a..77edfc01969 100644 --- a/tests/api_resources/page_shield/test_connections.py +++ b/tests/api_resources/page_shield/test_connections.py @@ -18,6 +18,7 @@ class TestConnections: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: connection = client.page_shield.connections.list( @@ -25,6 +26,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[Connection], connection, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: connection = client.page_shield.connections.list( @@ -44,6 +46,7 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[Connection], connection, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.page_shield.connections.with_raw_response.list( @@ -55,6 +58,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: connection = response.parse() assert_matches_type(SyncSinglePage[Connection], connection, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.page_shield.connections.with_streaming_response.list( @@ -68,6 +72,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -75,6 +80,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: connection = client.page_shield.connections.get( @@ -83,6 +89,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Connection, connection, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.page_shield.connections.with_raw_response.get( @@ -95,6 +102,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: connection = response.parse() assert_matches_type(Connection, connection, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.page_shield.connections.with_streaming_response.get( @@ -109,6 +117,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -127,6 +136,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncConnections: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: connection = await async_client.page_shield.connections.list( @@ -134,6 +144,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[Connection], connection, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: connection = await async_client.page_shield.connections.list( @@ -153,6 +164,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncSinglePage[Connection], connection, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.page_shield.connections.with_raw_response.list( @@ -164,6 +176,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: connection = await response.parse() assert_matches_type(AsyncSinglePage[Connection], connection, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.page_shield.connections.with_streaming_response.list( @@ -177,6 +190,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -184,6 +198,7 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: connection = await async_client.page_shield.connections.get( @@ -192,6 +207,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Connection, connection, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.page_shield.connections.with_raw_response.get( @@ -204,6 +220,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: connection = await response.parse() assert_matches_type(Connection, connection, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.page_shield.connections.with_streaming_response.get( @@ -218,6 +235,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): diff --git a/tests/api_resources/page_shield/test_policies.py b/tests/api_resources/page_shield/test_policies.py index 500d4d23d0e..81f6297c0e0 100644 --- a/tests/api_resources/page_shield/test_policies.py +++ b/tests/api_resources/page_shield/test_policies.py @@ -18,6 +18,7 @@ class TestPolicies: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: policy = client.page_shield.policies.create( @@ -25,6 +26,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Policy, policy, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: policy = client.page_shield.policies.create( @@ -37,6 +39,7 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Policy, policy, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.page_shield.policies.with_raw_response.create( @@ -48,6 +51,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: policy = response.parse() assert_matches_type(Policy, policy, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.page_shield.policies.with_streaming_response.create( @@ -61,6 +65,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -68,6 +73,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: policy = client.page_shield.policies.update( @@ -76,6 +82,7 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Policy, policy, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: policy = client.page_shield.policies.update( @@ -89,6 +96,7 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Policy, policy, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.page_shield.policies.with_raw_response.update( @@ -101,6 +109,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: policy = response.parse() assert_matches_type(Policy, policy, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.page_shield.policies.with_streaming_response.update( @@ -115,6 +124,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -129,6 +139,7 @@ def test_path_params_update(self, client: Cloudflare) -> None: zone_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: policy = client.page_shield.policies.list( @@ -136,6 +147,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[Policy], policy, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.page_shield.policies.with_raw_response.list( @@ -147,6 +159,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: policy = response.parse() assert_matches_type(SyncSinglePage[Policy], policy, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.page_shield.policies.with_streaming_response.list( @@ -160,6 +173,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -167,6 +181,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: policy = client.page_shield.policies.delete( @@ -175,6 +190,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert policy is None + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.page_shield.policies.with_raw_response.delete( @@ -187,6 +203,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: policy = response.parse() assert policy is None + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.page_shield.policies.with_streaming_response.delete( @@ -201,6 +218,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -215,6 +233,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: zone_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: policy = client.page_shield.policies.get( @@ -223,6 +242,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Policy, policy, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.page_shield.policies.with_raw_response.get( @@ -235,6 +255,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: policy = response.parse() assert_matches_type(Policy, policy, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.page_shield.policies.with_streaming_response.get( @@ -249,6 +270,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -267,6 +289,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncPolicies: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: policy = await async_client.page_shield.policies.create( @@ -274,6 +297,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Policy, policy, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: policy = await async_client.page_shield.policies.create( @@ -286,6 +310,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Policy, policy, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.page_shield.policies.with_raw_response.create( @@ -297,6 +322,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: policy = await response.parse() assert_matches_type(Policy, policy, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.page_shield.policies.with_streaming_response.create( @@ -310,6 +336,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -317,6 +344,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: policy = await async_client.page_shield.policies.update( @@ -325,6 +353,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Policy, policy, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: policy = await async_client.page_shield.policies.update( @@ -338,6 +367,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Policy, policy, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.page_shield.policies.with_raw_response.update( @@ -350,6 +380,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: policy = await response.parse() assert_matches_type(Policy, policy, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.page_shield.policies.with_streaming_response.update( @@ -364,6 +395,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -378,6 +410,7 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: zone_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: policy = await async_client.page_shield.policies.list( @@ -385,6 +418,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[Policy], policy, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.page_shield.policies.with_raw_response.list( @@ -396,6 +430,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: policy = await response.parse() assert_matches_type(AsyncSinglePage[Policy], policy, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.page_shield.policies.with_streaming_response.list( @@ -409,6 +444,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -416,6 +452,7 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: policy = await async_client.page_shield.policies.delete( @@ -424,6 +461,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert policy is None + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.page_shield.policies.with_raw_response.delete( @@ -436,6 +474,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: policy = await response.parse() assert policy is None + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.page_shield.policies.with_streaming_response.delete( @@ -450,6 +489,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -464,6 +504,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: zone_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: policy = await async_client.page_shield.policies.get( @@ -472,6 +513,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Policy, policy, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.page_shield.policies.with_raw_response.get( @@ -484,6 +526,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: policy = await response.parse() assert_matches_type(Policy, policy, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.page_shield.policies.with_streaming_response.get( @@ -498,6 +541,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): diff --git a/tests/api_resources/page_shield/test_scripts.py b/tests/api_resources/page_shield/test_scripts.py index 259cb25a6be..50e23e6340d 100644 --- a/tests/api_resources/page_shield/test_scripts.py +++ b/tests/api_resources/page_shield/test_scripts.py @@ -18,6 +18,7 @@ class TestScripts: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: script = client.page_shield.scripts.list( @@ -25,6 +26,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[Script], script, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: script = client.page_shield.scripts.list( @@ -45,6 +47,7 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[Script], script, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.page_shield.scripts.with_raw_response.list( @@ -56,6 +59,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: script = response.parse() assert_matches_type(SyncSinglePage[Script], script, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.page_shield.scripts.with_streaming_response.list( @@ -69,6 +73,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -76,6 +81,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: script = client.page_shield.scripts.get( @@ -84,6 +90,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(ScriptGetResponse, script, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.page_shield.scripts.with_raw_response.get( @@ -96,6 +103,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: script = response.parse() assert_matches_type(ScriptGetResponse, script, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.page_shield.scripts.with_streaming_response.get( @@ -110,6 +118,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -128,6 +137,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncScripts: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: script = await async_client.page_shield.scripts.list( @@ -135,6 +145,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[Script], script, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: script = await async_client.page_shield.scripts.list( @@ -155,6 +166,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncSinglePage[Script], script, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.page_shield.scripts.with_raw_response.list( @@ -166,6 +178,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: script = await response.parse() assert_matches_type(AsyncSinglePage[Script], script, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.page_shield.scripts.with_streaming_response.list( @@ -179,6 +192,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -186,6 +200,7 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: script = await async_client.page_shield.scripts.get( @@ -194,6 +209,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(ScriptGetResponse, script, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.page_shield.scripts.with_raw_response.get( @@ -206,6 +222,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: script = await response.parse() assert_matches_type(ScriptGetResponse, script, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.page_shield.scripts.with_streaming_response.get( @@ -220,6 +237,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): diff --git a/tests/api_resources/pagerules/test_settings.py b/tests/api_resources/pagerules/test_settings.py index 7339a7f0ecc..983c7e2bd05 100644 --- a/tests/api_resources/pagerules/test_settings.py +++ b/tests/api_resources/pagerules/test_settings.py @@ -17,6 +17,7 @@ class TestSettings: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: setting = client.pagerules.settings.list( @@ -24,6 +25,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SettingListResponse, setting, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.pagerules.settings.with_raw_response.list( @@ -35,6 +37,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: setting = response.parse() assert_matches_type(SettingListResponse, setting, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.pagerules.settings.with_streaming_response.list( @@ -48,6 +51,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -59,6 +63,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: class TestAsyncSettings: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: setting = await async_client.pagerules.settings.list( @@ -66,6 +71,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(SettingListResponse, setting, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.pagerules.settings.with_raw_response.list( @@ -77,6 +83,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: setting = await response.parse() assert_matches_type(SettingListResponse, setting, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.pagerules.settings.with_streaming_response.list( @@ -90,6 +97,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): diff --git a/tests/api_resources/pages/projects/deployments/history/test_logs.py b/tests/api_resources/pages/projects/deployments/history/test_logs.py index 03612af99fe..7e59a77f9b2 100644 --- a/tests/api_resources/pages/projects/deployments/history/test_logs.py +++ b/tests/api_resources/pages/projects/deployments/history/test_logs.py @@ -17,6 +17,7 @@ class TestLogs: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: log = client.pages.projects.deployments.history.logs.get( @@ -26,6 +27,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(LogGetResponse, log, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.pages.projects.deployments.history.logs.with_raw_response.get( @@ -39,6 +41,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: log = response.parse() assert_matches_type(LogGetResponse, log, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.pages.projects.deployments.history.logs.with_streaming_response.get( @@ -54,6 +57,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -81,6 +85,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncLogs: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: log = await async_client.pages.projects.deployments.history.logs.get( @@ -90,6 +95,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(LogGetResponse, log, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.pages.projects.deployments.history.logs.with_raw_response.get( @@ -103,6 +109,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: log = await response.parse() assert_matches_type(LogGetResponse, log, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.pages.projects.deployments.history.logs.with_streaming_response.get( @@ -118,6 +125,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/pages/projects/test_deployments.py b/tests/api_resources/pages/projects/test_deployments.py index c6bd5a29dab..75764f1a1e4 100644 --- a/tests/api_resources/pages/projects/test_deployments.py +++ b/tests/api_resources/pages/projects/test_deployments.py @@ -18,6 +18,7 @@ class TestDeployments: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: deployment = client.pages.projects.deployments.create( @@ -26,6 +27,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Deployment, deployment, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: deployment = client.pages.projects.deployments.create( @@ -35,6 +37,7 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Deployment, deployment, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.pages.projects.deployments.with_raw_response.create( @@ -47,6 +50,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: deployment = response.parse() assert_matches_type(Deployment, deployment, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.pages.projects.deployments.with_streaming_response.create( @@ -61,6 +65,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -75,6 +80,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: deployment = client.pages.projects.deployments.list( @@ -83,6 +89,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[Deployment], deployment, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: deployment = client.pages.projects.deployments.list( @@ -92,6 +99,7 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[Deployment], deployment, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.pages.projects.deployments.with_raw_response.list( @@ -104,6 +112,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: deployment = response.parse() assert_matches_type(SyncSinglePage[Deployment], deployment, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.pages.projects.deployments.with_streaming_response.list( @@ -118,6 +127,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -132,6 +142,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: deployment = client.pages.projects.deployments.delete( @@ -142,6 +153,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(object, deployment, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.pages.projects.deployments.with_raw_response.delete( @@ -156,6 +168,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: deployment = response.parse() assert_matches_type(object, deployment, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.pages.projects.deployments.with_streaming_response.delete( @@ -172,6 +185,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -198,6 +212,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: deployment = client.pages.projects.deployments.get( @@ -207,6 +222,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Deployment, deployment, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.pages.projects.deployments.with_raw_response.get( @@ -220,6 +236,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: deployment = response.parse() assert_matches_type(Deployment, deployment, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.pages.projects.deployments.with_streaming_response.get( @@ -235,6 +252,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -258,6 +276,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: project_name="this-is-my-project-01", ) + @pytest.mark.skip() @parametrize def test_method_retry(self, client: Cloudflare) -> None: deployment = client.pages.projects.deployments.retry( @@ -268,6 +287,7 @@ def test_method_retry(self, client: Cloudflare) -> None: ) assert_matches_type(Deployment, deployment, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_retry(self, client: Cloudflare) -> None: response = client.pages.projects.deployments.with_raw_response.retry( @@ -282,6 +302,7 @@ def test_raw_response_retry(self, client: Cloudflare) -> None: deployment = response.parse() assert_matches_type(Deployment, deployment, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_retry(self, client: Cloudflare) -> None: with client.pages.projects.deployments.with_streaming_response.retry( @@ -298,6 +319,7 @@ def test_streaming_response_retry(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_retry(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -324,6 +346,7 @@ def test_path_params_retry(self, client: Cloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize def test_method_rollback(self, client: Cloudflare) -> None: deployment = client.pages.projects.deployments.rollback( @@ -334,6 +357,7 @@ def test_method_rollback(self, client: Cloudflare) -> None: ) assert_matches_type(Deployment, deployment, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_rollback(self, client: Cloudflare) -> None: response = client.pages.projects.deployments.with_raw_response.rollback( @@ -348,6 +372,7 @@ def test_raw_response_rollback(self, client: Cloudflare) -> None: deployment = response.parse() assert_matches_type(Deployment, deployment, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_rollback(self, client: Cloudflare) -> None: with client.pages.projects.deployments.with_streaming_response.rollback( @@ -364,6 +389,7 @@ def test_streaming_response_rollback(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_rollback(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -394,6 +420,7 @@ def test_path_params_rollback(self, client: Cloudflare) -> None: class TestAsyncDeployments: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: deployment = await async_client.pages.projects.deployments.create( @@ -402,6 +429,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Deployment, deployment, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: deployment = await async_client.pages.projects.deployments.create( @@ -411,6 +439,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Deployment, deployment, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.pages.projects.deployments.with_raw_response.create( @@ -423,6 +452,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: deployment = await response.parse() assert_matches_type(Deployment, deployment, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.pages.projects.deployments.with_streaming_response.create( @@ -437,6 +467,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -451,6 +482,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: deployment = await async_client.pages.projects.deployments.list( @@ -459,6 +491,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[Deployment], deployment, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: deployment = await async_client.pages.projects.deployments.list( @@ -468,6 +501,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncSinglePage[Deployment], deployment, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.pages.projects.deployments.with_raw_response.list( @@ -480,6 +514,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: deployment = await response.parse() assert_matches_type(AsyncSinglePage[Deployment], deployment, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.pages.projects.deployments.with_streaming_response.list( @@ -494,6 +529,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -508,6 +544,7 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: deployment = await async_client.pages.projects.deployments.delete( @@ -518,6 +555,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(object, deployment, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.pages.projects.deployments.with_raw_response.delete( @@ -532,6 +570,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: deployment = await response.parse() assert_matches_type(object, deployment, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.pages.projects.deployments.with_streaming_response.delete( @@ -548,6 +587,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -574,6 +614,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: deployment = await async_client.pages.projects.deployments.get( @@ -583,6 +624,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Deployment, deployment, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.pages.projects.deployments.with_raw_response.get( @@ -596,6 +638,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: deployment = await response.parse() assert_matches_type(Deployment, deployment, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.pages.projects.deployments.with_streaming_response.get( @@ -611,6 +654,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -634,6 +678,7 @@ async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: project_name="this-is-my-project-01", ) + @pytest.mark.skip() @parametrize async def test_method_retry(self, async_client: AsyncCloudflare) -> None: deployment = await async_client.pages.projects.deployments.retry( @@ -644,6 +689,7 @@ async def test_method_retry(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Deployment, deployment, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_retry(self, async_client: AsyncCloudflare) -> None: response = await async_client.pages.projects.deployments.with_raw_response.retry( @@ -658,6 +704,7 @@ async def test_raw_response_retry(self, async_client: AsyncCloudflare) -> None: deployment = await response.parse() assert_matches_type(Deployment, deployment, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_retry(self, async_client: AsyncCloudflare) -> None: async with async_client.pages.projects.deployments.with_streaming_response.retry( @@ -674,6 +721,7 @@ async def test_streaming_response_retry(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_retry(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -700,6 +748,7 @@ async def test_path_params_retry(self, async_client: AsyncCloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize async def test_method_rollback(self, async_client: AsyncCloudflare) -> None: deployment = await async_client.pages.projects.deployments.rollback( @@ -710,6 +759,7 @@ async def test_method_rollback(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Deployment, deployment, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_rollback(self, async_client: AsyncCloudflare) -> None: response = await async_client.pages.projects.deployments.with_raw_response.rollback( @@ -724,6 +774,7 @@ async def test_raw_response_rollback(self, async_client: AsyncCloudflare) -> Non deployment = await response.parse() assert_matches_type(Deployment, deployment, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_rollback(self, async_client: AsyncCloudflare) -> None: async with async_client.pages.projects.deployments.with_streaming_response.rollback( @@ -740,6 +791,7 @@ async def test_streaming_response_rollback(self, async_client: AsyncCloudflare) assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_rollback(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/pages/projects/test_domains.py b/tests/api_resources/pages/projects/test_domains.py index de4e2170821..5e2614a1a25 100644 --- a/tests/api_resources/pages/projects/test_domains.py +++ b/tests/api_resources/pages/projects/test_domains.py @@ -22,6 +22,7 @@ class TestDomains: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: domain = client.pages.projects.domains.create( @@ -31,6 +32,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[DomainCreateResponse], domain, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.pages.projects.domains.with_raw_response.create( @@ -44,6 +46,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: domain = response.parse() assert_matches_type(Optional[DomainCreateResponse], domain, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.pages.projects.domains.with_streaming_response.create( @@ -59,6 +62,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -75,6 +79,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: body={"name": "example.com"}, ) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: domain = client.pages.projects.domains.list( @@ -83,6 +88,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[object], domain, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.pages.projects.domains.with_raw_response.list( @@ -95,6 +101,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: domain = response.parse() assert_matches_type(SyncSinglePage[object], domain, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.pages.projects.domains.with_streaming_response.list( @@ -109,6 +116,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -123,6 +131,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: domain = client.pages.projects.domains.delete( @@ -133,6 +142,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(object, domain, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.pages.projects.domains.with_raw_response.delete( @@ -147,6 +157,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: domain = response.parse() assert_matches_type(object, domain, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.pages.projects.domains.with_streaming_response.delete( @@ -163,6 +174,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -189,6 +201,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: domain = client.pages.projects.domains.edit( @@ -199,6 +212,7 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[DomainEditResponse], domain, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.pages.projects.domains.with_raw_response.edit( @@ -213,6 +227,7 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: domain = response.parse() assert_matches_type(Optional[DomainEditResponse], domain, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.pages.projects.domains.with_streaming_response.edit( @@ -229,6 +244,7 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -255,6 +271,7 @@ def test_path_params_edit(self, client: Cloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: domain = client.pages.projects.domains.get( @@ -264,6 +281,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[DomainGetResponse], domain, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.pages.projects.domains.with_raw_response.get( @@ -277,6 +295,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: domain = response.parse() assert_matches_type(Optional[DomainGetResponse], domain, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.pages.projects.domains.with_streaming_response.get( @@ -292,6 +311,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -319,6 +339,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncDomains: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: domain = await async_client.pages.projects.domains.create( @@ -328,6 +349,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[DomainCreateResponse], domain, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.pages.projects.domains.with_raw_response.create( @@ -341,6 +363,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: domain = await response.parse() assert_matches_type(Optional[DomainCreateResponse], domain, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.pages.projects.domains.with_streaming_response.create( @@ -356,6 +379,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -372,6 +396,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: body={"name": "example.com"}, ) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: domain = await async_client.pages.projects.domains.list( @@ -380,6 +405,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[object], domain, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.pages.projects.domains.with_raw_response.list( @@ -392,6 +418,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: domain = await response.parse() assert_matches_type(AsyncSinglePage[object], domain, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.pages.projects.domains.with_streaming_response.list( @@ -406,6 +433,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -420,6 +448,7 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: domain = await async_client.pages.projects.domains.delete( @@ -430,6 +459,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(object, domain, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.pages.projects.domains.with_raw_response.delete( @@ -444,6 +474,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: domain = await response.parse() assert_matches_type(object, domain, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.pages.projects.domains.with_streaming_response.delete( @@ -460,6 +491,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -486,6 +518,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: domain = await async_client.pages.projects.domains.edit( @@ -496,6 +529,7 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[DomainEditResponse], domain, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.pages.projects.domains.with_raw_response.edit( @@ -510,6 +544,7 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: domain = await response.parse() assert_matches_type(Optional[DomainEditResponse], domain, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.pages.projects.domains.with_streaming_response.edit( @@ -526,6 +561,7 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -552,6 +588,7 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: domain = await async_client.pages.projects.domains.get( @@ -561,6 +598,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[DomainGetResponse], domain, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.pages.projects.domains.with_raw_response.get( @@ -574,6 +612,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: domain = await response.parse() assert_matches_type(Optional[DomainGetResponse], domain, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.pages.projects.domains.with_streaming_response.get( @@ -589,6 +628,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/pages/test_projects.py b/tests/api_resources/pages/test_projects.py index 855add71b23..fa15dac6d2a 100644 --- a/tests/api_resources/pages/test_projects.py +++ b/tests/api_resources/pages/test_projects.py @@ -23,6 +23,7 @@ class TestProjects: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: project = client.pages.projects.create( @@ -30,6 +31,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(ProjectCreateResponse, project, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: project = client.pages.projects.create( @@ -109,6 +111,7 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(ProjectCreateResponse, project, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.pages.projects.with_raw_response.create( @@ -120,6 +123,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: project = response.parse() assert_matches_type(ProjectCreateResponse, project, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.pages.projects.with_streaming_response.create( @@ -133,6 +137,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -140,6 +145,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: project = client.pages.projects.list( @@ -147,6 +153,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[Deployment], project, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.pages.projects.with_raw_response.list( @@ -158,6 +165,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: project = response.parse() assert_matches_type(SyncSinglePage[Deployment], project, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.pages.projects.with_streaming_response.list( @@ -171,6 +179,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -178,6 +187,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: project = client.pages.projects.delete( @@ -187,6 +197,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(object, project, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.pages.projects.with_raw_response.delete( @@ -200,6 +211,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: project = response.parse() assert_matches_type(object, project, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.pages.projects.with_streaming_response.delete( @@ -215,6 +227,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -231,6 +244,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: project = client.pages.projects.edit( @@ -255,6 +269,7 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(ProjectEditResponse, project, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.pages.projects.with_raw_response.edit( @@ -283,6 +298,7 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: project = response.parse() assert_matches_type(ProjectEditResponse, project, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.pages.projects.with_streaming_response.edit( @@ -313,6 +329,7 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -359,6 +376,7 @@ def test_path_params_edit(self, client: Cloudflare) -> None: }, ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: project = client.pages.projects.get( @@ -367,6 +385,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Project, project, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.pages.projects.with_raw_response.get( @@ -379,6 +398,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: project = response.parse() assert_matches_type(Project, project, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.pages.projects.with_streaming_response.get( @@ -393,6 +413,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -407,6 +428,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize def test_method_purge_build_cache(self, client: Cloudflare) -> None: project = client.pages.projects.purge_build_cache( @@ -415,6 +437,7 @@ def test_method_purge_build_cache(self, client: Cloudflare) -> None: ) assert_matches_type(object, project, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_purge_build_cache(self, client: Cloudflare) -> None: response = client.pages.projects.with_raw_response.purge_build_cache( @@ -427,6 +450,7 @@ def test_raw_response_purge_build_cache(self, client: Cloudflare) -> None: project = response.parse() assert_matches_type(object, project, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_purge_build_cache(self, client: Cloudflare) -> None: with client.pages.projects.with_streaming_response.purge_build_cache( @@ -441,6 +465,7 @@ def test_streaming_response_purge_build_cache(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_purge_build_cache(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -459,6 +484,7 @@ def test_path_params_purge_build_cache(self, client: Cloudflare) -> None: class TestAsyncProjects: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: project = await async_client.pages.projects.create( @@ -466,6 +492,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(ProjectCreateResponse, project, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: project = await async_client.pages.projects.create( @@ -545,6 +572,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(ProjectCreateResponse, project, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.pages.projects.with_raw_response.create( @@ -556,6 +584,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: project = await response.parse() assert_matches_type(ProjectCreateResponse, project, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.pages.projects.with_streaming_response.create( @@ -569,6 +598,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -576,6 +606,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: project = await async_client.pages.projects.list( @@ -583,6 +614,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[Deployment], project, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.pages.projects.with_raw_response.list( @@ -594,6 +626,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: project = await response.parse() assert_matches_type(AsyncSinglePage[Deployment], project, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.pages.projects.with_streaming_response.list( @@ -607,6 +640,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -614,6 +648,7 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: project = await async_client.pages.projects.delete( @@ -623,6 +658,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(object, project, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.pages.projects.with_raw_response.delete( @@ -636,6 +672,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: project = await response.parse() assert_matches_type(object, project, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.pages.projects.with_streaming_response.delete( @@ -651,6 +688,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -667,6 +705,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: project = await async_client.pages.projects.edit( @@ -691,6 +730,7 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(ProjectEditResponse, project, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.pages.projects.with_raw_response.edit( @@ -719,6 +759,7 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: project = await response.parse() assert_matches_type(ProjectEditResponse, project, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.pages.projects.with_streaming_response.edit( @@ -749,6 +790,7 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -795,6 +837,7 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: }, ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: project = await async_client.pages.projects.get( @@ -803,6 +846,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Project, project, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.pages.projects.with_raw_response.get( @@ -815,6 +859,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: project = await response.parse() assert_matches_type(Project, project, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.pages.projects.with_streaming_response.get( @@ -829,6 +874,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -843,6 +889,7 @@ async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize async def test_method_purge_build_cache(self, async_client: AsyncCloudflare) -> None: project = await async_client.pages.projects.purge_build_cache( @@ -851,6 +898,7 @@ async def test_method_purge_build_cache(self, async_client: AsyncCloudflare) -> ) assert_matches_type(object, project, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_purge_build_cache(self, async_client: AsyncCloudflare) -> None: response = await async_client.pages.projects.with_raw_response.purge_build_cache( @@ -863,6 +911,7 @@ async def test_raw_response_purge_build_cache(self, async_client: AsyncCloudflar project = await response.parse() assert_matches_type(object, project, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_purge_build_cache(self, async_client: AsyncCloudflare) -> None: async with async_client.pages.projects.with_streaming_response.purge_build_cache( @@ -877,6 +926,7 @@ async def test_streaming_response_purge_build_cache(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_purge_build_cache(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/pcaps/test_download.py b/tests/api_resources/pcaps/test_download.py index ee286a6f414..2b6c3f86def 100644 --- a/tests/api_resources/pcaps/test_download.py +++ b/tests/api_resources/pcaps/test_download.py @@ -23,6 +23,7 @@ class TestDownload: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize @pytest.mark.respx(base_url=base_url) def test_method_get(self, client: Cloudflare, respx_mock: MockRouter) -> None: @@ -38,6 +39,7 @@ def test_method_get(self, client: Cloudflare, respx_mock: MockRouter) -> None: assert cast(Any, download.is_closed) is True assert isinstance(download, BinaryAPIResponse) + @pytest.mark.skip() @parametrize @pytest.mark.respx(base_url=base_url) def test_raw_response_get(self, client: Cloudflare, respx_mock: MockRouter) -> None: @@ -55,6 +57,7 @@ def test_raw_response_get(self, client: Cloudflare, respx_mock: MockRouter) -> N assert download.json() == {"foo": "bar"} assert isinstance(download, BinaryAPIResponse) + @pytest.mark.skip() @parametrize @pytest.mark.respx(base_url=base_url) def test_streaming_response_get(self, client: Cloudflare, respx_mock: MockRouter) -> None: @@ -74,6 +77,7 @@ def test_streaming_response_get(self, client: Cloudflare, respx_mock: MockRouter assert cast(Any, download.is_closed) is True + @pytest.mark.skip() @parametrize @pytest.mark.respx(base_url=base_url) def test_path_params_get(self, client: Cloudflare) -> None: @@ -93,6 +97,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncDownload: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize @pytest.mark.respx(base_url=base_url) async def test_method_get(self, async_client: AsyncCloudflare, respx_mock: MockRouter) -> None: @@ -108,6 +113,7 @@ async def test_method_get(self, async_client: AsyncCloudflare, respx_mock: MockR assert cast(Any, download.is_closed) is True assert isinstance(download, AsyncBinaryAPIResponse) + @pytest.mark.skip() @parametrize @pytest.mark.respx(base_url=base_url) async def test_raw_response_get(self, async_client: AsyncCloudflare, respx_mock: MockRouter) -> None: @@ -125,6 +131,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare, respx_mock: assert await download.json() == {"foo": "bar"} assert isinstance(download, AsyncBinaryAPIResponse) + @pytest.mark.skip() @parametrize @pytest.mark.respx(base_url=base_url) async def test_streaming_response_get(self, async_client: AsyncCloudflare, respx_mock: MockRouter) -> None: @@ -144,6 +151,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare, respx assert cast(Any, download.is_closed) is True + @pytest.mark.skip() @parametrize @pytest.mark.respx(base_url=base_url) async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: diff --git a/tests/api_resources/pcaps/test_ownership.py b/tests/api_resources/pcaps/test_ownership.py index b1032e3d9e3..d3a4f2fad81 100644 --- a/tests/api_resources/pcaps/test_ownership.py +++ b/tests/api_resources/pcaps/test_ownership.py @@ -17,6 +17,7 @@ class TestOwnership: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: ownership = client.pcaps.ownership.create( @@ -25,6 +26,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Ownership, ownership, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.pcaps.ownership.with_raw_response.create( @@ -37,6 +39,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: ownership = response.parse() assert_matches_type(Ownership, ownership, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.pcaps.ownership.with_streaming_response.create( @@ -51,6 +54,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -59,6 +63,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: destination_conf="s3://pcaps-bucket?region=us-east-1", ) + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: ownership = client.pcaps.ownership.delete( @@ -67,6 +72,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert ownership is None + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.pcaps.ownership.with_raw_response.delete( @@ -79,6 +85,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: ownership = response.parse() assert ownership is None + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.pcaps.ownership.with_streaming_response.delete( @@ -93,6 +100,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -107,6 +115,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: ownership = client.pcaps.ownership.get( @@ -114,6 +123,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[OwnershipGetResponse], ownership, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.pcaps.ownership.with_raw_response.get( @@ -125,6 +135,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: ownership = response.parse() assert_matches_type(Optional[OwnershipGetResponse], ownership, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.pcaps.ownership.with_streaming_response.get( @@ -138,6 +149,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -145,6 +157,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize def test_method_validate(self, client: Cloudflare) -> None: ownership = client.pcaps.ownership.validate( @@ -154,6 +167,7 @@ def test_method_validate(self, client: Cloudflare) -> None: ) assert_matches_type(Ownership, ownership, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_validate(self, client: Cloudflare) -> None: response = client.pcaps.ownership.with_raw_response.validate( @@ -167,6 +181,7 @@ def test_raw_response_validate(self, client: Cloudflare) -> None: ownership = response.parse() assert_matches_type(Ownership, ownership, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_validate(self, client: Cloudflare) -> None: with client.pcaps.ownership.with_streaming_response.validate( @@ -182,6 +197,7 @@ def test_streaming_response_validate(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_validate(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -195,6 +211,7 @@ def test_path_params_validate(self, client: Cloudflare) -> None: class TestAsyncOwnership: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: ownership = await async_client.pcaps.ownership.create( @@ -203,6 +220,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Ownership, ownership, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.pcaps.ownership.with_raw_response.create( @@ -215,6 +233,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: ownership = await response.parse() assert_matches_type(Ownership, ownership, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.pcaps.ownership.with_streaming_response.create( @@ -229,6 +248,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -237,6 +257,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: destination_conf="s3://pcaps-bucket?region=us-east-1", ) + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ownership = await async_client.pcaps.ownership.delete( @@ -245,6 +266,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert ownership is None + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.pcaps.ownership.with_raw_response.delete( @@ -257,6 +279,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: ownership = await response.parse() assert ownership is None + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.pcaps.ownership.with_streaming_response.delete( @@ -271,6 +294,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -285,6 +309,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: ownership = await async_client.pcaps.ownership.get( @@ -292,6 +317,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[OwnershipGetResponse], ownership, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.pcaps.ownership.with_raw_response.get( @@ -303,6 +329,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: ownership = await response.parse() assert_matches_type(Optional[OwnershipGetResponse], ownership, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.pcaps.ownership.with_streaming_response.get( @@ -316,6 +343,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -323,6 +351,7 @@ async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize async def test_method_validate(self, async_client: AsyncCloudflare) -> None: ownership = await async_client.pcaps.ownership.validate( @@ -332,6 +361,7 @@ async def test_method_validate(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Ownership, ownership, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_validate(self, async_client: AsyncCloudflare) -> None: response = await async_client.pcaps.ownership.with_raw_response.validate( @@ -345,6 +375,7 @@ async def test_raw_response_validate(self, async_client: AsyncCloudflare) -> Non ownership = await response.parse() assert_matches_type(Ownership, ownership, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_validate(self, async_client: AsyncCloudflare) -> None: async with async_client.pcaps.ownership.with_streaming_response.validate( @@ -360,6 +391,7 @@ async def test_streaming_response_validate(self, async_client: AsyncCloudflare) assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_validate(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/queues/test_consumers.py b/tests/api_resources/queues/test_consumers.py index fe63c18f47c..20b325cd82f 100644 --- a/tests/api_resources/queues/test_consumers.py +++ b/tests/api_resources/queues/test_consumers.py @@ -22,6 +22,7 @@ class TestConsumers: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: consumer = client.queues.consumers.create( @@ -40,6 +41,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ConsumerCreateResponse], consumer, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.queues.consumers.with_raw_response.create( @@ -62,6 +64,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: consumer = response.parse() assert_matches_type(Optional[ConsumerCreateResponse], consumer, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.queues.consumers.with_streaming_response.create( @@ -86,6 +89,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -120,6 +124,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: }, ) + @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: consumer = client.queues.consumers.update( @@ -135,6 +140,7 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ConsumerUpdateResponse], consumer, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.queues.consumers.with_raw_response.update( @@ -154,6 +160,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: consumer = response.parse() assert_matches_type(Optional[ConsumerUpdateResponse], consumer, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.queues.consumers.with_streaming_response.update( @@ -175,6 +182,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -216,6 +224,7 @@ def test_path_params_update(self, client: Cloudflare) -> None: }, ) + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: consumer = client.queues.consumers.delete( @@ -226,6 +235,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ConsumerDeleteResponse], consumer, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.queues.consumers.with_raw_response.delete( @@ -240,6 +250,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: consumer = response.parse() assert_matches_type(Optional[ConsumerDeleteResponse], consumer, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.queues.consumers.with_streaming_response.delete( @@ -256,6 +267,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -282,6 +294,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: consumer = client.queues.consumers.get( @@ -290,6 +303,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ConsumerGetResponse], consumer, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.queues.consumers.with_raw_response.get( @@ -302,6 +316,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: consumer = response.parse() assert_matches_type(Optional[ConsumerGetResponse], consumer, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.queues.consumers.with_streaming_response.get( @@ -316,6 +331,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -334,6 +350,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncConsumers: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: consumer = await async_client.queues.consumers.create( @@ -352,6 +369,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[ConsumerCreateResponse], consumer, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.queues.consumers.with_raw_response.create( @@ -374,6 +392,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: consumer = await response.parse() assert_matches_type(Optional[ConsumerCreateResponse], consumer, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.queues.consumers.with_streaming_response.create( @@ -398,6 +417,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -432,6 +452,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: }, ) + @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: consumer = await async_client.queues.consumers.update( @@ -447,6 +468,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[ConsumerUpdateResponse], consumer, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.queues.consumers.with_raw_response.update( @@ -466,6 +488,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: consumer = await response.parse() assert_matches_type(Optional[ConsumerUpdateResponse], consumer, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.queues.consumers.with_streaming_response.update( @@ -487,6 +510,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -528,6 +552,7 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: }, ) + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: consumer = await async_client.queues.consumers.delete( @@ -538,6 +563,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[ConsumerDeleteResponse], consumer, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.queues.consumers.with_raw_response.delete( @@ -552,6 +578,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: consumer = await response.parse() assert_matches_type(Optional[ConsumerDeleteResponse], consumer, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.queues.consumers.with_streaming_response.delete( @@ -568,6 +595,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -594,6 +622,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: consumer = await async_client.queues.consumers.get( @@ -602,6 +631,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[ConsumerGetResponse], consumer, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.queues.consumers.with_raw_response.get( @@ -614,6 +644,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: consumer = await response.parse() assert_matches_type(Optional[ConsumerGetResponse], consumer, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.queues.consumers.with_streaming_response.get( @@ -628,6 +659,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/queues/test_messages.py b/tests/api_resources/queues/test_messages.py index 709728a1ff1..1e24941e1b8 100644 --- a/tests/api_resources/queues/test_messages.py +++ b/tests/api_resources/queues/test_messages.py @@ -17,6 +17,7 @@ class TestMessages: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_ack(self, client: Cloudflare) -> None: message = client.queues.messages.ack( @@ -25,6 +26,7 @@ def test_method_ack(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[MessageAckResponse], message, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_ack_with_all_params(self, client: Cloudflare) -> None: message = client.queues.messages.ack( @@ -58,6 +60,7 @@ def test_method_ack_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[MessageAckResponse], message, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_ack(self, client: Cloudflare) -> None: response = client.queues.messages.with_raw_response.ack( @@ -70,6 +73,7 @@ def test_raw_response_ack(self, client: Cloudflare) -> None: message = response.parse() assert_matches_type(Optional[MessageAckResponse], message, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_ack(self, client: Cloudflare) -> None: with client.queues.messages.with_streaming_response.ack( @@ -84,6 +88,7 @@ def test_streaming_response_ack(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_ack(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -98,6 +103,7 @@ def test_path_params_ack(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize def test_method_pull(self, client: Cloudflare) -> None: message = client.queues.messages.pull( @@ -106,6 +112,7 @@ def test_method_pull(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[MessagePullResponse], message, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_pull_with_all_params(self, client: Cloudflare) -> None: message = client.queues.messages.pull( @@ -116,6 +123,7 @@ def test_method_pull_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[MessagePullResponse], message, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_pull(self, client: Cloudflare) -> None: response = client.queues.messages.with_raw_response.pull( @@ -128,6 +136,7 @@ def test_raw_response_pull(self, client: Cloudflare) -> None: message = response.parse() assert_matches_type(Optional[MessagePullResponse], message, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_pull(self, client: Cloudflare) -> None: with client.queues.messages.with_streaming_response.pull( @@ -142,6 +151,7 @@ def test_streaming_response_pull(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_pull(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -160,6 +170,7 @@ def test_path_params_pull(self, client: Cloudflare) -> None: class TestAsyncMessages: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_ack(self, async_client: AsyncCloudflare) -> None: message = await async_client.queues.messages.ack( @@ -168,6 +179,7 @@ async def test_method_ack(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[MessageAckResponse], message, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_ack_with_all_params(self, async_client: AsyncCloudflare) -> None: message = await async_client.queues.messages.ack( @@ -201,6 +213,7 @@ async def test_method_ack_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(Optional[MessageAckResponse], message, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_ack(self, async_client: AsyncCloudflare) -> None: response = await async_client.queues.messages.with_raw_response.ack( @@ -213,6 +226,7 @@ async def test_raw_response_ack(self, async_client: AsyncCloudflare) -> None: message = await response.parse() assert_matches_type(Optional[MessageAckResponse], message, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_ack(self, async_client: AsyncCloudflare) -> None: async with async_client.queues.messages.with_streaming_response.ack( @@ -227,6 +241,7 @@ async def test_streaming_response_ack(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_ack(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -241,6 +256,7 @@ async def test_path_params_ack(self, async_client: AsyncCloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize async def test_method_pull(self, async_client: AsyncCloudflare) -> None: message = await async_client.queues.messages.pull( @@ -249,6 +265,7 @@ async def test_method_pull(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[MessagePullResponse], message, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_pull_with_all_params(self, async_client: AsyncCloudflare) -> None: message = await async_client.queues.messages.pull( @@ -259,6 +276,7 @@ async def test_method_pull_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(Optional[MessagePullResponse], message, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_pull(self, async_client: AsyncCloudflare) -> None: response = await async_client.queues.messages.with_raw_response.pull( @@ -271,6 +289,7 @@ async def test_raw_response_pull(self, async_client: AsyncCloudflare) -> None: message = await response.parse() assert_matches_type(Optional[MessagePullResponse], message, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_pull(self, async_client: AsyncCloudflare) -> None: async with async_client.queues.messages.with_streaming_response.pull( @@ -285,6 +304,7 @@ async def test_streaming_response_pull(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_pull(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/r2/test_buckets.py b/tests/api_resources/r2/test_buckets.py index 956a75d7441..157f4be3fe6 100644 --- a/tests/api_resources/r2/test_buckets.py +++ b/tests/api_resources/r2/test_buckets.py @@ -18,6 +18,7 @@ class TestBuckets: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: bucket = client.r2.buckets.create( @@ -26,6 +27,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Bucket, bucket, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: bucket = client.r2.buckets.create( @@ -35,6 +37,7 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Bucket, bucket, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.r2.buckets.with_raw_response.create( @@ -47,6 +50,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: bucket = response.parse() assert_matches_type(Bucket, bucket, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.r2.buckets.with_streaming_response.create( @@ -61,6 +65,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -69,6 +74,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: name="example-bucket", ) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: bucket = client.r2.buckets.list( @@ -76,6 +82,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncCursorPagination[Bucket], bucket, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: bucket = client.r2.buckets.list( @@ -89,6 +96,7 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncCursorPagination[Bucket], bucket, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.r2.buckets.with_raw_response.list( @@ -100,6 +108,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: bucket = response.parse() assert_matches_type(SyncCursorPagination[Bucket], bucket, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.r2.buckets.with_streaming_response.list( @@ -113,6 +122,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -120,6 +130,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: bucket = client.r2.buckets.delete( @@ -128,6 +139,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(object, bucket, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.r2.buckets.with_raw_response.delete( @@ -140,6 +152,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: bucket = response.parse() assert_matches_type(object, bucket, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.r2.buckets.with_streaming_response.delete( @@ -154,6 +167,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -168,6 +182,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: bucket = client.r2.buckets.get( @@ -176,6 +191,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Bucket, bucket, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.r2.buckets.with_raw_response.get( @@ -188,6 +204,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: bucket = response.parse() assert_matches_type(Bucket, bucket, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.r2.buckets.with_streaming_response.get( @@ -202,6 +219,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -220,6 +238,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncBuckets: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: bucket = await async_client.r2.buckets.create( @@ -228,6 +247,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Bucket, bucket, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: bucket = await async_client.r2.buckets.create( @@ -237,6 +257,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Bucket, bucket, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.r2.buckets.with_raw_response.create( @@ -249,6 +270,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: bucket = await response.parse() assert_matches_type(Bucket, bucket, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.r2.buckets.with_streaming_response.create( @@ -263,6 +285,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -271,6 +294,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: name="example-bucket", ) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: bucket = await async_client.r2.buckets.list( @@ -278,6 +302,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncCursorPagination[Bucket], bucket, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: bucket = await async_client.r2.buckets.list( @@ -291,6 +316,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncCursorPagination[Bucket], bucket, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.r2.buckets.with_raw_response.list( @@ -302,6 +328,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: bucket = await response.parse() assert_matches_type(AsyncCursorPagination[Bucket], bucket, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.r2.buckets.with_streaming_response.list( @@ -315,6 +342,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -322,6 +350,7 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: bucket = await async_client.r2.buckets.delete( @@ -330,6 +359,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(object, bucket, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.r2.buckets.with_raw_response.delete( @@ -342,6 +372,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: bucket = await response.parse() assert_matches_type(object, bucket, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.r2.buckets.with_streaming_response.delete( @@ -356,6 +387,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -370,6 +402,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: bucket = await async_client.r2.buckets.get( @@ -378,6 +411,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Bucket, bucket, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.r2.buckets.with_raw_response.get( @@ -390,6 +424,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: bucket = await response.parse() assert_matches_type(Bucket, bucket, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.r2.buckets.with_streaming_response.get( @@ -404,6 +439,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/r2/test_sippy.py b/tests/api_resources/r2/test_sippy.py index b3005ce3cc9..364859aae67 100644 --- a/tests/api_resources/r2/test_sippy.py +++ b/tests/api_resources/r2/test_sippy.py @@ -17,6 +17,7 @@ class TestSippy: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_update_overload_1(self, client: Cloudflare) -> None: sippy = client.r2.sippy.update( @@ -25,6 +26,7 @@ def test_method_update_overload_1(self, client: Cloudflare) -> None: ) assert_matches_type(Sippy, sippy, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_update_with_all_params_overload_1(self, client: Cloudflare) -> None: sippy = client.r2.sippy.update( @@ -45,6 +47,7 @@ def test_method_update_with_all_params_overload_1(self, client: Cloudflare) -> N ) assert_matches_type(Sippy, sippy, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update_overload_1(self, client: Cloudflare) -> None: response = client.r2.sippy.with_raw_response.update( @@ -57,6 +60,7 @@ def test_raw_response_update_overload_1(self, client: Cloudflare) -> None: sippy = response.parse() assert_matches_type(Sippy, sippy, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update_overload_1(self, client: Cloudflare) -> None: with client.r2.sippy.with_streaming_response.update( @@ -71,6 +75,7 @@ def test_streaming_response_update_overload_1(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update_overload_1(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -85,6 +90,7 @@ def test_path_params_update_overload_1(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize def test_method_update_overload_2(self, client: Cloudflare) -> None: sippy = client.r2.sippy.update( @@ -93,6 +99,7 @@ def test_method_update_overload_2(self, client: Cloudflare) -> None: ) assert_matches_type(Sippy, sippy, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_update_with_all_params_overload_2(self, client: Cloudflare) -> None: sippy = client.r2.sippy.update( @@ -112,6 +119,7 @@ def test_method_update_with_all_params_overload_2(self, client: Cloudflare) -> N ) assert_matches_type(Sippy, sippy, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update_overload_2(self, client: Cloudflare) -> None: response = client.r2.sippy.with_raw_response.update( @@ -124,6 +132,7 @@ def test_raw_response_update_overload_2(self, client: Cloudflare) -> None: sippy = response.parse() assert_matches_type(Sippy, sippy, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update_overload_2(self, client: Cloudflare) -> None: with client.r2.sippy.with_streaming_response.update( @@ -138,6 +147,7 @@ def test_streaming_response_update_overload_2(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update_overload_2(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -152,6 +162,7 @@ def test_path_params_update_overload_2(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: sippy = client.r2.sippy.delete( @@ -160,6 +171,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(SippyDeleteResponse, sippy, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.r2.sippy.with_raw_response.delete( @@ -172,6 +184,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: sippy = response.parse() assert_matches_type(SippyDeleteResponse, sippy, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.r2.sippy.with_streaming_response.delete( @@ -186,6 +199,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -200,6 +214,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: sippy = client.r2.sippy.get( @@ -208,6 +223,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Sippy, sippy, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.r2.sippy.with_raw_response.get( @@ -220,6 +236,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: sippy = response.parse() assert_matches_type(Sippy, sippy, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.r2.sippy.with_streaming_response.get( @@ -234,6 +251,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -252,6 +270,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncSippy: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_update_overload_1(self, async_client: AsyncCloudflare) -> None: sippy = await async_client.r2.sippy.update( @@ -260,6 +279,7 @@ async def test_method_update_overload_1(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Sippy, sippy, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_update_with_all_params_overload_1(self, async_client: AsyncCloudflare) -> None: sippy = await async_client.r2.sippy.update( @@ -280,6 +300,7 @@ async def test_method_update_with_all_params_overload_1(self, async_client: Asyn ) assert_matches_type(Sippy, sippy, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update_overload_1(self, async_client: AsyncCloudflare) -> None: response = await async_client.r2.sippy.with_raw_response.update( @@ -292,6 +313,7 @@ async def test_raw_response_update_overload_1(self, async_client: AsyncCloudflar sippy = await response.parse() assert_matches_type(Sippy, sippy, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update_overload_1(self, async_client: AsyncCloudflare) -> None: async with async_client.r2.sippy.with_streaming_response.update( @@ -306,6 +328,7 @@ async def test_streaming_response_update_overload_1(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update_overload_1(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -320,6 +343,7 @@ async def test_path_params_update_overload_1(self, async_client: AsyncCloudflare account_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize async def test_method_update_overload_2(self, async_client: AsyncCloudflare) -> None: sippy = await async_client.r2.sippy.update( @@ -328,6 +352,7 @@ async def test_method_update_overload_2(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Sippy, sippy, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_update_with_all_params_overload_2(self, async_client: AsyncCloudflare) -> None: sippy = await async_client.r2.sippy.update( @@ -347,6 +372,7 @@ async def test_method_update_with_all_params_overload_2(self, async_client: Asyn ) assert_matches_type(Sippy, sippy, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update_overload_2(self, async_client: AsyncCloudflare) -> None: response = await async_client.r2.sippy.with_raw_response.update( @@ -359,6 +385,7 @@ async def test_raw_response_update_overload_2(self, async_client: AsyncCloudflar sippy = await response.parse() assert_matches_type(Sippy, sippy, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update_overload_2(self, async_client: AsyncCloudflare) -> None: async with async_client.r2.sippy.with_streaming_response.update( @@ -373,6 +400,7 @@ async def test_streaming_response_update_overload_2(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update_overload_2(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -387,6 +415,7 @@ async def test_path_params_update_overload_2(self, async_client: AsyncCloudflare account_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: sippy = await async_client.r2.sippy.delete( @@ -395,6 +424,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(SippyDeleteResponse, sippy, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.r2.sippy.with_raw_response.delete( @@ -407,6 +437,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: sippy = await response.parse() assert_matches_type(SippyDeleteResponse, sippy, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.r2.sippy.with_streaming_response.delete( @@ -421,6 +452,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -435,6 +467,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: sippy = await async_client.r2.sippy.get( @@ -443,6 +476,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Sippy, sippy, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.r2.sippy.with_raw_response.get( @@ -455,6 +489,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: sippy = await response.parse() assert_matches_type(Sippy, sippy, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.r2.sippy.with_streaming_response.get( @@ -469,6 +504,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/radar/annotations/test_outages.py b/tests/api_resources/radar/annotations/test_outages.py index 0246a773dc2..98c8d58fec8 100644 --- a/tests/api_resources/radar/annotations/test_outages.py +++ b/tests/api_resources/radar/annotations/test_outages.py @@ -21,11 +21,13 @@ class TestOutages: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: outage = client.radar.annotations.outages.get() assert_matches_type(OutageGetResponse, outage, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: outage = client.radar.annotations.outages.get( @@ -40,6 +42,7 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(OutageGetResponse, outage, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.radar.annotations.outages.with_raw_response.get() @@ -49,6 +52,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: outage = response.parse() assert_matches_type(OutageGetResponse, outage, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.radar.annotations.outages.with_streaming_response.get() as response: @@ -60,11 +64,13 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_locations(self, client: Cloudflare) -> None: outage = client.radar.annotations.outages.locations() assert_matches_type(OutageLocationsResponse, outage, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_locations_with_all_params(self, client: Cloudflare) -> None: outage = client.radar.annotations.outages.locations( @@ -76,6 +82,7 @@ def test_method_locations_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(OutageLocationsResponse, outage, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_locations(self, client: Cloudflare) -> None: response = client.radar.annotations.outages.with_raw_response.locations() @@ -85,6 +92,7 @@ def test_raw_response_locations(self, client: Cloudflare) -> None: outage = response.parse() assert_matches_type(OutageLocationsResponse, outage, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_locations(self, client: Cloudflare) -> None: with client.radar.annotations.outages.with_streaming_response.locations() as response: @@ -100,11 +108,13 @@ def test_streaming_response_locations(self, client: Cloudflare) -> None: class TestAsyncOutages: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: outage = await async_client.radar.annotations.outages.get() assert_matches_type(OutageGetResponse, outage, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: outage = await async_client.radar.annotations.outages.get( @@ -119,6 +129,7 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(OutageGetResponse, outage, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.annotations.outages.with_raw_response.get() @@ -128,6 +139,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: outage = await response.parse() assert_matches_type(OutageGetResponse, outage, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.annotations.outages.with_streaming_response.get() as response: @@ -139,11 +151,13 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_locations(self, async_client: AsyncCloudflare) -> None: outage = await async_client.radar.annotations.outages.locations() assert_matches_type(OutageLocationsResponse, outage, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_locations_with_all_params(self, async_client: AsyncCloudflare) -> None: outage = await async_client.radar.annotations.outages.locations( @@ -155,6 +169,7 @@ async def test_method_locations_with_all_params(self, async_client: AsyncCloudfl ) assert_matches_type(OutageLocationsResponse, outage, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_locations(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.annotations.outages.with_raw_response.locations() @@ -164,6 +179,7 @@ async def test_raw_response_locations(self, async_client: AsyncCloudflare) -> No outage = await response.parse() assert_matches_type(OutageLocationsResponse, outage, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_locations(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.annotations.outages.with_streaming_response.locations() as response: diff --git a/tests/api_resources/radar/as112/test_summary.py b/tests/api_resources/radar/as112/test_summary.py index 13d0bdbf800..1f6f7128b01 100644 --- a/tests/api_resources/radar/as112/test_summary.py +++ b/tests/api_resources/radar/as112/test_summary.py @@ -25,11 +25,13 @@ class TestSummary: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_dnssec(self, client: Cloudflare) -> None: summary = client.radar.as112.summary.dnssec() assert_matches_type(SummaryDNSSECResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_dnssec_with_all_params(self, client: Cloudflare) -> None: summary = client.radar.as112.summary.dnssec( @@ -52,6 +54,7 @@ def test_method_dnssec_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SummaryDNSSECResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_dnssec(self, client: Cloudflare) -> None: response = client.radar.as112.summary.with_raw_response.dnssec() @@ -61,6 +64,7 @@ def test_raw_response_dnssec(self, client: Cloudflare) -> None: summary = response.parse() assert_matches_type(SummaryDNSSECResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_dnssec(self, client: Cloudflare) -> None: with client.radar.as112.summary.with_streaming_response.dnssec() as response: @@ -72,11 +76,13 @@ def test_streaming_response_dnssec(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_edns(self, client: Cloudflare) -> None: summary = client.radar.as112.summary.edns() assert_matches_type(SummaryEdnsResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_edns_with_all_params(self, client: Cloudflare) -> None: summary = client.radar.as112.summary.edns( @@ -99,6 +105,7 @@ def test_method_edns_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SummaryEdnsResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edns(self, client: Cloudflare) -> None: response = client.radar.as112.summary.with_raw_response.edns() @@ -108,6 +115,7 @@ def test_raw_response_edns(self, client: Cloudflare) -> None: summary = response.parse() assert_matches_type(SummaryEdnsResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edns(self, client: Cloudflare) -> None: with client.radar.as112.summary.with_streaming_response.edns() as response: @@ -119,11 +127,13 @@ def test_streaming_response_edns(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_ip_version(self, client: Cloudflare) -> None: summary = client.radar.as112.summary.ip_version() assert_matches_type(SummaryIPVersionResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_ip_version_with_all_params(self, client: Cloudflare) -> None: summary = client.radar.as112.summary.ip_version( @@ -146,6 +156,7 @@ def test_method_ip_version_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SummaryIPVersionResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_ip_version(self, client: Cloudflare) -> None: response = client.radar.as112.summary.with_raw_response.ip_version() @@ -155,6 +166,7 @@ def test_raw_response_ip_version(self, client: Cloudflare) -> None: summary = response.parse() assert_matches_type(SummaryIPVersionResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_ip_version(self, client: Cloudflare) -> None: with client.radar.as112.summary.with_streaming_response.ip_version() as response: @@ -166,11 +178,13 @@ def test_streaming_response_ip_version(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_protocol(self, client: Cloudflare) -> None: summary = client.radar.as112.summary.protocol() assert_matches_type(SummaryProtocolResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_protocol_with_all_params(self, client: Cloudflare) -> None: summary = client.radar.as112.summary.protocol( @@ -193,6 +207,7 @@ def test_method_protocol_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SummaryProtocolResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_protocol(self, client: Cloudflare) -> None: response = client.radar.as112.summary.with_raw_response.protocol() @@ -202,6 +217,7 @@ def test_raw_response_protocol(self, client: Cloudflare) -> None: summary = response.parse() assert_matches_type(SummaryProtocolResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_protocol(self, client: Cloudflare) -> None: with client.radar.as112.summary.with_streaming_response.protocol() as response: @@ -213,11 +229,13 @@ def test_streaming_response_protocol(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_query_type(self, client: Cloudflare) -> None: summary = client.radar.as112.summary.query_type() assert_matches_type(SummaryQueryTypeResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_query_type_with_all_params(self, client: Cloudflare) -> None: summary = client.radar.as112.summary.query_type( @@ -240,6 +258,7 @@ def test_method_query_type_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SummaryQueryTypeResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_query_type(self, client: Cloudflare) -> None: response = client.radar.as112.summary.with_raw_response.query_type() @@ -249,6 +268,7 @@ def test_raw_response_query_type(self, client: Cloudflare) -> None: summary = response.parse() assert_matches_type(SummaryQueryTypeResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_query_type(self, client: Cloudflare) -> None: with client.radar.as112.summary.with_streaming_response.query_type() as response: @@ -260,11 +280,13 @@ def test_streaming_response_query_type(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_response_codes(self, client: Cloudflare) -> None: summary = client.radar.as112.summary.response_codes() assert_matches_type(SummaryResponseCodesResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_response_codes_with_all_params(self, client: Cloudflare) -> None: summary = client.radar.as112.summary.response_codes( @@ -287,6 +309,7 @@ def test_method_response_codes_with_all_params(self, client: Cloudflare) -> None ) assert_matches_type(SummaryResponseCodesResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_response_codes(self, client: Cloudflare) -> None: response = client.radar.as112.summary.with_raw_response.response_codes() @@ -296,6 +319,7 @@ def test_raw_response_response_codes(self, client: Cloudflare) -> None: summary = response.parse() assert_matches_type(SummaryResponseCodesResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_response_codes(self, client: Cloudflare) -> None: with client.radar.as112.summary.with_streaming_response.response_codes() as response: @@ -311,11 +335,13 @@ def test_streaming_response_response_codes(self, client: Cloudflare) -> None: class TestAsyncSummary: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_dnssec(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.as112.summary.dnssec() assert_matches_type(SummaryDNSSECResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_dnssec_with_all_params(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.as112.summary.dnssec( @@ -338,6 +364,7 @@ async def test_method_dnssec_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(SummaryDNSSECResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_dnssec(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.as112.summary.with_raw_response.dnssec() @@ -347,6 +374,7 @@ async def test_raw_response_dnssec(self, async_client: AsyncCloudflare) -> None: summary = await response.parse() assert_matches_type(SummaryDNSSECResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_dnssec(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.as112.summary.with_streaming_response.dnssec() as response: @@ -358,11 +386,13 @@ async def test_streaming_response_dnssec(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_edns(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.as112.summary.edns() assert_matches_type(SummaryEdnsResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_edns_with_all_params(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.as112.summary.edns( @@ -385,6 +415,7 @@ async def test_method_edns_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(SummaryEdnsResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edns(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.as112.summary.with_raw_response.edns() @@ -394,6 +425,7 @@ async def test_raw_response_edns(self, async_client: AsyncCloudflare) -> None: summary = await response.parse() assert_matches_type(SummaryEdnsResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edns(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.as112.summary.with_streaming_response.edns() as response: @@ -405,11 +437,13 @@ async def test_streaming_response_edns(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_ip_version(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.as112.summary.ip_version() assert_matches_type(SummaryIPVersionResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_ip_version_with_all_params(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.as112.summary.ip_version( @@ -432,6 +466,7 @@ async def test_method_ip_version_with_all_params(self, async_client: AsyncCloudf ) assert_matches_type(SummaryIPVersionResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_ip_version(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.as112.summary.with_raw_response.ip_version() @@ -441,6 +476,7 @@ async def test_raw_response_ip_version(self, async_client: AsyncCloudflare) -> N summary = await response.parse() assert_matches_type(SummaryIPVersionResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_ip_version(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.as112.summary.with_streaming_response.ip_version() as response: @@ -452,11 +488,13 @@ async def test_streaming_response_ip_version(self, async_client: AsyncCloudflare assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_protocol(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.as112.summary.protocol() assert_matches_type(SummaryProtocolResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_protocol_with_all_params(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.as112.summary.protocol( @@ -479,6 +517,7 @@ async def test_method_protocol_with_all_params(self, async_client: AsyncCloudfla ) assert_matches_type(SummaryProtocolResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_protocol(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.as112.summary.with_raw_response.protocol() @@ -488,6 +527,7 @@ async def test_raw_response_protocol(self, async_client: AsyncCloudflare) -> Non summary = await response.parse() assert_matches_type(SummaryProtocolResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_protocol(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.as112.summary.with_streaming_response.protocol() as response: @@ -499,11 +539,13 @@ async def test_streaming_response_protocol(self, async_client: AsyncCloudflare) assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_query_type(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.as112.summary.query_type() assert_matches_type(SummaryQueryTypeResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_query_type_with_all_params(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.as112.summary.query_type( @@ -526,6 +568,7 @@ async def test_method_query_type_with_all_params(self, async_client: AsyncCloudf ) assert_matches_type(SummaryQueryTypeResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_query_type(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.as112.summary.with_raw_response.query_type() @@ -535,6 +578,7 @@ async def test_raw_response_query_type(self, async_client: AsyncCloudflare) -> N summary = await response.parse() assert_matches_type(SummaryQueryTypeResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_query_type(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.as112.summary.with_streaming_response.query_type() as response: @@ -546,11 +590,13 @@ async def test_streaming_response_query_type(self, async_client: AsyncCloudflare assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_response_codes(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.as112.summary.response_codes() assert_matches_type(SummaryResponseCodesResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_response_codes_with_all_params(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.as112.summary.response_codes( @@ -573,6 +619,7 @@ async def test_method_response_codes_with_all_params(self, async_client: AsyncCl ) assert_matches_type(SummaryResponseCodesResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_response_codes(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.as112.summary.with_raw_response.response_codes() @@ -582,6 +629,7 @@ async def test_raw_response_response_codes(self, async_client: AsyncCloudflare) summary = await response.parse() assert_matches_type(SummaryResponseCodesResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_response_codes(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.as112.summary.with_streaming_response.response_codes() as response: diff --git a/tests/api_resources/radar/as112/test_timeseries_groups.py b/tests/api_resources/radar/as112/test_timeseries_groups.py index 38ec1d21891..ed291ceed6b 100644 --- a/tests/api_resources/radar/as112/test_timeseries_groups.py +++ b/tests/api_resources/radar/as112/test_timeseries_groups.py @@ -25,11 +25,13 @@ class TestTimeseriesGroups: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_dnssec(self, client: Cloudflare) -> None: timeseries_group = client.radar.as112.timeseries_groups.dnssec() assert_matches_type(TimeseriesGroupDNSSECResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_dnssec_with_all_params(self, client: Cloudflare) -> None: timeseries_group = client.radar.as112.timeseries_groups.dnssec( @@ -53,6 +55,7 @@ def test_method_dnssec_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(TimeseriesGroupDNSSECResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_dnssec(self, client: Cloudflare) -> None: response = client.radar.as112.timeseries_groups.with_raw_response.dnssec() @@ -62,6 +65,7 @@ def test_raw_response_dnssec(self, client: Cloudflare) -> None: timeseries_group = response.parse() assert_matches_type(TimeseriesGroupDNSSECResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_dnssec(self, client: Cloudflare) -> None: with client.radar.as112.timeseries_groups.with_streaming_response.dnssec() as response: @@ -73,11 +77,13 @@ def test_streaming_response_dnssec(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_edns(self, client: Cloudflare) -> None: timeseries_group = client.radar.as112.timeseries_groups.edns() assert_matches_type(TimeseriesGroupEdnsResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_edns_with_all_params(self, client: Cloudflare) -> None: timeseries_group = client.radar.as112.timeseries_groups.edns( @@ -101,6 +107,7 @@ def test_method_edns_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(TimeseriesGroupEdnsResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edns(self, client: Cloudflare) -> None: response = client.radar.as112.timeseries_groups.with_raw_response.edns() @@ -110,6 +117,7 @@ def test_raw_response_edns(self, client: Cloudflare) -> None: timeseries_group = response.parse() assert_matches_type(TimeseriesGroupEdnsResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edns(self, client: Cloudflare) -> None: with client.radar.as112.timeseries_groups.with_streaming_response.edns() as response: @@ -121,11 +129,13 @@ def test_streaming_response_edns(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_ip_version(self, client: Cloudflare) -> None: timeseries_group = client.radar.as112.timeseries_groups.ip_version() assert_matches_type(TimeseriesGroupIPVersionResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_ip_version_with_all_params(self, client: Cloudflare) -> None: timeseries_group = client.radar.as112.timeseries_groups.ip_version( @@ -149,6 +159,7 @@ def test_method_ip_version_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(TimeseriesGroupIPVersionResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_ip_version(self, client: Cloudflare) -> None: response = client.radar.as112.timeseries_groups.with_raw_response.ip_version() @@ -158,6 +169,7 @@ def test_raw_response_ip_version(self, client: Cloudflare) -> None: timeseries_group = response.parse() assert_matches_type(TimeseriesGroupIPVersionResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_ip_version(self, client: Cloudflare) -> None: with client.radar.as112.timeseries_groups.with_streaming_response.ip_version() as response: @@ -169,11 +181,13 @@ def test_streaming_response_ip_version(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_protocol(self, client: Cloudflare) -> None: timeseries_group = client.radar.as112.timeseries_groups.protocol() assert_matches_type(TimeseriesGroupProtocolResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_protocol_with_all_params(self, client: Cloudflare) -> None: timeseries_group = client.radar.as112.timeseries_groups.protocol( @@ -197,6 +211,7 @@ def test_method_protocol_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(TimeseriesGroupProtocolResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_protocol(self, client: Cloudflare) -> None: response = client.radar.as112.timeseries_groups.with_raw_response.protocol() @@ -206,6 +221,7 @@ def test_raw_response_protocol(self, client: Cloudflare) -> None: timeseries_group = response.parse() assert_matches_type(TimeseriesGroupProtocolResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_protocol(self, client: Cloudflare) -> None: with client.radar.as112.timeseries_groups.with_streaming_response.protocol() as response: @@ -217,11 +233,13 @@ def test_streaming_response_protocol(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_query_type(self, client: Cloudflare) -> None: timeseries_group = client.radar.as112.timeseries_groups.query_type() assert_matches_type(TimeseriesGroupQueryTypeResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_query_type_with_all_params(self, client: Cloudflare) -> None: timeseries_group = client.radar.as112.timeseries_groups.query_type( @@ -245,6 +263,7 @@ def test_method_query_type_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(TimeseriesGroupQueryTypeResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_query_type(self, client: Cloudflare) -> None: response = client.radar.as112.timeseries_groups.with_raw_response.query_type() @@ -254,6 +273,7 @@ def test_raw_response_query_type(self, client: Cloudflare) -> None: timeseries_group = response.parse() assert_matches_type(TimeseriesGroupQueryTypeResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_query_type(self, client: Cloudflare) -> None: with client.radar.as112.timeseries_groups.with_streaming_response.query_type() as response: @@ -265,11 +285,13 @@ def test_streaming_response_query_type(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_response_codes(self, client: Cloudflare) -> None: timeseries_group = client.radar.as112.timeseries_groups.response_codes() assert_matches_type(TimeseriesGroupResponseCodesResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_response_codes_with_all_params(self, client: Cloudflare) -> None: timeseries_group = client.radar.as112.timeseries_groups.response_codes( @@ -293,6 +315,7 @@ def test_method_response_codes_with_all_params(self, client: Cloudflare) -> None ) assert_matches_type(TimeseriesGroupResponseCodesResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_response_codes(self, client: Cloudflare) -> None: response = client.radar.as112.timeseries_groups.with_raw_response.response_codes() @@ -302,6 +325,7 @@ def test_raw_response_response_codes(self, client: Cloudflare) -> None: timeseries_group = response.parse() assert_matches_type(TimeseriesGroupResponseCodesResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_response_codes(self, client: Cloudflare) -> None: with client.radar.as112.timeseries_groups.with_streaming_response.response_codes() as response: @@ -317,11 +341,13 @@ def test_streaming_response_response_codes(self, client: Cloudflare) -> None: class TestAsyncTimeseriesGroups: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_dnssec(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.as112.timeseries_groups.dnssec() assert_matches_type(TimeseriesGroupDNSSECResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_dnssec_with_all_params(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.as112.timeseries_groups.dnssec( @@ -345,6 +371,7 @@ async def test_method_dnssec_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(TimeseriesGroupDNSSECResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_dnssec(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.as112.timeseries_groups.with_raw_response.dnssec() @@ -354,6 +381,7 @@ async def test_raw_response_dnssec(self, async_client: AsyncCloudflare) -> None: timeseries_group = await response.parse() assert_matches_type(TimeseriesGroupDNSSECResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_dnssec(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.as112.timeseries_groups.with_streaming_response.dnssec() as response: @@ -365,11 +393,13 @@ async def test_streaming_response_dnssec(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_edns(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.as112.timeseries_groups.edns() assert_matches_type(TimeseriesGroupEdnsResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_edns_with_all_params(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.as112.timeseries_groups.edns( @@ -393,6 +423,7 @@ async def test_method_edns_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(TimeseriesGroupEdnsResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edns(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.as112.timeseries_groups.with_raw_response.edns() @@ -402,6 +433,7 @@ async def test_raw_response_edns(self, async_client: AsyncCloudflare) -> None: timeseries_group = await response.parse() assert_matches_type(TimeseriesGroupEdnsResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edns(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.as112.timeseries_groups.with_streaming_response.edns() as response: @@ -413,11 +445,13 @@ async def test_streaming_response_edns(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_ip_version(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.as112.timeseries_groups.ip_version() assert_matches_type(TimeseriesGroupIPVersionResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_ip_version_with_all_params(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.as112.timeseries_groups.ip_version( @@ -441,6 +475,7 @@ async def test_method_ip_version_with_all_params(self, async_client: AsyncCloudf ) assert_matches_type(TimeseriesGroupIPVersionResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_ip_version(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.as112.timeseries_groups.with_raw_response.ip_version() @@ -450,6 +485,7 @@ async def test_raw_response_ip_version(self, async_client: AsyncCloudflare) -> N timeseries_group = await response.parse() assert_matches_type(TimeseriesGroupIPVersionResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_ip_version(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.as112.timeseries_groups.with_streaming_response.ip_version() as response: @@ -461,11 +497,13 @@ async def test_streaming_response_ip_version(self, async_client: AsyncCloudflare assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_protocol(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.as112.timeseries_groups.protocol() assert_matches_type(TimeseriesGroupProtocolResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_protocol_with_all_params(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.as112.timeseries_groups.protocol( @@ -489,6 +527,7 @@ async def test_method_protocol_with_all_params(self, async_client: AsyncCloudfla ) assert_matches_type(TimeseriesGroupProtocolResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_protocol(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.as112.timeseries_groups.with_raw_response.protocol() @@ -498,6 +537,7 @@ async def test_raw_response_protocol(self, async_client: AsyncCloudflare) -> Non timeseries_group = await response.parse() assert_matches_type(TimeseriesGroupProtocolResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_protocol(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.as112.timeseries_groups.with_streaming_response.protocol() as response: @@ -509,11 +549,13 @@ async def test_streaming_response_protocol(self, async_client: AsyncCloudflare) assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_query_type(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.as112.timeseries_groups.query_type() assert_matches_type(TimeseriesGroupQueryTypeResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_query_type_with_all_params(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.as112.timeseries_groups.query_type( @@ -537,6 +579,7 @@ async def test_method_query_type_with_all_params(self, async_client: AsyncCloudf ) assert_matches_type(TimeseriesGroupQueryTypeResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_query_type(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.as112.timeseries_groups.with_raw_response.query_type() @@ -546,6 +589,7 @@ async def test_raw_response_query_type(self, async_client: AsyncCloudflare) -> N timeseries_group = await response.parse() assert_matches_type(TimeseriesGroupQueryTypeResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_query_type(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.as112.timeseries_groups.with_streaming_response.query_type() as response: @@ -557,11 +601,13 @@ async def test_streaming_response_query_type(self, async_client: AsyncCloudflare assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_response_codes(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.as112.timeseries_groups.response_codes() assert_matches_type(TimeseriesGroupResponseCodesResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_response_codes_with_all_params(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.as112.timeseries_groups.response_codes( @@ -585,6 +631,7 @@ async def test_method_response_codes_with_all_params(self, async_client: AsyncCl ) assert_matches_type(TimeseriesGroupResponseCodesResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_response_codes(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.as112.timeseries_groups.with_raw_response.response_codes() @@ -594,6 +641,7 @@ async def test_raw_response_response_codes(self, async_client: AsyncCloudflare) timeseries_group = await response.parse() assert_matches_type(TimeseriesGroupResponseCodesResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_response_codes(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.as112.timeseries_groups.with_streaming_response.response_codes() as response: diff --git a/tests/api_resources/radar/as112/test_top.py b/tests/api_resources/radar/as112/test_top.py index 81ffe5314d8..9dcda9b638d 100644 --- a/tests/api_resources/radar/as112/test_top.py +++ b/tests/api_resources/radar/as112/test_top.py @@ -23,6 +23,7 @@ class TestTop: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_dnssec(self, client: Cloudflare) -> None: top = client.radar.as112.top.dnssec( @@ -30,6 +31,7 @@ def test_method_dnssec(self, client: Cloudflare) -> None: ) assert_matches_type(TopDNSSECResponse, top, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_dnssec_with_all_params(self, client: Cloudflare) -> None: top = client.radar.as112.top.dnssec( @@ -54,6 +56,7 @@ def test_method_dnssec_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(TopDNSSECResponse, top, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_dnssec(self, client: Cloudflare) -> None: response = client.radar.as112.top.with_raw_response.dnssec( @@ -65,6 +68,7 @@ def test_raw_response_dnssec(self, client: Cloudflare) -> None: top = response.parse() assert_matches_type(TopDNSSECResponse, top, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_dnssec(self, client: Cloudflare) -> None: with client.radar.as112.top.with_streaming_response.dnssec( @@ -78,6 +82,7 @@ def test_streaming_response_dnssec(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_edns(self, client: Cloudflare) -> None: top = client.radar.as112.top.edns( @@ -85,6 +90,7 @@ def test_method_edns(self, client: Cloudflare) -> None: ) assert_matches_type(TopEdnsResponse, top, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_edns_with_all_params(self, client: Cloudflare) -> None: top = client.radar.as112.top.edns( @@ -109,6 +115,7 @@ def test_method_edns_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(TopEdnsResponse, top, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edns(self, client: Cloudflare) -> None: response = client.radar.as112.top.with_raw_response.edns( @@ -120,6 +127,7 @@ def test_raw_response_edns(self, client: Cloudflare) -> None: top = response.parse() assert_matches_type(TopEdnsResponse, top, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edns(self, client: Cloudflare) -> None: with client.radar.as112.top.with_streaming_response.edns( @@ -133,6 +141,7 @@ def test_streaming_response_edns(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_ip_version(self, client: Cloudflare) -> None: top = client.radar.as112.top.ip_version( @@ -140,6 +149,7 @@ def test_method_ip_version(self, client: Cloudflare) -> None: ) assert_matches_type(TopIPVersionResponse, top, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_ip_version_with_all_params(self, client: Cloudflare) -> None: top = client.radar.as112.top.ip_version( @@ -164,6 +174,7 @@ def test_method_ip_version_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(TopIPVersionResponse, top, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_ip_version(self, client: Cloudflare) -> None: response = client.radar.as112.top.with_raw_response.ip_version( @@ -175,6 +186,7 @@ def test_raw_response_ip_version(self, client: Cloudflare) -> None: top = response.parse() assert_matches_type(TopIPVersionResponse, top, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_ip_version(self, client: Cloudflare) -> None: with client.radar.as112.top.with_streaming_response.ip_version( @@ -188,11 +200,13 @@ def test_streaming_response_ip_version(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_locations(self, client: Cloudflare) -> None: top = client.radar.as112.top.locations() assert_matches_type(TopLocationsResponse, top, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_locations_with_all_params(self, client: Cloudflare) -> None: top = client.radar.as112.top.locations( @@ -216,6 +230,7 @@ def test_method_locations_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(TopLocationsResponse, top, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_locations(self, client: Cloudflare) -> None: response = client.radar.as112.top.with_raw_response.locations() @@ -225,6 +240,7 @@ def test_raw_response_locations(self, client: Cloudflare) -> None: top = response.parse() assert_matches_type(TopLocationsResponse, top, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_locations(self, client: Cloudflare) -> None: with client.radar.as112.top.with_streaming_response.locations() as response: @@ -240,6 +256,7 @@ def test_streaming_response_locations(self, client: Cloudflare) -> None: class TestAsyncTop: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_dnssec(self, async_client: AsyncCloudflare) -> None: top = await async_client.radar.as112.top.dnssec( @@ -247,6 +264,7 @@ async def test_method_dnssec(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(TopDNSSECResponse, top, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_dnssec_with_all_params(self, async_client: AsyncCloudflare) -> None: top = await async_client.radar.as112.top.dnssec( @@ -271,6 +289,7 @@ async def test_method_dnssec_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(TopDNSSECResponse, top, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_dnssec(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.as112.top.with_raw_response.dnssec( @@ -282,6 +301,7 @@ async def test_raw_response_dnssec(self, async_client: AsyncCloudflare) -> None: top = await response.parse() assert_matches_type(TopDNSSECResponse, top, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_dnssec(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.as112.top.with_streaming_response.dnssec( @@ -295,6 +315,7 @@ async def test_streaming_response_dnssec(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_edns(self, async_client: AsyncCloudflare) -> None: top = await async_client.radar.as112.top.edns( @@ -302,6 +323,7 @@ async def test_method_edns(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(TopEdnsResponse, top, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_edns_with_all_params(self, async_client: AsyncCloudflare) -> None: top = await async_client.radar.as112.top.edns( @@ -326,6 +348,7 @@ async def test_method_edns_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(TopEdnsResponse, top, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edns(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.as112.top.with_raw_response.edns( @@ -337,6 +360,7 @@ async def test_raw_response_edns(self, async_client: AsyncCloudflare) -> None: top = await response.parse() assert_matches_type(TopEdnsResponse, top, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edns(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.as112.top.with_streaming_response.edns( @@ -350,6 +374,7 @@ async def test_streaming_response_edns(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_ip_version(self, async_client: AsyncCloudflare) -> None: top = await async_client.radar.as112.top.ip_version( @@ -357,6 +382,7 @@ async def test_method_ip_version(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(TopIPVersionResponse, top, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_ip_version_with_all_params(self, async_client: AsyncCloudflare) -> None: top = await async_client.radar.as112.top.ip_version( @@ -381,6 +407,7 @@ async def test_method_ip_version_with_all_params(self, async_client: AsyncCloudf ) assert_matches_type(TopIPVersionResponse, top, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_ip_version(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.as112.top.with_raw_response.ip_version( @@ -392,6 +419,7 @@ async def test_raw_response_ip_version(self, async_client: AsyncCloudflare) -> N top = await response.parse() assert_matches_type(TopIPVersionResponse, top, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_ip_version(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.as112.top.with_streaming_response.ip_version( @@ -405,11 +433,13 @@ async def test_streaming_response_ip_version(self, async_client: AsyncCloudflare assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_locations(self, async_client: AsyncCloudflare) -> None: top = await async_client.radar.as112.top.locations() assert_matches_type(TopLocationsResponse, top, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_locations_with_all_params(self, async_client: AsyncCloudflare) -> None: top = await async_client.radar.as112.top.locations( @@ -433,6 +463,7 @@ async def test_method_locations_with_all_params(self, async_client: AsyncCloudfl ) assert_matches_type(TopLocationsResponse, top, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_locations(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.as112.top.with_raw_response.locations() @@ -442,6 +473,7 @@ async def test_raw_response_locations(self, async_client: AsyncCloudflare) -> No top = await response.parse() assert_matches_type(TopLocationsResponse, top, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_locations(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.as112.top.with_streaming_response.locations() as response: diff --git a/tests/api_resources/radar/attacks/layer3/test_summary.py b/tests/api_resources/radar/attacks/layer3/test_summary.py index 4b0fa3e5290..fa77a34344f 100644 --- a/tests/api_resources/radar/attacks/layer3/test_summary.py +++ b/tests/api_resources/radar/attacks/layer3/test_summary.py @@ -25,11 +25,13 @@ class TestSummary: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_bitrate(self, client: Cloudflare) -> None: summary = client.radar.attacks.layer3.summary.bitrate() assert_matches_type(SummaryBitrateResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_bitrate_with_all_params(self, client: Cloudflare) -> None: summary = client.radar.attacks.layer3.summary.bitrate( @@ -54,6 +56,7 @@ def test_method_bitrate_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SummaryBitrateResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_bitrate(self, client: Cloudflare) -> None: response = client.radar.attacks.layer3.summary.with_raw_response.bitrate() @@ -63,6 +66,7 @@ def test_raw_response_bitrate(self, client: Cloudflare) -> None: summary = response.parse() assert_matches_type(SummaryBitrateResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_bitrate(self, client: Cloudflare) -> None: with client.radar.attacks.layer3.summary.with_streaming_response.bitrate() as response: @@ -74,11 +78,13 @@ def test_streaming_response_bitrate(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_duration(self, client: Cloudflare) -> None: summary = client.radar.attacks.layer3.summary.duration() assert_matches_type(SummaryDurationResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_duration_with_all_params(self, client: Cloudflare) -> None: summary = client.radar.attacks.layer3.summary.duration( @@ -103,6 +109,7 @@ def test_method_duration_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SummaryDurationResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_duration(self, client: Cloudflare) -> None: response = client.radar.attacks.layer3.summary.with_raw_response.duration() @@ -112,6 +119,7 @@ def test_raw_response_duration(self, client: Cloudflare) -> None: summary = response.parse() assert_matches_type(SummaryDurationResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_duration(self, client: Cloudflare) -> None: with client.radar.attacks.layer3.summary.with_streaming_response.duration() as response: @@ -123,11 +131,13 @@ def test_streaming_response_duration(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: summary = client.radar.attacks.layer3.summary.get() assert_matches_type(SummaryGetResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: summary = client.radar.attacks.layer3.summary.get( @@ -150,6 +160,7 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SummaryGetResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.radar.attacks.layer3.summary.with_raw_response.get() @@ -159,6 +170,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: summary = response.parse() assert_matches_type(SummaryGetResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.radar.attacks.layer3.summary.with_streaming_response.get() as response: @@ -170,11 +182,13 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_ip_version(self, client: Cloudflare) -> None: summary = client.radar.attacks.layer3.summary.ip_version() assert_matches_type(SummaryIPVersionResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_ip_version_with_all_params(self, client: Cloudflare) -> None: summary = client.radar.attacks.layer3.summary.ip_version( @@ -198,6 +212,7 @@ def test_method_ip_version_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SummaryIPVersionResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_ip_version(self, client: Cloudflare) -> None: response = client.radar.attacks.layer3.summary.with_raw_response.ip_version() @@ -207,6 +222,7 @@ def test_raw_response_ip_version(self, client: Cloudflare) -> None: summary = response.parse() assert_matches_type(SummaryIPVersionResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_ip_version(self, client: Cloudflare) -> None: with client.radar.attacks.layer3.summary.with_streaming_response.ip_version() as response: @@ -218,11 +234,13 @@ def test_streaming_response_ip_version(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_protocol(self, client: Cloudflare) -> None: summary = client.radar.attacks.layer3.summary.protocol() assert_matches_type(SummaryProtocolResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_protocol_with_all_params(self, client: Cloudflare) -> None: summary = client.radar.attacks.layer3.summary.protocol( @@ -246,6 +264,7 @@ def test_method_protocol_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SummaryProtocolResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_protocol(self, client: Cloudflare) -> None: response = client.radar.attacks.layer3.summary.with_raw_response.protocol() @@ -255,6 +274,7 @@ def test_raw_response_protocol(self, client: Cloudflare) -> None: summary = response.parse() assert_matches_type(SummaryProtocolResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_protocol(self, client: Cloudflare) -> None: with client.radar.attacks.layer3.summary.with_streaming_response.protocol() as response: @@ -266,11 +286,13 @@ def test_streaming_response_protocol(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_vector(self, client: Cloudflare) -> None: summary = client.radar.attacks.layer3.summary.vector() assert_matches_type(SummaryVectorResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_vector_with_all_params(self, client: Cloudflare) -> None: summary = client.radar.attacks.layer3.summary.vector( @@ -295,6 +317,7 @@ def test_method_vector_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SummaryVectorResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_vector(self, client: Cloudflare) -> None: response = client.radar.attacks.layer3.summary.with_raw_response.vector() @@ -304,6 +327,7 @@ def test_raw_response_vector(self, client: Cloudflare) -> None: summary = response.parse() assert_matches_type(SummaryVectorResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_vector(self, client: Cloudflare) -> None: with client.radar.attacks.layer3.summary.with_streaming_response.vector() as response: @@ -319,11 +343,13 @@ def test_streaming_response_vector(self, client: Cloudflare) -> None: class TestAsyncSummary: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_bitrate(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.attacks.layer3.summary.bitrate() assert_matches_type(SummaryBitrateResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_bitrate_with_all_params(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.attacks.layer3.summary.bitrate( @@ -348,6 +374,7 @@ async def test_method_bitrate_with_all_params(self, async_client: AsyncCloudflar ) assert_matches_type(SummaryBitrateResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_bitrate(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.attacks.layer3.summary.with_raw_response.bitrate() @@ -357,6 +384,7 @@ async def test_raw_response_bitrate(self, async_client: AsyncCloudflare) -> None summary = await response.parse() assert_matches_type(SummaryBitrateResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_bitrate(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.attacks.layer3.summary.with_streaming_response.bitrate() as response: @@ -368,11 +396,13 @@ async def test_streaming_response_bitrate(self, async_client: AsyncCloudflare) - assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_duration(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.attacks.layer3.summary.duration() assert_matches_type(SummaryDurationResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_duration_with_all_params(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.attacks.layer3.summary.duration( @@ -397,6 +427,7 @@ async def test_method_duration_with_all_params(self, async_client: AsyncCloudfla ) assert_matches_type(SummaryDurationResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_duration(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.attacks.layer3.summary.with_raw_response.duration() @@ -406,6 +437,7 @@ async def test_raw_response_duration(self, async_client: AsyncCloudflare) -> Non summary = await response.parse() assert_matches_type(SummaryDurationResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_duration(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.attacks.layer3.summary.with_streaming_response.duration() as response: @@ -417,11 +449,13 @@ async def test_streaming_response_duration(self, async_client: AsyncCloudflare) assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.attacks.layer3.summary.get() assert_matches_type(SummaryGetResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.attacks.layer3.summary.get( @@ -444,6 +478,7 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(SummaryGetResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.attacks.layer3.summary.with_raw_response.get() @@ -453,6 +488,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: summary = await response.parse() assert_matches_type(SummaryGetResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.attacks.layer3.summary.with_streaming_response.get() as response: @@ -464,11 +500,13 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_ip_version(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.attacks.layer3.summary.ip_version() assert_matches_type(SummaryIPVersionResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_ip_version_with_all_params(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.attacks.layer3.summary.ip_version( @@ -492,6 +530,7 @@ async def test_method_ip_version_with_all_params(self, async_client: AsyncCloudf ) assert_matches_type(SummaryIPVersionResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_ip_version(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.attacks.layer3.summary.with_raw_response.ip_version() @@ -501,6 +540,7 @@ async def test_raw_response_ip_version(self, async_client: AsyncCloudflare) -> N summary = await response.parse() assert_matches_type(SummaryIPVersionResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_ip_version(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.attacks.layer3.summary.with_streaming_response.ip_version() as response: @@ -512,11 +552,13 @@ async def test_streaming_response_ip_version(self, async_client: AsyncCloudflare assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_protocol(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.attacks.layer3.summary.protocol() assert_matches_type(SummaryProtocolResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_protocol_with_all_params(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.attacks.layer3.summary.protocol( @@ -540,6 +582,7 @@ async def test_method_protocol_with_all_params(self, async_client: AsyncCloudfla ) assert_matches_type(SummaryProtocolResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_protocol(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.attacks.layer3.summary.with_raw_response.protocol() @@ -549,6 +592,7 @@ async def test_raw_response_protocol(self, async_client: AsyncCloudflare) -> Non summary = await response.parse() assert_matches_type(SummaryProtocolResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_protocol(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.attacks.layer3.summary.with_streaming_response.protocol() as response: @@ -560,11 +604,13 @@ async def test_streaming_response_protocol(self, async_client: AsyncCloudflare) assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_vector(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.attacks.layer3.summary.vector() assert_matches_type(SummaryVectorResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_vector_with_all_params(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.attacks.layer3.summary.vector( @@ -589,6 +635,7 @@ async def test_method_vector_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(SummaryVectorResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_vector(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.attacks.layer3.summary.with_raw_response.vector() @@ -598,6 +645,7 @@ async def test_raw_response_vector(self, async_client: AsyncCloudflare) -> None: summary = await response.parse() assert_matches_type(SummaryVectorResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_vector(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.attacks.layer3.summary.with_streaming_response.vector() as response: diff --git a/tests/api_resources/radar/attacks/layer3/test_timeseries_groups.py b/tests/api_resources/radar/attacks/layer3/test_timeseries_groups.py index 1dd04286948..67738ff175e 100644 --- a/tests/api_resources/radar/attacks/layer3/test_timeseries_groups.py +++ b/tests/api_resources/radar/attacks/layer3/test_timeseries_groups.py @@ -27,11 +27,13 @@ class TestTimeseriesGroups: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_bitrate(self, client: Cloudflare) -> None: timeseries_group = client.radar.attacks.layer3.timeseries_groups.bitrate() assert_matches_type(TimeseriesGroupBitrateResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_bitrate_with_all_params(self, client: Cloudflare) -> None: timeseries_group = client.radar.attacks.layer3.timeseries_groups.bitrate( @@ -58,6 +60,7 @@ def test_method_bitrate_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(TimeseriesGroupBitrateResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_bitrate(self, client: Cloudflare) -> None: response = client.radar.attacks.layer3.timeseries_groups.with_raw_response.bitrate() @@ -67,6 +70,7 @@ def test_raw_response_bitrate(self, client: Cloudflare) -> None: timeseries_group = response.parse() assert_matches_type(TimeseriesGroupBitrateResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_bitrate(self, client: Cloudflare) -> None: with client.radar.attacks.layer3.timeseries_groups.with_streaming_response.bitrate() as response: @@ -78,11 +82,13 @@ def test_streaming_response_bitrate(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_duration(self, client: Cloudflare) -> None: timeseries_group = client.radar.attacks.layer3.timeseries_groups.duration() assert_matches_type(TimeseriesGroupDurationResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_duration_with_all_params(self, client: Cloudflare) -> None: timeseries_group = client.radar.attacks.layer3.timeseries_groups.duration( @@ -109,6 +115,7 @@ def test_method_duration_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(TimeseriesGroupDurationResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_duration(self, client: Cloudflare) -> None: response = client.radar.attacks.layer3.timeseries_groups.with_raw_response.duration() @@ -118,6 +125,7 @@ def test_raw_response_duration(self, client: Cloudflare) -> None: timeseries_group = response.parse() assert_matches_type(TimeseriesGroupDurationResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_duration(self, client: Cloudflare) -> None: with client.radar.attacks.layer3.timeseries_groups.with_streaming_response.duration() as response: @@ -129,11 +137,13 @@ def test_streaming_response_duration(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: timeseries_group = client.radar.attacks.layer3.timeseries_groups.get() assert_matches_type(TimeseriesGroupGetResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: timeseries_group = client.radar.attacks.layer3.timeseries_groups.get( @@ -157,6 +167,7 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(TimeseriesGroupGetResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.radar.attacks.layer3.timeseries_groups.with_raw_response.get() @@ -166,6 +177,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: timeseries_group = response.parse() assert_matches_type(TimeseriesGroupGetResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.radar.attacks.layer3.timeseries_groups.with_streaming_response.get() as response: @@ -177,11 +189,13 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_industry(self, client: Cloudflare) -> None: timeseries_group = client.radar.attacks.layer3.timeseries_groups.industry() assert_matches_type(TimeseriesGroupIndustryResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_industry_with_all_params(self, client: Cloudflare) -> None: timeseries_group = client.radar.attacks.layer3.timeseries_groups.industry( @@ -208,6 +222,7 @@ def test_method_industry_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(TimeseriesGroupIndustryResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_industry(self, client: Cloudflare) -> None: response = client.radar.attacks.layer3.timeseries_groups.with_raw_response.industry() @@ -217,6 +232,7 @@ def test_raw_response_industry(self, client: Cloudflare) -> None: timeseries_group = response.parse() assert_matches_type(TimeseriesGroupIndustryResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_industry(self, client: Cloudflare) -> None: with client.radar.attacks.layer3.timeseries_groups.with_streaming_response.industry() as response: @@ -228,11 +244,13 @@ def test_streaming_response_industry(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_ip_version(self, client: Cloudflare) -> None: timeseries_group = client.radar.attacks.layer3.timeseries_groups.ip_version() assert_matches_type(TimeseriesGroupIPVersionResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_ip_version_with_all_params(self, client: Cloudflare) -> None: timeseries_group = client.radar.attacks.layer3.timeseries_groups.ip_version( @@ -258,6 +276,7 @@ def test_method_ip_version_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(TimeseriesGroupIPVersionResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_ip_version(self, client: Cloudflare) -> None: response = client.radar.attacks.layer3.timeseries_groups.with_raw_response.ip_version() @@ -267,6 +286,7 @@ def test_raw_response_ip_version(self, client: Cloudflare) -> None: timeseries_group = response.parse() assert_matches_type(TimeseriesGroupIPVersionResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_ip_version(self, client: Cloudflare) -> None: with client.radar.attacks.layer3.timeseries_groups.with_streaming_response.ip_version() as response: @@ -278,11 +298,13 @@ def test_streaming_response_ip_version(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_protocol(self, client: Cloudflare) -> None: timeseries_group = client.radar.attacks.layer3.timeseries_groups.protocol() assert_matches_type(TimeseriesGroupProtocolResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_protocol_with_all_params(self, client: Cloudflare) -> None: timeseries_group = client.radar.attacks.layer3.timeseries_groups.protocol( @@ -308,6 +330,7 @@ def test_method_protocol_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(TimeseriesGroupProtocolResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_protocol(self, client: Cloudflare) -> None: response = client.radar.attacks.layer3.timeseries_groups.with_raw_response.protocol() @@ -317,6 +340,7 @@ def test_raw_response_protocol(self, client: Cloudflare) -> None: timeseries_group = response.parse() assert_matches_type(TimeseriesGroupProtocolResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_protocol(self, client: Cloudflare) -> None: with client.radar.attacks.layer3.timeseries_groups.with_streaming_response.protocol() as response: @@ -328,11 +352,13 @@ def test_streaming_response_protocol(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_vector(self, client: Cloudflare) -> None: timeseries_group = client.radar.attacks.layer3.timeseries_groups.vector() assert_matches_type(TimeseriesGroupVectorResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_vector_with_all_params(self, client: Cloudflare) -> None: timeseries_group = client.radar.attacks.layer3.timeseries_groups.vector( @@ -360,6 +386,7 @@ def test_method_vector_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(TimeseriesGroupVectorResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_vector(self, client: Cloudflare) -> None: response = client.radar.attacks.layer3.timeseries_groups.with_raw_response.vector() @@ -369,6 +396,7 @@ def test_raw_response_vector(self, client: Cloudflare) -> None: timeseries_group = response.parse() assert_matches_type(TimeseriesGroupVectorResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_vector(self, client: Cloudflare) -> None: with client.radar.attacks.layer3.timeseries_groups.with_streaming_response.vector() as response: @@ -380,11 +408,13 @@ def test_streaming_response_vector(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_vertical(self, client: Cloudflare) -> None: timeseries_group = client.radar.attacks.layer3.timeseries_groups.vertical() assert_matches_type(TimeseriesGroupVerticalResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_vertical_with_all_params(self, client: Cloudflare) -> None: timeseries_group = client.radar.attacks.layer3.timeseries_groups.vertical( @@ -411,6 +441,7 @@ def test_method_vertical_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(TimeseriesGroupVerticalResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_vertical(self, client: Cloudflare) -> None: response = client.radar.attacks.layer3.timeseries_groups.with_raw_response.vertical() @@ -420,6 +451,7 @@ def test_raw_response_vertical(self, client: Cloudflare) -> None: timeseries_group = response.parse() assert_matches_type(TimeseriesGroupVerticalResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_vertical(self, client: Cloudflare) -> None: with client.radar.attacks.layer3.timeseries_groups.with_streaming_response.vertical() as response: @@ -435,11 +467,13 @@ def test_streaming_response_vertical(self, client: Cloudflare) -> None: class TestAsyncTimeseriesGroups: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_bitrate(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.attacks.layer3.timeseries_groups.bitrate() assert_matches_type(TimeseriesGroupBitrateResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_bitrate_with_all_params(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.attacks.layer3.timeseries_groups.bitrate( @@ -466,6 +500,7 @@ async def test_method_bitrate_with_all_params(self, async_client: AsyncCloudflar ) assert_matches_type(TimeseriesGroupBitrateResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_bitrate(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.attacks.layer3.timeseries_groups.with_raw_response.bitrate() @@ -475,6 +510,7 @@ async def test_raw_response_bitrate(self, async_client: AsyncCloudflare) -> None timeseries_group = await response.parse() assert_matches_type(TimeseriesGroupBitrateResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_bitrate(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.attacks.layer3.timeseries_groups.with_streaming_response.bitrate() as response: @@ -486,11 +522,13 @@ async def test_streaming_response_bitrate(self, async_client: AsyncCloudflare) - assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_duration(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.attacks.layer3.timeseries_groups.duration() assert_matches_type(TimeseriesGroupDurationResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_duration_with_all_params(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.attacks.layer3.timeseries_groups.duration( @@ -517,6 +555,7 @@ async def test_method_duration_with_all_params(self, async_client: AsyncCloudfla ) assert_matches_type(TimeseriesGroupDurationResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_duration(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.attacks.layer3.timeseries_groups.with_raw_response.duration() @@ -526,6 +565,7 @@ async def test_raw_response_duration(self, async_client: AsyncCloudflare) -> Non timeseries_group = await response.parse() assert_matches_type(TimeseriesGroupDurationResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_duration(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.attacks.layer3.timeseries_groups.with_streaming_response.duration() as response: @@ -537,11 +577,13 @@ async def test_streaming_response_duration(self, async_client: AsyncCloudflare) assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.attacks.layer3.timeseries_groups.get() assert_matches_type(TimeseriesGroupGetResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.attacks.layer3.timeseries_groups.get( @@ -565,6 +607,7 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(TimeseriesGroupGetResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.attacks.layer3.timeseries_groups.with_raw_response.get() @@ -574,6 +617,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: timeseries_group = await response.parse() assert_matches_type(TimeseriesGroupGetResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.attacks.layer3.timeseries_groups.with_streaming_response.get() as response: @@ -585,11 +629,13 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_industry(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.attacks.layer3.timeseries_groups.industry() assert_matches_type(TimeseriesGroupIndustryResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_industry_with_all_params(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.attacks.layer3.timeseries_groups.industry( @@ -616,6 +662,7 @@ async def test_method_industry_with_all_params(self, async_client: AsyncCloudfla ) assert_matches_type(TimeseriesGroupIndustryResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_industry(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.attacks.layer3.timeseries_groups.with_raw_response.industry() @@ -625,6 +672,7 @@ async def test_raw_response_industry(self, async_client: AsyncCloudflare) -> Non timeseries_group = await response.parse() assert_matches_type(TimeseriesGroupIndustryResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_industry(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.attacks.layer3.timeseries_groups.with_streaming_response.industry() as response: @@ -636,11 +684,13 @@ async def test_streaming_response_industry(self, async_client: AsyncCloudflare) assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_ip_version(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.attacks.layer3.timeseries_groups.ip_version() assert_matches_type(TimeseriesGroupIPVersionResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_ip_version_with_all_params(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.attacks.layer3.timeseries_groups.ip_version( @@ -666,6 +716,7 @@ async def test_method_ip_version_with_all_params(self, async_client: AsyncCloudf ) assert_matches_type(TimeseriesGroupIPVersionResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_ip_version(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.attacks.layer3.timeseries_groups.with_raw_response.ip_version() @@ -675,6 +726,7 @@ async def test_raw_response_ip_version(self, async_client: AsyncCloudflare) -> N timeseries_group = await response.parse() assert_matches_type(TimeseriesGroupIPVersionResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_ip_version(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.attacks.layer3.timeseries_groups.with_streaming_response.ip_version() as response: @@ -686,11 +738,13 @@ async def test_streaming_response_ip_version(self, async_client: AsyncCloudflare assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_protocol(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.attacks.layer3.timeseries_groups.protocol() assert_matches_type(TimeseriesGroupProtocolResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_protocol_with_all_params(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.attacks.layer3.timeseries_groups.protocol( @@ -716,6 +770,7 @@ async def test_method_protocol_with_all_params(self, async_client: AsyncCloudfla ) assert_matches_type(TimeseriesGroupProtocolResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_protocol(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.attacks.layer3.timeseries_groups.with_raw_response.protocol() @@ -725,6 +780,7 @@ async def test_raw_response_protocol(self, async_client: AsyncCloudflare) -> Non timeseries_group = await response.parse() assert_matches_type(TimeseriesGroupProtocolResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_protocol(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.attacks.layer3.timeseries_groups.with_streaming_response.protocol() as response: @@ -736,11 +792,13 @@ async def test_streaming_response_protocol(self, async_client: AsyncCloudflare) assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_vector(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.attacks.layer3.timeseries_groups.vector() assert_matches_type(TimeseriesGroupVectorResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_vector_with_all_params(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.attacks.layer3.timeseries_groups.vector( @@ -768,6 +826,7 @@ async def test_method_vector_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(TimeseriesGroupVectorResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_vector(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.attacks.layer3.timeseries_groups.with_raw_response.vector() @@ -777,6 +836,7 @@ async def test_raw_response_vector(self, async_client: AsyncCloudflare) -> None: timeseries_group = await response.parse() assert_matches_type(TimeseriesGroupVectorResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_vector(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.attacks.layer3.timeseries_groups.with_streaming_response.vector() as response: @@ -788,11 +848,13 @@ async def test_streaming_response_vector(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_vertical(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.attacks.layer3.timeseries_groups.vertical() assert_matches_type(TimeseriesGroupVerticalResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_vertical_with_all_params(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.attacks.layer3.timeseries_groups.vertical( @@ -819,6 +881,7 @@ async def test_method_vertical_with_all_params(self, async_client: AsyncCloudfla ) assert_matches_type(TimeseriesGroupVerticalResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_vertical(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.attacks.layer3.timeseries_groups.with_raw_response.vertical() @@ -828,6 +891,7 @@ async def test_raw_response_vertical(self, async_client: AsyncCloudflare) -> Non timeseries_group = await response.parse() assert_matches_type(TimeseriesGroupVerticalResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_vertical(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.attacks.layer3.timeseries_groups.with_streaming_response.vertical() as response: diff --git a/tests/api_resources/radar/attacks/layer3/test_top.py b/tests/api_resources/radar/attacks/layer3/test_top.py index 6d2d7d36d7c..d48011bdd67 100644 --- a/tests/api_resources/radar/attacks/layer3/test_top.py +++ b/tests/api_resources/radar/attacks/layer3/test_top.py @@ -22,11 +22,13 @@ class TestTop: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_attacks(self, client: Cloudflare) -> None: top = client.radar.attacks.layer3.top.attacks() assert_matches_type(TopAttacksResponse, top, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_attacks_with_all_params(self, client: Cloudflare) -> None: top = client.radar.attacks.layer3.top.attacks( @@ -53,6 +55,7 @@ def test_method_attacks_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(TopAttacksResponse, top, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_attacks(self, client: Cloudflare) -> None: response = client.radar.attacks.layer3.top.with_raw_response.attacks() @@ -62,6 +65,7 @@ def test_raw_response_attacks(self, client: Cloudflare) -> None: top = response.parse() assert_matches_type(TopAttacksResponse, top, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_attacks(self, client: Cloudflare) -> None: with client.radar.attacks.layer3.top.with_streaming_response.attacks() as response: @@ -73,11 +77,13 @@ def test_streaming_response_attacks(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_industry(self, client: Cloudflare) -> None: top = client.radar.attacks.layer3.top.industry() assert_matches_type(TopIndustryResponse, top, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_industry_with_all_params(self, client: Cloudflare) -> None: top = client.radar.attacks.layer3.top.industry( @@ -102,6 +108,7 @@ def test_method_industry_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(TopIndustryResponse, top, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_industry(self, client: Cloudflare) -> None: response = client.radar.attacks.layer3.top.with_raw_response.industry() @@ -111,6 +118,7 @@ def test_raw_response_industry(self, client: Cloudflare) -> None: top = response.parse() assert_matches_type(TopIndustryResponse, top, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_industry(self, client: Cloudflare) -> None: with client.radar.attacks.layer3.top.with_streaming_response.industry() as response: @@ -122,11 +130,13 @@ def test_streaming_response_industry(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_vertical(self, client: Cloudflare) -> None: top = client.radar.attacks.layer3.top.vertical() assert_matches_type(TopVerticalResponse, top, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_vertical_with_all_params(self, client: Cloudflare) -> None: top = client.radar.attacks.layer3.top.vertical( @@ -151,6 +161,7 @@ def test_method_vertical_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(TopVerticalResponse, top, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_vertical(self, client: Cloudflare) -> None: response = client.radar.attacks.layer3.top.with_raw_response.vertical() @@ -160,6 +171,7 @@ def test_raw_response_vertical(self, client: Cloudflare) -> None: top = response.parse() assert_matches_type(TopVerticalResponse, top, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_vertical(self, client: Cloudflare) -> None: with client.radar.attacks.layer3.top.with_streaming_response.vertical() as response: @@ -175,11 +187,13 @@ def test_streaming_response_vertical(self, client: Cloudflare) -> None: class TestAsyncTop: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_attacks(self, async_client: AsyncCloudflare) -> None: top = await async_client.radar.attacks.layer3.top.attacks() assert_matches_type(TopAttacksResponse, top, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_attacks_with_all_params(self, async_client: AsyncCloudflare) -> None: top = await async_client.radar.attacks.layer3.top.attacks( @@ -206,6 +220,7 @@ async def test_method_attacks_with_all_params(self, async_client: AsyncCloudflar ) assert_matches_type(TopAttacksResponse, top, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_attacks(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.attacks.layer3.top.with_raw_response.attacks() @@ -215,6 +230,7 @@ async def test_raw_response_attacks(self, async_client: AsyncCloudflare) -> None top = await response.parse() assert_matches_type(TopAttacksResponse, top, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_attacks(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.attacks.layer3.top.with_streaming_response.attacks() as response: @@ -226,11 +242,13 @@ async def test_streaming_response_attacks(self, async_client: AsyncCloudflare) - assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_industry(self, async_client: AsyncCloudflare) -> None: top = await async_client.radar.attacks.layer3.top.industry() assert_matches_type(TopIndustryResponse, top, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_industry_with_all_params(self, async_client: AsyncCloudflare) -> None: top = await async_client.radar.attacks.layer3.top.industry( @@ -255,6 +273,7 @@ async def test_method_industry_with_all_params(self, async_client: AsyncCloudfla ) assert_matches_type(TopIndustryResponse, top, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_industry(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.attacks.layer3.top.with_raw_response.industry() @@ -264,6 +283,7 @@ async def test_raw_response_industry(self, async_client: AsyncCloudflare) -> Non top = await response.parse() assert_matches_type(TopIndustryResponse, top, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_industry(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.attacks.layer3.top.with_streaming_response.industry() as response: @@ -275,11 +295,13 @@ async def test_streaming_response_industry(self, async_client: AsyncCloudflare) assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_vertical(self, async_client: AsyncCloudflare) -> None: top = await async_client.radar.attacks.layer3.top.vertical() assert_matches_type(TopVerticalResponse, top, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_vertical_with_all_params(self, async_client: AsyncCloudflare) -> None: top = await async_client.radar.attacks.layer3.top.vertical( @@ -304,6 +326,7 @@ async def test_method_vertical_with_all_params(self, async_client: AsyncCloudfla ) assert_matches_type(TopVerticalResponse, top, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_vertical(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.attacks.layer3.top.with_raw_response.vertical() @@ -313,6 +336,7 @@ async def test_raw_response_vertical(self, async_client: AsyncCloudflare) -> Non top = await response.parse() assert_matches_type(TopVerticalResponse, top, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_vertical(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.attacks.layer3.top.with_streaming_response.vertical() as response: diff --git a/tests/api_resources/radar/attacks/layer3/top/test_locations.py b/tests/api_resources/radar/attacks/layer3/top/test_locations.py index f1848af7b27..194c19f4bcd 100644 --- a/tests/api_resources/radar/attacks/layer3/top/test_locations.py +++ b/tests/api_resources/radar/attacks/layer3/top/test_locations.py @@ -21,11 +21,13 @@ class TestLocations: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_origin(self, client: Cloudflare) -> None: location = client.radar.attacks.layer3.top.locations.origin() assert_matches_type(LocationOriginResponse, location, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_origin_with_all_params(self, client: Cloudflare) -> None: location = client.radar.attacks.layer3.top.locations.origin( @@ -50,6 +52,7 @@ def test_method_origin_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(LocationOriginResponse, location, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_origin(self, client: Cloudflare) -> None: response = client.radar.attacks.layer3.top.locations.with_raw_response.origin() @@ -59,6 +62,7 @@ def test_raw_response_origin(self, client: Cloudflare) -> None: location = response.parse() assert_matches_type(LocationOriginResponse, location, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_origin(self, client: Cloudflare) -> None: with client.radar.attacks.layer3.top.locations.with_streaming_response.origin() as response: @@ -70,11 +74,13 @@ def test_streaming_response_origin(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_target(self, client: Cloudflare) -> None: location = client.radar.attacks.layer3.top.locations.target() assert_matches_type(LocationTargetResponse, location, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_target_with_all_params(self, client: Cloudflare) -> None: location = client.radar.attacks.layer3.top.locations.target( @@ -99,6 +105,7 @@ def test_method_target_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(LocationTargetResponse, location, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_target(self, client: Cloudflare) -> None: response = client.radar.attacks.layer3.top.locations.with_raw_response.target() @@ -108,6 +115,7 @@ def test_raw_response_target(self, client: Cloudflare) -> None: location = response.parse() assert_matches_type(LocationTargetResponse, location, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_target(self, client: Cloudflare) -> None: with client.radar.attacks.layer3.top.locations.with_streaming_response.target() as response: @@ -123,11 +131,13 @@ def test_streaming_response_target(self, client: Cloudflare) -> None: class TestAsyncLocations: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_origin(self, async_client: AsyncCloudflare) -> None: location = await async_client.radar.attacks.layer3.top.locations.origin() assert_matches_type(LocationOriginResponse, location, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_origin_with_all_params(self, async_client: AsyncCloudflare) -> None: location = await async_client.radar.attacks.layer3.top.locations.origin( @@ -152,6 +162,7 @@ async def test_method_origin_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(LocationOriginResponse, location, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_origin(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.attacks.layer3.top.locations.with_raw_response.origin() @@ -161,6 +172,7 @@ async def test_raw_response_origin(self, async_client: AsyncCloudflare) -> None: location = await response.parse() assert_matches_type(LocationOriginResponse, location, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_origin(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.attacks.layer3.top.locations.with_streaming_response.origin() as response: @@ -172,11 +184,13 @@ async def test_streaming_response_origin(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_target(self, async_client: AsyncCloudflare) -> None: location = await async_client.radar.attacks.layer3.top.locations.target() assert_matches_type(LocationTargetResponse, location, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_target_with_all_params(self, async_client: AsyncCloudflare) -> None: location = await async_client.radar.attacks.layer3.top.locations.target( @@ -201,6 +215,7 @@ async def test_method_target_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(LocationTargetResponse, location, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_target(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.attacks.layer3.top.locations.with_raw_response.target() @@ -210,6 +225,7 @@ async def test_raw_response_target(self, async_client: AsyncCloudflare) -> None: location = await response.parse() assert_matches_type(LocationTargetResponse, location, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_target(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.attacks.layer3.top.locations.with_streaming_response.target() as response: diff --git a/tests/api_resources/radar/attacks/layer7/test_summary.py b/tests/api_resources/radar/attacks/layer7/test_summary.py index c8f4159e08c..387fa63e663 100644 --- a/tests/api_resources/radar/attacks/layer7/test_summary.py +++ b/tests/api_resources/radar/attacks/layer7/test_summary.py @@ -25,11 +25,13 @@ class TestSummary: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: summary = client.radar.attacks.layer7.summary.get() assert_matches_type(SummaryGetResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: summary = client.radar.attacks.layer7.summary.get( @@ -52,6 +54,7 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SummaryGetResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.radar.attacks.layer7.summary.with_raw_response.get() @@ -61,6 +64,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: summary = response.parse() assert_matches_type(SummaryGetResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.radar.attacks.layer7.summary.with_streaming_response.get() as response: @@ -72,11 +76,13 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_http_method(self, client: Cloudflare) -> None: summary = client.radar.attacks.layer7.summary.http_method() assert_matches_type(SummaryHTTPMethodResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_http_method_with_all_params(self, client: Cloudflare) -> None: summary = client.radar.attacks.layer7.summary.http_method( @@ -102,6 +108,7 @@ def test_method_http_method_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SummaryHTTPMethodResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_http_method(self, client: Cloudflare) -> None: response = client.radar.attacks.layer7.summary.with_raw_response.http_method() @@ -111,6 +118,7 @@ def test_raw_response_http_method(self, client: Cloudflare) -> None: summary = response.parse() assert_matches_type(SummaryHTTPMethodResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_http_method(self, client: Cloudflare) -> None: with client.radar.attacks.layer7.summary.with_streaming_response.http_method() as response: @@ -122,11 +130,13 @@ def test_streaming_response_http_method(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_http_version(self, client: Cloudflare) -> None: summary = client.radar.attacks.layer7.summary.http_version() assert_matches_type(SummaryHTTPVersionResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_http_version_with_all_params(self, client: Cloudflare) -> None: summary = client.radar.attacks.layer7.summary.http_version( @@ -152,6 +162,7 @@ def test_method_http_version_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SummaryHTTPVersionResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_http_version(self, client: Cloudflare) -> None: response = client.radar.attacks.layer7.summary.with_raw_response.http_version() @@ -161,6 +172,7 @@ def test_raw_response_http_version(self, client: Cloudflare) -> None: summary = response.parse() assert_matches_type(SummaryHTTPVersionResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_http_version(self, client: Cloudflare) -> None: with client.radar.attacks.layer7.summary.with_streaming_response.http_version() as response: @@ -172,11 +184,13 @@ def test_streaming_response_http_version(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_ip_version(self, client: Cloudflare) -> None: summary = client.radar.attacks.layer7.summary.ip_version() assert_matches_type(SummaryIPVersionResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_ip_version_with_all_params(self, client: Cloudflare) -> None: summary = client.radar.attacks.layer7.summary.ip_version( @@ -202,6 +216,7 @@ def test_method_ip_version_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SummaryIPVersionResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_ip_version(self, client: Cloudflare) -> None: response = client.radar.attacks.layer7.summary.with_raw_response.ip_version() @@ -211,6 +226,7 @@ def test_raw_response_ip_version(self, client: Cloudflare) -> None: summary = response.parse() assert_matches_type(SummaryIPVersionResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_ip_version(self, client: Cloudflare) -> None: with client.radar.attacks.layer7.summary.with_streaming_response.ip_version() as response: @@ -222,11 +238,13 @@ def test_streaming_response_ip_version(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_managed_rules(self, client: Cloudflare) -> None: summary = client.radar.attacks.layer7.summary.managed_rules() assert_matches_type(SummaryManagedRulesResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_managed_rules_with_all_params(self, client: Cloudflare) -> None: summary = client.radar.attacks.layer7.summary.managed_rules( @@ -253,6 +271,7 @@ def test_method_managed_rules_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SummaryManagedRulesResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_managed_rules(self, client: Cloudflare) -> None: response = client.radar.attacks.layer7.summary.with_raw_response.managed_rules() @@ -262,6 +281,7 @@ def test_raw_response_managed_rules(self, client: Cloudflare) -> None: summary = response.parse() assert_matches_type(SummaryManagedRulesResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_managed_rules(self, client: Cloudflare) -> None: with client.radar.attacks.layer7.summary.with_streaming_response.managed_rules() as response: @@ -273,11 +293,13 @@ def test_streaming_response_managed_rules(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_mitigation_product(self, client: Cloudflare) -> None: summary = client.radar.attacks.layer7.summary.mitigation_product() assert_matches_type(SummaryMitigationProductResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_mitigation_product_with_all_params(self, client: Cloudflare) -> None: summary = client.radar.attacks.layer7.summary.mitigation_product( @@ -303,6 +325,7 @@ def test_method_mitigation_product_with_all_params(self, client: Cloudflare) -> ) assert_matches_type(SummaryMitigationProductResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_mitigation_product(self, client: Cloudflare) -> None: response = client.radar.attacks.layer7.summary.with_raw_response.mitigation_product() @@ -312,6 +335,7 @@ def test_raw_response_mitigation_product(self, client: Cloudflare) -> None: summary = response.parse() assert_matches_type(SummaryMitigationProductResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_mitigation_product(self, client: Cloudflare) -> None: with client.radar.attacks.layer7.summary.with_streaming_response.mitigation_product() as response: @@ -327,11 +351,13 @@ def test_streaming_response_mitigation_product(self, client: Cloudflare) -> None class TestAsyncSummary: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.attacks.layer7.summary.get() assert_matches_type(SummaryGetResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.attacks.layer7.summary.get( @@ -354,6 +380,7 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(SummaryGetResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.attacks.layer7.summary.with_raw_response.get() @@ -363,6 +390,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: summary = await response.parse() assert_matches_type(SummaryGetResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.attacks.layer7.summary.with_streaming_response.get() as response: @@ -374,11 +402,13 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_http_method(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.attacks.layer7.summary.http_method() assert_matches_type(SummaryHTTPMethodResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_http_method_with_all_params(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.attacks.layer7.summary.http_method( @@ -404,6 +434,7 @@ async def test_method_http_method_with_all_params(self, async_client: AsyncCloud ) assert_matches_type(SummaryHTTPMethodResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_http_method(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.attacks.layer7.summary.with_raw_response.http_method() @@ -413,6 +444,7 @@ async def test_raw_response_http_method(self, async_client: AsyncCloudflare) -> summary = await response.parse() assert_matches_type(SummaryHTTPMethodResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_http_method(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.attacks.layer7.summary.with_streaming_response.http_method() as response: @@ -424,11 +456,13 @@ async def test_streaming_response_http_method(self, async_client: AsyncCloudflar assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_http_version(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.attacks.layer7.summary.http_version() assert_matches_type(SummaryHTTPVersionResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_http_version_with_all_params(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.attacks.layer7.summary.http_version( @@ -454,6 +488,7 @@ async def test_method_http_version_with_all_params(self, async_client: AsyncClou ) assert_matches_type(SummaryHTTPVersionResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_http_version(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.attacks.layer7.summary.with_raw_response.http_version() @@ -463,6 +498,7 @@ async def test_raw_response_http_version(self, async_client: AsyncCloudflare) -> summary = await response.parse() assert_matches_type(SummaryHTTPVersionResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_http_version(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.attacks.layer7.summary.with_streaming_response.http_version() as response: @@ -474,11 +510,13 @@ async def test_streaming_response_http_version(self, async_client: AsyncCloudfla assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_ip_version(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.attacks.layer7.summary.ip_version() assert_matches_type(SummaryIPVersionResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_ip_version_with_all_params(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.attacks.layer7.summary.ip_version( @@ -504,6 +542,7 @@ async def test_method_ip_version_with_all_params(self, async_client: AsyncCloudf ) assert_matches_type(SummaryIPVersionResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_ip_version(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.attacks.layer7.summary.with_raw_response.ip_version() @@ -513,6 +552,7 @@ async def test_raw_response_ip_version(self, async_client: AsyncCloudflare) -> N summary = await response.parse() assert_matches_type(SummaryIPVersionResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_ip_version(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.attacks.layer7.summary.with_streaming_response.ip_version() as response: @@ -524,11 +564,13 @@ async def test_streaming_response_ip_version(self, async_client: AsyncCloudflare assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_managed_rules(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.attacks.layer7.summary.managed_rules() assert_matches_type(SummaryManagedRulesResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_managed_rules_with_all_params(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.attacks.layer7.summary.managed_rules( @@ -555,6 +597,7 @@ async def test_method_managed_rules_with_all_params(self, async_client: AsyncClo ) assert_matches_type(SummaryManagedRulesResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_managed_rules(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.attacks.layer7.summary.with_raw_response.managed_rules() @@ -564,6 +607,7 @@ async def test_raw_response_managed_rules(self, async_client: AsyncCloudflare) - summary = await response.parse() assert_matches_type(SummaryManagedRulesResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_managed_rules(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.attacks.layer7.summary.with_streaming_response.managed_rules() as response: @@ -575,11 +619,13 @@ async def test_streaming_response_managed_rules(self, async_client: AsyncCloudfl assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_mitigation_product(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.attacks.layer7.summary.mitigation_product() assert_matches_type(SummaryMitigationProductResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_mitigation_product_with_all_params(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.attacks.layer7.summary.mitigation_product( @@ -605,6 +651,7 @@ async def test_method_mitigation_product_with_all_params(self, async_client: Asy ) assert_matches_type(SummaryMitigationProductResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_mitigation_product(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.attacks.layer7.summary.with_raw_response.mitigation_product() @@ -614,6 +661,7 @@ async def test_raw_response_mitigation_product(self, async_client: AsyncCloudfla summary = await response.parse() assert_matches_type(SummaryMitigationProductResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_mitigation_product(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.attacks.layer7.summary.with_streaming_response.mitigation_product() as response: diff --git a/tests/api_resources/radar/attacks/layer7/test_timeseries_groups.py b/tests/api_resources/radar/attacks/layer7/test_timeseries_groups.py index 99f8be5a802..e019a3d76fd 100644 --- a/tests/api_resources/radar/attacks/layer7/test_timeseries_groups.py +++ b/tests/api_resources/radar/attacks/layer7/test_timeseries_groups.py @@ -27,11 +27,13 @@ class TestTimeseriesGroups: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: timeseries_group = client.radar.attacks.layer7.timeseries_groups.get() assert_matches_type(TimeseriesGroupGetResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: timeseries_group = client.radar.attacks.layer7.timeseries_groups.get( @@ -55,6 +57,7 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(TimeseriesGroupGetResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.radar.attacks.layer7.timeseries_groups.with_raw_response.get() @@ -64,6 +67,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: timeseries_group = response.parse() assert_matches_type(TimeseriesGroupGetResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.radar.attacks.layer7.timeseries_groups.with_streaming_response.get() as response: @@ -75,11 +79,13 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_http_method(self, client: Cloudflare) -> None: timeseries_group = client.radar.attacks.layer7.timeseries_groups.http_method() assert_matches_type(TimeseriesGroupHTTPMethodResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_http_method_with_all_params(self, client: Cloudflare) -> None: timeseries_group = client.radar.attacks.layer7.timeseries_groups.http_method( @@ -107,6 +113,7 @@ def test_method_http_method_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(TimeseriesGroupHTTPMethodResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_http_method(self, client: Cloudflare) -> None: response = client.radar.attacks.layer7.timeseries_groups.with_raw_response.http_method() @@ -116,6 +123,7 @@ def test_raw_response_http_method(self, client: Cloudflare) -> None: timeseries_group = response.parse() assert_matches_type(TimeseriesGroupHTTPMethodResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_http_method(self, client: Cloudflare) -> None: with client.radar.attacks.layer7.timeseries_groups.with_streaming_response.http_method() as response: @@ -127,11 +135,13 @@ def test_streaming_response_http_method(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_http_version(self, client: Cloudflare) -> None: timeseries_group = client.radar.attacks.layer7.timeseries_groups.http_version() assert_matches_type(TimeseriesGroupHTTPVersionResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_http_version_with_all_params(self, client: Cloudflare) -> None: timeseries_group = client.radar.attacks.layer7.timeseries_groups.http_version( @@ -159,6 +169,7 @@ def test_method_http_version_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(TimeseriesGroupHTTPVersionResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_http_version(self, client: Cloudflare) -> None: response = client.radar.attacks.layer7.timeseries_groups.with_raw_response.http_version() @@ -168,6 +179,7 @@ def test_raw_response_http_version(self, client: Cloudflare) -> None: timeseries_group = response.parse() assert_matches_type(TimeseriesGroupHTTPVersionResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_http_version(self, client: Cloudflare) -> None: with client.radar.attacks.layer7.timeseries_groups.with_streaming_response.http_version() as response: @@ -179,11 +191,13 @@ def test_streaming_response_http_version(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_industry(self, client: Cloudflare) -> None: timeseries_group = client.radar.attacks.layer7.timeseries_groups.industry() assert_matches_type(TimeseriesGroupIndustryResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_industry_with_all_params(self, client: Cloudflare) -> None: timeseries_group = client.radar.attacks.layer7.timeseries_groups.industry( @@ -213,6 +227,7 @@ def test_method_industry_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(TimeseriesGroupIndustryResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_industry(self, client: Cloudflare) -> None: response = client.radar.attacks.layer7.timeseries_groups.with_raw_response.industry() @@ -222,6 +237,7 @@ def test_raw_response_industry(self, client: Cloudflare) -> None: timeseries_group = response.parse() assert_matches_type(TimeseriesGroupIndustryResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_industry(self, client: Cloudflare) -> None: with client.radar.attacks.layer7.timeseries_groups.with_streaming_response.industry() as response: @@ -233,11 +249,13 @@ def test_streaming_response_industry(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_ip_version(self, client: Cloudflare) -> None: timeseries_group = client.radar.attacks.layer7.timeseries_groups.ip_version() assert_matches_type(TimeseriesGroupIPVersionResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_ip_version_with_all_params(self, client: Cloudflare) -> None: timeseries_group = client.radar.attacks.layer7.timeseries_groups.ip_version( @@ -265,6 +283,7 @@ def test_method_ip_version_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(TimeseriesGroupIPVersionResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_ip_version(self, client: Cloudflare) -> None: response = client.radar.attacks.layer7.timeseries_groups.with_raw_response.ip_version() @@ -274,6 +293,7 @@ def test_raw_response_ip_version(self, client: Cloudflare) -> None: timeseries_group = response.parse() assert_matches_type(TimeseriesGroupIPVersionResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_ip_version(self, client: Cloudflare) -> None: with client.radar.attacks.layer7.timeseries_groups.with_streaming_response.ip_version() as response: @@ -285,11 +305,13 @@ def test_streaming_response_ip_version(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_managed_rules(self, client: Cloudflare) -> None: timeseries_group = client.radar.attacks.layer7.timeseries_groups.managed_rules() assert_matches_type(TimeseriesGroupManagedRulesResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_managed_rules_with_all_params(self, client: Cloudflare) -> None: timeseries_group = client.radar.attacks.layer7.timeseries_groups.managed_rules( @@ -318,6 +340,7 @@ def test_method_managed_rules_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(TimeseriesGroupManagedRulesResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_managed_rules(self, client: Cloudflare) -> None: response = client.radar.attacks.layer7.timeseries_groups.with_raw_response.managed_rules() @@ -327,6 +350,7 @@ def test_raw_response_managed_rules(self, client: Cloudflare) -> None: timeseries_group = response.parse() assert_matches_type(TimeseriesGroupManagedRulesResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_managed_rules(self, client: Cloudflare) -> None: with client.radar.attacks.layer7.timeseries_groups.with_streaming_response.managed_rules() as response: @@ -338,11 +362,13 @@ def test_streaming_response_managed_rules(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_mitigation_product(self, client: Cloudflare) -> None: timeseries_group = client.radar.attacks.layer7.timeseries_groups.mitigation_product() assert_matches_type(TimeseriesGroupMitigationProductResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_mitigation_product_with_all_params(self, client: Cloudflare) -> None: timeseries_group = client.radar.attacks.layer7.timeseries_groups.mitigation_product( @@ -370,6 +396,7 @@ def test_method_mitigation_product_with_all_params(self, client: Cloudflare) -> ) assert_matches_type(TimeseriesGroupMitigationProductResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_mitigation_product(self, client: Cloudflare) -> None: response = client.radar.attacks.layer7.timeseries_groups.with_raw_response.mitigation_product() @@ -379,6 +406,7 @@ def test_raw_response_mitigation_product(self, client: Cloudflare) -> None: timeseries_group = response.parse() assert_matches_type(TimeseriesGroupMitigationProductResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_mitigation_product(self, client: Cloudflare) -> None: with client.radar.attacks.layer7.timeseries_groups.with_streaming_response.mitigation_product() as response: @@ -390,11 +418,13 @@ def test_streaming_response_mitigation_product(self, client: Cloudflare) -> None assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_vertical(self, client: Cloudflare) -> None: timeseries_group = client.radar.attacks.layer7.timeseries_groups.vertical() assert_matches_type(TimeseriesGroupVerticalResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_vertical_with_all_params(self, client: Cloudflare) -> None: timeseries_group = client.radar.attacks.layer7.timeseries_groups.vertical( @@ -424,6 +454,7 @@ def test_method_vertical_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(TimeseriesGroupVerticalResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_vertical(self, client: Cloudflare) -> None: response = client.radar.attacks.layer7.timeseries_groups.with_raw_response.vertical() @@ -433,6 +464,7 @@ def test_raw_response_vertical(self, client: Cloudflare) -> None: timeseries_group = response.parse() assert_matches_type(TimeseriesGroupVerticalResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_vertical(self, client: Cloudflare) -> None: with client.radar.attacks.layer7.timeseries_groups.with_streaming_response.vertical() as response: @@ -448,11 +480,13 @@ def test_streaming_response_vertical(self, client: Cloudflare) -> None: class TestAsyncTimeseriesGroups: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.attacks.layer7.timeseries_groups.get() assert_matches_type(TimeseriesGroupGetResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.attacks.layer7.timeseries_groups.get( @@ -476,6 +510,7 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(TimeseriesGroupGetResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.attacks.layer7.timeseries_groups.with_raw_response.get() @@ -485,6 +520,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: timeseries_group = await response.parse() assert_matches_type(TimeseriesGroupGetResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.attacks.layer7.timeseries_groups.with_streaming_response.get() as response: @@ -496,11 +532,13 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_http_method(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.attacks.layer7.timeseries_groups.http_method() assert_matches_type(TimeseriesGroupHTTPMethodResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_http_method_with_all_params(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.attacks.layer7.timeseries_groups.http_method( @@ -528,6 +566,7 @@ async def test_method_http_method_with_all_params(self, async_client: AsyncCloud ) assert_matches_type(TimeseriesGroupHTTPMethodResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_http_method(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.attacks.layer7.timeseries_groups.with_raw_response.http_method() @@ -537,6 +576,7 @@ async def test_raw_response_http_method(self, async_client: AsyncCloudflare) -> timeseries_group = await response.parse() assert_matches_type(TimeseriesGroupHTTPMethodResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_http_method(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.attacks.layer7.timeseries_groups.with_streaming_response.http_method() as response: @@ -548,11 +588,13 @@ async def test_streaming_response_http_method(self, async_client: AsyncCloudflar assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_http_version(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.attacks.layer7.timeseries_groups.http_version() assert_matches_type(TimeseriesGroupHTTPVersionResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_http_version_with_all_params(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.attacks.layer7.timeseries_groups.http_version( @@ -580,6 +622,7 @@ async def test_method_http_version_with_all_params(self, async_client: AsyncClou ) assert_matches_type(TimeseriesGroupHTTPVersionResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_http_version(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.attacks.layer7.timeseries_groups.with_raw_response.http_version() @@ -589,6 +632,7 @@ async def test_raw_response_http_version(self, async_client: AsyncCloudflare) -> timeseries_group = await response.parse() assert_matches_type(TimeseriesGroupHTTPVersionResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_http_version(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.attacks.layer7.timeseries_groups.with_streaming_response.http_version() as response: @@ -600,11 +644,13 @@ async def test_streaming_response_http_version(self, async_client: AsyncCloudfla assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_industry(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.attacks.layer7.timeseries_groups.industry() assert_matches_type(TimeseriesGroupIndustryResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_industry_with_all_params(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.attacks.layer7.timeseries_groups.industry( @@ -634,6 +680,7 @@ async def test_method_industry_with_all_params(self, async_client: AsyncCloudfla ) assert_matches_type(TimeseriesGroupIndustryResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_industry(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.attacks.layer7.timeseries_groups.with_raw_response.industry() @@ -643,6 +690,7 @@ async def test_raw_response_industry(self, async_client: AsyncCloudflare) -> Non timeseries_group = await response.parse() assert_matches_type(TimeseriesGroupIndustryResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_industry(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.attacks.layer7.timeseries_groups.with_streaming_response.industry() as response: @@ -654,11 +702,13 @@ async def test_streaming_response_industry(self, async_client: AsyncCloudflare) assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_ip_version(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.attacks.layer7.timeseries_groups.ip_version() assert_matches_type(TimeseriesGroupIPVersionResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_ip_version_with_all_params(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.attacks.layer7.timeseries_groups.ip_version( @@ -686,6 +736,7 @@ async def test_method_ip_version_with_all_params(self, async_client: AsyncCloudf ) assert_matches_type(TimeseriesGroupIPVersionResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_ip_version(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.attacks.layer7.timeseries_groups.with_raw_response.ip_version() @@ -695,6 +746,7 @@ async def test_raw_response_ip_version(self, async_client: AsyncCloudflare) -> N timeseries_group = await response.parse() assert_matches_type(TimeseriesGroupIPVersionResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_ip_version(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.attacks.layer7.timeseries_groups.with_streaming_response.ip_version() as response: @@ -706,11 +758,13 @@ async def test_streaming_response_ip_version(self, async_client: AsyncCloudflare assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_managed_rules(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.attacks.layer7.timeseries_groups.managed_rules() assert_matches_type(TimeseriesGroupManagedRulesResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_managed_rules_with_all_params(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.attacks.layer7.timeseries_groups.managed_rules( @@ -739,6 +793,7 @@ async def test_method_managed_rules_with_all_params(self, async_client: AsyncClo ) assert_matches_type(TimeseriesGroupManagedRulesResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_managed_rules(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.attacks.layer7.timeseries_groups.with_raw_response.managed_rules() @@ -748,6 +803,7 @@ async def test_raw_response_managed_rules(self, async_client: AsyncCloudflare) - timeseries_group = await response.parse() assert_matches_type(TimeseriesGroupManagedRulesResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_managed_rules(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.attacks.layer7.timeseries_groups.with_streaming_response.managed_rules() as response: @@ -759,11 +815,13 @@ async def test_streaming_response_managed_rules(self, async_client: AsyncCloudfl assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_mitigation_product(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.attacks.layer7.timeseries_groups.mitigation_product() assert_matches_type(TimeseriesGroupMitigationProductResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_mitigation_product_with_all_params(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.attacks.layer7.timeseries_groups.mitigation_product( @@ -791,6 +849,7 @@ async def test_method_mitigation_product_with_all_params(self, async_client: Asy ) assert_matches_type(TimeseriesGroupMitigationProductResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_mitigation_product(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.attacks.layer7.timeseries_groups.with_raw_response.mitigation_product() @@ -800,6 +859,7 @@ async def test_raw_response_mitigation_product(self, async_client: AsyncCloudfla timeseries_group = await response.parse() assert_matches_type(TimeseriesGroupMitigationProductResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_mitigation_product(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.attacks.layer7.timeseries_groups.with_streaming_response.mitigation_product() as response: @@ -811,11 +871,13 @@ async def test_streaming_response_mitigation_product(self, async_client: AsyncCl assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_vertical(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.attacks.layer7.timeseries_groups.vertical() assert_matches_type(TimeseriesGroupVerticalResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_vertical_with_all_params(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.attacks.layer7.timeseries_groups.vertical( @@ -845,6 +907,7 @@ async def test_method_vertical_with_all_params(self, async_client: AsyncCloudfla ) assert_matches_type(TimeseriesGroupVerticalResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_vertical(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.attacks.layer7.timeseries_groups.with_raw_response.vertical() @@ -854,6 +917,7 @@ async def test_raw_response_vertical(self, async_client: AsyncCloudflare) -> Non timeseries_group = await response.parse() assert_matches_type(TimeseriesGroupVerticalResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_vertical(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.attacks.layer7.timeseries_groups.with_streaming_response.vertical() as response: diff --git a/tests/api_resources/radar/attacks/layer7/test_top.py b/tests/api_resources/radar/attacks/layer7/test_top.py index edce1b2472a..6f0a9adb0a9 100644 --- a/tests/api_resources/radar/attacks/layer7/test_top.py +++ b/tests/api_resources/radar/attacks/layer7/test_top.py @@ -22,11 +22,13 @@ class TestTop: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_attacks(self, client: Cloudflare) -> None: top = client.radar.attacks.layer7.top.attacks() assert_matches_type(TopAttacksResponse, top, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_attacks_with_all_params(self, client: Cloudflare) -> None: top = client.radar.attacks.layer7.top.attacks( @@ -53,6 +55,7 @@ def test_method_attacks_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(TopAttacksResponse, top, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_attacks(self, client: Cloudflare) -> None: response = client.radar.attacks.layer7.top.with_raw_response.attacks() @@ -62,6 +65,7 @@ def test_raw_response_attacks(self, client: Cloudflare) -> None: top = response.parse() assert_matches_type(TopAttacksResponse, top, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_attacks(self, client: Cloudflare) -> None: with client.radar.attacks.layer7.top.with_streaming_response.attacks() as response: @@ -73,11 +77,13 @@ def test_streaming_response_attacks(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_industry(self, client: Cloudflare) -> None: top = client.radar.attacks.layer7.top.industry() assert_matches_type(TopIndustryResponse, top, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_industry_with_all_params(self, client: Cloudflare) -> None: top = client.radar.attacks.layer7.top.industry( @@ -101,6 +107,7 @@ def test_method_industry_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(TopIndustryResponse, top, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_industry(self, client: Cloudflare) -> None: response = client.radar.attacks.layer7.top.with_raw_response.industry() @@ -110,6 +117,7 @@ def test_raw_response_industry(self, client: Cloudflare) -> None: top = response.parse() assert_matches_type(TopIndustryResponse, top, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_industry(self, client: Cloudflare) -> None: with client.radar.attacks.layer7.top.with_streaming_response.industry() as response: @@ -121,11 +129,13 @@ def test_streaming_response_industry(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_vertical(self, client: Cloudflare) -> None: top = client.radar.attacks.layer7.top.vertical() assert_matches_type(TopVerticalResponse, top, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_vertical_with_all_params(self, client: Cloudflare) -> None: top = client.radar.attacks.layer7.top.vertical( @@ -149,6 +159,7 @@ def test_method_vertical_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(TopVerticalResponse, top, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_vertical(self, client: Cloudflare) -> None: response = client.radar.attacks.layer7.top.with_raw_response.vertical() @@ -158,6 +169,7 @@ def test_raw_response_vertical(self, client: Cloudflare) -> None: top = response.parse() assert_matches_type(TopVerticalResponse, top, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_vertical(self, client: Cloudflare) -> None: with client.radar.attacks.layer7.top.with_streaming_response.vertical() as response: @@ -173,11 +185,13 @@ def test_streaming_response_vertical(self, client: Cloudflare) -> None: class TestAsyncTop: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_attacks(self, async_client: AsyncCloudflare) -> None: top = await async_client.radar.attacks.layer7.top.attacks() assert_matches_type(TopAttacksResponse, top, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_attacks_with_all_params(self, async_client: AsyncCloudflare) -> None: top = await async_client.radar.attacks.layer7.top.attacks( @@ -204,6 +218,7 @@ async def test_method_attacks_with_all_params(self, async_client: AsyncCloudflar ) assert_matches_type(TopAttacksResponse, top, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_attacks(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.attacks.layer7.top.with_raw_response.attacks() @@ -213,6 +228,7 @@ async def test_raw_response_attacks(self, async_client: AsyncCloudflare) -> None top = await response.parse() assert_matches_type(TopAttacksResponse, top, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_attacks(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.attacks.layer7.top.with_streaming_response.attacks() as response: @@ -224,11 +240,13 @@ async def test_streaming_response_attacks(self, async_client: AsyncCloudflare) - assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_industry(self, async_client: AsyncCloudflare) -> None: top = await async_client.radar.attacks.layer7.top.industry() assert_matches_type(TopIndustryResponse, top, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_industry_with_all_params(self, async_client: AsyncCloudflare) -> None: top = await async_client.radar.attacks.layer7.top.industry( @@ -252,6 +270,7 @@ async def test_method_industry_with_all_params(self, async_client: AsyncCloudfla ) assert_matches_type(TopIndustryResponse, top, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_industry(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.attacks.layer7.top.with_raw_response.industry() @@ -261,6 +280,7 @@ async def test_raw_response_industry(self, async_client: AsyncCloudflare) -> Non top = await response.parse() assert_matches_type(TopIndustryResponse, top, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_industry(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.attacks.layer7.top.with_streaming_response.industry() as response: @@ -272,11 +292,13 @@ async def test_streaming_response_industry(self, async_client: AsyncCloudflare) assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_vertical(self, async_client: AsyncCloudflare) -> None: top = await async_client.radar.attacks.layer7.top.vertical() assert_matches_type(TopVerticalResponse, top, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_vertical_with_all_params(self, async_client: AsyncCloudflare) -> None: top = await async_client.radar.attacks.layer7.top.vertical( @@ -300,6 +322,7 @@ async def test_method_vertical_with_all_params(self, async_client: AsyncCloudfla ) assert_matches_type(TopVerticalResponse, top, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_vertical(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.attacks.layer7.top.with_raw_response.vertical() @@ -309,6 +332,7 @@ async def test_raw_response_vertical(self, async_client: AsyncCloudflare) -> Non top = await response.parse() assert_matches_type(TopVerticalResponse, top, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_vertical(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.attacks.layer7.top.with_streaming_response.vertical() as response: diff --git a/tests/api_resources/radar/attacks/layer7/top/test_ases.py b/tests/api_resources/radar/attacks/layer7/top/test_ases.py index afa9610bd1a..cf12547e615 100644 --- a/tests/api_resources/radar/attacks/layer7/top/test_ases.py +++ b/tests/api_resources/radar/attacks/layer7/top/test_ases.py @@ -18,11 +18,13 @@ class TestAses: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_origin(self, client: Cloudflare) -> None: ase = client.radar.attacks.layer7.top.ases.origin() assert_matches_type(AseOriginResponse, ase, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_origin_with_all_params(self, client: Cloudflare) -> None: ase = client.radar.attacks.layer7.top.ases.origin( @@ -45,6 +47,7 @@ def test_method_origin_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(AseOriginResponse, ase, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_origin(self, client: Cloudflare) -> None: response = client.radar.attacks.layer7.top.ases.with_raw_response.origin() @@ -54,6 +57,7 @@ def test_raw_response_origin(self, client: Cloudflare) -> None: ase = response.parse() assert_matches_type(AseOriginResponse, ase, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_origin(self, client: Cloudflare) -> None: with client.radar.attacks.layer7.top.ases.with_streaming_response.origin() as response: @@ -69,11 +73,13 @@ def test_streaming_response_origin(self, client: Cloudflare) -> None: class TestAsyncAses: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_origin(self, async_client: AsyncCloudflare) -> None: ase = await async_client.radar.attacks.layer7.top.ases.origin() assert_matches_type(AseOriginResponse, ase, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_origin_with_all_params(self, async_client: AsyncCloudflare) -> None: ase = await async_client.radar.attacks.layer7.top.ases.origin( @@ -96,6 +102,7 @@ async def test_method_origin_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(AseOriginResponse, ase, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_origin(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.attacks.layer7.top.ases.with_raw_response.origin() @@ -105,6 +112,7 @@ async def test_raw_response_origin(self, async_client: AsyncCloudflare) -> None: ase = await response.parse() assert_matches_type(AseOriginResponse, ase, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_origin(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.attacks.layer7.top.ases.with_streaming_response.origin() as response: diff --git a/tests/api_resources/radar/attacks/layer7/top/test_locations.py b/tests/api_resources/radar/attacks/layer7/top/test_locations.py index e1482281e22..0752c790d23 100644 --- a/tests/api_resources/radar/attacks/layer7/top/test_locations.py +++ b/tests/api_resources/radar/attacks/layer7/top/test_locations.py @@ -21,11 +21,13 @@ class TestLocations: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_origin(self, client: Cloudflare) -> None: location = client.radar.attacks.layer7.top.locations.origin() assert_matches_type(LocationOriginResponse, location, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_origin_with_all_params(self, client: Cloudflare) -> None: location = client.radar.attacks.layer7.top.locations.origin( @@ -48,6 +50,7 @@ def test_method_origin_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(LocationOriginResponse, location, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_origin(self, client: Cloudflare) -> None: response = client.radar.attacks.layer7.top.locations.with_raw_response.origin() @@ -57,6 +60,7 @@ def test_raw_response_origin(self, client: Cloudflare) -> None: location = response.parse() assert_matches_type(LocationOriginResponse, location, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_origin(self, client: Cloudflare) -> None: with client.radar.attacks.layer7.top.locations.with_streaming_response.origin() as response: @@ -68,11 +72,13 @@ def test_streaming_response_origin(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_target(self, client: Cloudflare) -> None: location = client.radar.attacks.layer7.top.locations.target() assert_matches_type(LocationTargetResponse, location, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_target_with_all_params(self, client: Cloudflare) -> None: location = client.radar.attacks.layer7.top.locations.target( @@ -94,6 +100,7 @@ def test_method_target_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(LocationTargetResponse, location, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_target(self, client: Cloudflare) -> None: response = client.radar.attacks.layer7.top.locations.with_raw_response.target() @@ -103,6 +110,7 @@ def test_raw_response_target(self, client: Cloudflare) -> None: location = response.parse() assert_matches_type(LocationTargetResponse, location, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_target(self, client: Cloudflare) -> None: with client.radar.attacks.layer7.top.locations.with_streaming_response.target() as response: @@ -118,11 +126,13 @@ def test_streaming_response_target(self, client: Cloudflare) -> None: class TestAsyncLocations: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_origin(self, async_client: AsyncCloudflare) -> None: location = await async_client.radar.attacks.layer7.top.locations.origin() assert_matches_type(LocationOriginResponse, location, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_origin_with_all_params(self, async_client: AsyncCloudflare) -> None: location = await async_client.radar.attacks.layer7.top.locations.origin( @@ -145,6 +155,7 @@ async def test_method_origin_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(LocationOriginResponse, location, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_origin(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.attacks.layer7.top.locations.with_raw_response.origin() @@ -154,6 +165,7 @@ async def test_raw_response_origin(self, async_client: AsyncCloudflare) -> None: location = await response.parse() assert_matches_type(LocationOriginResponse, location, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_origin(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.attacks.layer7.top.locations.with_streaming_response.origin() as response: @@ -165,11 +177,13 @@ async def test_streaming_response_origin(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_target(self, async_client: AsyncCloudflare) -> None: location = await async_client.radar.attacks.layer7.top.locations.target() assert_matches_type(LocationTargetResponse, location, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_target_with_all_params(self, async_client: AsyncCloudflare) -> None: location = await async_client.radar.attacks.layer7.top.locations.target( @@ -191,6 +205,7 @@ async def test_method_target_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(LocationTargetResponse, location, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_target(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.attacks.layer7.top.locations.with_raw_response.target() @@ -200,6 +215,7 @@ async def test_raw_response_target(self, async_client: AsyncCloudflare) -> None: location = await response.parse() assert_matches_type(LocationTargetResponse, location, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_target(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.attacks.layer7.top.locations.with_streaming_response.target() as response: diff --git a/tests/api_resources/radar/attacks/test_layer3.py b/tests/api_resources/radar/attacks/test_layer3.py index bdcdabdb226..cc21487946f 100644 --- a/tests/api_resources/radar/attacks/test_layer3.py +++ b/tests/api_resources/radar/attacks/test_layer3.py @@ -18,11 +18,13 @@ class TestLayer3: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_timeseries(self, client: Cloudflare) -> None: layer3 = client.radar.attacks.layer3.timeseries() assert_matches_type(Layer3TimeseriesResponse, layer3, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_timeseries_with_all_params(self, client: Cloudflare) -> None: layer3 = client.radar.attacks.layer3.timeseries( @@ -51,6 +53,7 @@ def test_method_timeseries_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Layer3TimeseriesResponse, layer3, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_timeseries(self, client: Cloudflare) -> None: response = client.radar.attacks.layer3.with_raw_response.timeseries() @@ -60,6 +63,7 @@ def test_raw_response_timeseries(self, client: Cloudflare) -> None: layer3 = response.parse() assert_matches_type(Layer3TimeseriesResponse, layer3, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_timeseries(self, client: Cloudflare) -> None: with client.radar.attacks.layer3.with_streaming_response.timeseries() as response: @@ -75,11 +79,13 @@ def test_streaming_response_timeseries(self, client: Cloudflare) -> None: class TestAsyncLayer3: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_timeseries(self, async_client: AsyncCloudflare) -> None: layer3 = await async_client.radar.attacks.layer3.timeseries() assert_matches_type(Layer3TimeseriesResponse, layer3, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_timeseries_with_all_params(self, async_client: AsyncCloudflare) -> None: layer3 = await async_client.radar.attacks.layer3.timeseries( @@ -108,6 +114,7 @@ async def test_method_timeseries_with_all_params(self, async_client: AsyncCloudf ) assert_matches_type(Layer3TimeseriesResponse, layer3, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_timeseries(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.attacks.layer3.with_raw_response.timeseries() @@ -117,6 +124,7 @@ async def test_raw_response_timeseries(self, async_client: AsyncCloudflare) -> N layer3 = await response.parse() assert_matches_type(Layer3TimeseriesResponse, layer3, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_timeseries(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.attacks.layer3.with_streaming_response.timeseries() as response: diff --git a/tests/api_resources/radar/attacks/test_layer7.py b/tests/api_resources/radar/attacks/test_layer7.py index 5f4c4fbdb19..45528ada5ac 100644 --- a/tests/api_resources/radar/attacks/test_layer7.py +++ b/tests/api_resources/radar/attacks/test_layer7.py @@ -18,11 +18,13 @@ class TestLayer7: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_timeseries(self, client: Cloudflare) -> None: layer7 = client.radar.attacks.layer7.timeseries() assert_matches_type(Layer7TimeseriesResponse, layer7, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_timeseries_with_all_params(self, client: Cloudflare) -> None: layer7 = client.radar.attacks.layer7.timeseries( @@ -48,6 +50,7 @@ def test_method_timeseries_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Layer7TimeseriesResponse, layer7, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_timeseries(self, client: Cloudflare) -> None: response = client.radar.attacks.layer7.with_raw_response.timeseries() @@ -57,6 +60,7 @@ def test_raw_response_timeseries(self, client: Cloudflare) -> None: layer7 = response.parse() assert_matches_type(Layer7TimeseriesResponse, layer7, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_timeseries(self, client: Cloudflare) -> None: with client.radar.attacks.layer7.with_streaming_response.timeseries() as response: @@ -72,11 +76,13 @@ def test_streaming_response_timeseries(self, client: Cloudflare) -> None: class TestAsyncLayer7: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_timeseries(self, async_client: AsyncCloudflare) -> None: layer7 = await async_client.radar.attacks.layer7.timeseries() assert_matches_type(Layer7TimeseriesResponse, layer7, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_timeseries_with_all_params(self, async_client: AsyncCloudflare) -> None: layer7 = await async_client.radar.attacks.layer7.timeseries( @@ -102,6 +108,7 @@ async def test_method_timeseries_with_all_params(self, async_client: AsyncCloudf ) assert_matches_type(Layer7TimeseriesResponse, layer7, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_timeseries(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.attacks.layer7.with_raw_response.timeseries() @@ -111,6 +118,7 @@ async def test_raw_response_timeseries(self, async_client: AsyncCloudflare) -> N layer7 = await response.parse() assert_matches_type(Layer7TimeseriesResponse, layer7, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_timeseries(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.attacks.layer7.with_streaming_response.timeseries() as response: diff --git a/tests/api_resources/radar/bgp/hijacks/test_events.py b/tests/api_resources/radar/bgp/hijacks/test_events.py index f0f7fa02ebe..e12b3caa09f 100644 --- a/tests/api_resources/radar/bgp/hijacks/test_events.py +++ b/tests/api_resources/radar/bgp/hijacks/test_events.py @@ -19,11 +19,13 @@ class TestEvents: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: event = client.radar.bgp.hijacks.events.list() assert_matches_type(SyncV4PagePagination[EventListResponse], event, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: event = client.radar.bgp.hijacks.events.list( @@ -46,6 +48,7 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePagination[EventListResponse], event, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.radar.bgp.hijacks.events.with_raw_response.list() @@ -55,6 +58,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: event = response.parse() assert_matches_type(SyncV4PagePagination[EventListResponse], event, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.radar.bgp.hijacks.events.with_streaming_response.list() as response: @@ -70,11 +74,13 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: class TestAsyncEvents: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: event = await async_client.radar.bgp.hijacks.events.list() assert_matches_type(AsyncV4PagePagination[EventListResponse], event, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: event = await async_client.radar.bgp.hijacks.events.list( @@ -97,6 +103,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncV4PagePagination[EventListResponse], event, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.bgp.hijacks.events.with_raw_response.list() @@ -106,6 +113,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: event = await response.parse() assert_matches_type(AsyncV4PagePagination[EventListResponse], event, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.bgp.hijacks.events.with_streaming_response.list() as response: diff --git a/tests/api_resources/radar/bgp/leaks/test_events.py b/tests/api_resources/radar/bgp/leaks/test_events.py index 8c4feb02045..a8eef2dfaf3 100644 --- a/tests/api_resources/radar/bgp/leaks/test_events.py +++ b/tests/api_resources/radar/bgp/leaks/test_events.py @@ -19,11 +19,13 @@ class TestEvents: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: event = client.radar.bgp.leaks.events.list() assert_matches_type(SyncV4PagePagination[EventListResponse], event, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: event = client.radar.bgp.leaks.events.list( @@ -42,6 +44,7 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePagination[EventListResponse], event, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.radar.bgp.leaks.events.with_raw_response.list() @@ -51,6 +54,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: event = response.parse() assert_matches_type(SyncV4PagePagination[EventListResponse], event, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.radar.bgp.leaks.events.with_streaming_response.list() as response: @@ -66,11 +70,13 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: class TestAsyncEvents: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: event = await async_client.radar.bgp.leaks.events.list() assert_matches_type(AsyncV4PagePagination[EventListResponse], event, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: event = await async_client.radar.bgp.leaks.events.list( @@ -89,6 +95,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncV4PagePagination[EventListResponse], event, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.bgp.leaks.events.with_raw_response.list() @@ -98,6 +105,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: event = await response.parse() assert_matches_type(AsyncV4PagePagination[EventListResponse], event, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.bgp.leaks.events.with_streaming_response.list() as response: diff --git a/tests/api_resources/radar/bgp/test_routes.py b/tests/api_resources/radar/bgp/test_routes.py index 0ab3765df0a..9b9ca69370b 100644 --- a/tests/api_resources/radar/bgp/test_routes.py +++ b/tests/api_resources/radar/bgp/test_routes.py @@ -23,11 +23,13 @@ class TestRoutes: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_moas(self, client: Cloudflare) -> None: route = client.radar.bgp.routes.moas() assert_matches_type(RouteMoasResponse, route, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_moas_with_all_params(self, client: Cloudflare) -> None: route = client.radar.bgp.routes.moas( @@ -38,6 +40,7 @@ def test_method_moas_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(RouteMoasResponse, route, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_moas(self, client: Cloudflare) -> None: response = client.radar.bgp.routes.with_raw_response.moas() @@ -47,6 +50,7 @@ def test_raw_response_moas(self, client: Cloudflare) -> None: route = response.parse() assert_matches_type(RouteMoasResponse, route, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_moas(self, client: Cloudflare) -> None: with client.radar.bgp.routes.with_streaming_response.moas() as response: @@ -58,11 +62,13 @@ def test_streaming_response_moas(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_pfx2as(self, client: Cloudflare) -> None: route = client.radar.bgp.routes.pfx2as() assert_matches_type(RoutePfx2asResponse, route, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_pfx2as_with_all_params(self, client: Cloudflare) -> None: route = client.radar.bgp.routes.pfx2as( @@ -74,6 +80,7 @@ def test_method_pfx2as_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(RoutePfx2asResponse, route, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_pfx2as(self, client: Cloudflare) -> None: response = client.radar.bgp.routes.with_raw_response.pfx2as() @@ -83,6 +90,7 @@ def test_raw_response_pfx2as(self, client: Cloudflare) -> None: route = response.parse() assert_matches_type(RoutePfx2asResponse, route, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_pfx2as(self, client: Cloudflare) -> None: with client.radar.bgp.routes.with_streaming_response.pfx2as() as response: @@ -94,11 +102,13 @@ def test_streaming_response_pfx2as(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_stats(self, client: Cloudflare) -> None: route = client.radar.bgp.routes.stats() assert_matches_type(RouteStatsResponse, route, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_stats_with_all_params(self, client: Cloudflare) -> None: route = client.radar.bgp.routes.stats( @@ -108,6 +118,7 @@ def test_method_stats_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(RouteStatsResponse, route, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_stats(self, client: Cloudflare) -> None: response = client.radar.bgp.routes.with_raw_response.stats() @@ -117,6 +128,7 @@ def test_raw_response_stats(self, client: Cloudflare) -> None: route = response.parse() assert_matches_type(RouteStatsResponse, route, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_stats(self, client: Cloudflare) -> None: with client.radar.bgp.routes.with_streaming_response.stats() as response: @@ -128,11 +140,13 @@ def test_streaming_response_stats(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_timeseries(self, client: Cloudflare) -> None: route = client.radar.bgp.routes.timeseries() assert_matches_type(RouteTimeseriesResponse, route, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_timeseries_with_all_params(self, client: Cloudflare) -> None: route = client.radar.bgp.routes.timeseries( @@ -146,6 +160,7 @@ def test_method_timeseries_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(RouteTimeseriesResponse, route, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_timeseries(self, client: Cloudflare) -> None: response = client.radar.bgp.routes.with_raw_response.timeseries() @@ -155,6 +170,7 @@ def test_raw_response_timeseries(self, client: Cloudflare) -> None: route = response.parse() assert_matches_type(RouteTimeseriesResponse, route, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_timeseries(self, client: Cloudflare) -> None: with client.radar.bgp.routes.with_streaming_response.timeseries() as response: @@ -170,11 +186,13 @@ def test_streaming_response_timeseries(self, client: Cloudflare) -> None: class TestAsyncRoutes: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_moas(self, async_client: AsyncCloudflare) -> None: route = await async_client.radar.bgp.routes.moas() assert_matches_type(RouteMoasResponse, route, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_moas_with_all_params(self, async_client: AsyncCloudflare) -> None: route = await async_client.radar.bgp.routes.moas( @@ -185,6 +203,7 @@ async def test_method_moas_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(RouteMoasResponse, route, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_moas(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.bgp.routes.with_raw_response.moas() @@ -194,6 +213,7 @@ async def test_raw_response_moas(self, async_client: AsyncCloudflare) -> None: route = await response.parse() assert_matches_type(RouteMoasResponse, route, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_moas(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.bgp.routes.with_streaming_response.moas() as response: @@ -205,11 +225,13 @@ async def test_streaming_response_moas(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_pfx2as(self, async_client: AsyncCloudflare) -> None: route = await async_client.radar.bgp.routes.pfx2as() assert_matches_type(RoutePfx2asResponse, route, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_pfx2as_with_all_params(self, async_client: AsyncCloudflare) -> None: route = await async_client.radar.bgp.routes.pfx2as( @@ -221,6 +243,7 @@ async def test_method_pfx2as_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(RoutePfx2asResponse, route, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_pfx2as(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.bgp.routes.with_raw_response.pfx2as() @@ -230,6 +253,7 @@ async def test_raw_response_pfx2as(self, async_client: AsyncCloudflare) -> None: route = await response.parse() assert_matches_type(RoutePfx2asResponse, route, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_pfx2as(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.bgp.routes.with_streaming_response.pfx2as() as response: @@ -241,11 +265,13 @@ async def test_streaming_response_pfx2as(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_stats(self, async_client: AsyncCloudflare) -> None: route = await async_client.radar.bgp.routes.stats() assert_matches_type(RouteStatsResponse, route, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_stats_with_all_params(self, async_client: AsyncCloudflare) -> None: route = await async_client.radar.bgp.routes.stats( @@ -255,6 +281,7 @@ async def test_method_stats_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(RouteStatsResponse, route, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_stats(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.bgp.routes.with_raw_response.stats() @@ -264,6 +291,7 @@ async def test_raw_response_stats(self, async_client: AsyncCloudflare) -> None: route = await response.parse() assert_matches_type(RouteStatsResponse, route, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_stats(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.bgp.routes.with_streaming_response.stats() as response: @@ -275,11 +303,13 @@ async def test_streaming_response_stats(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_timeseries(self, async_client: AsyncCloudflare) -> None: route = await async_client.radar.bgp.routes.timeseries() assert_matches_type(RouteTimeseriesResponse, route, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_timeseries_with_all_params(self, async_client: AsyncCloudflare) -> None: route = await async_client.radar.bgp.routes.timeseries( @@ -293,6 +323,7 @@ async def test_method_timeseries_with_all_params(self, async_client: AsyncCloudf ) assert_matches_type(RouteTimeseriesResponse, route, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_timeseries(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.bgp.routes.with_raw_response.timeseries() @@ -302,6 +333,7 @@ async def test_raw_response_timeseries(self, async_client: AsyncCloudflare) -> N route = await response.parse() assert_matches_type(RouteTimeseriesResponse, route, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_timeseries(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.bgp.routes.with_streaming_response.timeseries() as response: diff --git a/tests/api_resources/radar/bgp/test_top.py b/tests/api_resources/radar/bgp/test_top.py index aabb2c05533..7f8f9d2cccd 100644 --- a/tests/api_resources/radar/bgp/test_top.py +++ b/tests/api_resources/radar/bgp/test_top.py @@ -18,11 +18,13 @@ class TestTop: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_prefixes(self, client: Cloudflare) -> None: top = client.radar.bgp.top.prefixes() assert_matches_type(TopPrefixesResponse, top, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_prefixes_with_all_params(self, client: Cloudflare) -> None: top = client.radar.bgp.top.prefixes( @@ -45,6 +47,7 @@ def test_method_prefixes_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(TopPrefixesResponse, top, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_prefixes(self, client: Cloudflare) -> None: response = client.radar.bgp.top.with_raw_response.prefixes() @@ -54,6 +57,7 @@ def test_raw_response_prefixes(self, client: Cloudflare) -> None: top = response.parse() assert_matches_type(TopPrefixesResponse, top, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_prefixes(self, client: Cloudflare) -> None: with client.radar.bgp.top.with_streaming_response.prefixes() as response: @@ -69,11 +73,13 @@ def test_streaming_response_prefixes(self, client: Cloudflare) -> None: class TestAsyncTop: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_prefixes(self, async_client: AsyncCloudflare) -> None: top = await async_client.radar.bgp.top.prefixes() assert_matches_type(TopPrefixesResponse, top, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_prefixes_with_all_params(self, async_client: AsyncCloudflare) -> None: top = await async_client.radar.bgp.top.prefixes( @@ -96,6 +102,7 @@ async def test_method_prefixes_with_all_params(self, async_client: AsyncCloudfla ) assert_matches_type(TopPrefixesResponse, top, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_prefixes(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.bgp.top.with_raw_response.prefixes() @@ -105,6 +112,7 @@ async def test_raw_response_prefixes(self, async_client: AsyncCloudflare) -> Non top = await response.parse() assert_matches_type(TopPrefixesResponse, top, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_prefixes(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.bgp.top.with_streaming_response.prefixes() as response: diff --git a/tests/api_resources/radar/bgp/top/test_ases.py b/tests/api_resources/radar/bgp/top/test_ases.py index 0eb51280b0a..515a06046a6 100644 --- a/tests/api_resources/radar/bgp/top/test_ases.py +++ b/tests/api_resources/radar/bgp/top/test_ases.py @@ -18,11 +18,13 @@ class TestAses: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: ase = client.radar.bgp.top.ases.get() assert_matches_type(AseGetResponse, ase, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: ase = client.radar.bgp.top.ases.get( @@ -46,6 +48,7 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(AseGetResponse, ase, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.radar.bgp.top.ases.with_raw_response.get() @@ -55,6 +58,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: ase = response.parse() assert_matches_type(AseGetResponse, ase, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.radar.bgp.top.ases.with_streaming_response.get() as response: @@ -66,11 +70,13 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_prefixes(self, client: Cloudflare) -> None: ase = client.radar.bgp.top.ases.prefixes() assert_matches_type(AsePrefixesResponse, ase, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_prefixes_with_all_params(self, client: Cloudflare) -> None: ase = client.radar.bgp.top.ases.prefixes( @@ -80,6 +86,7 @@ def test_method_prefixes_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(AsePrefixesResponse, ase, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_prefixes(self, client: Cloudflare) -> None: response = client.radar.bgp.top.ases.with_raw_response.prefixes() @@ -89,6 +96,7 @@ def test_raw_response_prefixes(self, client: Cloudflare) -> None: ase = response.parse() assert_matches_type(AsePrefixesResponse, ase, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_prefixes(self, client: Cloudflare) -> None: with client.radar.bgp.top.ases.with_streaming_response.prefixes() as response: @@ -104,11 +112,13 @@ def test_streaming_response_prefixes(self, client: Cloudflare) -> None: class TestAsyncAses: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: ase = await async_client.radar.bgp.top.ases.get() assert_matches_type(AseGetResponse, ase, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: ase = await async_client.radar.bgp.top.ases.get( @@ -132,6 +142,7 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(AseGetResponse, ase, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.bgp.top.ases.with_raw_response.get() @@ -141,6 +152,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: ase = await response.parse() assert_matches_type(AseGetResponse, ase, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.bgp.top.ases.with_streaming_response.get() as response: @@ -152,11 +164,13 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_prefixes(self, async_client: AsyncCloudflare) -> None: ase = await async_client.radar.bgp.top.ases.prefixes() assert_matches_type(AsePrefixesResponse, ase, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_prefixes_with_all_params(self, async_client: AsyncCloudflare) -> None: ase = await async_client.radar.bgp.top.ases.prefixes( @@ -166,6 +180,7 @@ async def test_method_prefixes_with_all_params(self, async_client: AsyncCloudfla ) assert_matches_type(AsePrefixesResponse, ase, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_prefixes(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.bgp.top.ases.with_raw_response.prefixes() @@ -175,6 +190,7 @@ async def test_raw_response_prefixes(self, async_client: AsyncCloudflare) -> Non ase = await response.parse() assert_matches_type(AsePrefixesResponse, ase, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_prefixes(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.bgp.top.ases.with_streaming_response.prefixes() as response: diff --git a/tests/api_resources/radar/dns/test_top.py b/tests/api_resources/radar/dns/test_top.py index f9c7f770b64..e9e4494a4b1 100644 --- a/tests/api_resources/radar/dns/test_top.py +++ b/tests/api_resources/radar/dns/test_top.py @@ -18,6 +18,7 @@ class TestTop: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_ases(self, client: Cloudflare) -> None: top = client.radar.dns.top.ases( @@ -25,6 +26,7 @@ def test_method_ases(self, client: Cloudflare) -> None: ) assert_matches_type(TopAsesResponse, top, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_ases_with_all_params(self, client: Cloudflare) -> None: top = client.radar.dns.top.ases( @@ -49,6 +51,7 @@ def test_method_ases_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(TopAsesResponse, top, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_ases(self, client: Cloudflare) -> None: response = client.radar.dns.top.with_raw_response.ases( @@ -60,6 +63,7 @@ def test_raw_response_ases(self, client: Cloudflare) -> None: top = response.parse() assert_matches_type(TopAsesResponse, top, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_ases(self, client: Cloudflare) -> None: with client.radar.dns.top.with_streaming_response.ases( @@ -73,6 +77,7 @@ def test_streaming_response_ases(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_locations(self, client: Cloudflare) -> None: top = client.radar.dns.top.locations( @@ -80,6 +85,7 @@ def test_method_locations(self, client: Cloudflare) -> None: ) assert_matches_type(TopLocationsResponse, top, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_locations_with_all_params(self, client: Cloudflare) -> None: top = client.radar.dns.top.locations( @@ -104,6 +110,7 @@ def test_method_locations_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(TopLocationsResponse, top, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_locations(self, client: Cloudflare) -> None: response = client.radar.dns.top.with_raw_response.locations( @@ -115,6 +122,7 @@ def test_raw_response_locations(self, client: Cloudflare) -> None: top = response.parse() assert_matches_type(TopLocationsResponse, top, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_locations(self, client: Cloudflare) -> None: with client.radar.dns.top.with_streaming_response.locations( @@ -132,6 +140,7 @@ def test_streaming_response_locations(self, client: Cloudflare) -> None: class TestAsyncTop: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_ases(self, async_client: AsyncCloudflare) -> None: top = await async_client.radar.dns.top.ases( @@ -139,6 +148,7 @@ async def test_method_ases(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(TopAsesResponse, top, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_ases_with_all_params(self, async_client: AsyncCloudflare) -> None: top = await async_client.radar.dns.top.ases( @@ -163,6 +173,7 @@ async def test_method_ases_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(TopAsesResponse, top, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_ases(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.dns.top.with_raw_response.ases( @@ -174,6 +185,7 @@ async def test_raw_response_ases(self, async_client: AsyncCloudflare) -> None: top = await response.parse() assert_matches_type(TopAsesResponse, top, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_ases(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.dns.top.with_streaming_response.ases( @@ -187,6 +199,7 @@ async def test_streaming_response_ases(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_locations(self, async_client: AsyncCloudflare) -> None: top = await async_client.radar.dns.top.locations( @@ -194,6 +207,7 @@ async def test_method_locations(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(TopLocationsResponse, top, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_locations_with_all_params(self, async_client: AsyncCloudflare) -> None: top = await async_client.radar.dns.top.locations( @@ -218,6 +232,7 @@ async def test_method_locations_with_all_params(self, async_client: AsyncCloudfl ) assert_matches_type(TopLocationsResponse, top, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_locations(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.dns.top.with_raw_response.locations( @@ -229,6 +244,7 @@ async def test_raw_response_locations(self, async_client: AsyncCloudflare) -> No top = await response.parse() assert_matches_type(TopLocationsResponse, top, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_locations(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.dns.top.with_streaming_response.locations( diff --git a/tests/api_resources/radar/email/routing/test_summary.py b/tests/api_resources/radar/email/routing/test_summary.py index 23fa3d37588..f44308cbcb4 100644 --- a/tests/api_resources/radar/email/routing/test_summary.py +++ b/tests/api_resources/radar/email/routing/test_summary.py @@ -25,11 +25,13 @@ class TestSummary: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_arc(self, client: Cloudflare) -> None: summary = client.radar.email.routing.summary.arc() assert_matches_type(SummaryARCResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_arc_with_all_params(self, client: Cloudflare) -> None: summary = client.radar.email.routing.summary.arc( @@ -54,6 +56,7 @@ def test_method_arc_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SummaryARCResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_arc(self, client: Cloudflare) -> None: response = client.radar.email.routing.summary.with_raw_response.arc() @@ -63,6 +66,7 @@ def test_raw_response_arc(self, client: Cloudflare) -> None: summary = response.parse() assert_matches_type(SummaryARCResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_arc(self, client: Cloudflare) -> None: with client.radar.email.routing.summary.with_streaming_response.arc() as response: @@ -74,11 +78,13 @@ def test_streaming_response_arc(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_dkim(self, client: Cloudflare) -> None: summary = client.radar.email.routing.summary.dkim() assert_matches_type(SummaryDKIMResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_dkim_with_all_params(self, client: Cloudflare) -> None: summary = client.radar.email.routing.summary.dkim( @@ -103,6 +109,7 @@ def test_method_dkim_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SummaryDKIMResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_dkim(self, client: Cloudflare) -> None: response = client.radar.email.routing.summary.with_raw_response.dkim() @@ -112,6 +119,7 @@ def test_raw_response_dkim(self, client: Cloudflare) -> None: summary = response.parse() assert_matches_type(SummaryDKIMResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_dkim(self, client: Cloudflare) -> None: with client.radar.email.routing.summary.with_streaming_response.dkim() as response: @@ -123,11 +131,13 @@ def test_streaming_response_dkim(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_dmarc(self, client: Cloudflare) -> None: summary = client.radar.email.routing.summary.dmarc() assert_matches_type(SummaryDMARCResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_dmarc_with_all_params(self, client: Cloudflare) -> None: summary = client.radar.email.routing.summary.dmarc( @@ -152,6 +162,7 @@ def test_method_dmarc_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SummaryDMARCResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_dmarc(self, client: Cloudflare) -> None: response = client.radar.email.routing.summary.with_raw_response.dmarc() @@ -161,6 +172,7 @@ def test_raw_response_dmarc(self, client: Cloudflare) -> None: summary = response.parse() assert_matches_type(SummaryDMARCResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_dmarc(self, client: Cloudflare) -> None: with client.radar.email.routing.summary.with_streaming_response.dmarc() as response: @@ -172,11 +184,13 @@ def test_streaming_response_dmarc(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_encrypted(self, client: Cloudflare) -> None: summary = client.radar.email.routing.summary.encrypted() assert_matches_type(SummaryEncryptedResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_encrypted_with_all_params(self, client: Cloudflare) -> None: summary = client.radar.email.routing.summary.encrypted( @@ -201,6 +215,7 @@ def test_method_encrypted_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SummaryEncryptedResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_encrypted(self, client: Cloudflare) -> None: response = client.radar.email.routing.summary.with_raw_response.encrypted() @@ -210,6 +225,7 @@ def test_raw_response_encrypted(self, client: Cloudflare) -> None: summary = response.parse() assert_matches_type(SummaryEncryptedResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_encrypted(self, client: Cloudflare) -> None: with client.radar.email.routing.summary.with_streaming_response.encrypted() as response: @@ -221,11 +237,13 @@ def test_streaming_response_encrypted(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_ip_version(self, client: Cloudflare) -> None: summary = client.radar.email.routing.summary.ip_version() assert_matches_type(SummaryIPVersionResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_ip_version_with_all_params(self, client: Cloudflare) -> None: summary = client.radar.email.routing.summary.ip_version( @@ -250,6 +268,7 @@ def test_method_ip_version_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SummaryIPVersionResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_ip_version(self, client: Cloudflare) -> None: response = client.radar.email.routing.summary.with_raw_response.ip_version() @@ -259,6 +278,7 @@ def test_raw_response_ip_version(self, client: Cloudflare) -> None: summary = response.parse() assert_matches_type(SummaryIPVersionResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_ip_version(self, client: Cloudflare) -> None: with client.radar.email.routing.summary.with_streaming_response.ip_version() as response: @@ -270,11 +290,13 @@ def test_streaming_response_ip_version(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_spf(self, client: Cloudflare) -> None: summary = client.radar.email.routing.summary.spf() assert_matches_type(SummarySPFResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_spf_with_all_params(self, client: Cloudflare) -> None: summary = client.radar.email.routing.summary.spf( @@ -299,6 +321,7 @@ def test_method_spf_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SummarySPFResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_spf(self, client: Cloudflare) -> None: response = client.radar.email.routing.summary.with_raw_response.spf() @@ -308,6 +331,7 @@ def test_raw_response_spf(self, client: Cloudflare) -> None: summary = response.parse() assert_matches_type(SummarySPFResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_spf(self, client: Cloudflare) -> None: with client.radar.email.routing.summary.with_streaming_response.spf() as response: @@ -323,11 +347,13 @@ def test_streaming_response_spf(self, client: Cloudflare) -> None: class TestAsyncSummary: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_arc(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.email.routing.summary.arc() assert_matches_type(SummaryARCResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_arc_with_all_params(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.email.routing.summary.arc( @@ -352,6 +378,7 @@ async def test_method_arc_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(SummaryARCResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_arc(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.email.routing.summary.with_raw_response.arc() @@ -361,6 +388,7 @@ async def test_raw_response_arc(self, async_client: AsyncCloudflare) -> None: summary = await response.parse() assert_matches_type(SummaryARCResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_arc(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.email.routing.summary.with_streaming_response.arc() as response: @@ -372,11 +400,13 @@ async def test_streaming_response_arc(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_dkim(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.email.routing.summary.dkim() assert_matches_type(SummaryDKIMResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_dkim_with_all_params(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.email.routing.summary.dkim( @@ -401,6 +431,7 @@ async def test_method_dkim_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(SummaryDKIMResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_dkim(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.email.routing.summary.with_raw_response.dkim() @@ -410,6 +441,7 @@ async def test_raw_response_dkim(self, async_client: AsyncCloudflare) -> None: summary = await response.parse() assert_matches_type(SummaryDKIMResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_dkim(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.email.routing.summary.with_streaming_response.dkim() as response: @@ -421,11 +453,13 @@ async def test_streaming_response_dkim(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_dmarc(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.email.routing.summary.dmarc() assert_matches_type(SummaryDMARCResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_dmarc_with_all_params(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.email.routing.summary.dmarc( @@ -450,6 +484,7 @@ async def test_method_dmarc_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(SummaryDMARCResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_dmarc(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.email.routing.summary.with_raw_response.dmarc() @@ -459,6 +494,7 @@ async def test_raw_response_dmarc(self, async_client: AsyncCloudflare) -> None: summary = await response.parse() assert_matches_type(SummaryDMARCResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_dmarc(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.email.routing.summary.with_streaming_response.dmarc() as response: @@ -470,11 +506,13 @@ async def test_streaming_response_dmarc(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_encrypted(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.email.routing.summary.encrypted() assert_matches_type(SummaryEncryptedResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_encrypted_with_all_params(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.email.routing.summary.encrypted( @@ -499,6 +537,7 @@ async def test_method_encrypted_with_all_params(self, async_client: AsyncCloudfl ) assert_matches_type(SummaryEncryptedResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_encrypted(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.email.routing.summary.with_raw_response.encrypted() @@ -508,6 +547,7 @@ async def test_raw_response_encrypted(self, async_client: AsyncCloudflare) -> No summary = await response.parse() assert_matches_type(SummaryEncryptedResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_encrypted(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.email.routing.summary.with_streaming_response.encrypted() as response: @@ -519,11 +559,13 @@ async def test_streaming_response_encrypted(self, async_client: AsyncCloudflare) assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_ip_version(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.email.routing.summary.ip_version() assert_matches_type(SummaryIPVersionResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_ip_version_with_all_params(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.email.routing.summary.ip_version( @@ -548,6 +590,7 @@ async def test_method_ip_version_with_all_params(self, async_client: AsyncCloudf ) assert_matches_type(SummaryIPVersionResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_ip_version(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.email.routing.summary.with_raw_response.ip_version() @@ -557,6 +600,7 @@ async def test_raw_response_ip_version(self, async_client: AsyncCloudflare) -> N summary = await response.parse() assert_matches_type(SummaryIPVersionResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_ip_version(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.email.routing.summary.with_streaming_response.ip_version() as response: @@ -568,11 +612,13 @@ async def test_streaming_response_ip_version(self, async_client: AsyncCloudflare assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_spf(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.email.routing.summary.spf() assert_matches_type(SummarySPFResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_spf_with_all_params(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.email.routing.summary.spf( @@ -597,6 +643,7 @@ async def test_method_spf_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(SummarySPFResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_spf(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.email.routing.summary.with_raw_response.spf() @@ -606,6 +653,7 @@ async def test_raw_response_spf(self, async_client: AsyncCloudflare) -> None: summary = await response.parse() assert_matches_type(SummarySPFResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_spf(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.email.routing.summary.with_streaming_response.spf() as response: diff --git a/tests/api_resources/radar/email/routing/test_timeseries_groups.py b/tests/api_resources/radar/email/routing/test_timeseries_groups.py index c75e3da7701..cc4f249e4c3 100644 --- a/tests/api_resources/radar/email/routing/test_timeseries_groups.py +++ b/tests/api_resources/radar/email/routing/test_timeseries_groups.py @@ -25,11 +25,13 @@ class TestTimeseriesGroups: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_arc(self, client: Cloudflare) -> None: timeseries_group = client.radar.email.routing.timeseries_groups.arc() assert_matches_type(TimeseriesGroupARCResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_arc_with_all_params(self, client: Cloudflare) -> None: timeseries_group = client.radar.email.routing.timeseries_groups.arc( @@ -55,6 +57,7 @@ def test_method_arc_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(TimeseriesGroupARCResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_arc(self, client: Cloudflare) -> None: response = client.radar.email.routing.timeseries_groups.with_raw_response.arc() @@ -64,6 +67,7 @@ def test_raw_response_arc(self, client: Cloudflare) -> None: timeseries_group = response.parse() assert_matches_type(TimeseriesGroupARCResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_arc(self, client: Cloudflare) -> None: with client.radar.email.routing.timeseries_groups.with_streaming_response.arc() as response: @@ -75,11 +79,13 @@ def test_streaming_response_arc(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_dkim(self, client: Cloudflare) -> None: timeseries_group = client.radar.email.routing.timeseries_groups.dkim() assert_matches_type(TimeseriesGroupDKIMResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_dkim_with_all_params(self, client: Cloudflare) -> None: timeseries_group = client.radar.email.routing.timeseries_groups.dkim( @@ -105,6 +111,7 @@ def test_method_dkim_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(TimeseriesGroupDKIMResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_dkim(self, client: Cloudflare) -> None: response = client.radar.email.routing.timeseries_groups.with_raw_response.dkim() @@ -114,6 +121,7 @@ def test_raw_response_dkim(self, client: Cloudflare) -> None: timeseries_group = response.parse() assert_matches_type(TimeseriesGroupDKIMResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_dkim(self, client: Cloudflare) -> None: with client.radar.email.routing.timeseries_groups.with_streaming_response.dkim() as response: @@ -125,11 +133,13 @@ def test_streaming_response_dkim(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_dmarc(self, client: Cloudflare) -> None: timeseries_group = client.radar.email.routing.timeseries_groups.dmarc() assert_matches_type(TimeseriesGroupDMARCResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_dmarc_with_all_params(self, client: Cloudflare) -> None: timeseries_group = client.radar.email.routing.timeseries_groups.dmarc( @@ -155,6 +165,7 @@ def test_method_dmarc_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(TimeseriesGroupDMARCResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_dmarc(self, client: Cloudflare) -> None: response = client.radar.email.routing.timeseries_groups.with_raw_response.dmarc() @@ -164,6 +175,7 @@ def test_raw_response_dmarc(self, client: Cloudflare) -> None: timeseries_group = response.parse() assert_matches_type(TimeseriesGroupDMARCResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_dmarc(self, client: Cloudflare) -> None: with client.radar.email.routing.timeseries_groups.with_streaming_response.dmarc() as response: @@ -175,11 +187,13 @@ def test_streaming_response_dmarc(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_encrypted(self, client: Cloudflare) -> None: timeseries_group = client.radar.email.routing.timeseries_groups.encrypted() assert_matches_type(TimeseriesGroupEncryptedResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_encrypted_with_all_params(self, client: Cloudflare) -> None: timeseries_group = client.radar.email.routing.timeseries_groups.encrypted( @@ -205,6 +219,7 @@ def test_method_encrypted_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(TimeseriesGroupEncryptedResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_encrypted(self, client: Cloudflare) -> None: response = client.radar.email.routing.timeseries_groups.with_raw_response.encrypted() @@ -214,6 +229,7 @@ def test_raw_response_encrypted(self, client: Cloudflare) -> None: timeseries_group = response.parse() assert_matches_type(TimeseriesGroupEncryptedResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_encrypted(self, client: Cloudflare) -> None: with client.radar.email.routing.timeseries_groups.with_streaming_response.encrypted() as response: @@ -225,11 +241,13 @@ def test_streaming_response_encrypted(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_ip_version(self, client: Cloudflare) -> None: timeseries_group = client.radar.email.routing.timeseries_groups.ip_version() assert_matches_type(TimeseriesGroupIPVersionResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_ip_version_with_all_params(self, client: Cloudflare) -> None: timeseries_group = client.radar.email.routing.timeseries_groups.ip_version( @@ -255,6 +273,7 @@ def test_method_ip_version_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(TimeseriesGroupIPVersionResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_ip_version(self, client: Cloudflare) -> None: response = client.radar.email.routing.timeseries_groups.with_raw_response.ip_version() @@ -264,6 +283,7 @@ def test_raw_response_ip_version(self, client: Cloudflare) -> None: timeseries_group = response.parse() assert_matches_type(TimeseriesGroupIPVersionResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_ip_version(self, client: Cloudflare) -> None: with client.radar.email.routing.timeseries_groups.with_streaming_response.ip_version() as response: @@ -275,11 +295,13 @@ def test_streaming_response_ip_version(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_spf(self, client: Cloudflare) -> None: timeseries_group = client.radar.email.routing.timeseries_groups.spf() assert_matches_type(TimeseriesGroupSPFResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_spf_with_all_params(self, client: Cloudflare) -> None: timeseries_group = client.radar.email.routing.timeseries_groups.spf( @@ -305,6 +327,7 @@ def test_method_spf_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(TimeseriesGroupSPFResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_spf(self, client: Cloudflare) -> None: response = client.radar.email.routing.timeseries_groups.with_raw_response.spf() @@ -314,6 +337,7 @@ def test_raw_response_spf(self, client: Cloudflare) -> None: timeseries_group = response.parse() assert_matches_type(TimeseriesGroupSPFResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_spf(self, client: Cloudflare) -> None: with client.radar.email.routing.timeseries_groups.with_streaming_response.spf() as response: @@ -329,11 +353,13 @@ def test_streaming_response_spf(self, client: Cloudflare) -> None: class TestAsyncTimeseriesGroups: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_arc(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.email.routing.timeseries_groups.arc() assert_matches_type(TimeseriesGroupARCResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_arc_with_all_params(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.email.routing.timeseries_groups.arc( @@ -359,6 +385,7 @@ async def test_method_arc_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(TimeseriesGroupARCResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_arc(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.email.routing.timeseries_groups.with_raw_response.arc() @@ -368,6 +395,7 @@ async def test_raw_response_arc(self, async_client: AsyncCloudflare) -> None: timeseries_group = await response.parse() assert_matches_type(TimeseriesGroupARCResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_arc(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.email.routing.timeseries_groups.with_streaming_response.arc() as response: @@ -379,11 +407,13 @@ async def test_streaming_response_arc(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_dkim(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.email.routing.timeseries_groups.dkim() assert_matches_type(TimeseriesGroupDKIMResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_dkim_with_all_params(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.email.routing.timeseries_groups.dkim( @@ -409,6 +439,7 @@ async def test_method_dkim_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(TimeseriesGroupDKIMResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_dkim(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.email.routing.timeseries_groups.with_raw_response.dkim() @@ -418,6 +449,7 @@ async def test_raw_response_dkim(self, async_client: AsyncCloudflare) -> None: timeseries_group = await response.parse() assert_matches_type(TimeseriesGroupDKIMResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_dkim(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.email.routing.timeseries_groups.with_streaming_response.dkim() as response: @@ -429,11 +461,13 @@ async def test_streaming_response_dkim(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_dmarc(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.email.routing.timeseries_groups.dmarc() assert_matches_type(TimeseriesGroupDMARCResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_dmarc_with_all_params(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.email.routing.timeseries_groups.dmarc( @@ -459,6 +493,7 @@ async def test_method_dmarc_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(TimeseriesGroupDMARCResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_dmarc(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.email.routing.timeseries_groups.with_raw_response.dmarc() @@ -468,6 +503,7 @@ async def test_raw_response_dmarc(self, async_client: AsyncCloudflare) -> None: timeseries_group = await response.parse() assert_matches_type(TimeseriesGroupDMARCResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_dmarc(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.email.routing.timeseries_groups.with_streaming_response.dmarc() as response: @@ -479,11 +515,13 @@ async def test_streaming_response_dmarc(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_encrypted(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.email.routing.timeseries_groups.encrypted() assert_matches_type(TimeseriesGroupEncryptedResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_encrypted_with_all_params(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.email.routing.timeseries_groups.encrypted( @@ -509,6 +547,7 @@ async def test_method_encrypted_with_all_params(self, async_client: AsyncCloudfl ) assert_matches_type(TimeseriesGroupEncryptedResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_encrypted(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.email.routing.timeseries_groups.with_raw_response.encrypted() @@ -518,6 +557,7 @@ async def test_raw_response_encrypted(self, async_client: AsyncCloudflare) -> No timeseries_group = await response.parse() assert_matches_type(TimeseriesGroupEncryptedResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_encrypted(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.email.routing.timeseries_groups.with_streaming_response.encrypted() as response: @@ -529,11 +569,13 @@ async def test_streaming_response_encrypted(self, async_client: AsyncCloudflare) assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_ip_version(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.email.routing.timeseries_groups.ip_version() assert_matches_type(TimeseriesGroupIPVersionResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_ip_version_with_all_params(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.email.routing.timeseries_groups.ip_version( @@ -559,6 +601,7 @@ async def test_method_ip_version_with_all_params(self, async_client: AsyncCloudf ) assert_matches_type(TimeseriesGroupIPVersionResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_ip_version(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.email.routing.timeseries_groups.with_raw_response.ip_version() @@ -568,6 +611,7 @@ async def test_raw_response_ip_version(self, async_client: AsyncCloudflare) -> N timeseries_group = await response.parse() assert_matches_type(TimeseriesGroupIPVersionResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_ip_version(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.email.routing.timeseries_groups.with_streaming_response.ip_version() as response: @@ -579,11 +623,13 @@ async def test_streaming_response_ip_version(self, async_client: AsyncCloudflare assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_spf(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.email.routing.timeseries_groups.spf() assert_matches_type(TimeseriesGroupSPFResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_spf_with_all_params(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.email.routing.timeseries_groups.spf( @@ -609,6 +655,7 @@ async def test_method_spf_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(TimeseriesGroupSPFResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_spf(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.email.routing.timeseries_groups.with_raw_response.spf() @@ -618,6 +665,7 @@ async def test_raw_response_spf(self, async_client: AsyncCloudflare) -> None: timeseries_group = await response.parse() assert_matches_type(TimeseriesGroupSPFResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_spf(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.email.routing.timeseries_groups.with_streaming_response.spf() as response: diff --git a/tests/api_resources/radar/email/security/test_summary.py b/tests/api_resources/radar/email/security/test_summary.py index 4fb28b76274..e3df2f5670c 100644 --- a/tests/api_resources/radar/email/security/test_summary.py +++ b/tests/api_resources/radar/email/security/test_summary.py @@ -28,11 +28,13 @@ class TestSummary: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_arc(self, client: Cloudflare) -> None: summary = client.radar.email.security.summary.arc() assert_matches_type(SummaryARCResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_arc_with_all_params(self, client: Cloudflare) -> None: summary = client.radar.email.security.summary.arc( @@ -56,6 +58,7 @@ def test_method_arc_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SummaryARCResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_arc(self, client: Cloudflare) -> None: response = client.radar.email.security.summary.with_raw_response.arc() @@ -65,6 +68,7 @@ def test_raw_response_arc(self, client: Cloudflare) -> None: summary = response.parse() assert_matches_type(SummaryARCResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_arc(self, client: Cloudflare) -> None: with client.radar.email.security.summary.with_streaming_response.arc() as response: @@ -76,11 +80,13 @@ def test_streaming_response_arc(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_dkim(self, client: Cloudflare) -> None: summary = client.radar.email.security.summary.dkim() assert_matches_type(SummaryDKIMResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_dkim_with_all_params(self, client: Cloudflare) -> None: summary = client.radar.email.security.summary.dkim( @@ -104,6 +110,7 @@ def test_method_dkim_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SummaryDKIMResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_dkim(self, client: Cloudflare) -> None: response = client.radar.email.security.summary.with_raw_response.dkim() @@ -113,6 +120,7 @@ def test_raw_response_dkim(self, client: Cloudflare) -> None: summary = response.parse() assert_matches_type(SummaryDKIMResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_dkim(self, client: Cloudflare) -> None: with client.radar.email.security.summary.with_streaming_response.dkim() as response: @@ -124,11 +132,13 @@ def test_streaming_response_dkim(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_dmarc(self, client: Cloudflare) -> None: summary = client.radar.email.security.summary.dmarc() assert_matches_type(SummaryDMARCResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_dmarc_with_all_params(self, client: Cloudflare) -> None: summary = client.radar.email.security.summary.dmarc( @@ -152,6 +162,7 @@ def test_method_dmarc_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SummaryDMARCResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_dmarc(self, client: Cloudflare) -> None: response = client.radar.email.security.summary.with_raw_response.dmarc() @@ -161,6 +172,7 @@ def test_raw_response_dmarc(self, client: Cloudflare) -> None: summary = response.parse() assert_matches_type(SummaryDMARCResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_dmarc(self, client: Cloudflare) -> None: with client.radar.email.security.summary.with_streaming_response.dmarc() as response: @@ -172,11 +184,13 @@ def test_streaming_response_dmarc(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_malicious(self, client: Cloudflare) -> None: summary = client.radar.email.security.summary.malicious() assert_matches_type(SummaryMaliciousResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_malicious_with_all_params(self, client: Cloudflare) -> None: summary = client.radar.email.security.summary.malicious( @@ -201,6 +215,7 @@ def test_method_malicious_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SummaryMaliciousResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_malicious(self, client: Cloudflare) -> None: response = client.radar.email.security.summary.with_raw_response.malicious() @@ -210,6 +225,7 @@ def test_raw_response_malicious(self, client: Cloudflare) -> None: summary = response.parse() assert_matches_type(SummaryMaliciousResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_malicious(self, client: Cloudflare) -> None: with client.radar.email.security.summary.with_streaming_response.malicious() as response: @@ -221,11 +237,13 @@ def test_streaming_response_malicious(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_spam(self, client: Cloudflare) -> None: summary = client.radar.email.security.summary.spam() assert_matches_type(SummarySpamResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_spam_with_all_params(self, client: Cloudflare) -> None: summary = client.radar.email.security.summary.spam( @@ -250,6 +268,7 @@ def test_method_spam_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SummarySpamResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_spam(self, client: Cloudflare) -> None: response = client.radar.email.security.summary.with_raw_response.spam() @@ -259,6 +278,7 @@ def test_raw_response_spam(self, client: Cloudflare) -> None: summary = response.parse() assert_matches_type(SummarySpamResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_spam(self, client: Cloudflare) -> None: with client.radar.email.security.summary.with_streaming_response.spam() as response: @@ -270,11 +290,13 @@ def test_streaming_response_spam(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_spf(self, client: Cloudflare) -> None: summary = client.radar.email.security.summary.spf() assert_matches_type(SummarySPFResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_spf_with_all_params(self, client: Cloudflare) -> None: summary = client.radar.email.security.summary.spf( @@ -298,6 +320,7 @@ def test_method_spf_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SummarySPFResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_spf(self, client: Cloudflare) -> None: response = client.radar.email.security.summary.with_raw_response.spf() @@ -307,6 +330,7 @@ def test_raw_response_spf(self, client: Cloudflare) -> None: summary = response.parse() assert_matches_type(SummarySPFResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_spf(self, client: Cloudflare) -> None: with client.radar.email.security.summary.with_streaming_response.spf() as response: @@ -318,11 +342,13 @@ def test_streaming_response_spf(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_spoof(self, client: Cloudflare) -> None: summary = client.radar.email.security.summary.spoof() assert_matches_type(SummarySpoofResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_spoof_with_all_params(self, client: Cloudflare) -> None: summary = client.radar.email.security.summary.spoof( @@ -347,6 +373,7 @@ def test_method_spoof_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SummarySpoofResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_spoof(self, client: Cloudflare) -> None: response = client.radar.email.security.summary.with_raw_response.spoof() @@ -356,6 +383,7 @@ def test_raw_response_spoof(self, client: Cloudflare) -> None: summary = response.parse() assert_matches_type(SummarySpoofResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_spoof(self, client: Cloudflare) -> None: with client.radar.email.security.summary.with_streaming_response.spoof() as response: @@ -367,11 +395,13 @@ def test_streaming_response_spoof(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_threat_category(self, client: Cloudflare) -> None: summary = client.radar.email.security.summary.threat_category() assert_matches_type(SummaryThreatCategoryResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_threat_category_with_all_params(self, client: Cloudflare) -> None: summary = client.radar.email.security.summary.threat_category( @@ -396,6 +426,7 @@ def test_method_threat_category_with_all_params(self, client: Cloudflare) -> Non ) assert_matches_type(SummaryThreatCategoryResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_threat_category(self, client: Cloudflare) -> None: response = client.radar.email.security.summary.with_raw_response.threat_category() @@ -405,6 +436,7 @@ def test_raw_response_threat_category(self, client: Cloudflare) -> None: summary = response.parse() assert_matches_type(SummaryThreatCategoryResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_threat_category(self, client: Cloudflare) -> None: with client.radar.email.security.summary.with_streaming_response.threat_category() as response: @@ -416,11 +448,13 @@ def test_streaming_response_threat_category(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_tls_version(self, client: Cloudflare) -> None: summary = client.radar.email.security.summary.tls_version() assert_matches_type(SummaryTLSVersionResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_tls_version_with_all_params(self, client: Cloudflare) -> None: summary = client.radar.email.security.summary.tls_version( @@ -444,6 +478,7 @@ def test_method_tls_version_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SummaryTLSVersionResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_tls_version(self, client: Cloudflare) -> None: response = client.radar.email.security.summary.with_raw_response.tls_version() @@ -453,6 +488,7 @@ def test_raw_response_tls_version(self, client: Cloudflare) -> None: summary = response.parse() assert_matches_type(SummaryTLSVersionResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_tls_version(self, client: Cloudflare) -> None: with client.radar.email.security.summary.with_streaming_response.tls_version() as response: @@ -468,11 +504,13 @@ def test_streaming_response_tls_version(self, client: Cloudflare) -> None: class TestAsyncSummary: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_arc(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.email.security.summary.arc() assert_matches_type(SummaryARCResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_arc_with_all_params(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.email.security.summary.arc( @@ -496,6 +534,7 @@ async def test_method_arc_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(SummaryARCResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_arc(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.email.security.summary.with_raw_response.arc() @@ -505,6 +544,7 @@ async def test_raw_response_arc(self, async_client: AsyncCloudflare) -> None: summary = await response.parse() assert_matches_type(SummaryARCResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_arc(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.email.security.summary.with_streaming_response.arc() as response: @@ -516,11 +556,13 @@ async def test_streaming_response_arc(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_dkim(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.email.security.summary.dkim() assert_matches_type(SummaryDKIMResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_dkim_with_all_params(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.email.security.summary.dkim( @@ -544,6 +586,7 @@ async def test_method_dkim_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(SummaryDKIMResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_dkim(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.email.security.summary.with_raw_response.dkim() @@ -553,6 +596,7 @@ async def test_raw_response_dkim(self, async_client: AsyncCloudflare) -> None: summary = await response.parse() assert_matches_type(SummaryDKIMResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_dkim(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.email.security.summary.with_streaming_response.dkim() as response: @@ -564,11 +608,13 @@ async def test_streaming_response_dkim(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_dmarc(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.email.security.summary.dmarc() assert_matches_type(SummaryDMARCResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_dmarc_with_all_params(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.email.security.summary.dmarc( @@ -592,6 +638,7 @@ async def test_method_dmarc_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(SummaryDMARCResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_dmarc(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.email.security.summary.with_raw_response.dmarc() @@ -601,6 +648,7 @@ async def test_raw_response_dmarc(self, async_client: AsyncCloudflare) -> None: summary = await response.parse() assert_matches_type(SummaryDMARCResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_dmarc(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.email.security.summary.with_streaming_response.dmarc() as response: @@ -612,11 +660,13 @@ async def test_streaming_response_dmarc(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_malicious(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.email.security.summary.malicious() assert_matches_type(SummaryMaliciousResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_malicious_with_all_params(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.email.security.summary.malicious( @@ -641,6 +691,7 @@ async def test_method_malicious_with_all_params(self, async_client: AsyncCloudfl ) assert_matches_type(SummaryMaliciousResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_malicious(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.email.security.summary.with_raw_response.malicious() @@ -650,6 +701,7 @@ async def test_raw_response_malicious(self, async_client: AsyncCloudflare) -> No summary = await response.parse() assert_matches_type(SummaryMaliciousResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_malicious(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.email.security.summary.with_streaming_response.malicious() as response: @@ -661,11 +713,13 @@ async def test_streaming_response_malicious(self, async_client: AsyncCloudflare) assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_spam(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.email.security.summary.spam() assert_matches_type(SummarySpamResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_spam_with_all_params(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.email.security.summary.spam( @@ -690,6 +744,7 @@ async def test_method_spam_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(SummarySpamResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_spam(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.email.security.summary.with_raw_response.spam() @@ -699,6 +754,7 @@ async def test_raw_response_spam(self, async_client: AsyncCloudflare) -> None: summary = await response.parse() assert_matches_type(SummarySpamResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_spam(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.email.security.summary.with_streaming_response.spam() as response: @@ -710,11 +766,13 @@ async def test_streaming_response_spam(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_spf(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.email.security.summary.spf() assert_matches_type(SummarySPFResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_spf_with_all_params(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.email.security.summary.spf( @@ -738,6 +796,7 @@ async def test_method_spf_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(SummarySPFResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_spf(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.email.security.summary.with_raw_response.spf() @@ -747,6 +806,7 @@ async def test_raw_response_spf(self, async_client: AsyncCloudflare) -> None: summary = await response.parse() assert_matches_type(SummarySPFResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_spf(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.email.security.summary.with_streaming_response.spf() as response: @@ -758,11 +818,13 @@ async def test_streaming_response_spf(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_spoof(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.email.security.summary.spoof() assert_matches_type(SummarySpoofResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_spoof_with_all_params(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.email.security.summary.spoof( @@ -787,6 +849,7 @@ async def test_method_spoof_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(SummarySpoofResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_spoof(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.email.security.summary.with_raw_response.spoof() @@ -796,6 +859,7 @@ async def test_raw_response_spoof(self, async_client: AsyncCloudflare) -> None: summary = await response.parse() assert_matches_type(SummarySpoofResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_spoof(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.email.security.summary.with_streaming_response.spoof() as response: @@ -807,11 +871,13 @@ async def test_streaming_response_spoof(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_threat_category(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.email.security.summary.threat_category() assert_matches_type(SummaryThreatCategoryResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_threat_category_with_all_params(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.email.security.summary.threat_category( @@ -836,6 +902,7 @@ async def test_method_threat_category_with_all_params(self, async_client: AsyncC ) assert_matches_type(SummaryThreatCategoryResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_threat_category(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.email.security.summary.with_raw_response.threat_category() @@ -845,6 +912,7 @@ async def test_raw_response_threat_category(self, async_client: AsyncCloudflare) summary = await response.parse() assert_matches_type(SummaryThreatCategoryResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_threat_category(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.email.security.summary.with_streaming_response.threat_category() as response: @@ -856,11 +924,13 @@ async def test_streaming_response_threat_category(self, async_client: AsyncCloud assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_tls_version(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.email.security.summary.tls_version() assert_matches_type(SummaryTLSVersionResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_tls_version_with_all_params(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.email.security.summary.tls_version( @@ -884,6 +954,7 @@ async def test_method_tls_version_with_all_params(self, async_client: AsyncCloud ) assert_matches_type(SummaryTLSVersionResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_tls_version(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.email.security.summary.with_raw_response.tls_version() @@ -893,6 +964,7 @@ async def test_raw_response_tls_version(self, async_client: AsyncCloudflare) -> summary = await response.parse() assert_matches_type(SummaryTLSVersionResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_tls_version(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.email.security.summary.with_streaming_response.tls_version() as response: diff --git a/tests/api_resources/radar/email/security/test_timeseries_groups.py b/tests/api_resources/radar/email/security/test_timeseries_groups.py index b9b4674e1e2..4af4404daa9 100644 --- a/tests/api_resources/radar/email/security/test_timeseries_groups.py +++ b/tests/api_resources/radar/email/security/test_timeseries_groups.py @@ -28,11 +28,13 @@ class TestTimeseriesGroups: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_arc(self, client: Cloudflare) -> None: timeseries_group = client.radar.email.security.timeseries_groups.arc() assert_matches_type(TimeseriesGroupARCResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_arc_with_all_params(self, client: Cloudflare) -> None: timeseries_group = client.radar.email.security.timeseries_groups.arc( @@ -57,6 +59,7 @@ def test_method_arc_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(TimeseriesGroupARCResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_arc(self, client: Cloudflare) -> None: response = client.radar.email.security.timeseries_groups.with_raw_response.arc() @@ -66,6 +69,7 @@ def test_raw_response_arc(self, client: Cloudflare) -> None: timeseries_group = response.parse() assert_matches_type(TimeseriesGroupARCResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_arc(self, client: Cloudflare) -> None: with client.radar.email.security.timeseries_groups.with_streaming_response.arc() as response: @@ -77,11 +81,13 @@ def test_streaming_response_arc(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_dkim(self, client: Cloudflare) -> None: timeseries_group = client.radar.email.security.timeseries_groups.dkim() assert_matches_type(TimeseriesGroupDKIMResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_dkim_with_all_params(self, client: Cloudflare) -> None: timeseries_group = client.radar.email.security.timeseries_groups.dkim( @@ -106,6 +112,7 @@ def test_method_dkim_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(TimeseriesGroupDKIMResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_dkim(self, client: Cloudflare) -> None: response = client.radar.email.security.timeseries_groups.with_raw_response.dkim() @@ -115,6 +122,7 @@ def test_raw_response_dkim(self, client: Cloudflare) -> None: timeseries_group = response.parse() assert_matches_type(TimeseriesGroupDKIMResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_dkim(self, client: Cloudflare) -> None: with client.radar.email.security.timeseries_groups.with_streaming_response.dkim() as response: @@ -126,11 +134,13 @@ def test_streaming_response_dkim(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_dmarc(self, client: Cloudflare) -> None: timeseries_group = client.radar.email.security.timeseries_groups.dmarc() assert_matches_type(TimeseriesGroupDMARCResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_dmarc_with_all_params(self, client: Cloudflare) -> None: timeseries_group = client.radar.email.security.timeseries_groups.dmarc( @@ -155,6 +165,7 @@ def test_method_dmarc_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(TimeseriesGroupDMARCResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_dmarc(self, client: Cloudflare) -> None: response = client.radar.email.security.timeseries_groups.with_raw_response.dmarc() @@ -164,6 +175,7 @@ def test_raw_response_dmarc(self, client: Cloudflare) -> None: timeseries_group = response.parse() assert_matches_type(TimeseriesGroupDMARCResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_dmarc(self, client: Cloudflare) -> None: with client.radar.email.security.timeseries_groups.with_streaming_response.dmarc() as response: @@ -175,11 +187,13 @@ def test_streaming_response_dmarc(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_malicious(self, client: Cloudflare) -> None: timeseries_group = client.radar.email.security.timeseries_groups.malicious() assert_matches_type(TimeseriesGroupMaliciousResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_malicious_with_all_params(self, client: Cloudflare) -> None: timeseries_group = client.radar.email.security.timeseries_groups.malicious( @@ -205,6 +219,7 @@ def test_method_malicious_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(TimeseriesGroupMaliciousResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_malicious(self, client: Cloudflare) -> None: response = client.radar.email.security.timeseries_groups.with_raw_response.malicious() @@ -214,6 +229,7 @@ def test_raw_response_malicious(self, client: Cloudflare) -> None: timeseries_group = response.parse() assert_matches_type(TimeseriesGroupMaliciousResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_malicious(self, client: Cloudflare) -> None: with client.radar.email.security.timeseries_groups.with_streaming_response.malicious() as response: @@ -225,11 +241,13 @@ def test_streaming_response_malicious(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_spam(self, client: Cloudflare) -> None: timeseries_group = client.radar.email.security.timeseries_groups.spam() assert_matches_type(TimeseriesGroupSpamResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_spam_with_all_params(self, client: Cloudflare) -> None: timeseries_group = client.radar.email.security.timeseries_groups.spam( @@ -255,6 +273,7 @@ def test_method_spam_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(TimeseriesGroupSpamResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_spam(self, client: Cloudflare) -> None: response = client.radar.email.security.timeseries_groups.with_raw_response.spam() @@ -264,6 +283,7 @@ def test_raw_response_spam(self, client: Cloudflare) -> None: timeseries_group = response.parse() assert_matches_type(TimeseriesGroupSpamResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_spam(self, client: Cloudflare) -> None: with client.radar.email.security.timeseries_groups.with_streaming_response.spam() as response: @@ -275,11 +295,13 @@ def test_streaming_response_spam(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_spf(self, client: Cloudflare) -> None: timeseries_group = client.radar.email.security.timeseries_groups.spf() assert_matches_type(TimeseriesGroupSPFResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_spf_with_all_params(self, client: Cloudflare) -> None: timeseries_group = client.radar.email.security.timeseries_groups.spf( @@ -304,6 +326,7 @@ def test_method_spf_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(TimeseriesGroupSPFResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_spf(self, client: Cloudflare) -> None: response = client.radar.email.security.timeseries_groups.with_raw_response.spf() @@ -313,6 +336,7 @@ def test_raw_response_spf(self, client: Cloudflare) -> None: timeseries_group = response.parse() assert_matches_type(TimeseriesGroupSPFResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_spf(self, client: Cloudflare) -> None: with client.radar.email.security.timeseries_groups.with_streaming_response.spf() as response: @@ -324,11 +348,13 @@ def test_streaming_response_spf(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_spoof(self, client: Cloudflare) -> None: timeseries_group = client.radar.email.security.timeseries_groups.spoof() assert_matches_type(TimeseriesGroupSpoofResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_spoof_with_all_params(self, client: Cloudflare) -> None: timeseries_group = client.radar.email.security.timeseries_groups.spoof( @@ -354,6 +380,7 @@ def test_method_spoof_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(TimeseriesGroupSpoofResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_spoof(self, client: Cloudflare) -> None: response = client.radar.email.security.timeseries_groups.with_raw_response.spoof() @@ -363,6 +390,7 @@ def test_raw_response_spoof(self, client: Cloudflare) -> None: timeseries_group = response.parse() assert_matches_type(TimeseriesGroupSpoofResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_spoof(self, client: Cloudflare) -> None: with client.radar.email.security.timeseries_groups.with_streaming_response.spoof() as response: @@ -374,11 +402,13 @@ def test_streaming_response_spoof(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_threat_category(self, client: Cloudflare) -> None: timeseries_group = client.radar.email.security.timeseries_groups.threat_category() assert_matches_type(TimeseriesGroupThreatCategoryResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_threat_category_with_all_params(self, client: Cloudflare) -> None: timeseries_group = client.radar.email.security.timeseries_groups.threat_category( @@ -404,6 +434,7 @@ def test_method_threat_category_with_all_params(self, client: Cloudflare) -> Non ) assert_matches_type(TimeseriesGroupThreatCategoryResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_threat_category(self, client: Cloudflare) -> None: response = client.radar.email.security.timeseries_groups.with_raw_response.threat_category() @@ -413,6 +444,7 @@ def test_raw_response_threat_category(self, client: Cloudflare) -> None: timeseries_group = response.parse() assert_matches_type(TimeseriesGroupThreatCategoryResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_threat_category(self, client: Cloudflare) -> None: with client.radar.email.security.timeseries_groups.with_streaming_response.threat_category() as response: @@ -424,11 +456,13 @@ def test_streaming_response_threat_category(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_tls_version(self, client: Cloudflare) -> None: timeseries_group = client.radar.email.security.timeseries_groups.tls_version() assert_matches_type(TimeseriesGroupTLSVersionResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_tls_version_with_all_params(self, client: Cloudflare) -> None: timeseries_group = client.radar.email.security.timeseries_groups.tls_version( @@ -453,6 +487,7 @@ def test_method_tls_version_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(TimeseriesGroupTLSVersionResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_tls_version(self, client: Cloudflare) -> None: response = client.radar.email.security.timeseries_groups.with_raw_response.tls_version() @@ -462,6 +497,7 @@ def test_raw_response_tls_version(self, client: Cloudflare) -> None: timeseries_group = response.parse() assert_matches_type(TimeseriesGroupTLSVersionResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_tls_version(self, client: Cloudflare) -> None: with client.radar.email.security.timeseries_groups.with_streaming_response.tls_version() as response: @@ -477,11 +513,13 @@ def test_streaming_response_tls_version(self, client: Cloudflare) -> None: class TestAsyncTimeseriesGroups: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_arc(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.email.security.timeseries_groups.arc() assert_matches_type(TimeseriesGroupARCResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_arc_with_all_params(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.email.security.timeseries_groups.arc( @@ -506,6 +544,7 @@ async def test_method_arc_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(TimeseriesGroupARCResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_arc(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.email.security.timeseries_groups.with_raw_response.arc() @@ -515,6 +554,7 @@ async def test_raw_response_arc(self, async_client: AsyncCloudflare) -> None: timeseries_group = await response.parse() assert_matches_type(TimeseriesGroupARCResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_arc(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.email.security.timeseries_groups.with_streaming_response.arc() as response: @@ -526,11 +566,13 @@ async def test_streaming_response_arc(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_dkim(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.email.security.timeseries_groups.dkim() assert_matches_type(TimeseriesGroupDKIMResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_dkim_with_all_params(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.email.security.timeseries_groups.dkim( @@ -555,6 +597,7 @@ async def test_method_dkim_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(TimeseriesGroupDKIMResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_dkim(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.email.security.timeseries_groups.with_raw_response.dkim() @@ -564,6 +607,7 @@ async def test_raw_response_dkim(self, async_client: AsyncCloudflare) -> None: timeseries_group = await response.parse() assert_matches_type(TimeseriesGroupDKIMResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_dkim(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.email.security.timeseries_groups.with_streaming_response.dkim() as response: @@ -575,11 +619,13 @@ async def test_streaming_response_dkim(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_dmarc(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.email.security.timeseries_groups.dmarc() assert_matches_type(TimeseriesGroupDMARCResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_dmarc_with_all_params(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.email.security.timeseries_groups.dmarc( @@ -604,6 +650,7 @@ async def test_method_dmarc_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(TimeseriesGroupDMARCResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_dmarc(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.email.security.timeseries_groups.with_raw_response.dmarc() @@ -613,6 +660,7 @@ async def test_raw_response_dmarc(self, async_client: AsyncCloudflare) -> None: timeseries_group = await response.parse() assert_matches_type(TimeseriesGroupDMARCResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_dmarc(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.email.security.timeseries_groups.with_streaming_response.dmarc() as response: @@ -624,11 +672,13 @@ async def test_streaming_response_dmarc(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_malicious(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.email.security.timeseries_groups.malicious() assert_matches_type(TimeseriesGroupMaliciousResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_malicious_with_all_params(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.email.security.timeseries_groups.malicious( @@ -654,6 +704,7 @@ async def test_method_malicious_with_all_params(self, async_client: AsyncCloudfl ) assert_matches_type(TimeseriesGroupMaliciousResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_malicious(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.email.security.timeseries_groups.with_raw_response.malicious() @@ -663,6 +714,7 @@ async def test_raw_response_malicious(self, async_client: AsyncCloudflare) -> No timeseries_group = await response.parse() assert_matches_type(TimeseriesGroupMaliciousResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_malicious(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.email.security.timeseries_groups.with_streaming_response.malicious() as response: @@ -674,11 +726,13 @@ async def test_streaming_response_malicious(self, async_client: AsyncCloudflare) assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_spam(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.email.security.timeseries_groups.spam() assert_matches_type(TimeseriesGroupSpamResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_spam_with_all_params(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.email.security.timeseries_groups.spam( @@ -704,6 +758,7 @@ async def test_method_spam_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(TimeseriesGroupSpamResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_spam(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.email.security.timeseries_groups.with_raw_response.spam() @@ -713,6 +768,7 @@ async def test_raw_response_spam(self, async_client: AsyncCloudflare) -> None: timeseries_group = await response.parse() assert_matches_type(TimeseriesGroupSpamResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_spam(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.email.security.timeseries_groups.with_streaming_response.spam() as response: @@ -724,11 +780,13 @@ async def test_streaming_response_spam(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_spf(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.email.security.timeseries_groups.spf() assert_matches_type(TimeseriesGroupSPFResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_spf_with_all_params(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.email.security.timeseries_groups.spf( @@ -753,6 +811,7 @@ async def test_method_spf_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(TimeseriesGroupSPFResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_spf(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.email.security.timeseries_groups.with_raw_response.spf() @@ -762,6 +821,7 @@ async def test_raw_response_spf(self, async_client: AsyncCloudflare) -> None: timeseries_group = await response.parse() assert_matches_type(TimeseriesGroupSPFResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_spf(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.email.security.timeseries_groups.with_streaming_response.spf() as response: @@ -773,11 +833,13 @@ async def test_streaming_response_spf(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_spoof(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.email.security.timeseries_groups.spoof() assert_matches_type(TimeseriesGroupSpoofResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_spoof_with_all_params(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.email.security.timeseries_groups.spoof( @@ -803,6 +865,7 @@ async def test_method_spoof_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(TimeseriesGroupSpoofResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_spoof(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.email.security.timeseries_groups.with_raw_response.spoof() @@ -812,6 +875,7 @@ async def test_raw_response_spoof(self, async_client: AsyncCloudflare) -> None: timeseries_group = await response.parse() assert_matches_type(TimeseriesGroupSpoofResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_spoof(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.email.security.timeseries_groups.with_streaming_response.spoof() as response: @@ -823,11 +887,13 @@ async def test_streaming_response_spoof(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_threat_category(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.email.security.timeseries_groups.threat_category() assert_matches_type(TimeseriesGroupThreatCategoryResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_threat_category_with_all_params(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.email.security.timeseries_groups.threat_category( @@ -853,6 +919,7 @@ async def test_method_threat_category_with_all_params(self, async_client: AsyncC ) assert_matches_type(TimeseriesGroupThreatCategoryResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_threat_category(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.email.security.timeseries_groups.with_raw_response.threat_category() @@ -862,6 +929,7 @@ async def test_raw_response_threat_category(self, async_client: AsyncCloudflare) timeseries_group = await response.parse() assert_matches_type(TimeseriesGroupThreatCategoryResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_threat_category(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.email.security.timeseries_groups.with_streaming_response.threat_category() as response: @@ -873,11 +941,13 @@ async def test_streaming_response_threat_category(self, async_client: AsyncCloud assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_tls_version(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.email.security.timeseries_groups.tls_version() assert_matches_type(TimeseriesGroupTLSVersionResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_tls_version_with_all_params(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.email.security.timeseries_groups.tls_version( @@ -902,6 +972,7 @@ async def test_method_tls_version_with_all_params(self, async_client: AsyncCloud ) assert_matches_type(TimeseriesGroupTLSVersionResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_tls_version(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.email.security.timeseries_groups.with_raw_response.tls_version() @@ -911,6 +982,7 @@ async def test_raw_response_tls_version(self, async_client: AsyncCloudflare) -> timeseries_group = await response.parse() assert_matches_type(TimeseriesGroupTLSVersionResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_tls_version(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.email.security.timeseries_groups.with_streaming_response.tls_version() as response: diff --git a/tests/api_resources/radar/email/security/top/test_tlds.py b/tests/api_resources/radar/email/security/top/test_tlds.py index f0307596a1a..218f134cedf 100644 --- a/tests/api_resources/radar/email/security/top/test_tlds.py +++ b/tests/api_resources/radar/email/security/top/test_tlds.py @@ -18,11 +18,13 @@ class TestTlds: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: tld = client.radar.email.security.top.tlds.get() assert_matches_type(TldGetResponse, tld, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: tld = client.radar.email.security.top.tlds.get( @@ -49,6 +51,7 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(TldGetResponse, tld, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.radar.email.security.top.tlds.with_raw_response.get() @@ -58,6 +61,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: tld = response.parse() assert_matches_type(TldGetResponse, tld, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.radar.email.security.top.tlds.with_streaming_response.get() as response: @@ -73,11 +77,13 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: class TestAsyncTlds: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: tld = await async_client.radar.email.security.top.tlds.get() assert_matches_type(TldGetResponse, tld, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: tld = await async_client.radar.email.security.top.tlds.get( @@ -104,6 +110,7 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(TldGetResponse, tld, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.email.security.top.tlds.with_raw_response.get() @@ -113,6 +120,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: tld = await response.parse() assert_matches_type(TldGetResponse, tld, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.email.security.top.tlds.with_streaming_response.get() as response: diff --git a/tests/api_resources/radar/email/security/top/tlds/test_malicious.py b/tests/api_resources/radar/email/security/top/tlds/test_malicious.py index 290d8768747..22bf1dfcb8f 100644 --- a/tests/api_resources/radar/email/security/top/tlds/test_malicious.py +++ b/tests/api_resources/radar/email/security/top/tlds/test_malicious.py @@ -18,6 +18,7 @@ class TestMalicious: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: malicious = client.radar.email.security.top.tlds.malicious.get( @@ -25,6 +26,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(MaliciousGetResponse, malicious, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: malicious = client.radar.email.security.top.tlds.malicious.get( @@ -52,6 +54,7 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(MaliciousGetResponse, malicious, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.radar.email.security.top.tlds.malicious.with_raw_response.get( @@ -63,6 +66,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: malicious = response.parse() assert_matches_type(MaliciousGetResponse, malicious, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.radar.email.security.top.tlds.malicious.with_streaming_response.get( @@ -80,6 +84,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: class TestAsyncMalicious: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: malicious = await async_client.radar.email.security.top.tlds.malicious.get( @@ -87,6 +92,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(MaliciousGetResponse, malicious, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: malicious = await async_client.radar.email.security.top.tlds.malicious.get( @@ -114,6 +120,7 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(MaliciousGetResponse, malicious, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.email.security.top.tlds.malicious.with_raw_response.get( @@ -125,6 +132,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: malicious = await response.parse() assert_matches_type(MaliciousGetResponse, malicious, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.email.security.top.tlds.malicious.with_streaming_response.get( diff --git a/tests/api_resources/radar/email/security/top/tlds/test_spam.py b/tests/api_resources/radar/email/security/top/tlds/test_spam.py index 4991fa622eb..62b1b969239 100644 --- a/tests/api_resources/radar/email/security/top/tlds/test_spam.py +++ b/tests/api_resources/radar/email/security/top/tlds/test_spam.py @@ -18,6 +18,7 @@ class TestSpam: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: spam = client.radar.email.security.top.tlds.spam.get( @@ -25,6 +26,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(SpamGetResponse, spam, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: spam = client.radar.email.security.top.tlds.spam.get( @@ -52,6 +54,7 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SpamGetResponse, spam, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.radar.email.security.top.tlds.spam.with_raw_response.get( @@ -63,6 +66,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: spam = response.parse() assert_matches_type(SpamGetResponse, spam, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.radar.email.security.top.tlds.spam.with_streaming_response.get( @@ -80,6 +84,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: class TestAsyncSpam: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: spam = await async_client.radar.email.security.top.tlds.spam.get( @@ -87,6 +92,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(SpamGetResponse, spam, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: spam = await async_client.radar.email.security.top.tlds.spam.get( @@ -114,6 +120,7 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(SpamGetResponse, spam, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.email.security.top.tlds.spam.with_raw_response.get( @@ -125,6 +132,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: spam = await response.parse() assert_matches_type(SpamGetResponse, spam, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.email.security.top.tlds.spam.with_streaming_response.get( diff --git a/tests/api_resources/radar/email/security/top/tlds/test_spoof.py b/tests/api_resources/radar/email/security/top/tlds/test_spoof.py index 3800432f585..185a4306397 100644 --- a/tests/api_resources/radar/email/security/top/tlds/test_spoof.py +++ b/tests/api_resources/radar/email/security/top/tlds/test_spoof.py @@ -18,6 +18,7 @@ class TestSpoof: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: spoof = client.radar.email.security.top.tlds.spoof.get( @@ -25,6 +26,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(SpoofGetResponse, spoof, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: spoof = client.radar.email.security.top.tlds.spoof.get( @@ -52,6 +54,7 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SpoofGetResponse, spoof, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.radar.email.security.top.tlds.spoof.with_raw_response.get( @@ -63,6 +66,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: spoof = response.parse() assert_matches_type(SpoofGetResponse, spoof, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.radar.email.security.top.tlds.spoof.with_streaming_response.get( @@ -80,6 +84,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: class TestAsyncSpoof: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: spoof = await async_client.radar.email.security.top.tlds.spoof.get( @@ -87,6 +92,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(SpoofGetResponse, spoof, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: spoof = await async_client.radar.email.security.top.tlds.spoof.get( @@ -114,6 +120,7 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(SpoofGetResponse, spoof, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.email.security.top.tlds.spoof.with_raw_response.get( @@ -125,6 +132,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: spoof = await response.parse() assert_matches_type(SpoofGetResponse, spoof, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.email.security.top.tlds.spoof.with_streaming_response.get( diff --git a/tests/api_resources/radar/entities/test_asns.py b/tests/api_resources/radar/entities/test_asns.py index 0a1ad904dc7..8273d3fc87e 100644 --- a/tests/api_resources/radar/entities/test_asns.py +++ b/tests/api_resources/radar/entities/test_asns.py @@ -22,11 +22,13 @@ class TestASNs: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: asn = client.radar.entities.asns.list() assert_matches_type(ASNListResponse, asn, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: asn = client.radar.entities.asns.list( @@ -39,6 +41,7 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(ASNListResponse, asn, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.radar.entities.asns.with_raw_response.list() @@ -48,6 +51,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: asn = response.parse() assert_matches_type(ASNListResponse, asn, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.radar.entities.asns.with_streaming_response.list() as response: @@ -59,6 +63,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: asn = client.radar.entities.asns.get( @@ -66,6 +71,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(ASNGetResponse, asn, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: asn = client.radar.entities.asns.get( @@ -74,6 +80,7 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(ASNGetResponse, asn, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.radar.entities.asns.with_raw_response.get( @@ -85,6 +92,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: asn = response.parse() assert_matches_type(ASNGetResponse, asn, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.radar.entities.asns.with_streaming_response.get( @@ -98,6 +106,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_ip(self, client: Cloudflare) -> None: asn = client.radar.entities.asns.ip( @@ -105,6 +114,7 @@ def test_method_ip(self, client: Cloudflare) -> None: ) assert_matches_type(ASNIPResponse, asn, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_ip_with_all_params(self, client: Cloudflare) -> None: asn = client.radar.entities.asns.ip( @@ -113,6 +123,7 @@ def test_method_ip_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(ASNIPResponse, asn, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_ip(self, client: Cloudflare) -> None: response = client.radar.entities.asns.with_raw_response.ip( @@ -124,6 +135,7 @@ def test_raw_response_ip(self, client: Cloudflare) -> None: asn = response.parse() assert_matches_type(ASNIPResponse, asn, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_ip(self, client: Cloudflare) -> None: with client.radar.entities.asns.with_streaming_response.ip( @@ -137,6 +149,7 @@ def test_streaming_response_ip(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_rel(self, client: Cloudflare) -> None: asn = client.radar.entities.asns.rel( @@ -144,6 +157,7 @@ def test_method_rel(self, client: Cloudflare) -> None: ) assert_matches_type(ASNRelResponse, asn, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_rel_with_all_params(self, client: Cloudflare) -> None: asn = client.radar.entities.asns.rel( @@ -153,6 +167,7 @@ def test_method_rel_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(ASNRelResponse, asn, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_rel(self, client: Cloudflare) -> None: response = client.radar.entities.asns.with_raw_response.rel( @@ -164,6 +179,7 @@ def test_raw_response_rel(self, client: Cloudflare) -> None: asn = response.parse() assert_matches_type(ASNRelResponse, asn, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_rel(self, client: Cloudflare) -> None: with client.radar.entities.asns.with_streaming_response.rel( @@ -181,11 +197,13 @@ def test_streaming_response_rel(self, client: Cloudflare) -> None: class TestAsyncASNs: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: asn = await async_client.radar.entities.asns.list() assert_matches_type(ASNListResponse, asn, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: asn = await async_client.radar.entities.asns.list( @@ -198,6 +216,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(ASNListResponse, asn, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.entities.asns.with_raw_response.list() @@ -207,6 +226,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: asn = await response.parse() assert_matches_type(ASNListResponse, asn, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.entities.asns.with_streaming_response.list() as response: @@ -218,6 +238,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: asn = await async_client.radar.entities.asns.get( @@ -225,6 +246,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(ASNGetResponse, asn, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: asn = await async_client.radar.entities.asns.get( @@ -233,6 +255,7 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(ASNGetResponse, asn, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.entities.asns.with_raw_response.get( @@ -244,6 +267,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: asn = await response.parse() assert_matches_type(ASNGetResponse, asn, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.entities.asns.with_streaming_response.get( @@ -257,6 +281,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_ip(self, async_client: AsyncCloudflare) -> None: asn = await async_client.radar.entities.asns.ip( @@ -264,6 +289,7 @@ async def test_method_ip(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(ASNIPResponse, asn, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_ip_with_all_params(self, async_client: AsyncCloudflare) -> None: asn = await async_client.radar.entities.asns.ip( @@ -272,6 +298,7 @@ async def test_method_ip_with_all_params(self, async_client: AsyncCloudflare) -> ) assert_matches_type(ASNIPResponse, asn, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_ip(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.entities.asns.with_raw_response.ip( @@ -283,6 +310,7 @@ async def test_raw_response_ip(self, async_client: AsyncCloudflare) -> None: asn = await response.parse() assert_matches_type(ASNIPResponse, asn, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_ip(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.entities.asns.with_streaming_response.ip( @@ -296,6 +324,7 @@ async def test_streaming_response_ip(self, async_client: AsyncCloudflare) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_rel(self, async_client: AsyncCloudflare) -> None: asn = await async_client.radar.entities.asns.rel( @@ -303,6 +332,7 @@ async def test_method_rel(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(ASNRelResponse, asn, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_rel_with_all_params(self, async_client: AsyncCloudflare) -> None: asn = await async_client.radar.entities.asns.rel( @@ -312,6 +342,7 @@ async def test_method_rel_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(ASNRelResponse, asn, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_rel(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.entities.asns.with_raw_response.rel( @@ -323,6 +354,7 @@ async def test_raw_response_rel(self, async_client: AsyncCloudflare) -> None: asn = await response.parse() assert_matches_type(ASNRelResponse, asn, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_rel(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.entities.asns.with_streaming_response.rel( diff --git a/tests/api_resources/radar/entities/test_locations.py b/tests/api_resources/radar/entities/test_locations.py index 6cb88295e26..59e8a6ff915 100644 --- a/tests/api_resources/radar/entities/test_locations.py +++ b/tests/api_resources/radar/entities/test_locations.py @@ -20,11 +20,13 @@ class TestLocations: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: location = client.radar.entities.locations.list() assert_matches_type(LocationListResponse, location, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: location = client.radar.entities.locations.list( @@ -35,6 +37,7 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(LocationListResponse, location, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.radar.entities.locations.with_raw_response.list() @@ -44,6 +47,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: location = response.parse() assert_matches_type(LocationListResponse, location, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.radar.entities.locations.with_streaming_response.list() as response: @@ -55,6 +59,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: location = client.radar.entities.locations.get( @@ -62,6 +67,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(LocationGetResponse, location, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: location = client.radar.entities.locations.get( @@ -70,6 +76,7 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(LocationGetResponse, location, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.radar.entities.locations.with_raw_response.get( @@ -81,6 +88,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: location = response.parse() assert_matches_type(LocationGetResponse, location, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.radar.entities.locations.with_streaming_response.get( @@ -94,6 +102,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `location` but received ''"): @@ -105,11 +114,13 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncLocations: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: location = await async_client.radar.entities.locations.list() assert_matches_type(LocationListResponse, location, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: location = await async_client.radar.entities.locations.list( @@ -120,6 +131,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(LocationListResponse, location, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.entities.locations.with_raw_response.list() @@ -129,6 +141,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: location = await response.parse() assert_matches_type(LocationListResponse, location, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.entities.locations.with_streaming_response.list() as response: @@ -140,6 +153,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: location = await async_client.radar.entities.locations.get( @@ -147,6 +161,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(LocationGetResponse, location, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: location = await async_client.radar.entities.locations.get( @@ -155,6 +170,7 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(LocationGetResponse, location, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.entities.locations.with_raw_response.get( @@ -166,6 +182,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: location = await response.parse() assert_matches_type(LocationGetResponse, location, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.entities.locations.with_streaming_response.get( @@ -179,6 +196,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `location` but received ''"): diff --git a/tests/api_resources/radar/http/ases/test_bot_class.py b/tests/api_resources/radar/http/ases/test_bot_class.py index c1196859b45..177775b9dc4 100644 --- a/tests/api_resources/radar/http/ases/test_bot_class.py +++ b/tests/api_resources/radar/http/ases/test_bot_class.py @@ -18,6 +18,7 @@ class TestBotClass: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: bot_class = client.radar.http.ases.bot_class.get( @@ -25,6 +26,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(BotClassGetResponse, bot_class, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: bot_class = client.radar.http.ases.bot_class.get( @@ -55,6 +57,7 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(BotClassGetResponse, bot_class, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.radar.http.ases.bot_class.with_raw_response.get( @@ -66,6 +69,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: bot_class = response.parse() assert_matches_type(BotClassGetResponse, bot_class, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.radar.http.ases.bot_class.with_streaming_response.get( @@ -83,6 +87,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: class TestAsyncBotClass: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: bot_class = await async_client.radar.http.ases.bot_class.get( @@ -90,6 +95,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(BotClassGetResponse, bot_class, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: bot_class = await async_client.radar.http.ases.bot_class.get( @@ -120,6 +126,7 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(BotClassGetResponse, bot_class, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.http.ases.bot_class.with_raw_response.get( @@ -131,6 +138,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: bot_class = await response.parse() assert_matches_type(BotClassGetResponse, bot_class, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.http.ases.bot_class.with_streaming_response.get( diff --git a/tests/api_resources/radar/http/ases/test_device_type.py b/tests/api_resources/radar/http/ases/test_device_type.py index cbf61936f48..15dde782973 100644 --- a/tests/api_resources/radar/http/ases/test_device_type.py +++ b/tests/api_resources/radar/http/ases/test_device_type.py @@ -18,6 +18,7 @@ class TestDeviceType: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: device_type = client.radar.http.ases.device_type.get( @@ -25,6 +26,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(DeviceTypeGetResponse, device_type, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: device_type = client.radar.http.ases.device_type.get( @@ -55,6 +57,7 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(DeviceTypeGetResponse, device_type, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.radar.http.ases.device_type.with_raw_response.get( @@ -66,6 +69,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: device_type = response.parse() assert_matches_type(DeviceTypeGetResponse, device_type, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.radar.http.ases.device_type.with_streaming_response.get( @@ -83,6 +87,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: class TestAsyncDeviceType: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: device_type = await async_client.radar.http.ases.device_type.get( @@ -90,6 +95,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(DeviceTypeGetResponse, device_type, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: device_type = await async_client.radar.http.ases.device_type.get( @@ -120,6 +126,7 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(DeviceTypeGetResponse, device_type, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.http.ases.device_type.with_raw_response.get( @@ -131,6 +138,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: device_type = await response.parse() assert_matches_type(DeviceTypeGetResponse, device_type, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.http.ases.device_type.with_streaming_response.get( diff --git a/tests/api_resources/radar/http/ases/test_http_method.py b/tests/api_resources/radar/http/ases/test_http_method.py index e791bb09aa4..4ad2abaf200 100644 --- a/tests/api_resources/radar/http/ases/test_http_method.py +++ b/tests/api_resources/radar/http/ases/test_http_method.py @@ -18,6 +18,7 @@ class TestHTTPMethod: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: http_method = client.radar.http.ases.http_method.get( @@ -25,6 +26,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(HTTPMethodGetResponse, http_method, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: http_method = client.radar.http.ases.http_method.get( @@ -55,6 +57,7 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(HTTPMethodGetResponse, http_method, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.radar.http.ases.http_method.with_raw_response.get( @@ -66,6 +69,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: http_method = response.parse() assert_matches_type(HTTPMethodGetResponse, http_method, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.radar.http.ases.http_method.with_streaming_response.get( @@ -83,6 +87,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: class TestAsyncHTTPMethod: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: http_method = await async_client.radar.http.ases.http_method.get( @@ -90,6 +95,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(HTTPMethodGetResponse, http_method, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: http_method = await async_client.radar.http.ases.http_method.get( @@ -120,6 +126,7 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(HTTPMethodGetResponse, http_method, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.http.ases.http_method.with_raw_response.get( @@ -131,6 +138,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: http_method = await response.parse() assert_matches_type(HTTPMethodGetResponse, http_method, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.http.ases.http_method.with_streaming_response.get( diff --git a/tests/api_resources/radar/http/ases/test_http_protocol.py b/tests/api_resources/radar/http/ases/test_http_protocol.py index 37266961af0..91b9272418a 100644 --- a/tests/api_resources/radar/http/ases/test_http_protocol.py +++ b/tests/api_resources/radar/http/ases/test_http_protocol.py @@ -18,6 +18,7 @@ class TestHTTPProtocol: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: http_protocol = client.radar.http.ases.http_protocol.get( @@ -25,6 +26,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(HTTPProtocolGetResponse, http_protocol, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: http_protocol = client.radar.http.ases.http_protocol.get( @@ -54,6 +56,7 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(HTTPProtocolGetResponse, http_protocol, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.radar.http.ases.http_protocol.with_raw_response.get( @@ -65,6 +68,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: http_protocol = response.parse() assert_matches_type(HTTPProtocolGetResponse, http_protocol, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.radar.http.ases.http_protocol.with_streaming_response.get( @@ -82,6 +86,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: class TestAsyncHTTPProtocol: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: http_protocol = await async_client.radar.http.ases.http_protocol.get( @@ -89,6 +94,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(HTTPProtocolGetResponse, http_protocol, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: http_protocol = await async_client.radar.http.ases.http_protocol.get( @@ -118,6 +124,7 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(HTTPProtocolGetResponse, http_protocol, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.http.ases.http_protocol.with_raw_response.get( @@ -129,6 +136,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: http_protocol = await response.parse() assert_matches_type(HTTPProtocolGetResponse, http_protocol, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.http.ases.http_protocol.with_streaming_response.get( diff --git a/tests/api_resources/radar/http/ases/test_ip_version.py b/tests/api_resources/radar/http/ases/test_ip_version.py index c69d7d39017..6926a2d80a9 100644 --- a/tests/api_resources/radar/http/ases/test_ip_version.py +++ b/tests/api_resources/radar/http/ases/test_ip_version.py @@ -18,6 +18,7 @@ class TestIPVersion: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: ip_version = client.radar.http.ases.ip_version.get( @@ -25,6 +26,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(IPVersionGetResponse, ip_version, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: ip_version = client.radar.http.ases.ip_version.get( @@ -55,6 +57,7 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(IPVersionGetResponse, ip_version, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.radar.http.ases.ip_version.with_raw_response.get( @@ -66,6 +69,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: ip_version = response.parse() assert_matches_type(IPVersionGetResponse, ip_version, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.radar.http.ases.ip_version.with_streaming_response.get( @@ -83,6 +87,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: class TestAsyncIPVersion: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: ip_version = await async_client.radar.http.ases.ip_version.get( @@ -90,6 +95,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(IPVersionGetResponse, ip_version, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: ip_version = await async_client.radar.http.ases.ip_version.get( @@ -120,6 +126,7 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(IPVersionGetResponse, ip_version, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.http.ases.ip_version.with_raw_response.get( @@ -131,6 +138,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: ip_version = await response.parse() assert_matches_type(IPVersionGetResponse, ip_version, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.http.ases.ip_version.with_streaming_response.get( diff --git a/tests/api_resources/radar/http/ases/test_os.py b/tests/api_resources/radar/http/ases/test_os.py index a197d163aea..aee0b72ed62 100644 --- a/tests/api_resources/radar/http/ases/test_os.py +++ b/tests/api_resources/radar/http/ases/test_os.py @@ -18,6 +18,7 @@ class TestOS: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: os = client.radar.http.ases.os.get( @@ -25,6 +26,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(OSGetResponse, os, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: os = client.radar.http.ases.os.get( @@ -55,6 +57,7 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(OSGetResponse, os, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.radar.http.ases.os.with_raw_response.get( @@ -66,6 +69,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: os = response.parse() assert_matches_type(OSGetResponse, os, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.radar.http.ases.os.with_streaming_response.get( @@ -83,6 +87,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: class TestAsyncOS: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: os = await async_client.radar.http.ases.os.get( @@ -90,6 +95,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(OSGetResponse, os, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: os = await async_client.radar.http.ases.os.get( @@ -120,6 +126,7 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(OSGetResponse, os, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.http.ases.os.with_raw_response.get( @@ -131,6 +138,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: os = await response.parse() assert_matches_type(OSGetResponse, os, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.http.ases.os.with_streaming_response.get( diff --git a/tests/api_resources/radar/http/ases/test_tls_version.py b/tests/api_resources/radar/http/ases/test_tls_version.py index b785844f314..1d6e229862d 100644 --- a/tests/api_resources/radar/http/ases/test_tls_version.py +++ b/tests/api_resources/radar/http/ases/test_tls_version.py @@ -18,6 +18,7 @@ class TestTLSVersion: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: tls_version = client.radar.http.ases.tls_version.get( @@ -25,6 +26,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(TLSVersionGetResponse, tls_version, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: tls_version = client.radar.http.ases.tls_version.get( @@ -55,6 +57,7 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(TLSVersionGetResponse, tls_version, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.radar.http.ases.tls_version.with_raw_response.get( @@ -66,6 +69,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: tls_version = response.parse() assert_matches_type(TLSVersionGetResponse, tls_version, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.radar.http.ases.tls_version.with_streaming_response.get( @@ -83,6 +87,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: class TestAsyncTLSVersion: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: tls_version = await async_client.radar.http.ases.tls_version.get( @@ -90,6 +95,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(TLSVersionGetResponse, tls_version, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: tls_version = await async_client.radar.http.ases.tls_version.get( @@ -120,6 +126,7 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(TLSVersionGetResponse, tls_version, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.http.ases.tls_version.with_raw_response.get( @@ -131,6 +138,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: tls_version = await response.parse() assert_matches_type(TLSVersionGetResponse, tls_version, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.http.ases.tls_version.with_streaming_response.get( diff --git a/tests/api_resources/radar/http/locations/test_bot_class.py b/tests/api_resources/radar/http/locations/test_bot_class.py index 064a76b14c5..2494f445a5b 100644 --- a/tests/api_resources/radar/http/locations/test_bot_class.py +++ b/tests/api_resources/radar/http/locations/test_bot_class.py @@ -18,6 +18,7 @@ class TestBotClass: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: bot_class = client.radar.http.locations.bot_class.get( @@ -25,6 +26,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(BotClassGetResponse, bot_class, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: bot_class = client.radar.http.locations.bot_class.get( @@ -55,6 +57,7 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(BotClassGetResponse, bot_class, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.radar.http.locations.bot_class.with_raw_response.get( @@ -66,6 +69,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: bot_class = response.parse() assert_matches_type(BotClassGetResponse, bot_class, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.radar.http.locations.bot_class.with_streaming_response.get( @@ -83,6 +87,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: class TestAsyncBotClass: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: bot_class = await async_client.radar.http.locations.bot_class.get( @@ -90,6 +95,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(BotClassGetResponse, bot_class, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: bot_class = await async_client.radar.http.locations.bot_class.get( @@ -120,6 +126,7 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(BotClassGetResponse, bot_class, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.http.locations.bot_class.with_raw_response.get( @@ -131,6 +138,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: bot_class = await response.parse() assert_matches_type(BotClassGetResponse, bot_class, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.http.locations.bot_class.with_streaming_response.get( diff --git a/tests/api_resources/radar/http/locations/test_device_type.py b/tests/api_resources/radar/http/locations/test_device_type.py index 1fa468dd59c..30431de0cd8 100644 --- a/tests/api_resources/radar/http/locations/test_device_type.py +++ b/tests/api_resources/radar/http/locations/test_device_type.py @@ -18,6 +18,7 @@ class TestDeviceType: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: device_type = client.radar.http.locations.device_type.get( @@ -25,6 +26,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(DeviceTypeGetResponse, device_type, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: device_type = client.radar.http.locations.device_type.get( @@ -55,6 +57,7 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(DeviceTypeGetResponse, device_type, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.radar.http.locations.device_type.with_raw_response.get( @@ -66,6 +69,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: device_type = response.parse() assert_matches_type(DeviceTypeGetResponse, device_type, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.radar.http.locations.device_type.with_streaming_response.get( @@ -83,6 +87,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: class TestAsyncDeviceType: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: device_type = await async_client.radar.http.locations.device_type.get( @@ -90,6 +95,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(DeviceTypeGetResponse, device_type, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: device_type = await async_client.radar.http.locations.device_type.get( @@ -120,6 +126,7 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(DeviceTypeGetResponse, device_type, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.http.locations.device_type.with_raw_response.get( @@ -131,6 +138,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: device_type = await response.parse() assert_matches_type(DeviceTypeGetResponse, device_type, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.http.locations.device_type.with_streaming_response.get( diff --git a/tests/api_resources/radar/http/locations/test_http_method.py b/tests/api_resources/radar/http/locations/test_http_method.py index 972e82a1e61..6a78bd7867a 100644 --- a/tests/api_resources/radar/http/locations/test_http_method.py +++ b/tests/api_resources/radar/http/locations/test_http_method.py @@ -18,6 +18,7 @@ class TestHTTPMethod: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: http_method = client.radar.http.locations.http_method.get( @@ -25,6 +26,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(HTTPMethodGetResponse, http_method, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: http_method = client.radar.http.locations.http_method.get( @@ -55,6 +57,7 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(HTTPMethodGetResponse, http_method, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.radar.http.locations.http_method.with_raw_response.get( @@ -66,6 +69,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: http_method = response.parse() assert_matches_type(HTTPMethodGetResponse, http_method, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.radar.http.locations.http_method.with_streaming_response.get( @@ -83,6 +87,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: class TestAsyncHTTPMethod: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: http_method = await async_client.radar.http.locations.http_method.get( @@ -90,6 +95,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(HTTPMethodGetResponse, http_method, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: http_method = await async_client.radar.http.locations.http_method.get( @@ -120,6 +126,7 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(HTTPMethodGetResponse, http_method, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.http.locations.http_method.with_raw_response.get( @@ -131,6 +138,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: http_method = await response.parse() assert_matches_type(HTTPMethodGetResponse, http_method, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.http.locations.http_method.with_streaming_response.get( diff --git a/tests/api_resources/radar/http/locations/test_http_protocol.py b/tests/api_resources/radar/http/locations/test_http_protocol.py index 944a356a577..6dbb5bf0b0a 100644 --- a/tests/api_resources/radar/http/locations/test_http_protocol.py +++ b/tests/api_resources/radar/http/locations/test_http_protocol.py @@ -18,6 +18,7 @@ class TestHTTPProtocol: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: http_protocol = client.radar.http.locations.http_protocol.get( @@ -25,6 +26,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(HTTPProtocolGetResponse, http_protocol, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: http_protocol = client.radar.http.locations.http_protocol.get( @@ -54,6 +56,7 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(HTTPProtocolGetResponse, http_protocol, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.radar.http.locations.http_protocol.with_raw_response.get( @@ -65,6 +68,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: http_protocol = response.parse() assert_matches_type(HTTPProtocolGetResponse, http_protocol, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.radar.http.locations.http_protocol.with_streaming_response.get( @@ -82,6 +86,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: class TestAsyncHTTPProtocol: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: http_protocol = await async_client.radar.http.locations.http_protocol.get( @@ -89,6 +94,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(HTTPProtocolGetResponse, http_protocol, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: http_protocol = await async_client.radar.http.locations.http_protocol.get( @@ -118,6 +124,7 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(HTTPProtocolGetResponse, http_protocol, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.http.locations.http_protocol.with_raw_response.get( @@ -129,6 +136,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: http_protocol = await response.parse() assert_matches_type(HTTPProtocolGetResponse, http_protocol, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.http.locations.http_protocol.with_streaming_response.get( diff --git a/tests/api_resources/radar/http/locations/test_ip_version.py b/tests/api_resources/radar/http/locations/test_ip_version.py index f26711c76c0..0a01d8af6df 100644 --- a/tests/api_resources/radar/http/locations/test_ip_version.py +++ b/tests/api_resources/radar/http/locations/test_ip_version.py @@ -18,6 +18,7 @@ class TestIPVersion: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: ip_version = client.radar.http.locations.ip_version.get( @@ -25,6 +26,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(IPVersionGetResponse, ip_version, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: ip_version = client.radar.http.locations.ip_version.get( @@ -55,6 +57,7 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(IPVersionGetResponse, ip_version, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.radar.http.locations.ip_version.with_raw_response.get( @@ -66,6 +69,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: ip_version = response.parse() assert_matches_type(IPVersionGetResponse, ip_version, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.radar.http.locations.ip_version.with_streaming_response.get( @@ -83,6 +87,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: class TestAsyncIPVersion: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: ip_version = await async_client.radar.http.locations.ip_version.get( @@ -90,6 +95,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(IPVersionGetResponse, ip_version, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: ip_version = await async_client.radar.http.locations.ip_version.get( @@ -120,6 +126,7 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(IPVersionGetResponse, ip_version, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.http.locations.ip_version.with_raw_response.get( @@ -131,6 +138,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: ip_version = await response.parse() assert_matches_type(IPVersionGetResponse, ip_version, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.http.locations.ip_version.with_streaming_response.get( diff --git a/tests/api_resources/radar/http/locations/test_os.py b/tests/api_resources/radar/http/locations/test_os.py index a72186e7703..a2975b8b9a3 100644 --- a/tests/api_resources/radar/http/locations/test_os.py +++ b/tests/api_resources/radar/http/locations/test_os.py @@ -18,6 +18,7 @@ class TestOS: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: os = client.radar.http.locations.os.get( @@ -25,6 +26,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(OSGetResponse, os, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: os = client.radar.http.locations.os.get( @@ -55,6 +57,7 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(OSGetResponse, os, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.radar.http.locations.os.with_raw_response.get( @@ -66,6 +69,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: os = response.parse() assert_matches_type(OSGetResponse, os, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.radar.http.locations.os.with_streaming_response.get( @@ -83,6 +87,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: class TestAsyncOS: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: os = await async_client.radar.http.locations.os.get( @@ -90,6 +95,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(OSGetResponse, os, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: os = await async_client.radar.http.locations.os.get( @@ -120,6 +126,7 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(OSGetResponse, os, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.http.locations.os.with_raw_response.get( @@ -131,6 +138,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: os = await response.parse() assert_matches_type(OSGetResponse, os, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.http.locations.os.with_streaming_response.get( diff --git a/tests/api_resources/radar/http/locations/test_tls_version.py b/tests/api_resources/radar/http/locations/test_tls_version.py index 0be78706192..e504f1110c1 100644 --- a/tests/api_resources/radar/http/locations/test_tls_version.py +++ b/tests/api_resources/radar/http/locations/test_tls_version.py @@ -18,6 +18,7 @@ class TestTLSVersion: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: tls_version = client.radar.http.locations.tls_version.get( @@ -25,6 +26,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(TLSVersionGetResponse, tls_version, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: tls_version = client.radar.http.locations.tls_version.get( @@ -55,6 +57,7 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(TLSVersionGetResponse, tls_version, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.radar.http.locations.tls_version.with_raw_response.get( @@ -66,6 +69,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: tls_version = response.parse() assert_matches_type(TLSVersionGetResponse, tls_version, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.radar.http.locations.tls_version.with_streaming_response.get( @@ -83,6 +87,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: class TestAsyncTLSVersion: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: tls_version = await async_client.radar.http.locations.tls_version.get( @@ -90,6 +95,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(TLSVersionGetResponse, tls_version, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: tls_version = await async_client.radar.http.locations.tls_version.get( @@ -120,6 +126,7 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(TLSVersionGetResponse, tls_version, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.http.locations.tls_version.with_raw_response.get( @@ -131,6 +138,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: tls_version = await response.parse() assert_matches_type(TLSVersionGetResponse, tls_version, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.http.locations.tls_version.with_streaming_response.get( diff --git a/tests/api_resources/radar/http/test_ases.py b/tests/api_resources/radar/http/test_ases.py index 8e22658cac3..650376b1d3d 100644 --- a/tests/api_resources/radar/http/test_ases.py +++ b/tests/api_resources/radar/http/test_ases.py @@ -18,11 +18,13 @@ class TestAses: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: ase = client.radar.http.ases.get() assert_matches_type(AseGetResponse, ase, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: ase = client.radar.http.ases.get( @@ -53,6 +55,7 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(AseGetResponse, ase, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.radar.http.ases.with_raw_response.get() @@ -62,6 +65,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: ase = response.parse() assert_matches_type(AseGetResponse, ase, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.radar.http.ases.with_streaming_response.get() as response: @@ -77,11 +81,13 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: class TestAsyncAses: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: ase = await async_client.radar.http.ases.get() assert_matches_type(AseGetResponse, ase, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: ase = await async_client.radar.http.ases.get( @@ -112,6 +118,7 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(AseGetResponse, ase, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.http.ases.with_raw_response.get() @@ -121,6 +128,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: ase = await response.parse() assert_matches_type(AseGetResponse, ase, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.http.ases.with_streaming_response.get() as response: diff --git a/tests/api_resources/radar/http/test_locations.py b/tests/api_resources/radar/http/test_locations.py index 7f992255f7c..f0dd6fbeaa7 100644 --- a/tests/api_resources/radar/http/test_locations.py +++ b/tests/api_resources/radar/http/test_locations.py @@ -18,11 +18,13 @@ class TestLocations: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: location = client.radar.http.locations.get() assert_matches_type(LocationGetResponse, location, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: location = client.radar.http.locations.get( @@ -53,6 +55,7 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(LocationGetResponse, location, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.radar.http.locations.with_raw_response.get() @@ -62,6 +65,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: location = response.parse() assert_matches_type(LocationGetResponse, location, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.radar.http.locations.with_streaming_response.get() as response: @@ -77,11 +81,13 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: class TestAsyncLocations: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: location = await async_client.radar.http.locations.get() assert_matches_type(LocationGetResponse, location, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: location = await async_client.radar.http.locations.get( @@ -112,6 +118,7 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(LocationGetResponse, location, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.http.locations.with_raw_response.get() @@ -121,6 +128,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: location = await response.parse() assert_matches_type(LocationGetResponse, location, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.http.locations.with_streaming_response.get() as response: diff --git a/tests/api_resources/radar/http/test_summary.py b/tests/api_resources/radar/http/test_summary.py index 95bce001b6f..3b06744b0a9 100644 --- a/tests/api_resources/radar/http/test_summary.py +++ b/tests/api_resources/radar/http/test_summary.py @@ -26,11 +26,13 @@ class TestSummary: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_bot_class(self, client: Cloudflare) -> None: summary = client.radar.http.summary.bot_class() assert_matches_type(SummaryBotClassResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_bot_class_with_all_params(self, client: Cloudflare) -> None: summary = client.radar.http.summary.bot_class( @@ -59,6 +61,7 @@ def test_method_bot_class_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SummaryBotClassResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_bot_class(self, client: Cloudflare) -> None: response = client.radar.http.summary.with_raw_response.bot_class() @@ -68,6 +71,7 @@ def test_raw_response_bot_class(self, client: Cloudflare) -> None: summary = response.parse() assert_matches_type(SummaryBotClassResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_bot_class(self, client: Cloudflare) -> None: with client.radar.http.summary.with_streaming_response.bot_class() as response: @@ -79,11 +83,13 @@ def test_streaming_response_bot_class(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_device_type(self, client: Cloudflare) -> None: summary = client.radar.http.summary.device_type() assert_matches_type(SummaryDeviceTypeResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_device_type_with_all_params(self, client: Cloudflare) -> None: summary = client.radar.http.summary.device_type( @@ -112,6 +118,7 @@ def test_method_device_type_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SummaryDeviceTypeResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_device_type(self, client: Cloudflare) -> None: response = client.radar.http.summary.with_raw_response.device_type() @@ -121,6 +128,7 @@ def test_raw_response_device_type(self, client: Cloudflare) -> None: summary = response.parse() assert_matches_type(SummaryDeviceTypeResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_device_type(self, client: Cloudflare) -> None: with client.radar.http.summary.with_streaming_response.device_type() as response: @@ -132,11 +140,13 @@ def test_streaming_response_device_type(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_http_protocol(self, client: Cloudflare) -> None: summary = client.radar.http.summary.http_protocol() assert_matches_type(SummaryHTTPProtocolResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_http_protocol_with_all_params(self, client: Cloudflare) -> None: summary = client.radar.http.summary.http_protocol( @@ -165,6 +175,7 @@ def test_method_http_protocol_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SummaryHTTPProtocolResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_http_protocol(self, client: Cloudflare) -> None: response = client.radar.http.summary.with_raw_response.http_protocol() @@ -174,6 +185,7 @@ def test_raw_response_http_protocol(self, client: Cloudflare) -> None: summary = response.parse() assert_matches_type(SummaryHTTPProtocolResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_http_protocol(self, client: Cloudflare) -> None: with client.radar.http.summary.with_streaming_response.http_protocol() as response: @@ -185,11 +197,13 @@ def test_streaming_response_http_protocol(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_http_version(self, client: Cloudflare) -> None: summary = client.radar.http.summary.http_version() assert_matches_type(SummaryHTTPVersionResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_http_version_with_all_params(self, client: Cloudflare) -> None: summary = client.radar.http.summary.http_version( @@ -218,6 +232,7 @@ def test_method_http_version_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SummaryHTTPVersionResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_http_version(self, client: Cloudflare) -> None: response = client.radar.http.summary.with_raw_response.http_version() @@ -227,6 +242,7 @@ def test_raw_response_http_version(self, client: Cloudflare) -> None: summary = response.parse() assert_matches_type(SummaryHTTPVersionResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_http_version(self, client: Cloudflare) -> None: with client.radar.http.summary.with_streaming_response.http_version() as response: @@ -238,11 +254,13 @@ def test_streaming_response_http_version(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_ip_version(self, client: Cloudflare) -> None: summary = client.radar.http.summary.ip_version() assert_matches_type(SummaryIPVersionResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_ip_version_with_all_params(self, client: Cloudflare) -> None: summary = client.radar.http.summary.ip_version( @@ -271,6 +289,7 @@ def test_method_ip_version_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SummaryIPVersionResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_ip_version(self, client: Cloudflare) -> None: response = client.radar.http.summary.with_raw_response.ip_version() @@ -280,6 +299,7 @@ def test_raw_response_ip_version(self, client: Cloudflare) -> None: summary = response.parse() assert_matches_type(SummaryIPVersionResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_ip_version(self, client: Cloudflare) -> None: with client.radar.http.summary.with_streaming_response.ip_version() as response: @@ -291,11 +311,13 @@ def test_streaming_response_ip_version(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_os(self, client: Cloudflare) -> None: summary = client.radar.http.summary.os() assert_matches_type(SummaryOSResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_os_with_all_params(self, client: Cloudflare) -> None: summary = client.radar.http.summary.os( @@ -324,6 +346,7 @@ def test_method_os_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SummaryOSResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_os(self, client: Cloudflare) -> None: response = client.radar.http.summary.with_raw_response.os() @@ -333,6 +356,7 @@ def test_raw_response_os(self, client: Cloudflare) -> None: summary = response.parse() assert_matches_type(SummaryOSResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_os(self, client: Cloudflare) -> None: with client.radar.http.summary.with_streaming_response.os() as response: @@ -344,11 +368,13 @@ def test_streaming_response_os(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_tls_version(self, client: Cloudflare) -> None: summary = client.radar.http.summary.tls_version() assert_matches_type(SummaryTLSVersionResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_tls_version_with_all_params(self, client: Cloudflare) -> None: summary = client.radar.http.summary.tls_version( @@ -377,6 +403,7 @@ def test_method_tls_version_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SummaryTLSVersionResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_tls_version(self, client: Cloudflare) -> None: response = client.radar.http.summary.with_raw_response.tls_version() @@ -386,6 +413,7 @@ def test_raw_response_tls_version(self, client: Cloudflare) -> None: summary = response.parse() assert_matches_type(SummaryTLSVersionResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_tls_version(self, client: Cloudflare) -> None: with client.radar.http.summary.with_streaming_response.tls_version() as response: @@ -401,11 +429,13 @@ def test_streaming_response_tls_version(self, client: Cloudflare) -> None: class TestAsyncSummary: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_bot_class(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.http.summary.bot_class() assert_matches_type(SummaryBotClassResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_bot_class_with_all_params(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.http.summary.bot_class( @@ -434,6 +464,7 @@ async def test_method_bot_class_with_all_params(self, async_client: AsyncCloudfl ) assert_matches_type(SummaryBotClassResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_bot_class(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.http.summary.with_raw_response.bot_class() @@ -443,6 +474,7 @@ async def test_raw_response_bot_class(self, async_client: AsyncCloudflare) -> No summary = await response.parse() assert_matches_type(SummaryBotClassResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_bot_class(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.http.summary.with_streaming_response.bot_class() as response: @@ -454,11 +486,13 @@ async def test_streaming_response_bot_class(self, async_client: AsyncCloudflare) assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_device_type(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.http.summary.device_type() assert_matches_type(SummaryDeviceTypeResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_device_type_with_all_params(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.http.summary.device_type( @@ -487,6 +521,7 @@ async def test_method_device_type_with_all_params(self, async_client: AsyncCloud ) assert_matches_type(SummaryDeviceTypeResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_device_type(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.http.summary.with_raw_response.device_type() @@ -496,6 +531,7 @@ async def test_raw_response_device_type(self, async_client: AsyncCloudflare) -> summary = await response.parse() assert_matches_type(SummaryDeviceTypeResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_device_type(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.http.summary.with_streaming_response.device_type() as response: @@ -507,11 +543,13 @@ async def test_streaming_response_device_type(self, async_client: AsyncCloudflar assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_http_protocol(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.http.summary.http_protocol() assert_matches_type(SummaryHTTPProtocolResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_http_protocol_with_all_params(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.http.summary.http_protocol( @@ -540,6 +578,7 @@ async def test_method_http_protocol_with_all_params(self, async_client: AsyncClo ) assert_matches_type(SummaryHTTPProtocolResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_http_protocol(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.http.summary.with_raw_response.http_protocol() @@ -549,6 +588,7 @@ async def test_raw_response_http_protocol(self, async_client: AsyncCloudflare) - summary = await response.parse() assert_matches_type(SummaryHTTPProtocolResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_http_protocol(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.http.summary.with_streaming_response.http_protocol() as response: @@ -560,11 +600,13 @@ async def test_streaming_response_http_protocol(self, async_client: AsyncCloudfl assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_http_version(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.http.summary.http_version() assert_matches_type(SummaryHTTPVersionResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_http_version_with_all_params(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.http.summary.http_version( @@ -593,6 +635,7 @@ async def test_method_http_version_with_all_params(self, async_client: AsyncClou ) assert_matches_type(SummaryHTTPVersionResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_http_version(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.http.summary.with_raw_response.http_version() @@ -602,6 +645,7 @@ async def test_raw_response_http_version(self, async_client: AsyncCloudflare) -> summary = await response.parse() assert_matches_type(SummaryHTTPVersionResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_http_version(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.http.summary.with_streaming_response.http_version() as response: @@ -613,11 +657,13 @@ async def test_streaming_response_http_version(self, async_client: AsyncCloudfla assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_ip_version(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.http.summary.ip_version() assert_matches_type(SummaryIPVersionResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_ip_version_with_all_params(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.http.summary.ip_version( @@ -646,6 +692,7 @@ async def test_method_ip_version_with_all_params(self, async_client: AsyncCloudf ) assert_matches_type(SummaryIPVersionResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_ip_version(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.http.summary.with_raw_response.ip_version() @@ -655,6 +702,7 @@ async def test_raw_response_ip_version(self, async_client: AsyncCloudflare) -> N summary = await response.parse() assert_matches_type(SummaryIPVersionResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_ip_version(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.http.summary.with_streaming_response.ip_version() as response: @@ -666,11 +714,13 @@ async def test_streaming_response_ip_version(self, async_client: AsyncCloudflare assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_os(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.http.summary.os() assert_matches_type(SummaryOSResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_os_with_all_params(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.http.summary.os( @@ -699,6 +749,7 @@ async def test_method_os_with_all_params(self, async_client: AsyncCloudflare) -> ) assert_matches_type(SummaryOSResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_os(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.http.summary.with_raw_response.os() @@ -708,6 +759,7 @@ async def test_raw_response_os(self, async_client: AsyncCloudflare) -> None: summary = await response.parse() assert_matches_type(SummaryOSResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_os(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.http.summary.with_streaming_response.os() as response: @@ -719,11 +771,13 @@ async def test_streaming_response_os(self, async_client: AsyncCloudflare) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_tls_version(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.http.summary.tls_version() assert_matches_type(SummaryTLSVersionResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_tls_version_with_all_params(self, async_client: AsyncCloudflare) -> None: summary = await async_client.radar.http.summary.tls_version( @@ -752,6 +806,7 @@ async def test_method_tls_version_with_all_params(self, async_client: AsyncCloud ) assert_matches_type(SummaryTLSVersionResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_tls_version(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.http.summary.with_raw_response.tls_version() @@ -761,6 +816,7 @@ async def test_raw_response_tls_version(self, async_client: AsyncCloudflare) -> summary = await response.parse() assert_matches_type(SummaryTLSVersionResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_tls_version(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.http.summary.with_streaming_response.tls_version() as response: diff --git a/tests/api_resources/radar/http/test_timeseries_groups.py b/tests/api_resources/radar/http/test_timeseries_groups.py index bc8e856458b..cb362d3ff23 100644 --- a/tests/api_resources/radar/http/test_timeseries_groups.py +++ b/tests/api_resources/radar/http/test_timeseries_groups.py @@ -28,11 +28,13 @@ class TestTimeseriesGroups: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_bot_class(self, client: Cloudflare) -> None: timeseries_group = client.radar.http.timeseries_groups.bot_class() assert_matches_type(TimeseriesGroupBotClassResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_bot_class_with_all_params(self, client: Cloudflare) -> None: timeseries_group = client.radar.http.timeseries_groups.bot_class( @@ -62,6 +64,7 @@ def test_method_bot_class_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(TimeseriesGroupBotClassResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_bot_class(self, client: Cloudflare) -> None: response = client.radar.http.timeseries_groups.with_raw_response.bot_class() @@ -71,6 +74,7 @@ def test_raw_response_bot_class(self, client: Cloudflare) -> None: timeseries_group = response.parse() assert_matches_type(TimeseriesGroupBotClassResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_bot_class(self, client: Cloudflare) -> None: with client.radar.http.timeseries_groups.with_streaming_response.bot_class() as response: @@ -82,11 +86,13 @@ def test_streaming_response_bot_class(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_browser(self, client: Cloudflare) -> None: timeseries_group = client.radar.http.timeseries_groups.browser() assert_matches_type(TimeseriesGroupBrowserResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_browser_with_all_params(self, client: Cloudflare) -> None: timeseries_group = client.radar.http.timeseries_groups.browser( @@ -118,6 +124,7 @@ def test_method_browser_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(TimeseriesGroupBrowserResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_browser(self, client: Cloudflare) -> None: response = client.radar.http.timeseries_groups.with_raw_response.browser() @@ -127,6 +134,7 @@ def test_raw_response_browser(self, client: Cloudflare) -> None: timeseries_group = response.parse() assert_matches_type(TimeseriesGroupBrowserResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_browser(self, client: Cloudflare) -> None: with client.radar.http.timeseries_groups.with_streaming_response.browser() as response: @@ -138,11 +146,13 @@ def test_streaming_response_browser(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_browser_family(self, client: Cloudflare) -> None: timeseries_group = client.radar.http.timeseries_groups.browser_family() assert_matches_type(TimeseriesGroupBrowserFamilyResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_browser_family_with_all_params(self, client: Cloudflare) -> None: timeseries_group = client.radar.http.timeseries_groups.browser_family( @@ -173,6 +183,7 @@ def test_method_browser_family_with_all_params(self, client: Cloudflare) -> None ) assert_matches_type(TimeseriesGroupBrowserFamilyResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_browser_family(self, client: Cloudflare) -> None: response = client.radar.http.timeseries_groups.with_raw_response.browser_family() @@ -182,6 +193,7 @@ def test_raw_response_browser_family(self, client: Cloudflare) -> None: timeseries_group = response.parse() assert_matches_type(TimeseriesGroupBrowserFamilyResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_browser_family(self, client: Cloudflare) -> None: with client.radar.http.timeseries_groups.with_streaming_response.browser_family() as response: @@ -193,11 +205,13 @@ def test_streaming_response_browser_family(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_device_type(self, client: Cloudflare) -> None: timeseries_group = client.radar.http.timeseries_groups.device_type() assert_matches_type(TimeseriesGroupDeviceTypeResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_device_type_with_all_params(self, client: Cloudflare) -> None: timeseries_group = client.radar.http.timeseries_groups.device_type( @@ -227,6 +241,7 @@ def test_method_device_type_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(TimeseriesGroupDeviceTypeResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_device_type(self, client: Cloudflare) -> None: response = client.radar.http.timeseries_groups.with_raw_response.device_type() @@ -236,6 +251,7 @@ def test_raw_response_device_type(self, client: Cloudflare) -> None: timeseries_group = response.parse() assert_matches_type(TimeseriesGroupDeviceTypeResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_device_type(self, client: Cloudflare) -> None: with client.radar.http.timeseries_groups.with_streaming_response.device_type() as response: @@ -247,11 +263,13 @@ def test_streaming_response_device_type(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_http_protocol(self, client: Cloudflare) -> None: timeseries_group = client.radar.http.timeseries_groups.http_protocol() assert_matches_type(TimeseriesGroupHTTPProtocolResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_http_protocol_with_all_params(self, client: Cloudflare) -> None: timeseries_group = client.radar.http.timeseries_groups.http_protocol( @@ -281,6 +299,7 @@ def test_method_http_protocol_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(TimeseriesGroupHTTPProtocolResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_http_protocol(self, client: Cloudflare) -> None: response = client.radar.http.timeseries_groups.with_raw_response.http_protocol() @@ -290,6 +309,7 @@ def test_raw_response_http_protocol(self, client: Cloudflare) -> None: timeseries_group = response.parse() assert_matches_type(TimeseriesGroupHTTPProtocolResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_http_protocol(self, client: Cloudflare) -> None: with client.radar.http.timeseries_groups.with_streaming_response.http_protocol() as response: @@ -301,11 +321,13 @@ def test_streaming_response_http_protocol(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_http_version(self, client: Cloudflare) -> None: timeseries_group = client.radar.http.timeseries_groups.http_version() assert_matches_type(TimeseriesGroupHTTPVersionResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_http_version_with_all_params(self, client: Cloudflare) -> None: timeseries_group = client.radar.http.timeseries_groups.http_version( @@ -335,6 +357,7 @@ def test_method_http_version_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(TimeseriesGroupHTTPVersionResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_http_version(self, client: Cloudflare) -> None: response = client.radar.http.timeseries_groups.with_raw_response.http_version() @@ -344,6 +367,7 @@ def test_raw_response_http_version(self, client: Cloudflare) -> None: timeseries_group = response.parse() assert_matches_type(TimeseriesGroupHTTPVersionResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_http_version(self, client: Cloudflare) -> None: with client.radar.http.timeseries_groups.with_streaming_response.http_version() as response: @@ -355,11 +379,13 @@ def test_streaming_response_http_version(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_ip_version(self, client: Cloudflare) -> None: timeseries_group = client.radar.http.timeseries_groups.ip_version() assert_matches_type(TimeseriesGroupIPVersionResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_ip_version_with_all_params(self, client: Cloudflare) -> None: timeseries_group = client.radar.http.timeseries_groups.ip_version( @@ -389,6 +415,7 @@ def test_method_ip_version_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(TimeseriesGroupIPVersionResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_ip_version(self, client: Cloudflare) -> None: response = client.radar.http.timeseries_groups.with_raw_response.ip_version() @@ -398,6 +425,7 @@ def test_raw_response_ip_version(self, client: Cloudflare) -> None: timeseries_group = response.parse() assert_matches_type(TimeseriesGroupIPVersionResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_ip_version(self, client: Cloudflare) -> None: with client.radar.http.timeseries_groups.with_streaming_response.ip_version() as response: @@ -409,11 +437,13 @@ def test_streaming_response_ip_version(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_os(self, client: Cloudflare) -> None: timeseries_group = client.radar.http.timeseries_groups.os() assert_matches_type(TimeseriesGroupOSResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_os_with_all_params(self, client: Cloudflare) -> None: timeseries_group = client.radar.http.timeseries_groups.os( @@ -443,6 +473,7 @@ def test_method_os_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(TimeseriesGroupOSResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_os(self, client: Cloudflare) -> None: response = client.radar.http.timeseries_groups.with_raw_response.os() @@ -452,6 +483,7 @@ def test_raw_response_os(self, client: Cloudflare) -> None: timeseries_group = response.parse() assert_matches_type(TimeseriesGroupOSResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_os(self, client: Cloudflare) -> None: with client.radar.http.timeseries_groups.with_streaming_response.os() as response: @@ -463,11 +495,13 @@ def test_streaming_response_os(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_tls_version(self, client: Cloudflare) -> None: timeseries_group = client.radar.http.timeseries_groups.tls_version() assert_matches_type(TimeseriesGroupTLSVersionResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_tls_version_with_all_params(self, client: Cloudflare) -> None: timeseries_group = client.radar.http.timeseries_groups.tls_version( @@ -497,6 +531,7 @@ def test_method_tls_version_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(TimeseriesGroupTLSVersionResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_tls_version(self, client: Cloudflare) -> None: response = client.radar.http.timeseries_groups.with_raw_response.tls_version() @@ -506,6 +541,7 @@ def test_raw_response_tls_version(self, client: Cloudflare) -> None: timeseries_group = response.parse() assert_matches_type(TimeseriesGroupTLSVersionResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_tls_version(self, client: Cloudflare) -> None: with client.radar.http.timeseries_groups.with_streaming_response.tls_version() as response: @@ -521,11 +557,13 @@ def test_streaming_response_tls_version(self, client: Cloudflare) -> None: class TestAsyncTimeseriesGroups: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_bot_class(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.http.timeseries_groups.bot_class() assert_matches_type(TimeseriesGroupBotClassResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_bot_class_with_all_params(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.http.timeseries_groups.bot_class( @@ -555,6 +593,7 @@ async def test_method_bot_class_with_all_params(self, async_client: AsyncCloudfl ) assert_matches_type(TimeseriesGroupBotClassResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_bot_class(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.http.timeseries_groups.with_raw_response.bot_class() @@ -564,6 +603,7 @@ async def test_raw_response_bot_class(self, async_client: AsyncCloudflare) -> No timeseries_group = await response.parse() assert_matches_type(TimeseriesGroupBotClassResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_bot_class(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.http.timeseries_groups.with_streaming_response.bot_class() as response: @@ -575,11 +615,13 @@ async def test_streaming_response_bot_class(self, async_client: AsyncCloudflare) assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_browser(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.http.timeseries_groups.browser() assert_matches_type(TimeseriesGroupBrowserResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_browser_with_all_params(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.http.timeseries_groups.browser( @@ -611,6 +653,7 @@ async def test_method_browser_with_all_params(self, async_client: AsyncCloudflar ) assert_matches_type(TimeseriesGroupBrowserResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_browser(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.http.timeseries_groups.with_raw_response.browser() @@ -620,6 +663,7 @@ async def test_raw_response_browser(self, async_client: AsyncCloudflare) -> None timeseries_group = await response.parse() assert_matches_type(TimeseriesGroupBrowserResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_browser(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.http.timeseries_groups.with_streaming_response.browser() as response: @@ -631,11 +675,13 @@ async def test_streaming_response_browser(self, async_client: AsyncCloudflare) - assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_browser_family(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.http.timeseries_groups.browser_family() assert_matches_type(TimeseriesGroupBrowserFamilyResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_browser_family_with_all_params(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.http.timeseries_groups.browser_family( @@ -666,6 +712,7 @@ async def test_method_browser_family_with_all_params(self, async_client: AsyncCl ) assert_matches_type(TimeseriesGroupBrowserFamilyResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_browser_family(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.http.timeseries_groups.with_raw_response.browser_family() @@ -675,6 +722,7 @@ async def test_raw_response_browser_family(self, async_client: AsyncCloudflare) timeseries_group = await response.parse() assert_matches_type(TimeseriesGroupBrowserFamilyResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_browser_family(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.http.timeseries_groups.with_streaming_response.browser_family() as response: @@ -686,11 +734,13 @@ async def test_streaming_response_browser_family(self, async_client: AsyncCloudf assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_device_type(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.http.timeseries_groups.device_type() assert_matches_type(TimeseriesGroupDeviceTypeResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_device_type_with_all_params(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.http.timeseries_groups.device_type( @@ -720,6 +770,7 @@ async def test_method_device_type_with_all_params(self, async_client: AsyncCloud ) assert_matches_type(TimeseriesGroupDeviceTypeResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_device_type(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.http.timeseries_groups.with_raw_response.device_type() @@ -729,6 +780,7 @@ async def test_raw_response_device_type(self, async_client: AsyncCloudflare) -> timeseries_group = await response.parse() assert_matches_type(TimeseriesGroupDeviceTypeResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_device_type(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.http.timeseries_groups.with_streaming_response.device_type() as response: @@ -740,11 +792,13 @@ async def test_streaming_response_device_type(self, async_client: AsyncCloudflar assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_http_protocol(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.http.timeseries_groups.http_protocol() assert_matches_type(TimeseriesGroupHTTPProtocolResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_http_protocol_with_all_params(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.http.timeseries_groups.http_protocol( @@ -774,6 +828,7 @@ async def test_method_http_protocol_with_all_params(self, async_client: AsyncClo ) assert_matches_type(TimeseriesGroupHTTPProtocolResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_http_protocol(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.http.timeseries_groups.with_raw_response.http_protocol() @@ -783,6 +838,7 @@ async def test_raw_response_http_protocol(self, async_client: AsyncCloudflare) - timeseries_group = await response.parse() assert_matches_type(TimeseriesGroupHTTPProtocolResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_http_protocol(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.http.timeseries_groups.with_streaming_response.http_protocol() as response: @@ -794,11 +850,13 @@ async def test_streaming_response_http_protocol(self, async_client: AsyncCloudfl assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_http_version(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.http.timeseries_groups.http_version() assert_matches_type(TimeseriesGroupHTTPVersionResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_http_version_with_all_params(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.http.timeseries_groups.http_version( @@ -828,6 +886,7 @@ async def test_method_http_version_with_all_params(self, async_client: AsyncClou ) assert_matches_type(TimeseriesGroupHTTPVersionResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_http_version(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.http.timeseries_groups.with_raw_response.http_version() @@ -837,6 +896,7 @@ async def test_raw_response_http_version(self, async_client: AsyncCloudflare) -> timeseries_group = await response.parse() assert_matches_type(TimeseriesGroupHTTPVersionResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_http_version(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.http.timeseries_groups.with_streaming_response.http_version() as response: @@ -848,11 +908,13 @@ async def test_streaming_response_http_version(self, async_client: AsyncCloudfla assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_ip_version(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.http.timeseries_groups.ip_version() assert_matches_type(TimeseriesGroupIPVersionResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_ip_version_with_all_params(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.http.timeseries_groups.ip_version( @@ -882,6 +944,7 @@ async def test_method_ip_version_with_all_params(self, async_client: AsyncCloudf ) assert_matches_type(TimeseriesGroupIPVersionResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_ip_version(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.http.timeseries_groups.with_raw_response.ip_version() @@ -891,6 +954,7 @@ async def test_raw_response_ip_version(self, async_client: AsyncCloudflare) -> N timeseries_group = await response.parse() assert_matches_type(TimeseriesGroupIPVersionResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_ip_version(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.http.timeseries_groups.with_streaming_response.ip_version() as response: @@ -902,11 +966,13 @@ async def test_streaming_response_ip_version(self, async_client: AsyncCloudflare assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_os(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.http.timeseries_groups.os() assert_matches_type(TimeseriesGroupOSResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_os_with_all_params(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.http.timeseries_groups.os( @@ -936,6 +1002,7 @@ async def test_method_os_with_all_params(self, async_client: AsyncCloudflare) -> ) assert_matches_type(TimeseriesGroupOSResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_os(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.http.timeseries_groups.with_raw_response.os() @@ -945,6 +1012,7 @@ async def test_raw_response_os(self, async_client: AsyncCloudflare) -> None: timeseries_group = await response.parse() assert_matches_type(TimeseriesGroupOSResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_os(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.http.timeseries_groups.with_streaming_response.os() as response: @@ -956,11 +1024,13 @@ async def test_streaming_response_os(self, async_client: AsyncCloudflare) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_tls_version(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.http.timeseries_groups.tls_version() assert_matches_type(TimeseriesGroupTLSVersionResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_tls_version_with_all_params(self, async_client: AsyncCloudflare) -> None: timeseries_group = await async_client.radar.http.timeseries_groups.tls_version( @@ -990,6 +1060,7 @@ async def test_method_tls_version_with_all_params(self, async_client: AsyncCloud ) assert_matches_type(TimeseriesGroupTLSVersionResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_tls_version(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.http.timeseries_groups.with_raw_response.tls_version() @@ -999,6 +1070,7 @@ async def test_raw_response_tls_version(self, async_client: AsyncCloudflare) -> timeseries_group = await response.parse() assert_matches_type(TimeseriesGroupTLSVersionResponse, timeseries_group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_tls_version(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.http.timeseries_groups.with_streaming_response.tls_version() as response: diff --git a/tests/api_resources/radar/http/test_top.py b/tests/api_resources/radar/http/test_top.py index 4cac74c10b8..6f5d3213d99 100644 --- a/tests/api_resources/radar/http/test_top.py +++ b/tests/api_resources/radar/http/test_top.py @@ -21,11 +21,13 @@ class TestTop: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_browser_families(self, client: Cloudflare) -> None: top = client.radar.http.top.browser_families() assert_matches_type(TopBrowserFamiliesResponse, top, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_browser_families_with_all_params(self, client: Cloudflare) -> None: top = client.radar.http.top.browser_families( @@ -56,6 +58,7 @@ def test_method_browser_families_with_all_params(self, client: Cloudflare) -> No ) assert_matches_type(TopBrowserFamiliesResponse, top, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_browser_families(self, client: Cloudflare) -> None: response = client.radar.http.top.with_raw_response.browser_families() @@ -65,6 +68,7 @@ def test_raw_response_browser_families(self, client: Cloudflare) -> None: top = response.parse() assert_matches_type(TopBrowserFamiliesResponse, top, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_browser_families(self, client: Cloudflare) -> None: with client.radar.http.top.with_streaming_response.browser_families() as response: @@ -76,11 +80,13 @@ def test_streaming_response_browser_families(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_browsers(self, client: Cloudflare) -> None: top = client.radar.http.top.browsers() assert_matches_type(TopBrowsersResponse, top, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_browsers_with_all_params(self, client: Cloudflare) -> None: top = client.radar.http.top.browsers( @@ -111,6 +117,7 @@ def test_method_browsers_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(TopBrowsersResponse, top, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_browsers(self, client: Cloudflare) -> None: response = client.radar.http.top.with_raw_response.browsers() @@ -120,6 +127,7 @@ def test_raw_response_browsers(self, client: Cloudflare) -> None: top = response.parse() assert_matches_type(TopBrowsersResponse, top, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_browsers(self, client: Cloudflare) -> None: with client.radar.http.top.with_streaming_response.browsers() as response: @@ -135,11 +143,13 @@ def test_streaming_response_browsers(self, client: Cloudflare) -> None: class TestAsyncTop: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_browser_families(self, async_client: AsyncCloudflare) -> None: top = await async_client.radar.http.top.browser_families() assert_matches_type(TopBrowserFamiliesResponse, top, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_browser_families_with_all_params(self, async_client: AsyncCloudflare) -> None: top = await async_client.radar.http.top.browser_families( @@ -170,6 +180,7 @@ async def test_method_browser_families_with_all_params(self, async_client: Async ) assert_matches_type(TopBrowserFamiliesResponse, top, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_browser_families(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.http.top.with_raw_response.browser_families() @@ -179,6 +190,7 @@ async def test_raw_response_browser_families(self, async_client: AsyncCloudflare top = await response.parse() assert_matches_type(TopBrowserFamiliesResponse, top, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_browser_families(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.http.top.with_streaming_response.browser_families() as response: @@ -190,11 +202,13 @@ async def test_streaming_response_browser_families(self, async_client: AsyncClou assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_browsers(self, async_client: AsyncCloudflare) -> None: top = await async_client.radar.http.top.browsers() assert_matches_type(TopBrowsersResponse, top, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_browsers_with_all_params(self, async_client: AsyncCloudflare) -> None: top = await async_client.radar.http.top.browsers( @@ -225,6 +239,7 @@ async def test_method_browsers_with_all_params(self, async_client: AsyncCloudfla ) assert_matches_type(TopBrowsersResponse, top, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_browsers(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.http.top.with_raw_response.browsers() @@ -234,6 +249,7 @@ async def test_raw_response_browsers(self, async_client: AsyncCloudflare) -> Non top = await response.parse() assert_matches_type(TopBrowsersResponse, top, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_browsers(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.http.top.with_streaming_response.browsers() as response: diff --git a/tests/api_resources/radar/netflows/test_top.py b/tests/api_resources/radar/netflows/test_top.py index becdf39761a..8535abc7465 100644 --- a/tests/api_resources/radar/netflows/test_top.py +++ b/tests/api_resources/radar/netflows/test_top.py @@ -18,11 +18,13 @@ class TestTop: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_ases(self, client: Cloudflare) -> None: top = client.radar.netflows.top.ases() assert_matches_type(TopAsesResponse, top, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_ases_with_all_params(self, client: Cloudflare) -> None: top = client.radar.netflows.top.ases( @@ -46,6 +48,7 @@ def test_method_ases_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(TopAsesResponse, top, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_ases(self, client: Cloudflare) -> None: response = client.radar.netflows.top.with_raw_response.ases() @@ -55,6 +58,7 @@ def test_raw_response_ases(self, client: Cloudflare) -> None: top = response.parse() assert_matches_type(TopAsesResponse, top, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_ases(self, client: Cloudflare) -> None: with client.radar.netflows.top.with_streaming_response.ases() as response: @@ -66,11 +70,13 @@ def test_streaming_response_ases(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_locations(self, client: Cloudflare) -> None: top = client.radar.netflows.top.locations() assert_matches_type(TopLocationsResponse, top, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_locations_with_all_params(self, client: Cloudflare) -> None: top = client.radar.netflows.top.locations( @@ -94,6 +100,7 @@ def test_method_locations_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(TopLocationsResponse, top, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_locations(self, client: Cloudflare) -> None: response = client.radar.netflows.top.with_raw_response.locations() @@ -103,6 +110,7 @@ def test_raw_response_locations(self, client: Cloudflare) -> None: top = response.parse() assert_matches_type(TopLocationsResponse, top, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_locations(self, client: Cloudflare) -> None: with client.radar.netflows.top.with_streaming_response.locations() as response: @@ -118,11 +126,13 @@ def test_streaming_response_locations(self, client: Cloudflare) -> None: class TestAsyncTop: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_ases(self, async_client: AsyncCloudflare) -> None: top = await async_client.radar.netflows.top.ases() assert_matches_type(TopAsesResponse, top, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_ases_with_all_params(self, async_client: AsyncCloudflare) -> None: top = await async_client.radar.netflows.top.ases( @@ -146,6 +156,7 @@ async def test_method_ases_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(TopAsesResponse, top, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_ases(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.netflows.top.with_raw_response.ases() @@ -155,6 +166,7 @@ async def test_raw_response_ases(self, async_client: AsyncCloudflare) -> None: top = await response.parse() assert_matches_type(TopAsesResponse, top, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_ases(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.netflows.top.with_streaming_response.ases() as response: @@ -166,11 +178,13 @@ async def test_streaming_response_ases(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_locations(self, async_client: AsyncCloudflare) -> None: top = await async_client.radar.netflows.top.locations() assert_matches_type(TopLocationsResponse, top, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_locations_with_all_params(self, async_client: AsyncCloudflare) -> None: top = await async_client.radar.netflows.top.locations( @@ -194,6 +208,7 @@ async def test_method_locations_with_all_params(self, async_client: AsyncCloudfl ) assert_matches_type(TopLocationsResponse, top, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_locations(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.netflows.top.with_raw_response.locations() @@ -203,6 +218,7 @@ async def test_raw_response_locations(self, async_client: AsyncCloudflare) -> No top = await response.parse() assert_matches_type(TopLocationsResponse, top, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_locations(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.netflows.top.with_streaming_response.locations() as response: diff --git a/tests/api_resources/radar/quality/speed/test_top.py b/tests/api_resources/radar/quality/speed/test_top.py index 1ddd81fa72b..27ff511eecb 100644 --- a/tests/api_resources/radar/quality/speed/test_top.py +++ b/tests/api_resources/radar/quality/speed/test_top.py @@ -21,11 +21,13 @@ class TestTop: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_ases(self, client: Cloudflare) -> None: top = client.radar.quality.speed.top.ases() assert_matches_type(TopAsesResponse, top, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_ases_with_all_params(self, client: Cloudflare) -> None: top = client.radar.quality.speed.top.ases( @@ -45,6 +47,7 @@ def test_method_ases_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(TopAsesResponse, top, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_ases(self, client: Cloudflare) -> None: response = client.radar.quality.speed.top.with_raw_response.ases() @@ -54,6 +57,7 @@ def test_raw_response_ases(self, client: Cloudflare) -> None: top = response.parse() assert_matches_type(TopAsesResponse, top, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_ases(self, client: Cloudflare) -> None: with client.radar.quality.speed.top.with_streaming_response.ases() as response: @@ -65,11 +69,13 @@ def test_streaming_response_ases(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_locations(self, client: Cloudflare) -> None: top = client.radar.quality.speed.top.locations() assert_matches_type(TopLocationsResponse, top, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_locations_with_all_params(self, client: Cloudflare) -> None: top = client.radar.quality.speed.top.locations( @@ -89,6 +95,7 @@ def test_method_locations_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(TopLocationsResponse, top, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_locations(self, client: Cloudflare) -> None: response = client.radar.quality.speed.top.with_raw_response.locations() @@ -98,6 +105,7 @@ def test_raw_response_locations(self, client: Cloudflare) -> None: top = response.parse() assert_matches_type(TopLocationsResponse, top, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_locations(self, client: Cloudflare) -> None: with client.radar.quality.speed.top.with_streaming_response.locations() as response: @@ -113,11 +121,13 @@ def test_streaming_response_locations(self, client: Cloudflare) -> None: class TestAsyncTop: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_ases(self, async_client: AsyncCloudflare) -> None: top = await async_client.radar.quality.speed.top.ases() assert_matches_type(TopAsesResponse, top, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_ases_with_all_params(self, async_client: AsyncCloudflare) -> None: top = await async_client.radar.quality.speed.top.ases( @@ -137,6 +147,7 @@ async def test_method_ases_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(TopAsesResponse, top, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_ases(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.quality.speed.top.with_raw_response.ases() @@ -146,6 +157,7 @@ async def test_raw_response_ases(self, async_client: AsyncCloudflare) -> None: top = await response.parse() assert_matches_type(TopAsesResponse, top, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_ases(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.quality.speed.top.with_streaming_response.ases() as response: @@ -157,11 +169,13 @@ async def test_streaming_response_ases(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_locations(self, async_client: AsyncCloudflare) -> None: top = await async_client.radar.quality.speed.top.locations() assert_matches_type(TopLocationsResponse, top, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_locations_with_all_params(self, async_client: AsyncCloudflare) -> None: top = await async_client.radar.quality.speed.top.locations( @@ -181,6 +195,7 @@ async def test_method_locations_with_all_params(self, async_client: AsyncCloudfl ) assert_matches_type(TopLocationsResponse, top, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_locations(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.quality.speed.top.with_raw_response.locations() @@ -190,6 +205,7 @@ async def test_raw_response_locations(self, async_client: AsyncCloudflare) -> No top = await response.parse() assert_matches_type(TopLocationsResponse, top, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_locations(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.quality.speed.top.with_streaming_response.locations() as response: diff --git a/tests/api_resources/radar/quality/test_iqi.py b/tests/api_resources/radar/quality/test_iqi.py index 307c2f43884..06a57e35778 100644 --- a/tests/api_resources/radar/quality/test_iqi.py +++ b/tests/api_resources/radar/quality/test_iqi.py @@ -21,6 +21,7 @@ class TestIQI: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_summary(self, client: Cloudflare) -> None: iqi = client.radar.quality.iqi.summary( @@ -28,6 +29,7 @@ def test_method_summary(self, client: Cloudflare) -> None: ) assert_matches_type(IQISummaryResponse, iqi, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_summary_with_all_params(self, client: Cloudflare) -> None: iqi = client.radar.quality.iqi.summary( @@ -51,6 +53,7 @@ def test_method_summary_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(IQISummaryResponse, iqi, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_summary(self, client: Cloudflare) -> None: response = client.radar.quality.iqi.with_raw_response.summary( @@ -62,6 +65,7 @@ def test_raw_response_summary(self, client: Cloudflare) -> None: iqi = response.parse() assert_matches_type(IQISummaryResponse, iqi, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_summary(self, client: Cloudflare) -> None: with client.radar.quality.iqi.with_streaming_response.summary( @@ -75,6 +79,7 @@ def test_streaming_response_summary(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_timeseries_groups(self, client: Cloudflare) -> None: iqi = client.radar.quality.iqi.timeseries_groups( @@ -82,6 +87,7 @@ def test_method_timeseries_groups(self, client: Cloudflare) -> None: ) assert_matches_type(IQITimeseriesGroupsResponse, iqi, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_timeseries_groups_with_all_params(self, client: Cloudflare) -> None: iqi = client.radar.quality.iqi.timeseries_groups( @@ -107,6 +113,7 @@ def test_method_timeseries_groups_with_all_params(self, client: Cloudflare) -> N ) assert_matches_type(IQITimeseriesGroupsResponse, iqi, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_timeseries_groups(self, client: Cloudflare) -> None: response = client.radar.quality.iqi.with_raw_response.timeseries_groups( @@ -118,6 +125,7 @@ def test_raw_response_timeseries_groups(self, client: Cloudflare) -> None: iqi = response.parse() assert_matches_type(IQITimeseriesGroupsResponse, iqi, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_timeseries_groups(self, client: Cloudflare) -> None: with client.radar.quality.iqi.with_streaming_response.timeseries_groups( @@ -135,6 +143,7 @@ def test_streaming_response_timeseries_groups(self, client: Cloudflare) -> None: class TestAsyncIQI: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_summary(self, async_client: AsyncCloudflare) -> None: iqi = await async_client.radar.quality.iqi.summary( @@ -142,6 +151,7 @@ async def test_method_summary(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(IQISummaryResponse, iqi, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_summary_with_all_params(self, async_client: AsyncCloudflare) -> None: iqi = await async_client.radar.quality.iqi.summary( @@ -165,6 +175,7 @@ async def test_method_summary_with_all_params(self, async_client: AsyncCloudflar ) assert_matches_type(IQISummaryResponse, iqi, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_summary(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.quality.iqi.with_raw_response.summary( @@ -176,6 +187,7 @@ async def test_raw_response_summary(self, async_client: AsyncCloudflare) -> None iqi = await response.parse() assert_matches_type(IQISummaryResponse, iqi, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_summary(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.quality.iqi.with_streaming_response.summary( @@ -189,6 +201,7 @@ async def test_streaming_response_summary(self, async_client: AsyncCloudflare) - assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_timeseries_groups(self, async_client: AsyncCloudflare) -> None: iqi = await async_client.radar.quality.iqi.timeseries_groups( @@ -196,6 +209,7 @@ async def test_method_timeseries_groups(self, async_client: AsyncCloudflare) -> ) assert_matches_type(IQITimeseriesGroupsResponse, iqi, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_timeseries_groups_with_all_params(self, async_client: AsyncCloudflare) -> None: iqi = await async_client.radar.quality.iqi.timeseries_groups( @@ -221,6 +235,7 @@ async def test_method_timeseries_groups_with_all_params(self, async_client: Asyn ) assert_matches_type(IQITimeseriesGroupsResponse, iqi, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_timeseries_groups(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.quality.iqi.with_raw_response.timeseries_groups( @@ -232,6 +247,7 @@ async def test_raw_response_timeseries_groups(self, async_client: AsyncCloudflar iqi = await response.parse() assert_matches_type(IQITimeseriesGroupsResponse, iqi, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_timeseries_groups(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.quality.iqi.with_streaming_response.timeseries_groups( diff --git a/tests/api_resources/radar/quality/test_speed.py b/tests/api_resources/radar/quality/test_speed.py index 7ee3ce0bd64..00683ae6c18 100644 --- a/tests/api_resources/radar/quality/test_speed.py +++ b/tests/api_resources/radar/quality/test_speed.py @@ -21,11 +21,13 @@ class TestSpeed: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_histogram(self, client: Cloudflare) -> None: speed = client.radar.quality.speed.histogram() assert_matches_type(SpeedHistogramResponse, speed, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_histogram_with_all_params(self, client: Cloudflare) -> None: speed = client.radar.quality.speed.histogram( @@ -44,6 +46,7 @@ def test_method_histogram_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SpeedHistogramResponse, speed, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_histogram(self, client: Cloudflare) -> None: response = client.radar.quality.speed.with_raw_response.histogram() @@ -53,6 +56,7 @@ def test_raw_response_histogram(self, client: Cloudflare) -> None: speed = response.parse() assert_matches_type(SpeedHistogramResponse, speed, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_histogram(self, client: Cloudflare) -> None: with client.radar.quality.speed.with_streaming_response.histogram() as response: @@ -64,11 +68,13 @@ def test_streaming_response_histogram(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_summary(self, client: Cloudflare) -> None: speed = client.radar.quality.speed.summary() assert_matches_type(SpeedSummaryResponse, speed, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_summary_with_all_params(self, client: Cloudflare) -> None: speed = client.radar.quality.speed.summary( @@ -85,6 +91,7 @@ def test_method_summary_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SpeedSummaryResponse, speed, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_summary(self, client: Cloudflare) -> None: response = client.radar.quality.speed.with_raw_response.summary() @@ -94,6 +101,7 @@ def test_raw_response_summary(self, client: Cloudflare) -> None: speed = response.parse() assert_matches_type(SpeedSummaryResponse, speed, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_summary(self, client: Cloudflare) -> None: with client.radar.quality.speed.with_streaming_response.summary() as response: @@ -109,11 +117,13 @@ def test_streaming_response_summary(self, client: Cloudflare) -> None: class TestAsyncSpeed: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_histogram(self, async_client: AsyncCloudflare) -> None: speed = await async_client.radar.quality.speed.histogram() assert_matches_type(SpeedHistogramResponse, speed, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_histogram_with_all_params(self, async_client: AsyncCloudflare) -> None: speed = await async_client.radar.quality.speed.histogram( @@ -132,6 +142,7 @@ async def test_method_histogram_with_all_params(self, async_client: AsyncCloudfl ) assert_matches_type(SpeedHistogramResponse, speed, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_histogram(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.quality.speed.with_raw_response.histogram() @@ -141,6 +152,7 @@ async def test_raw_response_histogram(self, async_client: AsyncCloudflare) -> No speed = await response.parse() assert_matches_type(SpeedHistogramResponse, speed, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_histogram(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.quality.speed.with_streaming_response.histogram() as response: @@ -152,11 +164,13 @@ async def test_streaming_response_histogram(self, async_client: AsyncCloudflare) assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_summary(self, async_client: AsyncCloudflare) -> None: speed = await async_client.radar.quality.speed.summary() assert_matches_type(SpeedSummaryResponse, speed, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_summary_with_all_params(self, async_client: AsyncCloudflare) -> None: speed = await async_client.radar.quality.speed.summary( @@ -173,6 +187,7 @@ async def test_method_summary_with_all_params(self, async_client: AsyncCloudflar ) assert_matches_type(SpeedSummaryResponse, speed, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_summary(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.quality.speed.with_raw_response.summary() @@ -182,6 +197,7 @@ async def test_raw_response_summary(self, async_client: AsyncCloudflare) -> None speed = await response.parse() assert_matches_type(SpeedSummaryResponse, speed, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_summary(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.quality.speed.with_streaming_response.summary() as response: diff --git a/tests/api_resources/radar/ranking/test_domain.py b/tests/api_resources/radar/ranking/test_domain.py index 780aa445d02..44269df75ae 100644 --- a/tests/api_resources/radar/ranking/test_domain.py +++ b/tests/api_resources/radar/ranking/test_domain.py @@ -17,6 +17,7 @@ class TestDomain: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: domain = client.radar.ranking.domain.get( @@ -24,6 +25,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(DomainGetResponse, domain, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: domain = client.radar.ranking.domain.get( @@ -36,6 +38,7 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(DomainGetResponse, domain, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.radar.ranking.domain.with_raw_response.get( @@ -47,6 +50,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: domain = response.parse() assert_matches_type(DomainGetResponse, domain, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.radar.ranking.domain.with_streaming_response.get( @@ -60,6 +64,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `domain` but received ''"): @@ -71,6 +76,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncDomain: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: domain = await async_client.radar.ranking.domain.get( @@ -78,6 +84,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(DomainGetResponse, domain, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: domain = await async_client.radar.ranking.domain.get( @@ -90,6 +97,7 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(DomainGetResponse, domain, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.ranking.domain.with_raw_response.get( @@ -101,6 +109,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: domain = await response.parse() assert_matches_type(DomainGetResponse, domain, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.ranking.domain.with_streaming_response.get( @@ -114,6 +123,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `domain` but received ''"): diff --git a/tests/api_resources/radar/test_as112.py b/tests/api_resources/radar/test_as112.py index 27c2a2c1fba..a6dde128ac6 100644 --- a/tests/api_resources/radar/test_as112.py +++ b/tests/api_resources/radar/test_as112.py @@ -18,11 +18,13 @@ class TestAS112: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_timeseries(self, client: Cloudflare) -> None: as112 = client.radar.as112.timeseries() assert_matches_type(AS112TimeseriesResponse, as112, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_timeseries_with_all_params(self, client: Cloudflare) -> None: as112 = client.radar.as112.timeseries( @@ -46,6 +48,7 @@ def test_method_timeseries_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(AS112TimeseriesResponse, as112, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_timeseries(self, client: Cloudflare) -> None: response = client.radar.as112.with_raw_response.timeseries() @@ -55,6 +58,7 @@ def test_raw_response_timeseries(self, client: Cloudflare) -> None: as112 = response.parse() assert_matches_type(AS112TimeseriesResponse, as112, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_timeseries(self, client: Cloudflare) -> None: with client.radar.as112.with_streaming_response.timeseries() as response: @@ -70,11 +74,13 @@ def test_streaming_response_timeseries(self, client: Cloudflare) -> None: class TestAsyncAS112: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_timeseries(self, async_client: AsyncCloudflare) -> None: as112 = await async_client.radar.as112.timeseries() assert_matches_type(AS112TimeseriesResponse, as112, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_timeseries_with_all_params(self, async_client: AsyncCloudflare) -> None: as112 = await async_client.radar.as112.timeseries( @@ -98,6 +104,7 @@ async def test_method_timeseries_with_all_params(self, async_client: AsyncCloudf ) assert_matches_type(AS112TimeseriesResponse, as112, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_timeseries(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.as112.with_raw_response.timeseries() @@ -107,6 +114,7 @@ async def test_raw_response_timeseries(self, async_client: AsyncCloudflare) -> N as112 = await response.parse() assert_matches_type(AS112TimeseriesResponse, as112, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_timeseries(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.as112.with_streaming_response.timeseries() as response: diff --git a/tests/api_resources/radar/test_bgp.py b/tests/api_resources/radar/test_bgp.py index b896b31f649..ab993f872e2 100644 --- a/tests/api_resources/radar/test_bgp.py +++ b/tests/api_resources/radar/test_bgp.py @@ -18,11 +18,13 @@ class TestBGP: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_timeseries(self, client: Cloudflare) -> None: bgp = client.radar.bgp.timeseries() assert_matches_type(BGPTimeseriesResponse, bgp, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_timeseries_with_all_params(self, client: Cloudflare) -> None: bgp = client.radar.bgp.timeseries( @@ -46,6 +48,7 @@ def test_method_timeseries_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(BGPTimeseriesResponse, bgp, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_timeseries(self, client: Cloudflare) -> None: response = client.radar.bgp.with_raw_response.timeseries() @@ -55,6 +58,7 @@ def test_raw_response_timeseries(self, client: Cloudflare) -> None: bgp = response.parse() assert_matches_type(BGPTimeseriesResponse, bgp, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_timeseries(self, client: Cloudflare) -> None: with client.radar.bgp.with_streaming_response.timeseries() as response: @@ -70,11 +74,13 @@ def test_streaming_response_timeseries(self, client: Cloudflare) -> None: class TestAsyncBGP: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_timeseries(self, async_client: AsyncCloudflare) -> None: bgp = await async_client.radar.bgp.timeseries() assert_matches_type(BGPTimeseriesResponse, bgp, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_timeseries_with_all_params(self, async_client: AsyncCloudflare) -> None: bgp = await async_client.radar.bgp.timeseries( @@ -98,6 +104,7 @@ async def test_method_timeseries_with_all_params(self, async_client: AsyncCloudf ) assert_matches_type(BGPTimeseriesResponse, bgp, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_timeseries(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.bgp.with_raw_response.timeseries() @@ -107,6 +114,7 @@ async def test_raw_response_timeseries(self, async_client: AsyncCloudflare) -> N bgp = await response.parse() assert_matches_type(BGPTimeseriesResponse, bgp, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_timeseries(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.bgp.with_streaming_response.timeseries() as response: diff --git a/tests/api_resources/radar/test_connection_tampering.py b/tests/api_resources/radar/test_connection_tampering.py index 37d3f5a9195..d36693462b8 100644 --- a/tests/api_resources/radar/test_connection_tampering.py +++ b/tests/api_resources/radar/test_connection_tampering.py @@ -21,11 +21,13 @@ class TestConnectionTampering: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_summary(self, client: Cloudflare) -> None: connection_tampering = client.radar.connection_tampering.summary() assert_matches_type(ConnectionTamperingSummaryResponse, connection_tampering, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_summary_with_all_params(self, client: Cloudflare) -> None: connection_tampering = client.radar.connection_tampering.summary( @@ -48,6 +50,7 @@ def test_method_summary_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(ConnectionTamperingSummaryResponse, connection_tampering, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_summary(self, client: Cloudflare) -> None: response = client.radar.connection_tampering.with_raw_response.summary() @@ -57,6 +60,7 @@ def test_raw_response_summary(self, client: Cloudflare) -> None: connection_tampering = response.parse() assert_matches_type(ConnectionTamperingSummaryResponse, connection_tampering, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_summary(self, client: Cloudflare) -> None: with client.radar.connection_tampering.with_streaming_response.summary() as response: @@ -68,11 +72,13 @@ def test_streaming_response_summary(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_timeseries_groups(self, client: Cloudflare) -> None: connection_tampering = client.radar.connection_tampering.timeseries_groups() assert_matches_type(ConnectionTamperingTimeseriesGroupsResponse, connection_tampering, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_timeseries_groups_with_all_params(self, client: Cloudflare) -> None: connection_tampering = client.radar.connection_tampering.timeseries_groups( @@ -96,6 +102,7 @@ def test_method_timeseries_groups_with_all_params(self, client: Cloudflare) -> N ) assert_matches_type(ConnectionTamperingTimeseriesGroupsResponse, connection_tampering, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_timeseries_groups(self, client: Cloudflare) -> None: response = client.radar.connection_tampering.with_raw_response.timeseries_groups() @@ -105,6 +112,7 @@ def test_raw_response_timeseries_groups(self, client: Cloudflare) -> None: connection_tampering = response.parse() assert_matches_type(ConnectionTamperingTimeseriesGroupsResponse, connection_tampering, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_timeseries_groups(self, client: Cloudflare) -> None: with client.radar.connection_tampering.with_streaming_response.timeseries_groups() as response: @@ -120,11 +128,13 @@ def test_streaming_response_timeseries_groups(self, client: Cloudflare) -> None: class TestAsyncConnectionTampering: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_summary(self, async_client: AsyncCloudflare) -> None: connection_tampering = await async_client.radar.connection_tampering.summary() assert_matches_type(ConnectionTamperingSummaryResponse, connection_tampering, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_summary_with_all_params(self, async_client: AsyncCloudflare) -> None: connection_tampering = await async_client.radar.connection_tampering.summary( @@ -147,6 +157,7 @@ async def test_method_summary_with_all_params(self, async_client: AsyncCloudflar ) assert_matches_type(ConnectionTamperingSummaryResponse, connection_tampering, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_summary(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.connection_tampering.with_raw_response.summary() @@ -156,6 +167,7 @@ async def test_raw_response_summary(self, async_client: AsyncCloudflare) -> None connection_tampering = await response.parse() assert_matches_type(ConnectionTamperingSummaryResponse, connection_tampering, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_summary(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.connection_tampering.with_streaming_response.summary() as response: @@ -167,11 +179,13 @@ async def test_streaming_response_summary(self, async_client: AsyncCloudflare) - assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_timeseries_groups(self, async_client: AsyncCloudflare) -> None: connection_tampering = await async_client.radar.connection_tampering.timeseries_groups() assert_matches_type(ConnectionTamperingTimeseriesGroupsResponse, connection_tampering, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_timeseries_groups_with_all_params(self, async_client: AsyncCloudflare) -> None: connection_tampering = await async_client.radar.connection_tampering.timeseries_groups( @@ -195,6 +209,7 @@ async def test_method_timeseries_groups_with_all_params(self, async_client: Asyn ) assert_matches_type(ConnectionTamperingTimeseriesGroupsResponse, connection_tampering, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_timeseries_groups(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.connection_tampering.with_raw_response.timeseries_groups() @@ -204,6 +219,7 @@ async def test_raw_response_timeseries_groups(self, async_client: AsyncCloudflar connection_tampering = await response.parse() assert_matches_type(ConnectionTamperingTimeseriesGroupsResponse, connection_tampering, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_timeseries_groups(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.connection_tampering.with_streaming_response.timeseries_groups() as response: diff --git a/tests/api_resources/radar/test_datasets.py b/tests/api_resources/radar/test_datasets.py index f2cc9be2ae5..006dca3cb20 100644 --- a/tests/api_resources/radar/test_datasets.py +++ b/tests/api_resources/radar/test_datasets.py @@ -20,11 +20,13 @@ class TestDatasets: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: dataset = client.radar.datasets.list() assert_matches_type(DatasetListResponse, dataset, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: dataset = client.radar.datasets.list( @@ -35,6 +37,7 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(DatasetListResponse, dataset, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.radar.datasets.with_raw_response.list() @@ -44,6 +47,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: dataset = response.parse() assert_matches_type(DatasetListResponse, dataset, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.radar.datasets.with_streaming_response.list() as response: @@ -55,6 +59,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_download(self, client: Cloudflare) -> None: dataset = client.radar.datasets.download( @@ -62,6 +67,7 @@ def test_method_download(self, client: Cloudflare) -> None: ) assert_matches_type(DatasetDownloadResponse, dataset, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_download_with_all_params(self, client: Cloudflare) -> None: dataset = client.radar.datasets.download( @@ -70,6 +76,7 @@ def test_method_download_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(DatasetDownloadResponse, dataset, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_download(self, client: Cloudflare) -> None: response = client.radar.datasets.with_raw_response.download( @@ -81,6 +88,7 @@ def test_raw_response_download(self, client: Cloudflare) -> None: dataset = response.parse() assert_matches_type(DatasetDownloadResponse, dataset, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_download(self, client: Cloudflare) -> None: with client.radar.datasets.with_streaming_response.download( @@ -94,6 +102,7 @@ def test_streaming_response_download(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: dataset = client.radar.datasets.get( @@ -101,6 +110,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(str, dataset, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: dataset = client.radar.datasets.get( @@ -109,6 +119,7 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(str, dataset, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.radar.datasets.with_raw_response.get( @@ -120,6 +131,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: dataset = response.parse() assert_matches_type(str, dataset, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.radar.datasets.with_streaming_response.get( @@ -133,6 +145,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `alias` but received ''"): @@ -144,11 +157,13 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncDatasets: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: dataset = await async_client.radar.datasets.list() assert_matches_type(DatasetListResponse, dataset, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: dataset = await async_client.radar.datasets.list( @@ -159,6 +174,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(DatasetListResponse, dataset, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.datasets.with_raw_response.list() @@ -168,6 +184,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: dataset = await response.parse() assert_matches_type(DatasetListResponse, dataset, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.datasets.with_streaming_response.list() as response: @@ -179,6 +196,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_download(self, async_client: AsyncCloudflare) -> None: dataset = await async_client.radar.datasets.download( @@ -186,6 +204,7 @@ async def test_method_download(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(DatasetDownloadResponse, dataset, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_download_with_all_params(self, async_client: AsyncCloudflare) -> None: dataset = await async_client.radar.datasets.download( @@ -194,6 +213,7 @@ async def test_method_download_with_all_params(self, async_client: AsyncCloudfla ) assert_matches_type(DatasetDownloadResponse, dataset, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_download(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.datasets.with_raw_response.download( @@ -205,6 +225,7 @@ async def test_raw_response_download(self, async_client: AsyncCloudflare) -> Non dataset = await response.parse() assert_matches_type(DatasetDownloadResponse, dataset, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_download(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.datasets.with_streaming_response.download( @@ -218,6 +239,7 @@ async def test_streaming_response_download(self, async_client: AsyncCloudflare) assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: dataset = await async_client.radar.datasets.get( @@ -225,6 +247,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(str, dataset, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: dataset = await async_client.radar.datasets.get( @@ -233,6 +256,7 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(str, dataset, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.datasets.with_raw_response.get( @@ -244,6 +268,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: dataset = await response.parse() assert_matches_type(str, dataset, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.datasets.with_streaming_response.get( @@ -257,6 +282,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `alias` but received ''"): diff --git a/tests/api_resources/radar/test_entities.py b/tests/api_resources/radar/test_entities.py index a9a5a170bf0..fc22e4c3f65 100644 --- a/tests/api_resources/radar/test_entities.py +++ b/tests/api_resources/radar/test_entities.py @@ -17,6 +17,7 @@ class TestEntities: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: entity = client.radar.entities.get( @@ -24,6 +25,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(EntityGetResponse, entity, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: entity = client.radar.entities.get( @@ -32,6 +34,7 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(EntityGetResponse, entity, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.radar.entities.with_raw_response.get( @@ -43,6 +46,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: entity = response.parse() assert_matches_type(EntityGetResponse, entity, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.radar.entities.with_streaming_response.get( @@ -60,6 +64,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: class TestAsyncEntities: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: entity = await async_client.radar.entities.get( @@ -67,6 +72,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(EntityGetResponse, entity, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: entity = await async_client.radar.entities.get( @@ -75,6 +81,7 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(EntityGetResponse, entity, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.entities.with_raw_response.get( @@ -86,6 +93,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: entity = await response.parse() assert_matches_type(EntityGetResponse, entity, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.entities.with_streaming_response.get( diff --git a/tests/api_resources/radar/test_netflows.py b/tests/api_resources/radar/test_netflows.py index 1446060257f..79002a4a227 100644 --- a/tests/api_resources/radar/test_netflows.py +++ b/tests/api_resources/radar/test_netflows.py @@ -18,11 +18,13 @@ class TestNetflows: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_timeseries(self, client: Cloudflare) -> None: netflow = client.radar.netflows.timeseries() assert_matches_type(NetflowTimeseriesResponse, netflow, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_timeseries_with_all_params(self, client: Cloudflare) -> None: netflow = client.radar.netflows.timeseries( @@ -48,6 +50,7 @@ def test_method_timeseries_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(NetflowTimeseriesResponse, netflow, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_timeseries(self, client: Cloudflare) -> None: response = client.radar.netflows.with_raw_response.timeseries() @@ -57,6 +60,7 @@ def test_raw_response_timeseries(self, client: Cloudflare) -> None: netflow = response.parse() assert_matches_type(NetflowTimeseriesResponse, netflow, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_timeseries(self, client: Cloudflare) -> None: with client.radar.netflows.with_streaming_response.timeseries() as response: @@ -72,11 +76,13 @@ def test_streaming_response_timeseries(self, client: Cloudflare) -> None: class TestAsyncNetflows: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_timeseries(self, async_client: AsyncCloudflare) -> None: netflow = await async_client.radar.netflows.timeseries() assert_matches_type(NetflowTimeseriesResponse, netflow, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_timeseries_with_all_params(self, async_client: AsyncCloudflare) -> None: netflow = await async_client.radar.netflows.timeseries( @@ -102,6 +108,7 @@ async def test_method_timeseries_with_all_params(self, async_client: AsyncCloudf ) assert_matches_type(NetflowTimeseriesResponse, netflow, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_timeseries(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.netflows.with_raw_response.timeseries() @@ -111,6 +118,7 @@ async def test_raw_response_timeseries(self, async_client: AsyncCloudflare) -> N netflow = await response.parse() assert_matches_type(NetflowTimeseriesResponse, netflow, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_timeseries(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.netflows.with_streaming_response.timeseries() as response: diff --git a/tests/api_resources/radar/test_ranking.py b/tests/api_resources/radar/test_ranking.py index 61a4def2328..9aeac63890b 100644 --- a/tests/api_resources/radar/test_ranking.py +++ b/tests/api_resources/radar/test_ranking.py @@ -21,11 +21,13 @@ class TestRanking: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_timeseries_groups(self, client: Cloudflare) -> None: ranking = client.radar.ranking.timeseries_groups() assert_matches_type(RankingTimeseriesGroupsResponse, ranking, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_timeseries_groups_with_all_params(self, client: Cloudflare) -> None: ranking = client.radar.ranking.timeseries_groups( @@ -49,6 +51,7 @@ def test_method_timeseries_groups_with_all_params(self, client: Cloudflare) -> N ) assert_matches_type(RankingTimeseriesGroupsResponse, ranking, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_timeseries_groups(self, client: Cloudflare) -> None: response = client.radar.ranking.with_raw_response.timeseries_groups() @@ -58,6 +61,7 @@ def test_raw_response_timeseries_groups(self, client: Cloudflare) -> None: ranking = response.parse() assert_matches_type(RankingTimeseriesGroupsResponse, ranking, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_timeseries_groups(self, client: Cloudflare) -> None: with client.radar.ranking.with_streaming_response.timeseries_groups() as response: @@ -69,11 +73,13 @@ def test_streaming_response_timeseries_groups(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_top(self, client: Cloudflare) -> None: ranking = client.radar.ranking.top() assert_matches_type(RankingTopResponse, ranking, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_top_with_all_params(self, client: Cloudflare) -> None: ranking = client.radar.ranking.top( @@ -86,6 +92,7 @@ def test_method_top_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(RankingTopResponse, ranking, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_top(self, client: Cloudflare) -> None: response = client.radar.ranking.with_raw_response.top() @@ -95,6 +102,7 @@ def test_raw_response_top(self, client: Cloudflare) -> None: ranking = response.parse() assert_matches_type(RankingTopResponse, ranking, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_top(self, client: Cloudflare) -> None: with client.radar.ranking.with_streaming_response.top() as response: @@ -110,11 +118,13 @@ def test_streaming_response_top(self, client: Cloudflare) -> None: class TestAsyncRanking: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_timeseries_groups(self, async_client: AsyncCloudflare) -> None: ranking = await async_client.radar.ranking.timeseries_groups() assert_matches_type(RankingTimeseriesGroupsResponse, ranking, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_timeseries_groups_with_all_params(self, async_client: AsyncCloudflare) -> None: ranking = await async_client.radar.ranking.timeseries_groups( @@ -138,6 +148,7 @@ async def test_method_timeseries_groups_with_all_params(self, async_client: Asyn ) assert_matches_type(RankingTimeseriesGroupsResponse, ranking, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_timeseries_groups(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.ranking.with_raw_response.timeseries_groups() @@ -147,6 +158,7 @@ async def test_raw_response_timeseries_groups(self, async_client: AsyncCloudflar ranking = await response.parse() assert_matches_type(RankingTimeseriesGroupsResponse, ranking, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_timeseries_groups(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.ranking.with_streaming_response.timeseries_groups() as response: @@ -158,11 +170,13 @@ async def test_streaming_response_timeseries_groups(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_top(self, async_client: AsyncCloudflare) -> None: ranking = await async_client.radar.ranking.top() assert_matches_type(RankingTopResponse, ranking, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_top_with_all_params(self, async_client: AsyncCloudflare) -> None: ranking = await async_client.radar.ranking.top( @@ -175,6 +189,7 @@ async def test_method_top_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(RankingTopResponse, ranking, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_top(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.ranking.with_raw_response.top() @@ -184,6 +199,7 @@ async def test_raw_response_top(self, async_client: AsyncCloudflare) -> None: ranking = await response.parse() assert_matches_type(RankingTopResponse, ranking, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_top(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.ranking.with_streaming_response.top() as response: diff --git a/tests/api_resources/radar/test_search.py b/tests/api_resources/radar/test_search.py index 5185e12e4c3..fbc22c27dff 100644 --- a/tests/api_resources/radar/test_search.py +++ b/tests/api_resources/radar/test_search.py @@ -17,6 +17,7 @@ class TestSearch: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_global(self, client: Cloudflare) -> None: search = client.radar.search.global_( @@ -24,6 +25,7 @@ def test_method_global(self, client: Cloudflare) -> None: ) assert_matches_type(SearchGlobalResponse, search, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_global_with_all_params(self, client: Cloudflare) -> None: search = client.radar.search.global_( @@ -36,6 +38,7 @@ def test_method_global_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SearchGlobalResponse, search, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_global(self, client: Cloudflare) -> None: response = client.radar.search.with_raw_response.global_( @@ -47,6 +50,7 @@ def test_raw_response_global(self, client: Cloudflare) -> None: search = response.parse() assert_matches_type(SearchGlobalResponse, search, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_global(self, client: Cloudflare) -> None: with client.radar.search.with_streaming_response.global_( @@ -64,6 +68,7 @@ def test_streaming_response_global(self, client: Cloudflare) -> None: class TestAsyncSearch: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_global(self, async_client: AsyncCloudflare) -> None: search = await async_client.radar.search.global_( @@ -71,6 +76,7 @@ async def test_method_global(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(SearchGlobalResponse, search, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_global_with_all_params(self, async_client: AsyncCloudflare) -> None: search = await async_client.radar.search.global_( @@ -83,6 +89,7 @@ async def test_method_global_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(SearchGlobalResponse, search, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_global(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.search.with_raw_response.global_( @@ -94,6 +101,7 @@ async def test_raw_response_global(self, async_client: AsyncCloudflare) -> None: search = await response.parse() assert_matches_type(SearchGlobalResponse, search, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_global(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.search.with_streaming_response.global_( diff --git a/tests/api_resources/radar/test_traffic_anomalies.py b/tests/api_resources/radar/test_traffic_anomalies.py index 04a58254ad9..ab42d798d32 100644 --- a/tests/api_resources/radar/test_traffic_anomalies.py +++ b/tests/api_resources/radar/test_traffic_anomalies.py @@ -18,11 +18,13 @@ class TestTrafficAnomalies: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: traffic_anomaly = client.radar.traffic_anomalies.get() assert_matches_type(TrafficAnomalyGetResponse, traffic_anomaly, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: traffic_anomaly = client.radar.traffic_anomalies.get( @@ -38,6 +40,7 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(TrafficAnomalyGetResponse, traffic_anomaly, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.radar.traffic_anomalies.with_raw_response.get() @@ -47,6 +50,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: traffic_anomaly = response.parse() assert_matches_type(TrafficAnomalyGetResponse, traffic_anomaly, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.radar.traffic_anomalies.with_streaming_response.get() as response: @@ -62,11 +66,13 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: class TestAsyncTrafficAnomalies: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: traffic_anomaly = await async_client.radar.traffic_anomalies.get() assert_matches_type(TrafficAnomalyGetResponse, traffic_anomaly, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: traffic_anomaly = await async_client.radar.traffic_anomalies.get( @@ -82,6 +88,7 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(TrafficAnomalyGetResponse, traffic_anomaly, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.traffic_anomalies.with_raw_response.get() @@ -91,6 +98,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: traffic_anomaly = await response.parse() assert_matches_type(TrafficAnomalyGetResponse, traffic_anomaly, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.traffic_anomalies.with_streaming_response.get() as response: diff --git a/tests/api_resources/radar/traffic_anomalies/test_locations.py b/tests/api_resources/radar/traffic_anomalies/test_locations.py index 005738ac3e2..ba164303c0b 100644 --- a/tests/api_resources/radar/traffic_anomalies/test_locations.py +++ b/tests/api_resources/radar/traffic_anomalies/test_locations.py @@ -18,11 +18,13 @@ class TestLocations: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: location = client.radar.traffic_anomalies.locations.get() assert_matches_type(LocationGetResponse, location, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: location = client.radar.traffic_anomalies.locations.get( @@ -35,6 +37,7 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(LocationGetResponse, location, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.radar.traffic_anomalies.locations.with_raw_response.get() @@ -44,6 +47,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: location = response.parse() assert_matches_type(LocationGetResponse, location, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.radar.traffic_anomalies.locations.with_streaming_response.get() as response: @@ -59,11 +63,13 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: class TestAsyncLocations: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: location = await async_client.radar.traffic_anomalies.locations.get() assert_matches_type(LocationGetResponse, location, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: location = await async_client.radar.traffic_anomalies.locations.get( @@ -76,6 +82,7 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(LocationGetResponse, location, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.traffic_anomalies.locations.with_raw_response.get() @@ -85,6 +92,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: location = await response.parse() assert_matches_type(LocationGetResponse, location, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.traffic_anomalies.locations.with_streaming_response.get() as response: diff --git a/tests/api_resources/radar/verified_bots/test_top.py b/tests/api_resources/radar/verified_bots/test_top.py index bfb0e175fc2..8ed74c070bd 100644 --- a/tests/api_resources/radar/verified_bots/test_top.py +++ b/tests/api_resources/radar/verified_bots/test_top.py @@ -21,11 +21,13 @@ class TestTop: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_bots(self, client: Cloudflare) -> None: top = client.radar.verified_bots.top.bots() assert_matches_type(TopBotsResponse, top, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_bots_with_all_params(self, client: Cloudflare) -> None: top = client.radar.verified_bots.top.bots( @@ -49,6 +51,7 @@ def test_method_bots_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(TopBotsResponse, top, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_bots(self, client: Cloudflare) -> None: response = client.radar.verified_bots.top.with_raw_response.bots() @@ -58,6 +61,7 @@ def test_raw_response_bots(self, client: Cloudflare) -> None: top = response.parse() assert_matches_type(TopBotsResponse, top, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_bots(self, client: Cloudflare) -> None: with client.radar.verified_bots.top.with_streaming_response.bots() as response: @@ -69,11 +73,13 @@ def test_streaming_response_bots(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_categories(self, client: Cloudflare) -> None: top = client.radar.verified_bots.top.categories() assert_matches_type(TopCategoriesResponse, top, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_categories_with_all_params(self, client: Cloudflare) -> None: top = client.radar.verified_bots.top.categories( @@ -97,6 +103,7 @@ def test_method_categories_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(TopCategoriesResponse, top, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_categories(self, client: Cloudflare) -> None: response = client.radar.verified_bots.top.with_raw_response.categories() @@ -106,6 +113,7 @@ def test_raw_response_categories(self, client: Cloudflare) -> None: top = response.parse() assert_matches_type(TopCategoriesResponse, top, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_categories(self, client: Cloudflare) -> None: with client.radar.verified_bots.top.with_streaming_response.categories() as response: @@ -121,11 +129,13 @@ def test_streaming_response_categories(self, client: Cloudflare) -> None: class TestAsyncTop: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_bots(self, async_client: AsyncCloudflare) -> None: top = await async_client.radar.verified_bots.top.bots() assert_matches_type(TopBotsResponse, top, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_bots_with_all_params(self, async_client: AsyncCloudflare) -> None: top = await async_client.radar.verified_bots.top.bots( @@ -149,6 +159,7 @@ async def test_method_bots_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(TopBotsResponse, top, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_bots(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.verified_bots.top.with_raw_response.bots() @@ -158,6 +169,7 @@ async def test_raw_response_bots(self, async_client: AsyncCloudflare) -> None: top = await response.parse() assert_matches_type(TopBotsResponse, top, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_bots(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.verified_bots.top.with_streaming_response.bots() as response: @@ -169,11 +181,13 @@ async def test_streaming_response_bots(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_categories(self, async_client: AsyncCloudflare) -> None: top = await async_client.radar.verified_bots.top.categories() assert_matches_type(TopCategoriesResponse, top, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_categories_with_all_params(self, async_client: AsyncCloudflare) -> None: top = await async_client.radar.verified_bots.top.categories( @@ -197,6 +211,7 @@ async def test_method_categories_with_all_params(self, async_client: AsyncCloudf ) assert_matches_type(TopCategoriesResponse, top, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_categories(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.verified_bots.top.with_raw_response.categories() @@ -206,6 +221,7 @@ async def test_raw_response_categories(self, async_client: AsyncCloudflare) -> N top = await response.parse() assert_matches_type(TopCategoriesResponse, top, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_categories(self, async_client: AsyncCloudflare) -> None: async with async_client.radar.verified_bots.top.with_streaming_response.categories() as response: diff --git a/tests/api_resources/registrar/test_domains.py b/tests/api_resources/registrar/test_domains.py index 5c0d686188c..924582e2af1 100644 --- a/tests/api_resources/registrar/test_domains.py +++ b/tests/api_resources/registrar/test_domains.py @@ -18,6 +18,7 @@ class TestDomains: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: domain = client.registrar.domains.update( @@ -26,6 +27,7 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[DomainUpdateResponse], domain, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: domain = client.registrar.domains.update( @@ -37,6 +39,7 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[DomainUpdateResponse], domain, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.registrar.domains.with_raw_response.update( @@ -49,6 +52,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: domain = response.parse() assert_matches_type(Optional[DomainUpdateResponse], domain, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.registrar.domains.with_streaming_response.update( @@ -63,6 +67,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -77,6 +82,7 @@ def test_path_params_update(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: domain = client.registrar.domains.list( @@ -84,6 +90,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[Domain], domain, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.registrar.domains.with_raw_response.list( @@ -95,6 +102,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: domain = response.parse() assert_matches_type(SyncSinglePage[Domain], domain, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.registrar.domains.with_streaming_response.list( @@ -108,6 +116,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -115,6 +124,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: domain = client.registrar.domains.get( @@ -123,6 +133,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[DomainGetResponse], domain, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.registrar.domains.with_raw_response.get( @@ -135,6 +146,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: domain = response.parse() assert_matches_type(Optional[DomainGetResponse], domain, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.registrar.domains.with_streaming_response.get( @@ -149,6 +161,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -167,6 +180,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncDomains: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: domain = await async_client.registrar.domains.update( @@ -175,6 +189,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[DomainUpdateResponse], domain, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: domain = await async_client.registrar.domains.update( @@ -186,6 +201,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[DomainUpdateResponse], domain, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.registrar.domains.with_raw_response.update( @@ -198,6 +214,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: domain = await response.parse() assert_matches_type(Optional[DomainUpdateResponse], domain, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.registrar.domains.with_streaming_response.update( @@ -212,6 +229,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -226,6 +244,7 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: domain = await async_client.registrar.domains.list( @@ -233,6 +252,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[Domain], domain, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.registrar.domains.with_raw_response.list( @@ -244,6 +264,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: domain = await response.parse() assert_matches_type(AsyncSinglePage[Domain], domain, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.registrar.domains.with_streaming_response.list( @@ -257,6 +278,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -264,6 +286,7 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: domain = await async_client.registrar.domains.get( @@ -272,6 +295,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[DomainGetResponse], domain, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.registrar.domains.with_raw_response.get( @@ -284,6 +308,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: domain = await response.parse() assert_matches_type(Optional[DomainGetResponse], domain, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.registrar.domains.with_streaming_response.get( @@ -298,6 +323,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/request_tracers/test_traces.py b/tests/api_resources/request_tracers/test_traces.py index ce807ccc33d..ebd56a1359a 100644 --- a/tests/api_resources/request_tracers/test_traces.py +++ b/tests/api_resources/request_tracers/test_traces.py @@ -17,6 +17,7 @@ class TestTraces: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: trace = client.request_tracers.traces.create( @@ -26,6 +27,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[TraceCreateResponse], trace, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: trace = client.request_tracers.traces.create( @@ -67,6 +69,7 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[TraceCreateResponse], trace, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.request_tracers.traces.with_raw_response.create( @@ -80,6 +83,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: trace = response.parse() assert_matches_type(Optional[TraceCreateResponse], trace, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.request_tracers.traces.with_streaming_response.create( @@ -95,6 +99,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -108,6 +113,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: class TestAsyncTraces: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: trace = await async_client.request_tracers.traces.create( @@ -117,6 +123,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[TraceCreateResponse], trace, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: trace = await async_client.request_tracers.traces.create( @@ -158,6 +165,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[TraceCreateResponse], trace, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.request_tracers.traces.with_raw_response.create( @@ -171,6 +179,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: trace = await response.parse() assert_matches_type(Optional[TraceCreateResponse], trace, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.request_tracers.traces.with_streaming_response.create( @@ -186,6 +195,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/rules/lists/test_bulk_operations.py b/tests/api_resources/rules/lists/test_bulk_operations.py index fa3248c9b0f..afc1fac33f2 100644 --- a/tests/api_resources/rules/lists/test_bulk_operations.py +++ b/tests/api_resources/rules/lists/test_bulk_operations.py @@ -17,6 +17,7 @@ class TestBulkOperations: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: bulk_operation = client.rules.lists.bulk_operations.get( @@ -25,6 +26,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[BulkOperationGetResponse], bulk_operation, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.rules.lists.bulk_operations.with_raw_response.get( @@ -37,6 +39,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: bulk_operation = response.parse() assert_matches_type(Optional[BulkOperationGetResponse], bulk_operation, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.rules.lists.bulk_operations.with_streaming_response.get( @@ -51,6 +54,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_identifier` but received ''"): @@ -69,6 +73,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncBulkOperations: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: bulk_operation = await async_client.rules.lists.bulk_operations.get( @@ -77,6 +82,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[BulkOperationGetResponse], bulk_operation, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.rules.lists.bulk_operations.with_raw_response.get( @@ -89,6 +95,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: bulk_operation = await response.parse() assert_matches_type(Optional[BulkOperationGetResponse], bulk_operation, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.rules.lists.bulk_operations.with_streaming_response.get( @@ -103,6 +110,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_identifier` but received ''"): diff --git a/tests/api_resources/rules/lists/test_items.py b/tests/api_resources/rules/lists/test_items.py index 8c13a87cda0..c2efab25330 100644 --- a/tests/api_resources/rules/lists/test_items.py +++ b/tests/api_resources/rules/lists/test_items.py @@ -23,6 +23,7 @@ class TestItems: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: item = client.rules.lists.items.create( @@ -32,6 +33,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ItemCreateResponse], item, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.rules.lists.items.with_raw_response.create( @@ -45,6 +47,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: item = response.parse() assert_matches_type(Optional[ItemCreateResponse], item, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.rules.lists.items.with_streaming_response.create( @@ -60,6 +63,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -76,6 +80,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: body=[{}, {}, {}], ) + @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: item = client.rules.lists.items.update( @@ -85,6 +90,7 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ItemUpdateResponse], item, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.rules.lists.items.with_raw_response.update( @@ -98,6 +104,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: item = response.parse() assert_matches_type(Optional[ItemUpdateResponse], item, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.rules.lists.items.with_streaming_response.update( @@ -113,6 +120,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -129,6 +137,7 @@ def test_path_params_update(self, client: Cloudflare) -> None: body=[{}, {}, {}], ) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: item = client.rules.lists.items.list( @@ -137,6 +146,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncCursorPagination[object], item, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: item = client.rules.lists.items.list( @@ -148,6 +158,7 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncCursorPagination[object], item, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.rules.lists.items.with_raw_response.list( @@ -160,6 +171,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: item = response.parse() assert_matches_type(SyncCursorPagination[object], item, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.rules.lists.items.with_streaming_response.list( @@ -174,6 +186,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -188,6 +201,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: item = client.rules.lists.items.delete( @@ -196,6 +210,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ItemDeleteResponse], item, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_delete_with_all_params(self, client: Cloudflare) -> None: item = client.rules.lists.items.delete( @@ -205,6 +220,7 @@ def test_method_delete_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ItemDeleteResponse], item, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.rules.lists.items.with_raw_response.delete( @@ -217,6 +233,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: item = response.parse() assert_matches_type(Optional[ItemDeleteResponse], item, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.rules.lists.items.with_streaming_response.delete( @@ -231,6 +248,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -245,6 +263,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: item = client.rules.lists.items.get( @@ -254,6 +273,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ItemGetResponse], item, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.rules.lists.items.with_raw_response.get( @@ -267,6 +287,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: item = response.parse() assert_matches_type(Optional[ItemGetResponse], item, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.rules.lists.items.with_streaming_response.get( @@ -282,6 +303,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_identifier` but received ''"): @@ -309,6 +331,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncItems: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: item = await async_client.rules.lists.items.create( @@ -318,6 +341,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[ItemCreateResponse], item, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.rules.lists.items.with_raw_response.create( @@ -331,6 +355,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: item = await response.parse() assert_matches_type(Optional[ItemCreateResponse], item, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.rules.lists.items.with_streaming_response.create( @@ -346,6 +371,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -362,6 +388,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: body=[{}, {}, {}], ) + @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: item = await async_client.rules.lists.items.update( @@ -371,6 +398,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[ItemUpdateResponse], item, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.rules.lists.items.with_raw_response.update( @@ -384,6 +412,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: item = await response.parse() assert_matches_type(Optional[ItemUpdateResponse], item, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.rules.lists.items.with_streaming_response.update( @@ -399,6 +428,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -415,6 +445,7 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: body=[{}, {}, {}], ) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: item = await async_client.rules.lists.items.list( @@ -423,6 +454,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncCursorPagination[object], item, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: item = await async_client.rules.lists.items.list( @@ -434,6 +466,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncCursorPagination[object], item, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.rules.lists.items.with_raw_response.list( @@ -446,6 +479,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: item = await response.parse() assert_matches_type(AsyncCursorPagination[object], item, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.rules.lists.items.with_streaming_response.list( @@ -460,6 +494,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -474,6 +509,7 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: item = await async_client.rules.lists.items.delete( @@ -482,6 +518,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[ItemDeleteResponse], item, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_delete_with_all_params(self, async_client: AsyncCloudflare) -> None: item = await async_client.rules.lists.items.delete( @@ -491,6 +528,7 @@ async def test_method_delete_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[ItemDeleteResponse], item, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.rules.lists.items.with_raw_response.delete( @@ -503,6 +541,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: item = await response.parse() assert_matches_type(Optional[ItemDeleteResponse], item, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.rules.lists.items.with_streaming_response.delete( @@ -517,6 +556,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -531,6 +571,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: item = await async_client.rules.lists.items.get( @@ -540,6 +581,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[ItemGetResponse], item, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.rules.lists.items.with_raw_response.get( @@ -553,6 +595,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: item = await response.parse() assert_matches_type(Optional[ItemGetResponse], item, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.rules.lists.items.with_streaming_response.get( @@ -568,6 +611,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_identifier` but received ''"): diff --git a/tests/api_resources/rules/test_lists.py b/tests/api_resources/rules/test_lists.py index f2e34136195..c63a54d2fa1 100644 --- a/tests/api_resources/rules/test_lists.py +++ b/tests/api_resources/rules/test_lists.py @@ -21,6 +21,7 @@ class TestLists: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: list = client.rules.lists.create( @@ -30,6 +31,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ListsList], list, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: list = client.rules.lists.create( @@ -40,6 +42,7 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ListsList], list, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.rules.lists.with_raw_response.create( @@ -53,6 +56,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: list = response.parse() assert_matches_type(Optional[ListsList], list, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.rules.lists.with_streaming_response.create( @@ -68,6 +72,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -77,6 +82,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: name="list1", ) + @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: list = client.rules.lists.update( @@ -85,6 +91,7 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ListsList], list, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: list = client.rules.lists.update( @@ -94,6 +101,7 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ListsList], list, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.rules.lists.with_raw_response.update( @@ -106,6 +114,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: list = response.parse() assert_matches_type(Optional[ListsList], list, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.rules.lists.with_streaming_response.update( @@ -120,6 +129,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -134,6 +144,7 @@ def test_path_params_update(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: list = client.rules.lists.list( @@ -141,6 +152,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[ListsList], list, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.rules.lists.with_raw_response.list( @@ -152,6 +164,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: list = response.parse() assert_matches_type(SyncSinglePage[ListsList], list, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.rules.lists.with_streaming_response.list( @@ -165,6 +178,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -172,6 +186,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: list = client.rules.lists.delete( @@ -181,6 +196,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ListDeleteResponse], list, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.rules.lists.with_raw_response.delete( @@ -194,6 +210,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: list = response.parse() assert_matches_type(Optional[ListDeleteResponse], list, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.rules.lists.with_streaming_response.delete( @@ -209,6 +226,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -225,6 +243,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: list = client.rules.lists.get( @@ -233,6 +252,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ListsList], list, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.rules.lists.with_raw_response.get( @@ -245,6 +265,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: list = response.parse() assert_matches_type(Optional[ListsList], list, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.rules.lists.with_streaming_response.get( @@ -259,6 +280,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -277,6 +299,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncLists: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: list = await async_client.rules.lists.create( @@ -286,6 +309,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[ListsList], list, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: list = await async_client.rules.lists.create( @@ -296,6 +320,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[ListsList], list, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.rules.lists.with_raw_response.create( @@ -309,6 +334,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: list = await response.parse() assert_matches_type(Optional[ListsList], list, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.rules.lists.with_streaming_response.create( @@ -324,6 +350,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -333,6 +360,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: name="list1", ) + @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: list = await async_client.rules.lists.update( @@ -341,6 +369,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[ListsList], list, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: list = await async_client.rules.lists.update( @@ -350,6 +379,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[ListsList], list, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.rules.lists.with_raw_response.update( @@ -362,6 +392,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: list = await response.parse() assert_matches_type(Optional[ListsList], list, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.rules.lists.with_streaming_response.update( @@ -376,6 +407,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -390,6 +422,7 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: list = await async_client.rules.lists.list( @@ -397,6 +430,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[ListsList], list, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.rules.lists.with_raw_response.list( @@ -408,6 +442,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: list = await response.parse() assert_matches_type(AsyncSinglePage[ListsList], list, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.rules.lists.with_streaming_response.list( @@ -421,6 +456,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -428,6 +464,7 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: list = await async_client.rules.lists.delete( @@ -437,6 +474,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[ListDeleteResponse], list, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.rules.lists.with_raw_response.delete( @@ -450,6 +488,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: list = await response.parse() assert_matches_type(Optional[ListDeleteResponse], list, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.rules.lists.with_streaming_response.delete( @@ -465,6 +504,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -481,6 +521,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: list = await async_client.rules.lists.get( @@ -489,6 +530,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[ListsList], list, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.rules.lists.with_raw_response.get( @@ -501,6 +543,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: list = await response.parse() assert_matches_type(Optional[ListsList], list, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.rules.lists.with_streaming_response.get( @@ -515,6 +558,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/rulesets/phases/test_versions.py b/tests/api_resources/rulesets/phases/test_versions.py index 1b3e2ca6a66..ab4e35406ce 100644 --- a/tests/api_resources/rulesets/phases/test_versions.py +++ b/tests/api_resources/rulesets/phases/test_versions.py @@ -19,6 +19,7 @@ class TestVersions: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: version = client.rulesets.phases.versions.list( @@ -28,6 +29,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[Ruleset], version, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: version = client.rulesets.phases.versions.list( @@ -37,6 +39,7 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[Ruleset], version, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.rulesets.phases.versions.with_raw_response.list( @@ -50,6 +53,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: version = response.parse() assert_matches_type(SyncSinglePage[Ruleset], version, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.rulesets.phases.versions.with_streaming_response.list( @@ -65,6 +69,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -81,6 +86,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: version = client.rulesets.phases.versions.get( @@ -91,6 +97,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(VersionGetResponse, version, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: version = client.rulesets.phases.versions.get( @@ -101,6 +108,7 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(VersionGetResponse, version, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.rulesets.phases.versions.with_raw_response.get( @@ -115,6 +123,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: version = response.parse() assert_matches_type(VersionGetResponse, version, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.rulesets.phases.versions.with_streaming_response.get( @@ -131,6 +140,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `ruleset_version` but received ''"): @@ -161,6 +171,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncVersions: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: version = await async_client.rulesets.phases.versions.list( @@ -170,6 +181,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[Ruleset], version, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: version = await async_client.rulesets.phases.versions.list( @@ -179,6 +191,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncSinglePage[Ruleset], version, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.rulesets.phases.versions.with_raw_response.list( @@ -192,6 +205,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: version = await response.parse() assert_matches_type(AsyncSinglePage[Ruleset], version, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.rulesets.phases.versions.with_streaming_response.list( @@ -207,6 +221,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -223,6 +238,7 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: version = await async_client.rulesets.phases.versions.get( @@ -233,6 +249,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(VersionGetResponse, version, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: version = await async_client.rulesets.phases.versions.get( @@ -243,6 +260,7 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(VersionGetResponse, version, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.rulesets.phases.versions.with_raw_response.get( @@ -257,6 +275,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: version = await response.parse() assert_matches_type(VersionGetResponse, version, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.rulesets.phases.versions.with_streaming_response.get( @@ -273,6 +292,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `ruleset_version` but received ''"): diff --git a/tests/api_resources/rulesets/test_phases.py b/tests/api_resources/rulesets/test_phases.py index 39d00a5951d..63fb6253667 100644 --- a/tests/api_resources/rulesets/test_phases.py +++ b/tests/api_resources/rulesets/test_phases.py @@ -17,6 +17,7 @@ class TestPhases: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: phase = client.rulesets.phases.update( @@ -27,6 +28,7 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(PhaseUpdateResponse, phase, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: phase = client.rulesets.phases.update( @@ -90,6 +92,7 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(PhaseUpdateResponse, phase, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.rulesets.phases.with_raw_response.update( @@ -104,6 +107,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: phase = response.parse() assert_matches_type(PhaseUpdateResponse, phase, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.rulesets.phases.with_streaming_response.update( @@ -120,6 +124,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -138,6 +143,7 @@ def test_path_params_update(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: phase = client.rulesets.phases.get( @@ -147,6 +153,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(PhaseGetResponse, phase, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: phase = client.rulesets.phases.get( @@ -156,6 +163,7 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(PhaseGetResponse, phase, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.rulesets.phases.with_raw_response.get( @@ -169,6 +177,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: phase = response.parse() assert_matches_type(PhaseGetResponse, phase, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.rulesets.phases.with_streaming_response.get( @@ -184,6 +193,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -204,6 +214,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncPhases: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: phase = await async_client.rulesets.phases.update( @@ -214,6 +225,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(PhaseUpdateResponse, phase, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: phase = await async_client.rulesets.phases.update( @@ -277,6 +289,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(PhaseUpdateResponse, phase, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.rulesets.phases.with_raw_response.update( @@ -291,6 +304,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: phase = await response.parse() assert_matches_type(PhaseUpdateResponse, phase, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.rulesets.phases.with_streaming_response.update( @@ -307,6 +321,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -325,6 +340,7 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: phase = await async_client.rulesets.phases.get( @@ -334,6 +350,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(PhaseGetResponse, phase, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: phase = await async_client.rulesets.phases.get( @@ -343,6 +360,7 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(PhaseGetResponse, phase, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.rulesets.phases.with_raw_response.get( @@ -356,6 +374,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: phase = await response.parse() assert_matches_type(PhaseGetResponse, phase, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.rulesets.phases.with_streaming_response.get( @@ -371,6 +390,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/rulesets/test_rules.py b/tests/api_resources/rulesets/test_rules.py index e5671035111..bfa711e3da1 100644 --- a/tests/api_resources/rulesets/test_rules.py +++ b/tests/api_resources/rulesets/test_rules.py @@ -21,6 +21,7 @@ class TestRules: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create_overload_1(self, client: Cloudflare) -> None: rule = client.rulesets.rules.create( @@ -30,6 +31,7 @@ def test_method_create_overload_1(self, client: Cloudflare) -> None: ) assert_matches_type(RuleCreateResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params_overload_1(self, client: Cloudflare) -> None: rule = client.rulesets.rules.create( @@ -53,6 +55,7 @@ def test_method_create_with_all_params_overload_1(self, client: Cloudflare) -> N ) assert_matches_type(RuleCreateResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create_overload_1(self, client: Cloudflare) -> None: response = client.rulesets.rules.with_raw_response.create( @@ -66,6 +69,7 @@ def test_raw_response_create_overload_1(self, client: Cloudflare) -> None: rule = response.parse() assert_matches_type(RuleCreateResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create_overload_1(self, client: Cloudflare) -> None: with client.rulesets.rules.with_streaming_response.create( @@ -81,6 +85,7 @@ def test_streaming_response_create_overload_1(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create_overload_1(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `ruleset_id` but received ''"): @@ -104,6 +109,7 @@ def test_path_params_create_overload_1(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_create_overload_2(self, client: Cloudflare) -> None: rule = client.rulesets.rules.create( @@ -113,6 +119,7 @@ def test_method_create_overload_2(self, client: Cloudflare) -> None: ) assert_matches_type(RuleCreateResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params_overload_2(self, client: Cloudflare) -> None: rule = client.rulesets.rules.create( @@ -130,6 +137,7 @@ def test_method_create_with_all_params_overload_2(self, client: Cloudflare) -> N ) assert_matches_type(RuleCreateResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create_overload_2(self, client: Cloudflare) -> None: response = client.rulesets.rules.with_raw_response.create( @@ -143,6 +151,7 @@ def test_raw_response_create_overload_2(self, client: Cloudflare) -> None: rule = response.parse() assert_matches_type(RuleCreateResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create_overload_2(self, client: Cloudflare) -> None: with client.rulesets.rules.with_streaming_response.create( @@ -158,6 +167,7 @@ def test_streaming_response_create_overload_2(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create_overload_2(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `ruleset_id` but received ''"): @@ -181,6 +191,7 @@ def test_path_params_create_overload_2(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_create_overload_3(self, client: Cloudflare) -> None: rule = client.rulesets.rules.create( @@ -190,6 +201,7 @@ def test_method_create_overload_3(self, client: Cloudflare) -> None: ) assert_matches_type(RuleCreateResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params_overload_3(self, client: Cloudflare) -> None: rule = client.rulesets.rules.create( @@ -207,6 +219,7 @@ def test_method_create_with_all_params_overload_3(self, client: Cloudflare) -> N ) assert_matches_type(RuleCreateResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create_overload_3(self, client: Cloudflare) -> None: response = client.rulesets.rules.with_raw_response.create( @@ -220,6 +233,7 @@ def test_raw_response_create_overload_3(self, client: Cloudflare) -> None: rule = response.parse() assert_matches_type(RuleCreateResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create_overload_3(self, client: Cloudflare) -> None: with client.rulesets.rules.with_streaming_response.create( @@ -235,6 +249,7 @@ def test_streaming_response_create_overload_3(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create_overload_3(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `ruleset_id` but received ''"): @@ -258,6 +273,7 @@ def test_path_params_create_overload_3(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_create_overload_4(self, client: Cloudflare) -> None: rule = client.rulesets.rules.create( @@ -267,6 +283,7 @@ def test_method_create_overload_4(self, client: Cloudflare) -> None: ) assert_matches_type(RuleCreateResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params_overload_4(self, client: Cloudflare) -> None: rule = client.rulesets.rules.create( @@ -309,6 +326,7 @@ def test_method_create_with_all_params_overload_4(self, client: Cloudflare) -> N ) assert_matches_type(RuleCreateResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create_overload_4(self, client: Cloudflare) -> None: response = client.rulesets.rules.with_raw_response.create( @@ -322,6 +340,7 @@ def test_raw_response_create_overload_4(self, client: Cloudflare) -> None: rule = response.parse() assert_matches_type(RuleCreateResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create_overload_4(self, client: Cloudflare) -> None: with client.rulesets.rules.with_streaming_response.create( @@ -337,6 +356,7 @@ def test_streaming_response_create_overload_4(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create_overload_4(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `ruleset_id` but received ''"): @@ -360,6 +380,7 @@ def test_path_params_create_overload_4(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_create_overload_5(self, client: Cloudflare) -> None: rule = client.rulesets.rules.create( @@ -369,6 +390,7 @@ def test_method_create_overload_5(self, client: Cloudflare) -> None: ) assert_matches_type(RuleCreateResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params_overload_5(self, client: Cloudflare) -> None: rule = client.rulesets.rules.create( @@ -386,6 +408,7 @@ def test_method_create_with_all_params_overload_5(self, client: Cloudflare) -> N ) assert_matches_type(RuleCreateResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create_overload_5(self, client: Cloudflare) -> None: response = client.rulesets.rules.with_raw_response.create( @@ -399,6 +422,7 @@ def test_raw_response_create_overload_5(self, client: Cloudflare) -> None: rule = response.parse() assert_matches_type(RuleCreateResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create_overload_5(self, client: Cloudflare) -> None: with client.rulesets.rules.with_streaming_response.create( @@ -414,6 +438,7 @@ def test_streaming_response_create_overload_5(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create_overload_5(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `ruleset_id` but received ''"): @@ -437,6 +462,7 @@ def test_path_params_create_overload_5(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_create_overload_6(self, client: Cloudflare) -> None: rule = client.rulesets.rules.create( @@ -446,6 +472,7 @@ def test_method_create_overload_6(self, client: Cloudflare) -> None: ) assert_matches_type(RuleCreateResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params_overload_6(self, client: Cloudflare) -> None: rule = client.rulesets.rules.create( @@ -463,6 +490,7 @@ def test_method_create_with_all_params_overload_6(self, client: Cloudflare) -> N ) assert_matches_type(RuleCreateResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create_overload_6(self, client: Cloudflare) -> None: response = client.rulesets.rules.with_raw_response.create( @@ -476,6 +504,7 @@ def test_raw_response_create_overload_6(self, client: Cloudflare) -> None: rule = response.parse() assert_matches_type(RuleCreateResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create_overload_6(self, client: Cloudflare) -> None: with client.rulesets.rules.with_streaming_response.create( @@ -491,6 +520,7 @@ def test_streaming_response_create_overload_6(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create_overload_6(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `ruleset_id` but received ''"): @@ -514,6 +544,7 @@ def test_path_params_create_overload_6(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_create_overload_7(self, client: Cloudflare) -> None: rule = client.rulesets.rules.create( @@ -523,6 +554,7 @@ def test_method_create_overload_7(self, client: Cloudflare) -> None: ) assert_matches_type(RuleCreateResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params_overload_7(self, client: Cloudflare) -> None: rule = client.rulesets.rules.create( @@ -540,6 +572,7 @@ def test_method_create_with_all_params_overload_7(self, client: Cloudflare) -> N ) assert_matches_type(RuleCreateResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create_overload_7(self, client: Cloudflare) -> None: response = client.rulesets.rules.with_raw_response.create( @@ -553,6 +586,7 @@ def test_raw_response_create_overload_7(self, client: Cloudflare) -> None: rule = response.parse() assert_matches_type(RuleCreateResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create_overload_7(self, client: Cloudflare) -> None: with client.rulesets.rules.with_streaming_response.create( @@ -568,6 +602,7 @@ def test_streaming_response_create_overload_7(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create_overload_7(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `ruleset_id` but received ''"): @@ -591,6 +626,7 @@ def test_path_params_create_overload_7(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_create_overload_8(self, client: Cloudflare) -> None: rule = client.rulesets.rules.create( @@ -600,6 +636,7 @@ def test_method_create_overload_8(self, client: Cloudflare) -> None: ) assert_matches_type(RuleCreateResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params_overload_8(self, client: Cloudflare) -> None: rule = client.rulesets.rules.create( @@ -627,6 +664,7 @@ def test_method_create_with_all_params_overload_8(self, client: Cloudflare) -> N ) assert_matches_type(RuleCreateResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create_overload_8(self, client: Cloudflare) -> None: response = client.rulesets.rules.with_raw_response.create( @@ -640,6 +678,7 @@ def test_raw_response_create_overload_8(self, client: Cloudflare) -> None: rule = response.parse() assert_matches_type(RuleCreateResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create_overload_8(self, client: Cloudflare) -> None: with client.rulesets.rules.with_streaming_response.create( @@ -655,6 +694,7 @@ def test_streaming_response_create_overload_8(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create_overload_8(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `ruleset_id` but received ''"): @@ -678,6 +718,7 @@ def test_path_params_create_overload_8(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_create_overload_9(self, client: Cloudflare) -> None: rule = client.rulesets.rules.create( @@ -687,6 +728,7 @@ def test_method_create_overload_9(self, client: Cloudflare) -> None: ) assert_matches_type(RuleCreateResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params_overload_9(self, client: Cloudflare) -> None: rule = client.rulesets.rules.create( @@ -715,6 +757,7 @@ def test_method_create_with_all_params_overload_9(self, client: Cloudflare) -> N ) assert_matches_type(RuleCreateResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create_overload_9(self, client: Cloudflare) -> None: response = client.rulesets.rules.with_raw_response.create( @@ -728,6 +771,7 @@ def test_raw_response_create_overload_9(self, client: Cloudflare) -> None: rule = response.parse() assert_matches_type(RuleCreateResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create_overload_9(self, client: Cloudflare) -> None: with client.rulesets.rules.with_streaming_response.create( @@ -743,6 +787,7 @@ def test_streaming_response_create_overload_9(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create_overload_9(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `ruleset_id` but received ''"): @@ -766,6 +811,7 @@ def test_path_params_create_overload_9(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_create_overload_10(self, client: Cloudflare) -> None: rule = client.rulesets.rules.create( @@ -775,6 +821,7 @@ def test_method_create_overload_10(self, client: Cloudflare) -> None: ) assert_matches_type(RuleCreateResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params_overload_10(self, client: Cloudflare) -> None: rule = client.rulesets.rules.create( @@ -799,6 +846,7 @@ def test_method_create_with_all_params_overload_10(self, client: Cloudflare) -> ) assert_matches_type(RuleCreateResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create_overload_10(self, client: Cloudflare) -> None: response = client.rulesets.rules.with_raw_response.create( @@ -812,6 +860,7 @@ def test_raw_response_create_overload_10(self, client: Cloudflare) -> None: rule = response.parse() assert_matches_type(RuleCreateResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create_overload_10(self, client: Cloudflare) -> None: with client.rulesets.rules.with_streaming_response.create( @@ -827,6 +876,7 @@ def test_streaming_response_create_overload_10(self, client: Cloudflare) -> None assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create_overload_10(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `ruleset_id` but received ''"): @@ -850,6 +900,7 @@ def test_path_params_create_overload_10(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_create_overload_11(self, client: Cloudflare) -> None: rule = client.rulesets.rules.create( @@ -859,6 +910,7 @@ def test_method_create_overload_11(self, client: Cloudflare) -> None: ) assert_matches_type(RuleCreateResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params_overload_11(self, client: Cloudflare) -> None: rule = client.rulesets.rules.create( @@ -876,6 +928,7 @@ def test_method_create_with_all_params_overload_11(self, client: Cloudflare) -> ) assert_matches_type(RuleCreateResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create_overload_11(self, client: Cloudflare) -> None: response = client.rulesets.rules.with_raw_response.create( @@ -889,6 +942,7 @@ def test_raw_response_create_overload_11(self, client: Cloudflare) -> None: rule = response.parse() assert_matches_type(RuleCreateResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create_overload_11(self, client: Cloudflare) -> None: with client.rulesets.rules.with_streaming_response.create( @@ -904,6 +958,7 @@ def test_streaming_response_create_overload_11(self, client: Cloudflare) -> None assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create_overload_11(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `ruleset_id` but received ''"): @@ -927,6 +982,7 @@ def test_path_params_create_overload_11(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_create_overload_12(self, client: Cloudflare) -> None: rule = client.rulesets.rules.create( @@ -936,6 +992,7 @@ def test_method_create_overload_12(self, client: Cloudflare) -> None: ) assert_matches_type(RuleCreateResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params_overload_12(self, client: Cloudflare) -> None: rule = client.rulesets.rules.create( @@ -957,6 +1014,7 @@ def test_method_create_with_all_params_overload_12(self, client: Cloudflare) -> ) assert_matches_type(RuleCreateResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create_overload_12(self, client: Cloudflare) -> None: response = client.rulesets.rules.with_raw_response.create( @@ -970,6 +1028,7 @@ def test_raw_response_create_overload_12(self, client: Cloudflare) -> None: rule = response.parse() assert_matches_type(RuleCreateResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create_overload_12(self, client: Cloudflare) -> None: with client.rulesets.rules.with_streaming_response.create( @@ -985,6 +1044,7 @@ def test_streaming_response_create_overload_12(self, client: Cloudflare) -> None assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create_overload_12(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `ruleset_id` but received ''"): @@ -1008,6 +1068,7 @@ def test_path_params_create_overload_12(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_create_overload_13(self, client: Cloudflare) -> None: rule = client.rulesets.rules.create( @@ -1017,6 +1078,7 @@ def test_method_create_overload_13(self, client: Cloudflare) -> None: ) assert_matches_type(RuleCreateResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params_overload_13(self, client: Cloudflare) -> None: rule = client.rulesets.rules.create( @@ -1054,6 +1116,7 @@ def test_method_create_with_all_params_overload_13(self, client: Cloudflare) -> ) assert_matches_type(RuleCreateResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create_overload_13(self, client: Cloudflare) -> None: response = client.rulesets.rules.with_raw_response.create( @@ -1067,6 +1130,7 @@ def test_raw_response_create_overload_13(self, client: Cloudflare) -> None: rule = response.parse() assert_matches_type(RuleCreateResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create_overload_13(self, client: Cloudflare) -> None: with client.rulesets.rules.with_streaming_response.create( @@ -1082,6 +1146,7 @@ def test_streaming_response_create_overload_13(self, client: Cloudflare) -> None assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create_overload_13(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `ruleset_id` but received ''"): @@ -1105,6 +1170,7 @@ def test_path_params_create_overload_13(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_create_overload_14(self, client: Cloudflare) -> None: rule = client.rulesets.rules.create( @@ -1114,6 +1180,7 @@ def test_method_create_overload_14(self, client: Cloudflare) -> None: ) assert_matches_type(RuleCreateResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params_overload_14(self, client: Cloudflare) -> None: rule = client.rulesets.rules.create( @@ -1137,6 +1204,7 @@ def test_method_create_with_all_params_overload_14(self, client: Cloudflare) -> ) assert_matches_type(RuleCreateResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create_overload_14(self, client: Cloudflare) -> None: response = client.rulesets.rules.with_raw_response.create( @@ -1150,6 +1218,7 @@ def test_raw_response_create_overload_14(self, client: Cloudflare) -> None: rule = response.parse() assert_matches_type(RuleCreateResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create_overload_14(self, client: Cloudflare) -> None: with client.rulesets.rules.with_streaming_response.create( @@ -1165,6 +1234,7 @@ def test_streaming_response_create_overload_14(self, client: Cloudflare) -> None assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create_overload_14(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `ruleset_id` but received ''"): @@ -1188,6 +1258,7 @@ def test_path_params_create_overload_14(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_create_overload_15(self, client: Cloudflare) -> None: rule = client.rulesets.rules.create( @@ -1197,6 +1268,7 @@ def test_method_create_overload_15(self, client: Cloudflare) -> None: ) assert_matches_type(RuleCreateResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params_overload_15(self, client: Cloudflare) -> None: rule = client.rulesets.rules.create( @@ -1292,6 +1364,7 @@ def test_method_create_with_all_params_overload_15(self, client: Cloudflare) -> ) assert_matches_type(RuleCreateResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create_overload_15(self, client: Cloudflare) -> None: response = client.rulesets.rules.with_raw_response.create( @@ -1305,6 +1378,7 @@ def test_raw_response_create_overload_15(self, client: Cloudflare) -> None: rule = response.parse() assert_matches_type(RuleCreateResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create_overload_15(self, client: Cloudflare) -> None: with client.rulesets.rules.with_streaming_response.create( @@ -1320,6 +1394,7 @@ def test_streaming_response_create_overload_15(self, client: Cloudflare) -> None assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create_overload_15(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `ruleset_id` but received ''"): @@ -1343,6 +1418,7 @@ def test_path_params_create_overload_15(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: rule = client.rulesets.rules.delete( @@ -1353,6 +1429,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(RuleDeleteResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_delete_with_all_params(self, client: Cloudflare) -> None: rule = client.rulesets.rules.delete( @@ -1363,6 +1440,7 @@ def test_method_delete_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(RuleDeleteResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.rulesets.rules.with_raw_response.delete( @@ -1377,6 +1455,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: rule = response.parse() assert_matches_type(RuleDeleteResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.rulesets.rules.with_streaming_response.delete( @@ -1393,6 +1472,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `ruleset_id` but received ''"): @@ -1427,6 +1507,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_edit_overload_1(self, client: Cloudflare) -> None: rule = client.rulesets.rules.edit( @@ -1437,6 +1518,7 @@ def test_method_edit_overload_1(self, client: Cloudflare) -> None: ) assert_matches_type(RuleEditResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_edit_with_all_params_overload_1(self, client: Cloudflare) -> None: rule = client.rulesets.rules.edit( @@ -1461,6 +1543,7 @@ def test_method_edit_with_all_params_overload_1(self, client: Cloudflare) -> Non ) assert_matches_type(RuleEditResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit_overload_1(self, client: Cloudflare) -> None: response = client.rulesets.rules.with_raw_response.edit( @@ -1475,6 +1558,7 @@ def test_raw_response_edit_overload_1(self, client: Cloudflare) -> None: rule = response.parse() assert_matches_type(RuleEditResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit_overload_1(self, client: Cloudflare) -> None: with client.rulesets.rules.with_streaming_response.edit( @@ -1491,6 +1575,7 @@ def test_streaming_response_edit_overload_1(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit_overload_1(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `ruleset_id` but received ''"): @@ -1525,6 +1610,7 @@ def test_path_params_edit_overload_1(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_edit_overload_2(self, client: Cloudflare) -> None: rule = client.rulesets.rules.edit( @@ -1535,6 +1621,7 @@ def test_method_edit_overload_2(self, client: Cloudflare) -> None: ) assert_matches_type(RuleEditResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_edit_with_all_params_overload_2(self, client: Cloudflare) -> None: rule = client.rulesets.rules.edit( @@ -1553,6 +1640,7 @@ def test_method_edit_with_all_params_overload_2(self, client: Cloudflare) -> Non ) assert_matches_type(RuleEditResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit_overload_2(self, client: Cloudflare) -> None: response = client.rulesets.rules.with_raw_response.edit( @@ -1567,6 +1655,7 @@ def test_raw_response_edit_overload_2(self, client: Cloudflare) -> None: rule = response.parse() assert_matches_type(RuleEditResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit_overload_2(self, client: Cloudflare) -> None: with client.rulesets.rules.with_streaming_response.edit( @@ -1583,6 +1672,7 @@ def test_streaming_response_edit_overload_2(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit_overload_2(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `ruleset_id` but received ''"): @@ -1617,6 +1707,7 @@ def test_path_params_edit_overload_2(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_edit_overload_3(self, client: Cloudflare) -> None: rule = client.rulesets.rules.edit( @@ -1627,6 +1718,7 @@ def test_method_edit_overload_3(self, client: Cloudflare) -> None: ) assert_matches_type(RuleEditResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_edit_with_all_params_overload_3(self, client: Cloudflare) -> None: rule = client.rulesets.rules.edit( @@ -1645,6 +1737,7 @@ def test_method_edit_with_all_params_overload_3(self, client: Cloudflare) -> Non ) assert_matches_type(RuleEditResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit_overload_3(self, client: Cloudflare) -> None: response = client.rulesets.rules.with_raw_response.edit( @@ -1659,6 +1752,7 @@ def test_raw_response_edit_overload_3(self, client: Cloudflare) -> None: rule = response.parse() assert_matches_type(RuleEditResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit_overload_3(self, client: Cloudflare) -> None: with client.rulesets.rules.with_streaming_response.edit( @@ -1675,6 +1769,7 @@ def test_streaming_response_edit_overload_3(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit_overload_3(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `ruleset_id` but received ''"): @@ -1709,6 +1804,7 @@ def test_path_params_edit_overload_3(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_edit_overload_4(self, client: Cloudflare) -> None: rule = client.rulesets.rules.edit( @@ -1719,6 +1815,7 @@ def test_method_edit_overload_4(self, client: Cloudflare) -> None: ) assert_matches_type(RuleEditResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_edit_with_all_params_overload_4(self, client: Cloudflare) -> None: rule = client.rulesets.rules.edit( @@ -1762,6 +1859,7 @@ def test_method_edit_with_all_params_overload_4(self, client: Cloudflare) -> Non ) assert_matches_type(RuleEditResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit_overload_4(self, client: Cloudflare) -> None: response = client.rulesets.rules.with_raw_response.edit( @@ -1776,6 +1874,7 @@ def test_raw_response_edit_overload_4(self, client: Cloudflare) -> None: rule = response.parse() assert_matches_type(RuleEditResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit_overload_4(self, client: Cloudflare) -> None: with client.rulesets.rules.with_streaming_response.edit( @@ -1792,6 +1891,7 @@ def test_streaming_response_edit_overload_4(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit_overload_4(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `ruleset_id` but received ''"): @@ -1826,6 +1926,7 @@ def test_path_params_edit_overload_4(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_edit_overload_5(self, client: Cloudflare) -> None: rule = client.rulesets.rules.edit( @@ -1836,6 +1937,7 @@ def test_method_edit_overload_5(self, client: Cloudflare) -> None: ) assert_matches_type(RuleEditResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_edit_with_all_params_overload_5(self, client: Cloudflare) -> None: rule = client.rulesets.rules.edit( @@ -1854,6 +1956,7 @@ def test_method_edit_with_all_params_overload_5(self, client: Cloudflare) -> Non ) assert_matches_type(RuleEditResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit_overload_5(self, client: Cloudflare) -> None: response = client.rulesets.rules.with_raw_response.edit( @@ -1868,6 +1971,7 @@ def test_raw_response_edit_overload_5(self, client: Cloudflare) -> None: rule = response.parse() assert_matches_type(RuleEditResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit_overload_5(self, client: Cloudflare) -> None: with client.rulesets.rules.with_streaming_response.edit( @@ -1884,6 +1988,7 @@ def test_streaming_response_edit_overload_5(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit_overload_5(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `ruleset_id` but received ''"): @@ -1918,6 +2023,7 @@ def test_path_params_edit_overload_5(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_edit_overload_6(self, client: Cloudflare) -> None: rule = client.rulesets.rules.edit( @@ -1928,6 +2034,7 @@ def test_method_edit_overload_6(self, client: Cloudflare) -> None: ) assert_matches_type(RuleEditResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_edit_with_all_params_overload_6(self, client: Cloudflare) -> None: rule = client.rulesets.rules.edit( @@ -1946,6 +2053,7 @@ def test_method_edit_with_all_params_overload_6(self, client: Cloudflare) -> Non ) assert_matches_type(RuleEditResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit_overload_6(self, client: Cloudflare) -> None: response = client.rulesets.rules.with_raw_response.edit( @@ -1960,6 +2068,7 @@ def test_raw_response_edit_overload_6(self, client: Cloudflare) -> None: rule = response.parse() assert_matches_type(RuleEditResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit_overload_6(self, client: Cloudflare) -> None: with client.rulesets.rules.with_streaming_response.edit( @@ -1976,6 +2085,7 @@ def test_streaming_response_edit_overload_6(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit_overload_6(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `ruleset_id` but received ''"): @@ -2010,6 +2120,7 @@ def test_path_params_edit_overload_6(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_edit_overload_7(self, client: Cloudflare) -> None: rule = client.rulesets.rules.edit( @@ -2020,6 +2131,7 @@ def test_method_edit_overload_7(self, client: Cloudflare) -> None: ) assert_matches_type(RuleEditResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_edit_with_all_params_overload_7(self, client: Cloudflare) -> None: rule = client.rulesets.rules.edit( @@ -2038,6 +2150,7 @@ def test_method_edit_with_all_params_overload_7(self, client: Cloudflare) -> Non ) assert_matches_type(RuleEditResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit_overload_7(self, client: Cloudflare) -> None: response = client.rulesets.rules.with_raw_response.edit( @@ -2052,6 +2165,7 @@ def test_raw_response_edit_overload_7(self, client: Cloudflare) -> None: rule = response.parse() assert_matches_type(RuleEditResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit_overload_7(self, client: Cloudflare) -> None: with client.rulesets.rules.with_streaming_response.edit( @@ -2068,6 +2182,7 @@ def test_streaming_response_edit_overload_7(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit_overload_7(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `ruleset_id` but received ''"): @@ -2102,6 +2217,7 @@ def test_path_params_edit_overload_7(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_edit_overload_8(self, client: Cloudflare) -> None: rule = client.rulesets.rules.edit( @@ -2112,6 +2228,7 @@ def test_method_edit_overload_8(self, client: Cloudflare) -> None: ) assert_matches_type(RuleEditResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_edit_with_all_params_overload_8(self, client: Cloudflare) -> None: rule = client.rulesets.rules.edit( @@ -2140,6 +2257,7 @@ def test_method_edit_with_all_params_overload_8(self, client: Cloudflare) -> Non ) assert_matches_type(RuleEditResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit_overload_8(self, client: Cloudflare) -> None: response = client.rulesets.rules.with_raw_response.edit( @@ -2154,6 +2272,7 @@ def test_raw_response_edit_overload_8(self, client: Cloudflare) -> None: rule = response.parse() assert_matches_type(RuleEditResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit_overload_8(self, client: Cloudflare) -> None: with client.rulesets.rules.with_streaming_response.edit( @@ -2170,6 +2289,7 @@ def test_streaming_response_edit_overload_8(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit_overload_8(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `ruleset_id` but received ''"): @@ -2204,6 +2324,7 @@ def test_path_params_edit_overload_8(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_edit_overload_9(self, client: Cloudflare) -> None: rule = client.rulesets.rules.edit( @@ -2214,6 +2335,7 @@ def test_method_edit_overload_9(self, client: Cloudflare) -> None: ) assert_matches_type(RuleEditResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_edit_with_all_params_overload_9(self, client: Cloudflare) -> None: rule = client.rulesets.rules.edit( @@ -2243,6 +2365,7 @@ def test_method_edit_with_all_params_overload_9(self, client: Cloudflare) -> Non ) assert_matches_type(RuleEditResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit_overload_9(self, client: Cloudflare) -> None: response = client.rulesets.rules.with_raw_response.edit( @@ -2257,6 +2380,7 @@ def test_raw_response_edit_overload_9(self, client: Cloudflare) -> None: rule = response.parse() assert_matches_type(RuleEditResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit_overload_9(self, client: Cloudflare) -> None: with client.rulesets.rules.with_streaming_response.edit( @@ -2273,6 +2397,7 @@ def test_streaming_response_edit_overload_9(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit_overload_9(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `ruleset_id` but received ''"): @@ -2307,6 +2432,7 @@ def test_path_params_edit_overload_9(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_edit_overload_10(self, client: Cloudflare) -> None: rule = client.rulesets.rules.edit( @@ -2317,6 +2443,7 @@ def test_method_edit_overload_10(self, client: Cloudflare) -> None: ) assert_matches_type(RuleEditResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_edit_with_all_params_overload_10(self, client: Cloudflare) -> None: rule = client.rulesets.rules.edit( @@ -2342,6 +2469,7 @@ def test_method_edit_with_all_params_overload_10(self, client: Cloudflare) -> No ) assert_matches_type(RuleEditResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit_overload_10(self, client: Cloudflare) -> None: response = client.rulesets.rules.with_raw_response.edit( @@ -2356,6 +2484,7 @@ def test_raw_response_edit_overload_10(self, client: Cloudflare) -> None: rule = response.parse() assert_matches_type(RuleEditResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit_overload_10(self, client: Cloudflare) -> None: with client.rulesets.rules.with_streaming_response.edit( @@ -2372,6 +2501,7 @@ def test_streaming_response_edit_overload_10(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit_overload_10(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `ruleset_id` but received ''"): @@ -2406,6 +2536,7 @@ def test_path_params_edit_overload_10(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_edit_overload_11(self, client: Cloudflare) -> None: rule = client.rulesets.rules.edit( @@ -2416,6 +2547,7 @@ def test_method_edit_overload_11(self, client: Cloudflare) -> None: ) assert_matches_type(RuleEditResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_edit_with_all_params_overload_11(self, client: Cloudflare) -> None: rule = client.rulesets.rules.edit( @@ -2434,6 +2566,7 @@ def test_method_edit_with_all_params_overload_11(self, client: Cloudflare) -> No ) assert_matches_type(RuleEditResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit_overload_11(self, client: Cloudflare) -> None: response = client.rulesets.rules.with_raw_response.edit( @@ -2448,6 +2581,7 @@ def test_raw_response_edit_overload_11(self, client: Cloudflare) -> None: rule = response.parse() assert_matches_type(RuleEditResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit_overload_11(self, client: Cloudflare) -> None: with client.rulesets.rules.with_streaming_response.edit( @@ -2464,6 +2598,7 @@ def test_streaming_response_edit_overload_11(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit_overload_11(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `ruleset_id` but received ''"): @@ -2498,6 +2633,7 @@ def test_path_params_edit_overload_11(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_edit_overload_12(self, client: Cloudflare) -> None: rule = client.rulesets.rules.edit( @@ -2508,6 +2644,7 @@ def test_method_edit_overload_12(self, client: Cloudflare) -> None: ) assert_matches_type(RuleEditResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_edit_with_all_params_overload_12(self, client: Cloudflare) -> None: rule = client.rulesets.rules.edit( @@ -2530,6 +2667,7 @@ def test_method_edit_with_all_params_overload_12(self, client: Cloudflare) -> No ) assert_matches_type(RuleEditResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit_overload_12(self, client: Cloudflare) -> None: response = client.rulesets.rules.with_raw_response.edit( @@ -2544,6 +2682,7 @@ def test_raw_response_edit_overload_12(self, client: Cloudflare) -> None: rule = response.parse() assert_matches_type(RuleEditResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit_overload_12(self, client: Cloudflare) -> None: with client.rulesets.rules.with_streaming_response.edit( @@ -2560,6 +2699,7 @@ def test_streaming_response_edit_overload_12(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit_overload_12(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `ruleset_id` but received ''"): @@ -2594,6 +2734,7 @@ def test_path_params_edit_overload_12(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_edit_overload_13(self, client: Cloudflare) -> None: rule = client.rulesets.rules.edit( @@ -2604,6 +2745,7 @@ def test_method_edit_overload_13(self, client: Cloudflare) -> None: ) assert_matches_type(RuleEditResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_edit_with_all_params_overload_13(self, client: Cloudflare) -> None: rule = client.rulesets.rules.edit( @@ -2642,6 +2784,7 @@ def test_method_edit_with_all_params_overload_13(self, client: Cloudflare) -> No ) assert_matches_type(RuleEditResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit_overload_13(self, client: Cloudflare) -> None: response = client.rulesets.rules.with_raw_response.edit( @@ -2656,6 +2799,7 @@ def test_raw_response_edit_overload_13(self, client: Cloudflare) -> None: rule = response.parse() assert_matches_type(RuleEditResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit_overload_13(self, client: Cloudflare) -> None: with client.rulesets.rules.with_streaming_response.edit( @@ -2672,6 +2816,7 @@ def test_streaming_response_edit_overload_13(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit_overload_13(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `ruleset_id` but received ''"): @@ -2706,6 +2851,7 @@ def test_path_params_edit_overload_13(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_edit_overload_14(self, client: Cloudflare) -> None: rule = client.rulesets.rules.edit( @@ -2716,6 +2862,7 @@ def test_method_edit_overload_14(self, client: Cloudflare) -> None: ) assert_matches_type(RuleEditResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_edit_with_all_params_overload_14(self, client: Cloudflare) -> None: rule = client.rulesets.rules.edit( @@ -2740,6 +2887,7 @@ def test_method_edit_with_all_params_overload_14(self, client: Cloudflare) -> No ) assert_matches_type(RuleEditResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit_overload_14(self, client: Cloudflare) -> None: response = client.rulesets.rules.with_raw_response.edit( @@ -2754,6 +2902,7 @@ def test_raw_response_edit_overload_14(self, client: Cloudflare) -> None: rule = response.parse() assert_matches_type(RuleEditResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit_overload_14(self, client: Cloudflare) -> None: with client.rulesets.rules.with_streaming_response.edit( @@ -2770,6 +2919,7 @@ def test_streaming_response_edit_overload_14(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit_overload_14(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `ruleset_id` but received ''"): @@ -2804,6 +2954,7 @@ def test_path_params_edit_overload_14(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_edit_overload_15(self, client: Cloudflare) -> None: rule = client.rulesets.rules.edit( @@ -2814,6 +2965,7 @@ def test_method_edit_overload_15(self, client: Cloudflare) -> None: ) assert_matches_type(RuleEditResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_edit_with_all_params_overload_15(self, client: Cloudflare) -> None: rule = client.rulesets.rules.edit( @@ -2910,6 +3062,7 @@ def test_method_edit_with_all_params_overload_15(self, client: Cloudflare) -> No ) assert_matches_type(RuleEditResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit_overload_15(self, client: Cloudflare) -> None: response = client.rulesets.rules.with_raw_response.edit( @@ -2924,6 +3077,7 @@ def test_raw_response_edit_overload_15(self, client: Cloudflare) -> None: rule = response.parse() assert_matches_type(RuleEditResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit_overload_15(self, client: Cloudflare) -> None: with client.rulesets.rules.with_streaming_response.edit( @@ -2940,6 +3094,7 @@ def test_streaming_response_edit_overload_15(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit_overload_15(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `ruleset_id` but received ''"): @@ -2978,6 +3133,7 @@ def test_path_params_edit_overload_15(self, client: Cloudflare) -> None: class TestAsyncRules: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create_overload_1(self, async_client: AsyncCloudflare) -> None: rule = await async_client.rulesets.rules.create( @@ -2987,6 +3143,7 @@ async def test_method_create_overload_1(self, async_client: AsyncCloudflare) -> ) assert_matches_type(RuleCreateResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params_overload_1(self, async_client: AsyncCloudflare) -> None: rule = await async_client.rulesets.rules.create( @@ -3010,6 +3167,7 @@ async def test_method_create_with_all_params_overload_1(self, async_client: Asyn ) assert_matches_type(RuleCreateResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create_overload_1(self, async_client: AsyncCloudflare) -> None: response = await async_client.rulesets.rules.with_raw_response.create( @@ -3023,6 +3181,7 @@ async def test_raw_response_create_overload_1(self, async_client: AsyncCloudflar rule = await response.parse() assert_matches_type(RuleCreateResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create_overload_1(self, async_client: AsyncCloudflare) -> None: async with async_client.rulesets.rules.with_streaming_response.create( @@ -3038,6 +3197,7 @@ async def test_streaming_response_create_overload_1(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create_overload_1(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `ruleset_id` but received ''"): @@ -3061,6 +3221,7 @@ async def test_path_params_create_overload_1(self, async_client: AsyncCloudflare zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_create_overload_2(self, async_client: AsyncCloudflare) -> None: rule = await async_client.rulesets.rules.create( @@ -3070,6 +3231,7 @@ async def test_method_create_overload_2(self, async_client: AsyncCloudflare) -> ) assert_matches_type(RuleCreateResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params_overload_2(self, async_client: AsyncCloudflare) -> None: rule = await async_client.rulesets.rules.create( @@ -3087,6 +3249,7 @@ async def test_method_create_with_all_params_overload_2(self, async_client: Asyn ) assert_matches_type(RuleCreateResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create_overload_2(self, async_client: AsyncCloudflare) -> None: response = await async_client.rulesets.rules.with_raw_response.create( @@ -3100,6 +3263,7 @@ async def test_raw_response_create_overload_2(self, async_client: AsyncCloudflar rule = await response.parse() assert_matches_type(RuleCreateResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create_overload_2(self, async_client: AsyncCloudflare) -> None: async with async_client.rulesets.rules.with_streaming_response.create( @@ -3115,6 +3279,7 @@ async def test_streaming_response_create_overload_2(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create_overload_2(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `ruleset_id` but received ''"): @@ -3138,6 +3303,7 @@ async def test_path_params_create_overload_2(self, async_client: AsyncCloudflare zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_create_overload_3(self, async_client: AsyncCloudflare) -> None: rule = await async_client.rulesets.rules.create( @@ -3147,6 +3313,7 @@ async def test_method_create_overload_3(self, async_client: AsyncCloudflare) -> ) assert_matches_type(RuleCreateResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params_overload_3(self, async_client: AsyncCloudflare) -> None: rule = await async_client.rulesets.rules.create( @@ -3164,6 +3331,7 @@ async def test_method_create_with_all_params_overload_3(self, async_client: Asyn ) assert_matches_type(RuleCreateResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create_overload_3(self, async_client: AsyncCloudflare) -> None: response = await async_client.rulesets.rules.with_raw_response.create( @@ -3177,6 +3345,7 @@ async def test_raw_response_create_overload_3(self, async_client: AsyncCloudflar rule = await response.parse() assert_matches_type(RuleCreateResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create_overload_3(self, async_client: AsyncCloudflare) -> None: async with async_client.rulesets.rules.with_streaming_response.create( @@ -3192,6 +3361,7 @@ async def test_streaming_response_create_overload_3(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create_overload_3(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `ruleset_id` but received ''"): @@ -3215,6 +3385,7 @@ async def test_path_params_create_overload_3(self, async_client: AsyncCloudflare zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_create_overload_4(self, async_client: AsyncCloudflare) -> None: rule = await async_client.rulesets.rules.create( @@ -3224,6 +3395,7 @@ async def test_method_create_overload_4(self, async_client: AsyncCloudflare) -> ) assert_matches_type(RuleCreateResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params_overload_4(self, async_client: AsyncCloudflare) -> None: rule = await async_client.rulesets.rules.create( @@ -3266,6 +3438,7 @@ async def test_method_create_with_all_params_overload_4(self, async_client: Asyn ) assert_matches_type(RuleCreateResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create_overload_4(self, async_client: AsyncCloudflare) -> None: response = await async_client.rulesets.rules.with_raw_response.create( @@ -3279,6 +3452,7 @@ async def test_raw_response_create_overload_4(self, async_client: AsyncCloudflar rule = await response.parse() assert_matches_type(RuleCreateResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create_overload_4(self, async_client: AsyncCloudflare) -> None: async with async_client.rulesets.rules.with_streaming_response.create( @@ -3294,6 +3468,7 @@ async def test_streaming_response_create_overload_4(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create_overload_4(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `ruleset_id` but received ''"): @@ -3317,6 +3492,7 @@ async def test_path_params_create_overload_4(self, async_client: AsyncCloudflare zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_create_overload_5(self, async_client: AsyncCloudflare) -> None: rule = await async_client.rulesets.rules.create( @@ -3326,6 +3502,7 @@ async def test_method_create_overload_5(self, async_client: AsyncCloudflare) -> ) assert_matches_type(RuleCreateResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params_overload_5(self, async_client: AsyncCloudflare) -> None: rule = await async_client.rulesets.rules.create( @@ -3343,6 +3520,7 @@ async def test_method_create_with_all_params_overload_5(self, async_client: Asyn ) assert_matches_type(RuleCreateResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create_overload_5(self, async_client: AsyncCloudflare) -> None: response = await async_client.rulesets.rules.with_raw_response.create( @@ -3356,6 +3534,7 @@ async def test_raw_response_create_overload_5(self, async_client: AsyncCloudflar rule = await response.parse() assert_matches_type(RuleCreateResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create_overload_5(self, async_client: AsyncCloudflare) -> None: async with async_client.rulesets.rules.with_streaming_response.create( @@ -3371,6 +3550,7 @@ async def test_streaming_response_create_overload_5(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create_overload_5(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `ruleset_id` but received ''"): @@ -3394,6 +3574,7 @@ async def test_path_params_create_overload_5(self, async_client: AsyncCloudflare zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_create_overload_6(self, async_client: AsyncCloudflare) -> None: rule = await async_client.rulesets.rules.create( @@ -3403,6 +3584,7 @@ async def test_method_create_overload_6(self, async_client: AsyncCloudflare) -> ) assert_matches_type(RuleCreateResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params_overload_6(self, async_client: AsyncCloudflare) -> None: rule = await async_client.rulesets.rules.create( @@ -3420,6 +3602,7 @@ async def test_method_create_with_all_params_overload_6(self, async_client: Asyn ) assert_matches_type(RuleCreateResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create_overload_6(self, async_client: AsyncCloudflare) -> None: response = await async_client.rulesets.rules.with_raw_response.create( @@ -3433,6 +3616,7 @@ async def test_raw_response_create_overload_6(self, async_client: AsyncCloudflar rule = await response.parse() assert_matches_type(RuleCreateResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create_overload_6(self, async_client: AsyncCloudflare) -> None: async with async_client.rulesets.rules.with_streaming_response.create( @@ -3448,6 +3632,7 @@ async def test_streaming_response_create_overload_6(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create_overload_6(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `ruleset_id` but received ''"): @@ -3471,6 +3656,7 @@ async def test_path_params_create_overload_6(self, async_client: AsyncCloudflare zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_create_overload_7(self, async_client: AsyncCloudflare) -> None: rule = await async_client.rulesets.rules.create( @@ -3480,6 +3666,7 @@ async def test_method_create_overload_7(self, async_client: AsyncCloudflare) -> ) assert_matches_type(RuleCreateResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params_overload_7(self, async_client: AsyncCloudflare) -> None: rule = await async_client.rulesets.rules.create( @@ -3497,6 +3684,7 @@ async def test_method_create_with_all_params_overload_7(self, async_client: Asyn ) assert_matches_type(RuleCreateResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create_overload_7(self, async_client: AsyncCloudflare) -> None: response = await async_client.rulesets.rules.with_raw_response.create( @@ -3510,6 +3698,7 @@ async def test_raw_response_create_overload_7(self, async_client: AsyncCloudflar rule = await response.parse() assert_matches_type(RuleCreateResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create_overload_7(self, async_client: AsyncCloudflare) -> None: async with async_client.rulesets.rules.with_streaming_response.create( @@ -3525,6 +3714,7 @@ async def test_streaming_response_create_overload_7(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create_overload_7(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `ruleset_id` but received ''"): @@ -3548,6 +3738,7 @@ async def test_path_params_create_overload_7(self, async_client: AsyncCloudflare zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_create_overload_8(self, async_client: AsyncCloudflare) -> None: rule = await async_client.rulesets.rules.create( @@ -3557,6 +3748,7 @@ async def test_method_create_overload_8(self, async_client: AsyncCloudflare) -> ) assert_matches_type(RuleCreateResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params_overload_8(self, async_client: AsyncCloudflare) -> None: rule = await async_client.rulesets.rules.create( @@ -3584,6 +3776,7 @@ async def test_method_create_with_all_params_overload_8(self, async_client: Asyn ) assert_matches_type(RuleCreateResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create_overload_8(self, async_client: AsyncCloudflare) -> None: response = await async_client.rulesets.rules.with_raw_response.create( @@ -3597,6 +3790,7 @@ async def test_raw_response_create_overload_8(self, async_client: AsyncCloudflar rule = await response.parse() assert_matches_type(RuleCreateResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create_overload_8(self, async_client: AsyncCloudflare) -> None: async with async_client.rulesets.rules.with_streaming_response.create( @@ -3612,6 +3806,7 @@ async def test_streaming_response_create_overload_8(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create_overload_8(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `ruleset_id` but received ''"): @@ -3635,6 +3830,7 @@ async def test_path_params_create_overload_8(self, async_client: AsyncCloudflare zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_create_overload_9(self, async_client: AsyncCloudflare) -> None: rule = await async_client.rulesets.rules.create( @@ -3644,6 +3840,7 @@ async def test_method_create_overload_9(self, async_client: AsyncCloudflare) -> ) assert_matches_type(RuleCreateResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params_overload_9(self, async_client: AsyncCloudflare) -> None: rule = await async_client.rulesets.rules.create( @@ -3672,6 +3869,7 @@ async def test_method_create_with_all_params_overload_9(self, async_client: Asyn ) assert_matches_type(RuleCreateResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create_overload_9(self, async_client: AsyncCloudflare) -> None: response = await async_client.rulesets.rules.with_raw_response.create( @@ -3685,6 +3883,7 @@ async def test_raw_response_create_overload_9(self, async_client: AsyncCloudflar rule = await response.parse() assert_matches_type(RuleCreateResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create_overload_9(self, async_client: AsyncCloudflare) -> None: async with async_client.rulesets.rules.with_streaming_response.create( @@ -3700,6 +3899,7 @@ async def test_streaming_response_create_overload_9(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create_overload_9(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `ruleset_id` but received ''"): @@ -3723,6 +3923,7 @@ async def test_path_params_create_overload_9(self, async_client: AsyncCloudflare zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_create_overload_10(self, async_client: AsyncCloudflare) -> None: rule = await async_client.rulesets.rules.create( @@ -3732,6 +3933,7 @@ async def test_method_create_overload_10(self, async_client: AsyncCloudflare) -> ) assert_matches_type(RuleCreateResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params_overload_10(self, async_client: AsyncCloudflare) -> None: rule = await async_client.rulesets.rules.create( @@ -3756,6 +3958,7 @@ async def test_method_create_with_all_params_overload_10(self, async_client: Asy ) assert_matches_type(RuleCreateResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create_overload_10(self, async_client: AsyncCloudflare) -> None: response = await async_client.rulesets.rules.with_raw_response.create( @@ -3769,6 +3972,7 @@ async def test_raw_response_create_overload_10(self, async_client: AsyncCloudfla rule = await response.parse() assert_matches_type(RuleCreateResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create_overload_10(self, async_client: AsyncCloudflare) -> None: async with async_client.rulesets.rules.with_streaming_response.create( @@ -3784,6 +3988,7 @@ async def test_streaming_response_create_overload_10(self, async_client: AsyncCl assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create_overload_10(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `ruleset_id` but received ''"): @@ -3807,6 +4012,7 @@ async def test_path_params_create_overload_10(self, async_client: AsyncCloudflar zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_create_overload_11(self, async_client: AsyncCloudflare) -> None: rule = await async_client.rulesets.rules.create( @@ -3816,6 +4022,7 @@ async def test_method_create_overload_11(self, async_client: AsyncCloudflare) -> ) assert_matches_type(RuleCreateResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params_overload_11(self, async_client: AsyncCloudflare) -> None: rule = await async_client.rulesets.rules.create( @@ -3833,6 +4040,7 @@ async def test_method_create_with_all_params_overload_11(self, async_client: Asy ) assert_matches_type(RuleCreateResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create_overload_11(self, async_client: AsyncCloudflare) -> None: response = await async_client.rulesets.rules.with_raw_response.create( @@ -3846,6 +4054,7 @@ async def test_raw_response_create_overload_11(self, async_client: AsyncCloudfla rule = await response.parse() assert_matches_type(RuleCreateResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create_overload_11(self, async_client: AsyncCloudflare) -> None: async with async_client.rulesets.rules.with_streaming_response.create( @@ -3861,6 +4070,7 @@ async def test_streaming_response_create_overload_11(self, async_client: AsyncCl assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create_overload_11(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `ruleset_id` but received ''"): @@ -3884,6 +4094,7 @@ async def test_path_params_create_overload_11(self, async_client: AsyncCloudflar zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_create_overload_12(self, async_client: AsyncCloudflare) -> None: rule = await async_client.rulesets.rules.create( @@ -3893,6 +4104,7 @@ async def test_method_create_overload_12(self, async_client: AsyncCloudflare) -> ) assert_matches_type(RuleCreateResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params_overload_12(self, async_client: AsyncCloudflare) -> None: rule = await async_client.rulesets.rules.create( @@ -3914,6 +4126,7 @@ async def test_method_create_with_all_params_overload_12(self, async_client: Asy ) assert_matches_type(RuleCreateResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create_overload_12(self, async_client: AsyncCloudflare) -> None: response = await async_client.rulesets.rules.with_raw_response.create( @@ -3927,6 +4140,7 @@ async def test_raw_response_create_overload_12(self, async_client: AsyncCloudfla rule = await response.parse() assert_matches_type(RuleCreateResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create_overload_12(self, async_client: AsyncCloudflare) -> None: async with async_client.rulesets.rules.with_streaming_response.create( @@ -3942,6 +4156,7 @@ async def test_streaming_response_create_overload_12(self, async_client: AsyncCl assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create_overload_12(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `ruleset_id` but received ''"): @@ -3965,6 +4180,7 @@ async def test_path_params_create_overload_12(self, async_client: AsyncCloudflar zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_create_overload_13(self, async_client: AsyncCloudflare) -> None: rule = await async_client.rulesets.rules.create( @@ -3974,6 +4190,7 @@ async def test_method_create_overload_13(self, async_client: AsyncCloudflare) -> ) assert_matches_type(RuleCreateResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params_overload_13(self, async_client: AsyncCloudflare) -> None: rule = await async_client.rulesets.rules.create( @@ -4011,6 +4228,7 @@ async def test_method_create_with_all_params_overload_13(self, async_client: Asy ) assert_matches_type(RuleCreateResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create_overload_13(self, async_client: AsyncCloudflare) -> None: response = await async_client.rulesets.rules.with_raw_response.create( @@ -4024,6 +4242,7 @@ async def test_raw_response_create_overload_13(self, async_client: AsyncCloudfla rule = await response.parse() assert_matches_type(RuleCreateResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create_overload_13(self, async_client: AsyncCloudflare) -> None: async with async_client.rulesets.rules.with_streaming_response.create( @@ -4039,6 +4258,7 @@ async def test_streaming_response_create_overload_13(self, async_client: AsyncCl assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create_overload_13(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `ruleset_id` but received ''"): @@ -4062,6 +4282,7 @@ async def test_path_params_create_overload_13(self, async_client: AsyncCloudflar zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_create_overload_14(self, async_client: AsyncCloudflare) -> None: rule = await async_client.rulesets.rules.create( @@ -4071,6 +4292,7 @@ async def test_method_create_overload_14(self, async_client: AsyncCloudflare) -> ) assert_matches_type(RuleCreateResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params_overload_14(self, async_client: AsyncCloudflare) -> None: rule = await async_client.rulesets.rules.create( @@ -4094,6 +4316,7 @@ async def test_method_create_with_all_params_overload_14(self, async_client: Asy ) assert_matches_type(RuleCreateResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create_overload_14(self, async_client: AsyncCloudflare) -> None: response = await async_client.rulesets.rules.with_raw_response.create( @@ -4107,6 +4330,7 @@ async def test_raw_response_create_overload_14(self, async_client: AsyncCloudfla rule = await response.parse() assert_matches_type(RuleCreateResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create_overload_14(self, async_client: AsyncCloudflare) -> None: async with async_client.rulesets.rules.with_streaming_response.create( @@ -4122,6 +4346,7 @@ async def test_streaming_response_create_overload_14(self, async_client: AsyncCl assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create_overload_14(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `ruleset_id` but received ''"): @@ -4145,6 +4370,7 @@ async def test_path_params_create_overload_14(self, async_client: AsyncCloudflar zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_create_overload_15(self, async_client: AsyncCloudflare) -> None: rule = await async_client.rulesets.rules.create( @@ -4154,6 +4380,7 @@ async def test_method_create_overload_15(self, async_client: AsyncCloudflare) -> ) assert_matches_type(RuleCreateResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params_overload_15(self, async_client: AsyncCloudflare) -> None: rule = await async_client.rulesets.rules.create( @@ -4249,6 +4476,7 @@ async def test_method_create_with_all_params_overload_15(self, async_client: Asy ) assert_matches_type(RuleCreateResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create_overload_15(self, async_client: AsyncCloudflare) -> None: response = await async_client.rulesets.rules.with_raw_response.create( @@ -4262,6 +4490,7 @@ async def test_raw_response_create_overload_15(self, async_client: AsyncCloudfla rule = await response.parse() assert_matches_type(RuleCreateResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create_overload_15(self, async_client: AsyncCloudflare) -> None: async with async_client.rulesets.rules.with_streaming_response.create( @@ -4277,6 +4506,7 @@ async def test_streaming_response_create_overload_15(self, async_client: AsyncCl assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create_overload_15(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `ruleset_id` but received ''"): @@ -4300,6 +4530,7 @@ async def test_path_params_create_overload_15(self, async_client: AsyncCloudflar zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: rule = await async_client.rulesets.rules.delete( @@ -4310,6 +4541,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(RuleDeleteResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_delete_with_all_params(self, async_client: AsyncCloudflare) -> None: rule = await async_client.rulesets.rules.delete( @@ -4320,6 +4552,7 @@ async def test_method_delete_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(RuleDeleteResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.rulesets.rules.with_raw_response.delete( @@ -4334,6 +4567,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: rule = await response.parse() assert_matches_type(RuleDeleteResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.rulesets.rules.with_streaming_response.delete( @@ -4350,6 +4584,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `ruleset_id` but received ''"): @@ -4384,6 +4619,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_edit_overload_1(self, async_client: AsyncCloudflare) -> None: rule = await async_client.rulesets.rules.edit( @@ -4394,6 +4630,7 @@ async def test_method_edit_overload_1(self, async_client: AsyncCloudflare) -> No ) assert_matches_type(RuleEditResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_edit_with_all_params_overload_1(self, async_client: AsyncCloudflare) -> None: rule = await async_client.rulesets.rules.edit( @@ -4418,6 +4655,7 @@ async def test_method_edit_with_all_params_overload_1(self, async_client: AsyncC ) assert_matches_type(RuleEditResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit_overload_1(self, async_client: AsyncCloudflare) -> None: response = await async_client.rulesets.rules.with_raw_response.edit( @@ -4432,6 +4670,7 @@ async def test_raw_response_edit_overload_1(self, async_client: AsyncCloudflare) rule = await response.parse() assert_matches_type(RuleEditResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit_overload_1(self, async_client: AsyncCloudflare) -> None: async with async_client.rulesets.rules.with_streaming_response.edit( @@ -4448,6 +4687,7 @@ async def test_streaming_response_edit_overload_1(self, async_client: AsyncCloud assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit_overload_1(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `ruleset_id` but received ''"): @@ -4482,6 +4722,7 @@ async def test_path_params_edit_overload_1(self, async_client: AsyncCloudflare) zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_edit_overload_2(self, async_client: AsyncCloudflare) -> None: rule = await async_client.rulesets.rules.edit( @@ -4492,6 +4733,7 @@ async def test_method_edit_overload_2(self, async_client: AsyncCloudflare) -> No ) assert_matches_type(RuleEditResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_edit_with_all_params_overload_2(self, async_client: AsyncCloudflare) -> None: rule = await async_client.rulesets.rules.edit( @@ -4510,6 +4752,7 @@ async def test_method_edit_with_all_params_overload_2(self, async_client: AsyncC ) assert_matches_type(RuleEditResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit_overload_2(self, async_client: AsyncCloudflare) -> None: response = await async_client.rulesets.rules.with_raw_response.edit( @@ -4524,6 +4767,7 @@ async def test_raw_response_edit_overload_2(self, async_client: AsyncCloudflare) rule = await response.parse() assert_matches_type(RuleEditResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit_overload_2(self, async_client: AsyncCloudflare) -> None: async with async_client.rulesets.rules.with_streaming_response.edit( @@ -4540,6 +4784,7 @@ async def test_streaming_response_edit_overload_2(self, async_client: AsyncCloud assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit_overload_2(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `ruleset_id` but received ''"): @@ -4574,6 +4819,7 @@ async def test_path_params_edit_overload_2(self, async_client: AsyncCloudflare) zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_edit_overload_3(self, async_client: AsyncCloudflare) -> None: rule = await async_client.rulesets.rules.edit( @@ -4584,6 +4830,7 @@ async def test_method_edit_overload_3(self, async_client: AsyncCloudflare) -> No ) assert_matches_type(RuleEditResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_edit_with_all_params_overload_3(self, async_client: AsyncCloudflare) -> None: rule = await async_client.rulesets.rules.edit( @@ -4602,6 +4849,7 @@ async def test_method_edit_with_all_params_overload_3(self, async_client: AsyncC ) assert_matches_type(RuleEditResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit_overload_3(self, async_client: AsyncCloudflare) -> None: response = await async_client.rulesets.rules.with_raw_response.edit( @@ -4616,6 +4864,7 @@ async def test_raw_response_edit_overload_3(self, async_client: AsyncCloudflare) rule = await response.parse() assert_matches_type(RuleEditResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit_overload_3(self, async_client: AsyncCloudflare) -> None: async with async_client.rulesets.rules.with_streaming_response.edit( @@ -4632,6 +4881,7 @@ async def test_streaming_response_edit_overload_3(self, async_client: AsyncCloud assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit_overload_3(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `ruleset_id` but received ''"): @@ -4666,6 +4916,7 @@ async def test_path_params_edit_overload_3(self, async_client: AsyncCloudflare) zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_edit_overload_4(self, async_client: AsyncCloudflare) -> None: rule = await async_client.rulesets.rules.edit( @@ -4676,6 +4927,7 @@ async def test_method_edit_overload_4(self, async_client: AsyncCloudflare) -> No ) assert_matches_type(RuleEditResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_edit_with_all_params_overload_4(self, async_client: AsyncCloudflare) -> None: rule = await async_client.rulesets.rules.edit( @@ -4719,6 +4971,7 @@ async def test_method_edit_with_all_params_overload_4(self, async_client: AsyncC ) assert_matches_type(RuleEditResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit_overload_4(self, async_client: AsyncCloudflare) -> None: response = await async_client.rulesets.rules.with_raw_response.edit( @@ -4733,6 +4986,7 @@ async def test_raw_response_edit_overload_4(self, async_client: AsyncCloudflare) rule = await response.parse() assert_matches_type(RuleEditResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit_overload_4(self, async_client: AsyncCloudflare) -> None: async with async_client.rulesets.rules.with_streaming_response.edit( @@ -4749,6 +5003,7 @@ async def test_streaming_response_edit_overload_4(self, async_client: AsyncCloud assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit_overload_4(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `ruleset_id` but received ''"): @@ -4783,6 +5038,7 @@ async def test_path_params_edit_overload_4(self, async_client: AsyncCloudflare) zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_edit_overload_5(self, async_client: AsyncCloudflare) -> None: rule = await async_client.rulesets.rules.edit( @@ -4793,6 +5049,7 @@ async def test_method_edit_overload_5(self, async_client: AsyncCloudflare) -> No ) assert_matches_type(RuleEditResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_edit_with_all_params_overload_5(self, async_client: AsyncCloudflare) -> None: rule = await async_client.rulesets.rules.edit( @@ -4811,6 +5068,7 @@ async def test_method_edit_with_all_params_overload_5(self, async_client: AsyncC ) assert_matches_type(RuleEditResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit_overload_5(self, async_client: AsyncCloudflare) -> None: response = await async_client.rulesets.rules.with_raw_response.edit( @@ -4825,6 +5083,7 @@ async def test_raw_response_edit_overload_5(self, async_client: AsyncCloudflare) rule = await response.parse() assert_matches_type(RuleEditResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit_overload_5(self, async_client: AsyncCloudflare) -> None: async with async_client.rulesets.rules.with_streaming_response.edit( @@ -4841,6 +5100,7 @@ async def test_streaming_response_edit_overload_5(self, async_client: AsyncCloud assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit_overload_5(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `ruleset_id` but received ''"): @@ -4875,6 +5135,7 @@ async def test_path_params_edit_overload_5(self, async_client: AsyncCloudflare) zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_edit_overload_6(self, async_client: AsyncCloudflare) -> None: rule = await async_client.rulesets.rules.edit( @@ -4885,6 +5146,7 @@ async def test_method_edit_overload_6(self, async_client: AsyncCloudflare) -> No ) assert_matches_type(RuleEditResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_edit_with_all_params_overload_6(self, async_client: AsyncCloudflare) -> None: rule = await async_client.rulesets.rules.edit( @@ -4903,6 +5165,7 @@ async def test_method_edit_with_all_params_overload_6(self, async_client: AsyncC ) assert_matches_type(RuleEditResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit_overload_6(self, async_client: AsyncCloudflare) -> None: response = await async_client.rulesets.rules.with_raw_response.edit( @@ -4917,6 +5180,7 @@ async def test_raw_response_edit_overload_6(self, async_client: AsyncCloudflare) rule = await response.parse() assert_matches_type(RuleEditResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit_overload_6(self, async_client: AsyncCloudflare) -> None: async with async_client.rulesets.rules.with_streaming_response.edit( @@ -4933,6 +5197,7 @@ async def test_streaming_response_edit_overload_6(self, async_client: AsyncCloud assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit_overload_6(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `ruleset_id` but received ''"): @@ -4967,6 +5232,7 @@ async def test_path_params_edit_overload_6(self, async_client: AsyncCloudflare) zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_edit_overload_7(self, async_client: AsyncCloudflare) -> None: rule = await async_client.rulesets.rules.edit( @@ -4977,6 +5243,7 @@ async def test_method_edit_overload_7(self, async_client: AsyncCloudflare) -> No ) assert_matches_type(RuleEditResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_edit_with_all_params_overload_7(self, async_client: AsyncCloudflare) -> None: rule = await async_client.rulesets.rules.edit( @@ -4995,6 +5262,7 @@ async def test_method_edit_with_all_params_overload_7(self, async_client: AsyncC ) assert_matches_type(RuleEditResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit_overload_7(self, async_client: AsyncCloudflare) -> None: response = await async_client.rulesets.rules.with_raw_response.edit( @@ -5009,6 +5277,7 @@ async def test_raw_response_edit_overload_7(self, async_client: AsyncCloudflare) rule = await response.parse() assert_matches_type(RuleEditResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit_overload_7(self, async_client: AsyncCloudflare) -> None: async with async_client.rulesets.rules.with_streaming_response.edit( @@ -5025,6 +5294,7 @@ async def test_streaming_response_edit_overload_7(self, async_client: AsyncCloud assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit_overload_7(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `ruleset_id` but received ''"): @@ -5059,6 +5329,7 @@ async def test_path_params_edit_overload_7(self, async_client: AsyncCloudflare) zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_edit_overload_8(self, async_client: AsyncCloudflare) -> None: rule = await async_client.rulesets.rules.edit( @@ -5069,6 +5340,7 @@ async def test_method_edit_overload_8(self, async_client: AsyncCloudflare) -> No ) assert_matches_type(RuleEditResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_edit_with_all_params_overload_8(self, async_client: AsyncCloudflare) -> None: rule = await async_client.rulesets.rules.edit( @@ -5097,6 +5369,7 @@ async def test_method_edit_with_all_params_overload_8(self, async_client: AsyncC ) assert_matches_type(RuleEditResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit_overload_8(self, async_client: AsyncCloudflare) -> None: response = await async_client.rulesets.rules.with_raw_response.edit( @@ -5111,6 +5384,7 @@ async def test_raw_response_edit_overload_8(self, async_client: AsyncCloudflare) rule = await response.parse() assert_matches_type(RuleEditResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit_overload_8(self, async_client: AsyncCloudflare) -> None: async with async_client.rulesets.rules.with_streaming_response.edit( @@ -5127,6 +5401,7 @@ async def test_streaming_response_edit_overload_8(self, async_client: AsyncCloud assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit_overload_8(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `ruleset_id` but received ''"): @@ -5161,6 +5436,7 @@ async def test_path_params_edit_overload_8(self, async_client: AsyncCloudflare) zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_edit_overload_9(self, async_client: AsyncCloudflare) -> None: rule = await async_client.rulesets.rules.edit( @@ -5171,6 +5447,7 @@ async def test_method_edit_overload_9(self, async_client: AsyncCloudflare) -> No ) assert_matches_type(RuleEditResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_edit_with_all_params_overload_9(self, async_client: AsyncCloudflare) -> None: rule = await async_client.rulesets.rules.edit( @@ -5200,6 +5477,7 @@ async def test_method_edit_with_all_params_overload_9(self, async_client: AsyncC ) assert_matches_type(RuleEditResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit_overload_9(self, async_client: AsyncCloudflare) -> None: response = await async_client.rulesets.rules.with_raw_response.edit( @@ -5214,6 +5492,7 @@ async def test_raw_response_edit_overload_9(self, async_client: AsyncCloudflare) rule = await response.parse() assert_matches_type(RuleEditResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit_overload_9(self, async_client: AsyncCloudflare) -> None: async with async_client.rulesets.rules.with_streaming_response.edit( @@ -5230,6 +5509,7 @@ async def test_streaming_response_edit_overload_9(self, async_client: AsyncCloud assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit_overload_9(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `ruleset_id` but received ''"): @@ -5264,6 +5544,7 @@ async def test_path_params_edit_overload_9(self, async_client: AsyncCloudflare) zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_edit_overload_10(self, async_client: AsyncCloudflare) -> None: rule = await async_client.rulesets.rules.edit( @@ -5274,6 +5555,7 @@ async def test_method_edit_overload_10(self, async_client: AsyncCloudflare) -> N ) assert_matches_type(RuleEditResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_edit_with_all_params_overload_10(self, async_client: AsyncCloudflare) -> None: rule = await async_client.rulesets.rules.edit( @@ -5299,6 +5581,7 @@ async def test_method_edit_with_all_params_overload_10(self, async_client: Async ) assert_matches_type(RuleEditResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit_overload_10(self, async_client: AsyncCloudflare) -> None: response = await async_client.rulesets.rules.with_raw_response.edit( @@ -5313,6 +5596,7 @@ async def test_raw_response_edit_overload_10(self, async_client: AsyncCloudflare rule = await response.parse() assert_matches_type(RuleEditResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit_overload_10(self, async_client: AsyncCloudflare) -> None: async with async_client.rulesets.rules.with_streaming_response.edit( @@ -5329,6 +5613,7 @@ async def test_streaming_response_edit_overload_10(self, async_client: AsyncClou assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit_overload_10(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `ruleset_id` but received ''"): @@ -5363,6 +5648,7 @@ async def test_path_params_edit_overload_10(self, async_client: AsyncCloudflare) zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_edit_overload_11(self, async_client: AsyncCloudflare) -> None: rule = await async_client.rulesets.rules.edit( @@ -5373,6 +5659,7 @@ async def test_method_edit_overload_11(self, async_client: AsyncCloudflare) -> N ) assert_matches_type(RuleEditResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_edit_with_all_params_overload_11(self, async_client: AsyncCloudflare) -> None: rule = await async_client.rulesets.rules.edit( @@ -5391,6 +5678,7 @@ async def test_method_edit_with_all_params_overload_11(self, async_client: Async ) assert_matches_type(RuleEditResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit_overload_11(self, async_client: AsyncCloudflare) -> None: response = await async_client.rulesets.rules.with_raw_response.edit( @@ -5405,6 +5693,7 @@ async def test_raw_response_edit_overload_11(self, async_client: AsyncCloudflare rule = await response.parse() assert_matches_type(RuleEditResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit_overload_11(self, async_client: AsyncCloudflare) -> None: async with async_client.rulesets.rules.with_streaming_response.edit( @@ -5421,6 +5710,7 @@ async def test_streaming_response_edit_overload_11(self, async_client: AsyncClou assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit_overload_11(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `ruleset_id` but received ''"): @@ -5455,6 +5745,7 @@ async def test_path_params_edit_overload_11(self, async_client: AsyncCloudflare) zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_edit_overload_12(self, async_client: AsyncCloudflare) -> None: rule = await async_client.rulesets.rules.edit( @@ -5465,6 +5756,7 @@ async def test_method_edit_overload_12(self, async_client: AsyncCloudflare) -> N ) assert_matches_type(RuleEditResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_edit_with_all_params_overload_12(self, async_client: AsyncCloudflare) -> None: rule = await async_client.rulesets.rules.edit( @@ -5487,6 +5779,7 @@ async def test_method_edit_with_all_params_overload_12(self, async_client: Async ) assert_matches_type(RuleEditResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit_overload_12(self, async_client: AsyncCloudflare) -> None: response = await async_client.rulesets.rules.with_raw_response.edit( @@ -5501,6 +5794,7 @@ async def test_raw_response_edit_overload_12(self, async_client: AsyncCloudflare rule = await response.parse() assert_matches_type(RuleEditResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit_overload_12(self, async_client: AsyncCloudflare) -> None: async with async_client.rulesets.rules.with_streaming_response.edit( @@ -5517,6 +5811,7 @@ async def test_streaming_response_edit_overload_12(self, async_client: AsyncClou assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit_overload_12(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `ruleset_id` but received ''"): @@ -5551,6 +5846,7 @@ async def test_path_params_edit_overload_12(self, async_client: AsyncCloudflare) zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_edit_overload_13(self, async_client: AsyncCloudflare) -> None: rule = await async_client.rulesets.rules.edit( @@ -5561,6 +5857,7 @@ async def test_method_edit_overload_13(self, async_client: AsyncCloudflare) -> N ) assert_matches_type(RuleEditResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_edit_with_all_params_overload_13(self, async_client: AsyncCloudflare) -> None: rule = await async_client.rulesets.rules.edit( @@ -5599,6 +5896,7 @@ async def test_method_edit_with_all_params_overload_13(self, async_client: Async ) assert_matches_type(RuleEditResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit_overload_13(self, async_client: AsyncCloudflare) -> None: response = await async_client.rulesets.rules.with_raw_response.edit( @@ -5613,6 +5911,7 @@ async def test_raw_response_edit_overload_13(self, async_client: AsyncCloudflare rule = await response.parse() assert_matches_type(RuleEditResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit_overload_13(self, async_client: AsyncCloudflare) -> None: async with async_client.rulesets.rules.with_streaming_response.edit( @@ -5629,6 +5928,7 @@ async def test_streaming_response_edit_overload_13(self, async_client: AsyncClou assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit_overload_13(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `ruleset_id` but received ''"): @@ -5663,6 +5963,7 @@ async def test_path_params_edit_overload_13(self, async_client: AsyncCloudflare) zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_edit_overload_14(self, async_client: AsyncCloudflare) -> None: rule = await async_client.rulesets.rules.edit( @@ -5673,6 +5974,7 @@ async def test_method_edit_overload_14(self, async_client: AsyncCloudflare) -> N ) assert_matches_type(RuleEditResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_edit_with_all_params_overload_14(self, async_client: AsyncCloudflare) -> None: rule = await async_client.rulesets.rules.edit( @@ -5697,6 +5999,7 @@ async def test_method_edit_with_all_params_overload_14(self, async_client: Async ) assert_matches_type(RuleEditResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit_overload_14(self, async_client: AsyncCloudflare) -> None: response = await async_client.rulesets.rules.with_raw_response.edit( @@ -5711,6 +6014,7 @@ async def test_raw_response_edit_overload_14(self, async_client: AsyncCloudflare rule = await response.parse() assert_matches_type(RuleEditResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit_overload_14(self, async_client: AsyncCloudflare) -> None: async with async_client.rulesets.rules.with_streaming_response.edit( @@ -5727,6 +6031,7 @@ async def test_streaming_response_edit_overload_14(self, async_client: AsyncClou assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit_overload_14(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `ruleset_id` but received ''"): @@ -5761,6 +6066,7 @@ async def test_path_params_edit_overload_14(self, async_client: AsyncCloudflare) zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_edit_overload_15(self, async_client: AsyncCloudflare) -> None: rule = await async_client.rulesets.rules.edit( @@ -5771,6 +6077,7 @@ async def test_method_edit_overload_15(self, async_client: AsyncCloudflare) -> N ) assert_matches_type(RuleEditResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_edit_with_all_params_overload_15(self, async_client: AsyncCloudflare) -> None: rule = await async_client.rulesets.rules.edit( @@ -5867,6 +6174,7 @@ async def test_method_edit_with_all_params_overload_15(self, async_client: Async ) assert_matches_type(RuleEditResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit_overload_15(self, async_client: AsyncCloudflare) -> None: response = await async_client.rulesets.rules.with_raw_response.edit( @@ -5881,6 +6189,7 @@ async def test_raw_response_edit_overload_15(self, async_client: AsyncCloudflare rule = await response.parse() assert_matches_type(RuleEditResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit_overload_15(self, async_client: AsyncCloudflare) -> None: async with async_client.rulesets.rules.with_streaming_response.edit( @@ -5897,6 +6206,7 @@ async def test_streaming_response_edit_overload_15(self, async_client: AsyncClou assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit_overload_15(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `ruleset_id` but received ''"): diff --git a/tests/api_resources/rulesets/test_versions.py b/tests/api_resources/rulesets/test_versions.py index 75479bec978..54605005c49 100644 --- a/tests/api_resources/rulesets/test_versions.py +++ b/tests/api_resources/rulesets/test_versions.py @@ -18,6 +18,7 @@ class TestVersions: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: version = client.rulesets.versions.list( @@ -27,6 +28,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[Ruleset], version, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: version = client.rulesets.versions.list( @@ -36,6 +38,7 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[Ruleset], version, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.rulesets.versions.with_raw_response.list( @@ -49,6 +52,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: version = response.parse() assert_matches_type(SyncSinglePage[Ruleset], version, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.rulesets.versions.with_streaming_response.list( @@ -64,6 +68,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `ruleset_id` but received ''"): @@ -87,6 +92,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: version = client.rulesets.versions.delete( @@ -97,6 +103,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert version is None + @pytest.mark.skip() @parametrize def test_method_delete_with_all_params(self, client: Cloudflare) -> None: version = client.rulesets.versions.delete( @@ -107,6 +114,7 @@ def test_method_delete_with_all_params(self, client: Cloudflare) -> None: ) assert version is None + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.rulesets.versions.with_raw_response.delete( @@ -121,6 +129,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: version = response.parse() assert version is None + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.rulesets.versions.with_streaming_response.delete( @@ -137,6 +146,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `ruleset_id` but received ''"): @@ -171,6 +181,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: version = client.rulesets.versions.get( @@ -181,6 +192,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(VersionGetResponse, version, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: version = client.rulesets.versions.get( @@ -191,6 +203,7 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(VersionGetResponse, version, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.rulesets.versions.with_raw_response.get( @@ -205,6 +218,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: version = response.parse() assert_matches_type(VersionGetResponse, version, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.rulesets.versions.with_streaming_response.get( @@ -221,6 +235,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `ruleset_id` but received ''"): @@ -259,6 +274,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncVersions: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: version = await async_client.rulesets.versions.list( @@ -268,6 +284,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[Ruleset], version, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: version = await async_client.rulesets.versions.list( @@ -277,6 +294,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncSinglePage[Ruleset], version, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.rulesets.versions.with_raw_response.list( @@ -290,6 +308,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: version = await response.parse() assert_matches_type(AsyncSinglePage[Ruleset], version, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.rulesets.versions.with_streaming_response.list( @@ -305,6 +324,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `ruleset_id` but received ''"): @@ -328,6 +348,7 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: version = await async_client.rulesets.versions.delete( @@ -338,6 +359,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert version is None + @pytest.mark.skip() @parametrize async def test_method_delete_with_all_params(self, async_client: AsyncCloudflare) -> None: version = await async_client.rulesets.versions.delete( @@ -348,6 +370,7 @@ async def test_method_delete_with_all_params(self, async_client: AsyncCloudflare ) assert version is None + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.rulesets.versions.with_raw_response.delete( @@ -362,6 +385,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: version = await response.parse() assert version is None + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.rulesets.versions.with_streaming_response.delete( @@ -378,6 +402,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `ruleset_id` but received ''"): @@ -412,6 +437,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: version = await async_client.rulesets.versions.get( @@ -422,6 +448,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(VersionGetResponse, version, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: version = await async_client.rulesets.versions.get( @@ -432,6 +459,7 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(VersionGetResponse, version, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.rulesets.versions.with_raw_response.get( @@ -446,6 +474,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: version = await response.parse() assert_matches_type(VersionGetResponse, version, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.rulesets.versions.with_streaming_response.get( @@ -462,6 +491,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `ruleset_id` but received ''"): diff --git a/tests/api_resources/rulesets/versions/test_by_tag.py b/tests/api_resources/rulesets/versions/test_by_tag.py index 6122739a88f..cc093ff3578 100644 --- a/tests/api_resources/rulesets/versions/test_by_tag.py +++ b/tests/api_resources/rulesets/versions/test_by_tag.py @@ -17,6 +17,7 @@ class TestByTag: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: by_tag = client.rulesets.versions.by_tag.get( @@ -27,6 +28,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(ByTagGetResponse, by_tag, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.rulesets.versions.by_tag.with_raw_response.get( @@ -41,6 +43,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: by_tag = response.parse() assert_matches_type(ByTagGetResponse, by_tag, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.rulesets.versions.by_tag.with_streaming_response.get( @@ -57,6 +60,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -95,6 +99,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncByTag: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: by_tag = await async_client.rulesets.versions.by_tag.get( @@ -105,6 +110,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(ByTagGetResponse, by_tag, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.rulesets.versions.by_tag.with_raw_response.get( @@ -119,6 +125,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: by_tag = await response.parse() assert_matches_type(ByTagGetResponse, by_tag, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.rulesets.versions.by_tag.with_streaming_response.get( @@ -135,6 +142,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/rum/test_rules.py b/tests/api_resources/rum/test_rules.py index 41a20cc0ee4..0250949fba5 100644 --- a/tests/api_resources/rum/test_rules.py +++ b/tests/api_resources/rum/test_rules.py @@ -17,6 +17,7 @@ class TestRules: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: rule = client.rum.rules.create( @@ -25,6 +26,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[RUMRule], rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: rule = client.rum.rules.create( @@ -37,6 +39,7 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[RUMRule], rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.rum.rules.with_raw_response.create( @@ -49,6 +52,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: rule = response.parse() assert_matches_type(Optional[RUMRule], rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.rum.rules.with_streaming_response.create( @@ -63,6 +67,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -77,6 +82,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: rule = client.rum.rules.update( @@ -86,6 +92,7 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[RUMRule], rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: rule = client.rum.rules.update( @@ -99,6 +106,7 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[RUMRule], rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.rum.rules.with_raw_response.update( @@ -112,6 +120,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: rule = response.parse() assert_matches_type(Optional[RUMRule], rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.rum.rules.with_streaming_response.update( @@ -127,6 +136,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -150,6 +160,7 @@ def test_path_params_update(self, client: Cloudflare) -> None: ruleset_id="f174e90a-fafe-4643-bbbc-4a0ed4fc8415", ) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: rule = client.rum.rules.list( @@ -158,6 +169,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[RuleListResponse], rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.rum.rules.with_raw_response.list( @@ -170,6 +182,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: rule = response.parse() assert_matches_type(Optional[RuleListResponse], rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.rum.rules.with_streaming_response.list( @@ -184,6 +197,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -198,6 +212,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: rule = client.rum.rules.delete( @@ -207,6 +222,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[RuleDeleteResponse], rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.rum.rules.with_raw_response.delete( @@ -220,6 +236,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: rule = response.parse() assert_matches_type(Optional[RuleDeleteResponse], rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.rum.rules.with_streaming_response.delete( @@ -235,6 +252,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -262,6 +280,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: class TestAsyncRules: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: rule = await async_client.rum.rules.create( @@ -270,6 +289,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[RUMRule], rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: rule = await async_client.rum.rules.create( @@ -282,6 +302,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[RUMRule], rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.rum.rules.with_raw_response.create( @@ -294,6 +315,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: rule = await response.parse() assert_matches_type(Optional[RUMRule], rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.rum.rules.with_streaming_response.create( @@ -308,6 +330,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -322,6 +345,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: rule = await async_client.rum.rules.update( @@ -331,6 +355,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[RUMRule], rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: rule = await async_client.rum.rules.update( @@ -344,6 +369,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[RUMRule], rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.rum.rules.with_raw_response.update( @@ -357,6 +383,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: rule = await response.parse() assert_matches_type(Optional[RUMRule], rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.rum.rules.with_streaming_response.update( @@ -372,6 +399,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -395,6 +423,7 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: ruleset_id="f174e90a-fafe-4643-bbbc-4a0ed4fc8415", ) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: rule = await async_client.rum.rules.list( @@ -403,6 +432,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[RuleListResponse], rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.rum.rules.with_raw_response.list( @@ -415,6 +445,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: rule = await response.parse() assert_matches_type(Optional[RuleListResponse], rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.rum.rules.with_streaming_response.list( @@ -429,6 +460,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -443,6 +475,7 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: rule = await async_client.rum.rules.delete( @@ -452,6 +485,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[RuleDeleteResponse], rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.rum.rules.with_raw_response.delete( @@ -465,6 +499,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: rule = await response.parse() assert_matches_type(Optional[RuleDeleteResponse], rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.rum.rules.with_streaming_response.delete( @@ -480,6 +515,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/rum/test_site_info.py b/tests/api_resources/rum/test_site_info.py index 2e72e44a04e..a1f892e4669 100644 --- a/tests/api_resources/rum/test_site_info.py +++ b/tests/api_resources/rum/test_site_info.py @@ -21,6 +21,7 @@ class TestSiteInfo: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: site_info = client.rum.site_info.create( @@ -28,6 +29,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Site], site_info, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: site_info = client.rum.site_info.create( @@ -38,6 +40,7 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Site], site_info, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.rum.site_info.with_raw_response.create( @@ -49,6 +52,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: site_info = response.parse() assert_matches_type(Optional[Site], site_info, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.rum.site_info.with_streaming_response.create( @@ -62,6 +66,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -69,6 +74,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: site_info = client.rum.site_info.update( @@ -77,6 +83,7 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Site], site_info, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: site_info = client.rum.site_info.update( @@ -88,6 +95,7 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Site], site_info, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.rum.site_info.with_raw_response.update( @@ -100,6 +108,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: site_info = response.parse() assert_matches_type(Optional[Site], site_info, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.rum.site_info.with_streaming_response.update( @@ -114,6 +123,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -128,6 +138,7 @@ def test_path_params_update(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: site_info = client.rum.site_info.list( @@ -135,6 +146,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePaginationArray[Site], site_info, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: site_info = client.rum.site_info.list( @@ -145,6 +157,7 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePaginationArray[Site], site_info, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.rum.site_info.with_raw_response.list( @@ -156,6 +169,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: site_info = response.parse() assert_matches_type(SyncV4PagePaginationArray[Site], site_info, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.rum.site_info.with_streaming_response.list( @@ -169,6 +183,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -176,6 +191,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: site_info = client.rum.site_info.delete( @@ -184,6 +200,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[SiteInfoDeleteResponse], site_info, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.rum.site_info.with_raw_response.delete( @@ -196,6 +213,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: site_info = response.parse() assert_matches_type(Optional[SiteInfoDeleteResponse], site_info, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.rum.site_info.with_streaming_response.delete( @@ -210,6 +228,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -224,6 +243,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: site_info = client.rum.site_info.get( @@ -232,6 +252,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Site], site_info, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.rum.site_info.with_raw_response.get( @@ -244,6 +265,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: site_info = response.parse() assert_matches_type(Optional[Site], site_info, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.rum.site_info.with_streaming_response.get( @@ -258,6 +280,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -276,6 +299,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncSiteInfo: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: site_info = await async_client.rum.site_info.create( @@ -283,6 +307,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Site], site_info, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: site_info = await async_client.rum.site_info.create( @@ -293,6 +318,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[Site], site_info, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.rum.site_info.with_raw_response.create( @@ -304,6 +330,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: site_info = await response.parse() assert_matches_type(Optional[Site], site_info, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.rum.site_info.with_streaming_response.create( @@ -317,6 +344,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -324,6 +352,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: site_info = await async_client.rum.site_info.update( @@ -332,6 +361,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Site], site_info, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: site_info = await async_client.rum.site_info.update( @@ -343,6 +373,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[Site], site_info, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.rum.site_info.with_raw_response.update( @@ -355,6 +386,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: site_info = await response.parse() assert_matches_type(Optional[Site], site_info, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.rum.site_info.with_streaming_response.update( @@ -369,6 +401,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -383,6 +416,7 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: site_info = await async_client.rum.site_info.list( @@ -390,6 +424,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncV4PagePaginationArray[Site], site_info, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: site_info = await async_client.rum.site_info.list( @@ -400,6 +435,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncV4PagePaginationArray[Site], site_info, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.rum.site_info.with_raw_response.list( @@ -411,6 +447,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: site_info = await response.parse() assert_matches_type(AsyncV4PagePaginationArray[Site], site_info, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.rum.site_info.with_streaming_response.list( @@ -424,6 +461,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -431,6 +469,7 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: site_info = await async_client.rum.site_info.delete( @@ -439,6 +478,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[SiteInfoDeleteResponse], site_info, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.rum.site_info.with_raw_response.delete( @@ -451,6 +491,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: site_info = await response.parse() assert_matches_type(Optional[SiteInfoDeleteResponse], site_info, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.rum.site_info.with_streaming_response.delete( @@ -465,6 +506,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -479,6 +521,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: site_info = await async_client.rum.site_info.get( @@ -487,6 +530,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Site], site_info, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.rum.site_info.with_raw_response.get( @@ -499,6 +543,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: site_info = await response.parse() assert_matches_type(Optional[Site], site_info, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.rum.site_info.with_streaming_response.get( @@ -513,6 +558,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/secondary_dns/outgoing/test_status.py b/tests/api_resources/secondary_dns/outgoing/test_status.py index 98ced5177aa..a669d9b1d58 100644 --- a/tests/api_resources/secondary_dns/outgoing/test_status.py +++ b/tests/api_resources/secondary_dns/outgoing/test_status.py @@ -16,6 +16,7 @@ class TestStatus: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: status = client.secondary_dns.outgoing.status.get( @@ -23,6 +24,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(str, status, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.secondary_dns.outgoing.status.with_raw_response.get( @@ -34,6 +36,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: status = response.parse() assert_matches_type(str, status, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.secondary_dns.outgoing.status.with_streaming_response.get( @@ -47,6 +50,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -58,6 +62,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncStatus: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: status = await async_client.secondary_dns.outgoing.status.get( @@ -65,6 +70,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(str, status, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.secondary_dns.outgoing.status.with_raw_response.get( @@ -76,6 +82,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: status = await response.parse() assert_matches_type(str, status, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.secondary_dns.outgoing.status.with_streaming_response.get( @@ -89,6 +96,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): diff --git a/tests/api_resources/secondary_dns/test_acls.py b/tests/api_resources/secondary_dns/test_acls.py index fdfbcb92644..2b05db03287 100644 --- a/tests/api_resources/secondary_dns/test_acls.py +++ b/tests/api_resources/secondary_dns/test_acls.py @@ -21,6 +21,7 @@ class TestACLs: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: acl = client.secondary_dns.acls.create( @@ -29,6 +30,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ACL], acl, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.secondary_dns.acls.with_raw_response.create( @@ -41,6 +43,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: acl = response.parse() assert_matches_type(Optional[ACL], acl, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.secondary_dns.acls.with_streaming_response.create( @@ -55,6 +58,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -63,6 +67,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: acl = client.secondary_dns.acls.update( @@ -73,6 +78,7 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ACL], acl, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.secondary_dns.acls.with_raw_response.update( @@ -87,6 +93,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: acl = response.parse() assert_matches_type(Optional[ACL], acl, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.secondary_dns.acls.with_streaming_response.update( @@ -103,6 +110,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -121,6 +129,7 @@ def test_path_params_update(self, client: Cloudflare) -> None: name="my-acl-1", ) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: acl = client.secondary_dns.acls.list( @@ -128,6 +137,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[ACL], acl, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.secondary_dns.acls.with_raw_response.list( @@ -139,6 +149,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: acl = response.parse() assert_matches_type(SyncSinglePage[ACL], acl, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.secondary_dns.acls.with_streaming_response.list( @@ -152,6 +163,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -159,6 +171,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: acl = client.secondary_dns.acls.delete( @@ -168,6 +181,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ACLDeleteResponse], acl, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.secondary_dns.acls.with_raw_response.delete( @@ -181,6 +195,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: acl = response.parse() assert_matches_type(Optional[ACLDeleteResponse], acl, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.secondary_dns.acls.with_streaming_response.delete( @@ -196,6 +211,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -212,6 +228,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: acl = client.secondary_dns.acls.get( @@ -220,6 +237,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ACL], acl, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.secondary_dns.acls.with_raw_response.get( @@ -232,6 +250,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: acl = response.parse() assert_matches_type(Optional[ACL], acl, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.secondary_dns.acls.with_streaming_response.get( @@ -246,6 +265,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -264,6 +284,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncACLs: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: acl = await async_client.secondary_dns.acls.create( @@ -272,6 +293,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[ACL], acl, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.secondary_dns.acls.with_raw_response.create( @@ -284,6 +306,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: acl = await response.parse() assert_matches_type(Optional[ACL], acl, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.secondary_dns.acls.with_streaming_response.create( @@ -298,6 +321,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -306,6 +330,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: acl = await async_client.secondary_dns.acls.update( @@ -316,6 +341,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[ACL], acl, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.secondary_dns.acls.with_raw_response.update( @@ -330,6 +356,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: acl = await response.parse() assert_matches_type(Optional[ACL], acl, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.secondary_dns.acls.with_streaming_response.update( @@ -346,6 +373,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -364,6 +392,7 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: name="my-acl-1", ) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: acl = await async_client.secondary_dns.acls.list( @@ -371,6 +400,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[ACL], acl, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.secondary_dns.acls.with_raw_response.list( @@ -382,6 +412,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: acl = await response.parse() assert_matches_type(AsyncSinglePage[ACL], acl, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.secondary_dns.acls.with_streaming_response.list( @@ -395,6 +426,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -402,6 +434,7 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: acl = await async_client.secondary_dns.acls.delete( @@ -411,6 +444,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[ACLDeleteResponse], acl, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.secondary_dns.acls.with_raw_response.delete( @@ -424,6 +458,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: acl = await response.parse() assert_matches_type(Optional[ACLDeleteResponse], acl, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.secondary_dns.acls.with_streaming_response.delete( @@ -439,6 +474,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -455,6 +491,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: acl = await async_client.secondary_dns.acls.get( @@ -463,6 +500,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[ACL], acl, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.secondary_dns.acls.with_raw_response.get( @@ -475,6 +513,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: acl = await response.parse() assert_matches_type(Optional[ACL], acl, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.secondary_dns.acls.with_streaming_response.get( @@ -489,6 +528,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/secondary_dns/test_force_axfr.py b/tests/api_resources/secondary_dns/test_force_axfr.py index 2e0d975d424..dee1012a5a1 100644 --- a/tests/api_resources/secondary_dns/test_force_axfr.py +++ b/tests/api_resources/secondary_dns/test_force_axfr.py @@ -16,6 +16,7 @@ class TestForceAXFR: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: force_axfr = client.secondary_dns.force_axfr.create( @@ -24,6 +25,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(str, force_axfr, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.secondary_dns.force_axfr.with_raw_response.create( @@ -36,6 +38,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: force_axfr = response.parse() assert_matches_type(str, force_axfr, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.secondary_dns.force_axfr.with_streaming_response.create( @@ -50,6 +53,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -62,6 +66,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: class TestAsyncForceAXFR: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: force_axfr = await async_client.secondary_dns.force_axfr.create( @@ -70,6 +75,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(str, force_axfr, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.secondary_dns.force_axfr.with_raw_response.create( @@ -82,6 +88,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: force_axfr = await response.parse() assert_matches_type(str, force_axfr, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.secondary_dns.force_axfr.with_streaming_response.create( @@ -96,6 +103,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): diff --git a/tests/api_resources/secondary_dns/test_incoming.py b/tests/api_resources/secondary_dns/test_incoming.py index 20c533d8564..d1e07ab8c8d 100644 --- a/tests/api_resources/secondary_dns/test_incoming.py +++ b/tests/api_resources/secondary_dns/test_incoming.py @@ -22,6 +22,7 @@ class TestIncoming: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: incoming = client.secondary_dns.incoming.create( @@ -32,6 +33,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[IncomingCreateResponse], incoming, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.secondary_dns.incoming.with_raw_response.create( @@ -46,6 +48,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: incoming = response.parse() assert_matches_type(Optional[IncomingCreateResponse], incoming, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.secondary_dns.incoming.with_streaming_response.create( @@ -62,6 +65,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -72,6 +76,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: peers=["23ff594956f20c2a721606e94745a8aa", "00920f38ce07c2e2f4df50b1f61d4194"], ) + @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: incoming = client.secondary_dns.incoming.update( @@ -82,6 +87,7 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[IncomingUpdateResponse], incoming, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.secondary_dns.incoming.with_raw_response.update( @@ -96,6 +102,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: incoming = response.parse() assert_matches_type(Optional[IncomingUpdateResponse], incoming, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.secondary_dns.incoming.with_streaming_response.update( @@ -112,6 +119,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -122,6 +130,7 @@ def test_path_params_update(self, client: Cloudflare) -> None: peers=["23ff594956f20c2a721606e94745a8aa", "00920f38ce07c2e2f4df50b1f61d4194"], ) + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: incoming = client.secondary_dns.incoming.delete( @@ -130,6 +139,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[IncomingDeleteResponse], incoming, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.secondary_dns.incoming.with_raw_response.delete( @@ -142,6 +152,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: incoming = response.parse() assert_matches_type(Optional[IncomingDeleteResponse], incoming, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.secondary_dns.incoming.with_streaming_response.delete( @@ -156,6 +167,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -164,6 +176,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: incoming = client.secondary_dns.incoming.get( @@ -171,6 +184,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[IncomingGetResponse], incoming, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.secondary_dns.incoming.with_raw_response.get( @@ -182,6 +196,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: incoming = response.parse() assert_matches_type(Optional[IncomingGetResponse], incoming, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.secondary_dns.incoming.with_streaming_response.get( @@ -195,6 +210,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -206,6 +222,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncIncoming: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: incoming = await async_client.secondary_dns.incoming.create( @@ -216,6 +233,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[IncomingCreateResponse], incoming, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.secondary_dns.incoming.with_raw_response.create( @@ -230,6 +248,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: incoming = await response.parse() assert_matches_type(Optional[IncomingCreateResponse], incoming, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.secondary_dns.incoming.with_streaming_response.create( @@ -246,6 +265,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -256,6 +276,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: peers=["23ff594956f20c2a721606e94745a8aa", "00920f38ce07c2e2f4df50b1f61d4194"], ) + @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: incoming = await async_client.secondary_dns.incoming.update( @@ -266,6 +287,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[IncomingUpdateResponse], incoming, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.secondary_dns.incoming.with_raw_response.update( @@ -280,6 +302,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: incoming = await response.parse() assert_matches_type(Optional[IncomingUpdateResponse], incoming, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.secondary_dns.incoming.with_streaming_response.update( @@ -296,6 +319,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -306,6 +330,7 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: peers=["23ff594956f20c2a721606e94745a8aa", "00920f38ce07c2e2f4df50b1f61d4194"], ) + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: incoming = await async_client.secondary_dns.incoming.delete( @@ -314,6 +339,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[IncomingDeleteResponse], incoming, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.secondary_dns.incoming.with_raw_response.delete( @@ -326,6 +352,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: incoming = await response.parse() assert_matches_type(Optional[IncomingDeleteResponse], incoming, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.secondary_dns.incoming.with_streaming_response.delete( @@ -340,6 +367,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -348,6 +376,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: incoming = await async_client.secondary_dns.incoming.get( @@ -355,6 +384,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[IncomingGetResponse], incoming, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.secondary_dns.incoming.with_raw_response.get( @@ -366,6 +396,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: incoming = await response.parse() assert_matches_type(Optional[IncomingGetResponse], incoming, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.secondary_dns.incoming.with_streaming_response.get( @@ -379,6 +410,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): diff --git a/tests/api_resources/secondary_dns/test_outgoing.py b/tests/api_resources/secondary_dns/test_outgoing.py index aec196ef2b5..8f1280a12c2 100644 --- a/tests/api_resources/secondary_dns/test_outgoing.py +++ b/tests/api_resources/secondary_dns/test_outgoing.py @@ -22,6 +22,7 @@ class TestOutgoing: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: outgoing = client.secondary_dns.outgoing.create( @@ -31,6 +32,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[OutgoingCreateResponse], outgoing, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.secondary_dns.outgoing.with_raw_response.create( @@ -44,6 +46,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: outgoing = response.parse() assert_matches_type(Optional[OutgoingCreateResponse], outgoing, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.secondary_dns.outgoing.with_streaming_response.create( @@ -59,6 +62,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -68,6 +72,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: peers=["23ff594956f20c2a721606e94745a8aa", "00920f38ce07c2e2f4df50b1f61d4194"], ) + @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: outgoing = client.secondary_dns.outgoing.update( @@ -77,6 +82,7 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[OutgoingUpdateResponse], outgoing, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.secondary_dns.outgoing.with_raw_response.update( @@ -90,6 +96,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: outgoing = response.parse() assert_matches_type(Optional[OutgoingUpdateResponse], outgoing, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.secondary_dns.outgoing.with_streaming_response.update( @@ -105,6 +112,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -114,6 +122,7 @@ def test_path_params_update(self, client: Cloudflare) -> None: peers=["23ff594956f20c2a721606e94745a8aa", "00920f38ce07c2e2f4df50b1f61d4194"], ) + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: outgoing = client.secondary_dns.outgoing.delete( @@ -122,6 +131,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[OutgoingDeleteResponse], outgoing, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.secondary_dns.outgoing.with_raw_response.delete( @@ -134,6 +144,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: outgoing = response.parse() assert_matches_type(Optional[OutgoingDeleteResponse], outgoing, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.secondary_dns.outgoing.with_streaming_response.delete( @@ -148,6 +159,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -156,6 +168,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize def test_method_disable(self, client: Cloudflare) -> None: outgoing = client.secondary_dns.outgoing.disable( @@ -164,6 +177,7 @@ def test_method_disable(self, client: Cloudflare) -> None: ) assert_matches_type(str, outgoing, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_disable(self, client: Cloudflare) -> None: response = client.secondary_dns.outgoing.with_raw_response.disable( @@ -176,6 +190,7 @@ def test_raw_response_disable(self, client: Cloudflare) -> None: outgoing = response.parse() assert_matches_type(str, outgoing, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_disable(self, client: Cloudflare) -> None: with client.secondary_dns.outgoing.with_streaming_response.disable( @@ -190,6 +205,7 @@ def test_streaming_response_disable(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_disable(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -198,6 +214,7 @@ def test_path_params_disable(self, client: Cloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize def test_method_enable(self, client: Cloudflare) -> None: outgoing = client.secondary_dns.outgoing.enable( @@ -206,6 +223,7 @@ def test_method_enable(self, client: Cloudflare) -> None: ) assert_matches_type(str, outgoing, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_enable(self, client: Cloudflare) -> None: response = client.secondary_dns.outgoing.with_raw_response.enable( @@ -218,6 +236,7 @@ def test_raw_response_enable(self, client: Cloudflare) -> None: outgoing = response.parse() assert_matches_type(str, outgoing, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_enable(self, client: Cloudflare) -> None: with client.secondary_dns.outgoing.with_streaming_response.enable( @@ -232,6 +251,7 @@ def test_streaming_response_enable(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_enable(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -240,6 +260,7 @@ def test_path_params_enable(self, client: Cloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize def test_method_force_notify(self, client: Cloudflare) -> None: outgoing = client.secondary_dns.outgoing.force_notify( @@ -248,6 +269,7 @@ def test_method_force_notify(self, client: Cloudflare) -> None: ) assert_matches_type(str, outgoing, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_force_notify(self, client: Cloudflare) -> None: response = client.secondary_dns.outgoing.with_raw_response.force_notify( @@ -260,6 +282,7 @@ def test_raw_response_force_notify(self, client: Cloudflare) -> None: outgoing = response.parse() assert_matches_type(str, outgoing, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_force_notify(self, client: Cloudflare) -> None: with client.secondary_dns.outgoing.with_streaming_response.force_notify( @@ -274,6 +297,7 @@ def test_streaming_response_force_notify(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_force_notify(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -282,6 +306,7 @@ def test_path_params_force_notify(self, client: Cloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: outgoing = client.secondary_dns.outgoing.get( @@ -289,6 +314,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[OutgoingGetResponse], outgoing, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.secondary_dns.outgoing.with_raw_response.get( @@ -300,6 +326,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: outgoing = response.parse() assert_matches_type(Optional[OutgoingGetResponse], outgoing, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.secondary_dns.outgoing.with_streaming_response.get( @@ -313,6 +340,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -324,6 +352,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncOutgoing: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: outgoing = await async_client.secondary_dns.outgoing.create( @@ -333,6 +362,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[OutgoingCreateResponse], outgoing, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.secondary_dns.outgoing.with_raw_response.create( @@ -346,6 +376,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: outgoing = await response.parse() assert_matches_type(Optional[OutgoingCreateResponse], outgoing, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.secondary_dns.outgoing.with_streaming_response.create( @@ -361,6 +392,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -370,6 +402,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: peers=["23ff594956f20c2a721606e94745a8aa", "00920f38ce07c2e2f4df50b1f61d4194"], ) + @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: outgoing = await async_client.secondary_dns.outgoing.update( @@ -379,6 +412,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[OutgoingUpdateResponse], outgoing, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.secondary_dns.outgoing.with_raw_response.update( @@ -392,6 +426,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: outgoing = await response.parse() assert_matches_type(Optional[OutgoingUpdateResponse], outgoing, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.secondary_dns.outgoing.with_streaming_response.update( @@ -407,6 +442,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -416,6 +452,7 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: peers=["23ff594956f20c2a721606e94745a8aa", "00920f38ce07c2e2f4df50b1f61d4194"], ) + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: outgoing = await async_client.secondary_dns.outgoing.delete( @@ -424,6 +461,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[OutgoingDeleteResponse], outgoing, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.secondary_dns.outgoing.with_raw_response.delete( @@ -436,6 +474,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: outgoing = await response.parse() assert_matches_type(Optional[OutgoingDeleteResponse], outgoing, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.secondary_dns.outgoing.with_streaming_response.delete( @@ -450,6 +489,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -458,6 +498,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize async def test_method_disable(self, async_client: AsyncCloudflare) -> None: outgoing = await async_client.secondary_dns.outgoing.disable( @@ -466,6 +507,7 @@ async def test_method_disable(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(str, outgoing, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_disable(self, async_client: AsyncCloudflare) -> None: response = await async_client.secondary_dns.outgoing.with_raw_response.disable( @@ -478,6 +520,7 @@ async def test_raw_response_disable(self, async_client: AsyncCloudflare) -> None outgoing = await response.parse() assert_matches_type(str, outgoing, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_disable(self, async_client: AsyncCloudflare) -> None: async with async_client.secondary_dns.outgoing.with_streaming_response.disable( @@ -492,6 +535,7 @@ async def test_streaming_response_disable(self, async_client: AsyncCloudflare) - assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_disable(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -500,6 +544,7 @@ async def test_path_params_disable(self, async_client: AsyncCloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize async def test_method_enable(self, async_client: AsyncCloudflare) -> None: outgoing = await async_client.secondary_dns.outgoing.enable( @@ -508,6 +553,7 @@ async def test_method_enable(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(str, outgoing, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_enable(self, async_client: AsyncCloudflare) -> None: response = await async_client.secondary_dns.outgoing.with_raw_response.enable( @@ -520,6 +566,7 @@ async def test_raw_response_enable(self, async_client: AsyncCloudflare) -> None: outgoing = await response.parse() assert_matches_type(str, outgoing, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_enable(self, async_client: AsyncCloudflare) -> None: async with async_client.secondary_dns.outgoing.with_streaming_response.enable( @@ -534,6 +581,7 @@ async def test_streaming_response_enable(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_enable(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -542,6 +590,7 @@ async def test_path_params_enable(self, async_client: AsyncCloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize async def test_method_force_notify(self, async_client: AsyncCloudflare) -> None: outgoing = await async_client.secondary_dns.outgoing.force_notify( @@ -550,6 +599,7 @@ async def test_method_force_notify(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(str, outgoing, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_force_notify(self, async_client: AsyncCloudflare) -> None: response = await async_client.secondary_dns.outgoing.with_raw_response.force_notify( @@ -562,6 +612,7 @@ async def test_raw_response_force_notify(self, async_client: AsyncCloudflare) -> outgoing = await response.parse() assert_matches_type(str, outgoing, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_force_notify(self, async_client: AsyncCloudflare) -> None: async with async_client.secondary_dns.outgoing.with_streaming_response.force_notify( @@ -576,6 +627,7 @@ async def test_streaming_response_force_notify(self, async_client: AsyncCloudfla assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_force_notify(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -584,6 +636,7 @@ async def test_path_params_force_notify(self, async_client: AsyncCloudflare) -> body={}, ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: outgoing = await async_client.secondary_dns.outgoing.get( @@ -591,6 +644,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[OutgoingGetResponse], outgoing, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.secondary_dns.outgoing.with_raw_response.get( @@ -602,6 +656,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: outgoing = await response.parse() assert_matches_type(Optional[OutgoingGetResponse], outgoing, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.secondary_dns.outgoing.with_streaming_response.get( @@ -615,6 +670,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): diff --git a/tests/api_resources/secondary_dns/test_peers.py b/tests/api_resources/secondary_dns/test_peers.py index 08adceb5931..1de87b407c4 100644 --- a/tests/api_resources/secondary_dns/test_peers.py +++ b/tests/api_resources/secondary_dns/test_peers.py @@ -21,6 +21,7 @@ class TestPeers: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: peer = client.secondary_dns.peers.create( @@ -29,6 +30,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Peer], peer, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.secondary_dns.peers.with_raw_response.create( @@ -41,6 +43,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: peer = response.parse() assert_matches_type(Optional[Peer], peer, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.secondary_dns.peers.with_streaming_response.create( @@ -55,6 +58,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -63,6 +67,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: peer = client.secondary_dns.peers.update( @@ -72,6 +77,7 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Peer], peer, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: peer = client.secondary_dns.peers.update( @@ -85,6 +91,7 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Peer], peer, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.secondary_dns.peers.with_raw_response.update( @@ -98,6 +105,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: peer = response.parse() assert_matches_type(Optional[Peer], peer, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.secondary_dns.peers.with_streaming_response.update( @@ -113,6 +121,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -129,6 +138,7 @@ def test_path_params_update(self, client: Cloudflare) -> None: name="my-peer-1", ) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: peer = client.secondary_dns.peers.list( @@ -136,6 +146,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[Peer], peer, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.secondary_dns.peers.with_raw_response.list( @@ -147,6 +158,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: peer = response.parse() assert_matches_type(SyncSinglePage[Peer], peer, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.secondary_dns.peers.with_streaming_response.list( @@ -160,6 +172,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -167,6 +180,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: peer = client.secondary_dns.peers.delete( @@ -176,6 +190,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[PeerDeleteResponse], peer, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.secondary_dns.peers.with_raw_response.delete( @@ -189,6 +204,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: peer = response.parse() assert_matches_type(Optional[PeerDeleteResponse], peer, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.secondary_dns.peers.with_streaming_response.delete( @@ -204,6 +220,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -220,6 +237,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: peer = client.secondary_dns.peers.get( @@ -228,6 +246,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Peer], peer, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.secondary_dns.peers.with_raw_response.get( @@ -240,6 +259,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: peer = response.parse() assert_matches_type(Optional[Peer], peer, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.secondary_dns.peers.with_streaming_response.get( @@ -254,6 +274,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -272,6 +293,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncPeers: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: peer = await async_client.secondary_dns.peers.create( @@ -280,6 +302,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Peer], peer, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.secondary_dns.peers.with_raw_response.create( @@ -292,6 +315,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: peer = await response.parse() assert_matches_type(Optional[Peer], peer, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.secondary_dns.peers.with_streaming_response.create( @@ -306,6 +330,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -314,6 +339,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: peer = await async_client.secondary_dns.peers.update( @@ -323,6 +349,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Peer], peer, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: peer = await async_client.secondary_dns.peers.update( @@ -336,6 +363,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[Peer], peer, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.secondary_dns.peers.with_raw_response.update( @@ -349,6 +377,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: peer = await response.parse() assert_matches_type(Optional[Peer], peer, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.secondary_dns.peers.with_streaming_response.update( @@ -364,6 +393,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -380,6 +410,7 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: name="my-peer-1", ) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: peer = await async_client.secondary_dns.peers.list( @@ -387,6 +418,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[Peer], peer, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.secondary_dns.peers.with_raw_response.list( @@ -398,6 +430,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: peer = await response.parse() assert_matches_type(AsyncSinglePage[Peer], peer, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.secondary_dns.peers.with_streaming_response.list( @@ -411,6 +444,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -418,6 +452,7 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: peer = await async_client.secondary_dns.peers.delete( @@ -427,6 +462,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[PeerDeleteResponse], peer, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.secondary_dns.peers.with_raw_response.delete( @@ -440,6 +476,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: peer = await response.parse() assert_matches_type(Optional[PeerDeleteResponse], peer, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.secondary_dns.peers.with_streaming_response.delete( @@ -455,6 +492,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -471,6 +509,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: peer = await async_client.secondary_dns.peers.get( @@ -479,6 +518,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Peer], peer, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.secondary_dns.peers.with_raw_response.get( @@ -491,6 +531,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: peer = await response.parse() assert_matches_type(Optional[Peer], peer, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.secondary_dns.peers.with_streaming_response.get( @@ -505,6 +546,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/secondary_dns/test_tsigs.py b/tests/api_resources/secondary_dns/test_tsigs.py index ccde0c50bd6..e4d734d402d 100644 --- a/tests/api_resources/secondary_dns/test_tsigs.py +++ b/tests/api_resources/secondary_dns/test_tsigs.py @@ -21,6 +21,7 @@ class TestTSIGs: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: tsig = client.secondary_dns.tsigs.create( @@ -31,6 +32,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[TSIG], tsig, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.secondary_dns.tsigs.with_raw_response.create( @@ -45,6 +47,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: tsig = response.parse() assert_matches_type(Optional[TSIG], tsig, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.secondary_dns.tsigs.with_streaming_response.create( @@ -61,6 +64,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -71,6 +75,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: secret="caf79a7804b04337c9c66ccd7bef9190a1e1679b5dd03d8aa10f7ad45e1a9dab92b417896c15d4d007c7c14194538d2a5d0feffdecc5a7f0e1c570cfa700837c", ) + @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: tsig = client.secondary_dns.tsigs.update( @@ -82,6 +87,7 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[TSIG], tsig, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.secondary_dns.tsigs.with_raw_response.update( @@ -97,6 +103,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: tsig = response.parse() assert_matches_type(Optional[TSIG], tsig, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.secondary_dns.tsigs.with_streaming_response.update( @@ -114,6 +121,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -134,6 +142,7 @@ def test_path_params_update(self, client: Cloudflare) -> None: secret="caf79a7804b04337c9c66ccd7bef9190a1e1679b5dd03d8aa10f7ad45e1a9dab92b417896c15d4d007c7c14194538d2a5d0feffdecc5a7f0e1c570cfa700837c", ) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: tsig = client.secondary_dns.tsigs.list( @@ -141,6 +150,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[TSIG], tsig, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.secondary_dns.tsigs.with_raw_response.list( @@ -152,6 +162,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: tsig = response.parse() assert_matches_type(SyncSinglePage[TSIG], tsig, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.secondary_dns.tsigs.with_streaming_response.list( @@ -165,6 +176,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -172,6 +184,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: tsig = client.secondary_dns.tsigs.delete( @@ -181,6 +194,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[TSIGDeleteResponse], tsig, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.secondary_dns.tsigs.with_raw_response.delete( @@ -194,6 +208,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: tsig = response.parse() assert_matches_type(Optional[TSIGDeleteResponse], tsig, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.secondary_dns.tsigs.with_streaming_response.delete( @@ -209,6 +224,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -225,6 +241,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: tsig = client.secondary_dns.tsigs.get( @@ -233,6 +250,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[TSIG], tsig, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.secondary_dns.tsigs.with_raw_response.get( @@ -245,6 +263,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: tsig = response.parse() assert_matches_type(Optional[TSIG], tsig, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.secondary_dns.tsigs.with_streaming_response.get( @@ -259,6 +278,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -277,6 +297,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncTSIGs: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: tsig = await async_client.secondary_dns.tsigs.create( @@ -287,6 +308,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[TSIG], tsig, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.secondary_dns.tsigs.with_raw_response.create( @@ -301,6 +323,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: tsig = await response.parse() assert_matches_type(Optional[TSIG], tsig, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.secondary_dns.tsigs.with_streaming_response.create( @@ -317,6 +340,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -327,6 +351,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: secret="caf79a7804b04337c9c66ccd7bef9190a1e1679b5dd03d8aa10f7ad45e1a9dab92b417896c15d4d007c7c14194538d2a5d0feffdecc5a7f0e1c570cfa700837c", ) + @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: tsig = await async_client.secondary_dns.tsigs.update( @@ -338,6 +363,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[TSIG], tsig, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.secondary_dns.tsigs.with_raw_response.update( @@ -353,6 +379,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: tsig = await response.parse() assert_matches_type(Optional[TSIG], tsig, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.secondary_dns.tsigs.with_streaming_response.update( @@ -370,6 +397,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -390,6 +418,7 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: secret="caf79a7804b04337c9c66ccd7bef9190a1e1679b5dd03d8aa10f7ad45e1a9dab92b417896c15d4d007c7c14194538d2a5d0feffdecc5a7f0e1c570cfa700837c", ) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: tsig = await async_client.secondary_dns.tsigs.list( @@ -397,6 +426,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[TSIG], tsig, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.secondary_dns.tsigs.with_raw_response.list( @@ -408,6 +438,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: tsig = await response.parse() assert_matches_type(AsyncSinglePage[TSIG], tsig, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.secondary_dns.tsigs.with_streaming_response.list( @@ -421,6 +452,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -428,6 +460,7 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: tsig = await async_client.secondary_dns.tsigs.delete( @@ -437,6 +470,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[TSIGDeleteResponse], tsig, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.secondary_dns.tsigs.with_raw_response.delete( @@ -450,6 +484,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: tsig = await response.parse() assert_matches_type(Optional[TSIGDeleteResponse], tsig, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.secondary_dns.tsigs.with_streaming_response.delete( @@ -465,6 +500,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -481,6 +517,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: tsig = await async_client.secondary_dns.tsigs.get( @@ -489,6 +526,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[TSIG], tsig, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.secondary_dns.tsigs.with_raw_response.get( @@ -501,6 +539,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: tsig = await response.parse() assert_matches_type(Optional[TSIG], tsig, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.secondary_dns.tsigs.with_streaming_response.get( @@ -515,6 +554,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/snippets/test_content.py b/tests/api_resources/snippets/test_content.py index 76e763aa087..cbb90cef7ff 100644 --- a/tests/api_resources/snippets/test_content.py +++ b/tests/api_resources/snippets/test_content.py @@ -23,6 +23,7 @@ class TestContent: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize @pytest.mark.respx(base_url=base_url) def test_method_get(self, client: Cloudflare, respx_mock: MockRouter) -> None: @@ -38,6 +39,7 @@ def test_method_get(self, client: Cloudflare, respx_mock: MockRouter) -> None: assert cast(Any, content.is_closed) is True assert isinstance(content, BinaryAPIResponse) + @pytest.mark.skip() @parametrize @pytest.mark.respx(base_url=base_url) def test_raw_response_get(self, client: Cloudflare, respx_mock: MockRouter) -> None: @@ -55,6 +57,7 @@ def test_raw_response_get(self, client: Cloudflare, respx_mock: MockRouter) -> N assert content.json() == {"foo": "bar"} assert isinstance(content, BinaryAPIResponse) + @pytest.mark.skip() @parametrize @pytest.mark.respx(base_url=base_url) def test_streaming_response_get(self, client: Cloudflare, respx_mock: MockRouter) -> None: @@ -74,6 +77,7 @@ def test_streaming_response_get(self, client: Cloudflare, respx_mock: MockRouter assert cast(Any, content.is_closed) is True + @pytest.mark.skip() @parametrize @pytest.mark.respx(base_url=base_url) def test_path_params_get(self, client: Cloudflare) -> None: @@ -93,6 +97,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncContent: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize @pytest.mark.respx(base_url=base_url) async def test_method_get(self, async_client: AsyncCloudflare, respx_mock: MockRouter) -> None: @@ -108,6 +113,7 @@ async def test_method_get(self, async_client: AsyncCloudflare, respx_mock: MockR assert cast(Any, content.is_closed) is True assert isinstance(content, AsyncBinaryAPIResponse) + @pytest.mark.skip() @parametrize @pytest.mark.respx(base_url=base_url) async def test_raw_response_get(self, async_client: AsyncCloudflare, respx_mock: MockRouter) -> None: @@ -125,6 +131,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare, respx_mock: assert await content.json() == {"foo": "bar"} assert isinstance(content, AsyncBinaryAPIResponse) + @pytest.mark.skip() @parametrize @pytest.mark.respx(base_url=base_url) async def test_streaming_response_get(self, async_client: AsyncCloudflare, respx_mock: MockRouter) -> None: @@ -144,6 +151,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare, respx assert cast(Any, content.is_closed) is True + @pytest.mark.skip() @parametrize @pytest.mark.respx(base_url=base_url) async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: diff --git a/tests/api_resources/snippets/test_rules.py b/tests/api_resources/snippets/test_rules.py index 1c79f65f2d3..83e10168142 100644 --- a/tests/api_resources/snippets/test_rules.py +++ b/tests/api_resources/snippets/test_rules.py @@ -18,6 +18,7 @@ class TestRules: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: rule = client.snippets.rules.update( @@ -25,6 +26,7 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(RuleUpdateResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: rule = client.snippets.rules.update( @@ -52,6 +54,7 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(RuleUpdateResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.snippets.rules.with_raw_response.update( @@ -63,6 +66,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: rule = response.parse() assert_matches_type(RuleUpdateResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.snippets.rules.with_streaming_response.update( @@ -76,6 +80,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -83,6 +88,7 @@ def test_path_params_update(self, client: Cloudflare) -> None: "", ) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: rule = client.snippets.rules.list( @@ -90,6 +96,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[RuleListResponse], rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.snippets.rules.with_raw_response.list( @@ -101,6 +108,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: rule = response.parse() assert_matches_type(SyncSinglePage[RuleListResponse], rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.snippets.rules.with_streaming_response.list( @@ -114,6 +122,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -125,6 +134,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: class TestAsyncRules: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: rule = await async_client.snippets.rules.update( @@ -132,6 +142,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(RuleUpdateResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: rule = await async_client.snippets.rules.update( @@ -159,6 +170,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(RuleUpdateResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.snippets.rules.with_raw_response.update( @@ -170,6 +182,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: rule = await response.parse() assert_matches_type(RuleUpdateResponse, rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.snippets.rules.with_streaming_response.update( @@ -183,6 +196,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -190,6 +204,7 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: "", ) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: rule = await async_client.snippets.rules.list( @@ -197,6 +212,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[RuleListResponse], rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.snippets.rules.with_raw_response.list( @@ -208,6 +224,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: rule = await response.parse() assert_matches_type(AsyncSinglePage[RuleListResponse], rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.snippets.rules.with_streaming_response.list( @@ -221,6 +238,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): diff --git a/tests/api_resources/spectrum/analytics/aggregates/test_currents.py b/tests/api_resources/spectrum/analytics/aggregates/test_currents.py index fa152873a47..637e44bfece 100644 --- a/tests/api_resources/spectrum/analytics/aggregates/test_currents.py +++ b/tests/api_resources/spectrum/analytics/aggregates/test_currents.py @@ -17,6 +17,7 @@ class TestCurrents: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: current = client.spectrum.analytics.aggregates.currents.get( @@ -24,6 +25,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(CurrentGetResponse, current, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: current = client.spectrum.analytics.aggregates.currents.get( @@ -34,6 +36,7 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(CurrentGetResponse, current, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.spectrum.analytics.aggregates.currents.with_raw_response.get( @@ -45,6 +48,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: current = response.parse() assert_matches_type(CurrentGetResponse, current, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.spectrum.analytics.aggregates.currents.with_streaming_response.get( @@ -58,6 +62,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone` but received ''"): @@ -69,6 +74,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncCurrents: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: current = await async_client.spectrum.analytics.aggregates.currents.get( @@ -76,6 +82,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(CurrentGetResponse, current, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: current = await async_client.spectrum.analytics.aggregates.currents.get( @@ -86,6 +93,7 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(CurrentGetResponse, current, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.spectrum.analytics.aggregates.currents.with_raw_response.get( @@ -97,6 +105,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: current = await response.parse() assert_matches_type(CurrentGetResponse, current, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.spectrum.analytics.aggregates.currents.with_streaming_response.get( @@ -110,6 +119,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone` but received ''"): diff --git a/tests/api_resources/spectrum/analytics/events/test_bytimes.py b/tests/api_resources/spectrum/analytics/events/test_bytimes.py index 57a939363a2..9afdcf9b72a 100644 --- a/tests/api_resources/spectrum/analytics/events/test_bytimes.py +++ b/tests/api_resources/spectrum/analytics/events/test_bytimes.py @@ -18,6 +18,7 @@ class TestBytimes: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: bytime = client.spectrum.analytics.events.bytimes.get( @@ -25,6 +26,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[BytimeGetResponse], bytime, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: bytime = client.spectrum.analytics.events.bytimes.get( @@ -39,6 +41,7 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[BytimeGetResponse], bytime, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.spectrum.analytics.events.bytimes.with_raw_response.get( @@ -50,6 +53,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: bytime = response.parse() assert_matches_type(Optional[BytimeGetResponse], bytime, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.spectrum.analytics.events.bytimes.with_streaming_response.get( @@ -63,6 +67,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone` but received ''"): @@ -74,6 +79,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncBytimes: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: bytime = await async_client.spectrum.analytics.events.bytimes.get( @@ -81,6 +87,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[BytimeGetResponse], bytime, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: bytime = await async_client.spectrum.analytics.events.bytimes.get( @@ -95,6 +102,7 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(Optional[BytimeGetResponse], bytime, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.spectrum.analytics.events.bytimes.with_raw_response.get( @@ -106,6 +114,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: bytime = await response.parse() assert_matches_type(Optional[BytimeGetResponse], bytime, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.spectrum.analytics.events.bytimes.with_streaming_response.get( @@ -119,6 +128,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone` but received ''"): diff --git a/tests/api_resources/spectrum/analytics/events/test_summaries.py b/tests/api_resources/spectrum/analytics/events/test_summaries.py index abccd1640c3..5f19bf08707 100644 --- a/tests/api_resources/spectrum/analytics/events/test_summaries.py +++ b/tests/api_resources/spectrum/analytics/events/test_summaries.py @@ -18,6 +18,7 @@ class TestSummaries: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: summary = client.spectrum.analytics.events.summaries.get( @@ -25,6 +26,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[SummaryGetResponse], summary, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: summary = client.spectrum.analytics.events.summaries.get( @@ -38,6 +40,7 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[SummaryGetResponse], summary, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.spectrum.analytics.events.summaries.with_raw_response.get( @@ -49,6 +52,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: summary = response.parse() assert_matches_type(Optional[SummaryGetResponse], summary, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.spectrum.analytics.events.summaries.with_streaming_response.get( @@ -62,6 +66,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone` but received ''"): @@ -73,6 +78,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncSummaries: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: summary = await async_client.spectrum.analytics.events.summaries.get( @@ -80,6 +86,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[SummaryGetResponse], summary, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: summary = await async_client.spectrum.analytics.events.summaries.get( @@ -93,6 +100,7 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(Optional[SummaryGetResponse], summary, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.spectrum.analytics.events.summaries.with_raw_response.get( @@ -104,6 +112,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: summary = await response.parse() assert_matches_type(Optional[SummaryGetResponse], summary, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.spectrum.analytics.events.summaries.with_streaming_response.get( @@ -117,6 +126,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone` but received ''"): diff --git a/tests/api_resources/spectrum/test_apps.py b/tests/api_resources/spectrum/test_apps.py index 31616c896c7..1c99356b97a 100644 --- a/tests/api_resources/spectrum/test_apps.py +++ b/tests/api_resources/spectrum/test_apps.py @@ -23,6 +23,7 @@ class TestApps: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: app = client.spectrum.apps.create( @@ -34,6 +35,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[AppCreateResponse], app, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: app = client.spectrum.apps.create( @@ -61,6 +63,7 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[AppCreateResponse], app, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.spectrum.apps.with_raw_response.create( @@ -76,6 +79,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: app = response.parse() assert_matches_type(Optional[AppCreateResponse], app, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.spectrum.apps.with_streaming_response.create( @@ -93,6 +97,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone` but received ''"): @@ -104,6 +109,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: protocol="tcp/22", ) + @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: app = client.spectrum.apps.update( @@ -116,6 +122,7 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[AppUpdateResponse], app, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: app = client.spectrum.apps.update( @@ -144,6 +151,7 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[AppUpdateResponse], app, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.spectrum.apps.with_raw_response.update( @@ -160,6 +168,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: app = response.parse() assert_matches_type(Optional[AppUpdateResponse], app, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.spectrum.apps.with_streaming_response.update( @@ -178,6 +187,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone` but received ''"): @@ -200,6 +210,7 @@ def test_path_params_update(self, client: Cloudflare) -> None: protocol="tcp/22", ) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: app = client.spectrum.apps.list( @@ -207,6 +218,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePaginationArray[object], app, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: app = client.spectrum.apps.list( @@ -218,6 +230,7 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePaginationArray[object], app, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.spectrum.apps.with_raw_response.list( @@ -229,6 +242,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: app = response.parse() assert_matches_type(SyncV4PagePaginationArray[object], app, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.spectrum.apps.with_streaming_response.list( @@ -242,6 +256,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone` but received ''"): @@ -249,6 +264,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: "", ) + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: app = client.spectrum.apps.delete( @@ -258,6 +274,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[AppDeleteResponse], app, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.spectrum.apps.with_raw_response.delete( @@ -271,6 +288,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: app = response.parse() assert_matches_type(Optional[AppDeleteResponse], app, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.spectrum.apps.with_streaming_response.delete( @@ -286,6 +304,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone` but received ''"): @@ -302,6 +321,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: app = client.spectrum.apps.get( @@ -310,6 +330,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(AppGetResponse, app, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.spectrum.apps.with_raw_response.get( @@ -322,6 +343,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: app = response.parse() assert_matches_type(AppGetResponse, app, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.spectrum.apps.with_streaming_response.get( @@ -336,6 +358,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone` but received ''"): @@ -354,6 +377,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncApps: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: app = await async_client.spectrum.apps.create( @@ -365,6 +389,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[AppCreateResponse], app, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: app = await async_client.spectrum.apps.create( @@ -392,6 +417,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[AppCreateResponse], app, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.spectrum.apps.with_raw_response.create( @@ -407,6 +433,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: app = await response.parse() assert_matches_type(Optional[AppCreateResponse], app, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.spectrum.apps.with_streaming_response.create( @@ -424,6 +451,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone` but received ''"): @@ -435,6 +463,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: protocol="tcp/22", ) + @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: app = await async_client.spectrum.apps.update( @@ -447,6 +476,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[AppUpdateResponse], app, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: app = await async_client.spectrum.apps.update( @@ -475,6 +505,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[AppUpdateResponse], app, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.spectrum.apps.with_raw_response.update( @@ -491,6 +522,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: app = await response.parse() assert_matches_type(Optional[AppUpdateResponse], app, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.spectrum.apps.with_streaming_response.update( @@ -509,6 +541,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone` but received ''"): @@ -531,6 +564,7 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: protocol="tcp/22", ) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: app = await async_client.spectrum.apps.list( @@ -538,6 +572,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncV4PagePaginationArray[object], app, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: app = await async_client.spectrum.apps.list( @@ -549,6 +584,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncV4PagePaginationArray[object], app, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.spectrum.apps.with_raw_response.list( @@ -560,6 +596,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: app = await response.parse() assert_matches_type(AsyncV4PagePaginationArray[object], app, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.spectrum.apps.with_streaming_response.list( @@ -573,6 +610,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone` but received ''"): @@ -580,6 +618,7 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: "", ) + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: app = await async_client.spectrum.apps.delete( @@ -589,6 +628,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[AppDeleteResponse], app, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.spectrum.apps.with_raw_response.delete( @@ -602,6 +642,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: app = await response.parse() assert_matches_type(Optional[AppDeleteResponse], app, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.spectrum.apps.with_streaming_response.delete( @@ -617,6 +658,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone` but received ''"): @@ -633,6 +675,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: app = await async_client.spectrum.apps.get( @@ -641,6 +684,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AppGetResponse, app, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.spectrum.apps.with_raw_response.get( @@ -653,6 +697,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: app = await response.parse() assert_matches_type(AppGetResponse, app, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.spectrum.apps.with_streaming_response.get( @@ -667,6 +712,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone` but received ''"): diff --git a/tests/api_resources/speed/test_availabilities.py b/tests/api_resources/speed/test_availabilities.py index 59d87a22852..1d651c0cda6 100644 --- a/tests/api_resources/speed/test_availabilities.py +++ b/tests/api_resources/speed/test_availabilities.py @@ -17,6 +17,7 @@ class TestAvailabilities: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: availability = client.speed.availabilities.list( @@ -24,6 +25,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Availability], availability, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.speed.availabilities.with_raw_response.list( @@ -35,6 +37,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: availability = response.parse() assert_matches_type(Optional[Availability], availability, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.speed.availabilities.with_streaming_response.list( @@ -48,6 +51,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -59,6 +63,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: class TestAsyncAvailabilities: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: availability = await async_client.speed.availabilities.list( @@ -66,6 +71,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Availability], availability, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.speed.availabilities.with_raw_response.list( @@ -77,6 +83,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: availability = await response.parse() assert_matches_type(Optional[Availability], availability, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.speed.availabilities.with_streaming_response.list( @@ -90,6 +97,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): diff --git a/tests/api_resources/speed/test_pages.py b/tests/api_resources/speed/test_pages.py index ac43092a2e3..cee5ec5833e 100644 --- a/tests/api_resources/speed/test_pages.py +++ b/tests/api_resources/speed/test_pages.py @@ -18,6 +18,7 @@ class TestPages: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: page = client.speed.pages.list( @@ -25,6 +26,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[PageListResponse], page, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.speed.pages.with_raw_response.list( @@ -36,6 +38,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: page = response.parse() assert_matches_type(SyncSinglePage[PageListResponse], page, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.speed.pages.with_streaming_response.list( @@ -49,6 +52,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -60,6 +64,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: class TestAsyncPages: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: page = await async_client.speed.pages.list( @@ -67,6 +72,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[PageListResponse], page, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.speed.pages.with_raw_response.list( @@ -78,6 +84,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: page = await response.parse() assert_matches_type(AsyncSinglePage[PageListResponse], page, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.speed.pages.with_streaming_response.list( @@ -91,6 +98,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): diff --git a/tests/api_resources/speed/test_schedule.py b/tests/api_resources/speed/test_schedule.py index fad790c5fc2..99d2657e184 100644 --- a/tests/api_resources/speed/test_schedule.py +++ b/tests/api_resources/speed/test_schedule.py @@ -17,6 +17,7 @@ class TestSchedule: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: schedule = client.speed.schedule.create( @@ -25,6 +26,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ScheduleCreateResponse], schedule, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: schedule = client.speed.schedule.create( @@ -34,6 +36,7 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ScheduleCreateResponse], schedule, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.speed.schedule.with_raw_response.create( @@ -46,6 +49,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: schedule = response.parse() assert_matches_type(Optional[ScheduleCreateResponse], schedule, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.speed.schedule.with_streaming_response.create( @@ -60,6 +64,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -78,6 +83,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: class TestAsyncSchedule: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: schedule = await async_client.speed.schedule.create( @@ -86,6 +92,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[ScheduleCreateResponse], schedule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: schedule = await async_client.speed.schedule.create( @@ -95,6 +102,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[ScheduleCreateResponse], schedule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.speed.schedule.with_raw_response.create( @@ -107,6 +115,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: schedule = await response.parse() assert_matches_type(Optional[ScheduleCreateResponse], schedule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.speed.schedule.with_streaming_response.create( @@ -121,6 +130,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): diff --git a/tests/api_resources/speed/test_tests.py b/tests/api_resources/speed/test_tests.py index 1bc60889e66..fc85d909d50 100644 --- a/tests/api_resources/speed/test_tests.py +++ b/tests/api_resources/speed/test_tests.py @@ -21,6 +21,7 @@ class TestTests: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: test = client.speed.tests.create( @@ -29,6 +30,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Test], test, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: test = client.speed.tests.create( @@ -38,6 +40,7 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Test], test, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.speed.tests.with_raw_response.create( @@ -50,6 +53,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: test = response.parse() assert_matches_type(Optional[Test], test, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.speed.tests.with_streaming_response.create( @@ -64,6 +68,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -78,6 +83,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: zone_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: test = client.speed.tests.list( @@ -86,6 +92,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(TestListResponse, test, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: test = client.speed.tests.list( @@ -97,6 +104,7 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(TestListResponse, test, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.speed.tests.with_raw_response.list( @@ -109,6 +117,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: test = response.parse() assert_matches_type(TestListResponse, test, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.speed.tests.with_streaming_response.list( @@ -123,6 +132,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -137,6 +147,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: zone_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: test = client.speed.tests.delete( @@ -145,6 +156,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[TestDeleteResponse], test, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_delete_with_all_params(self, client: Cloudflare) -> None: test = client.speed.tests.delete( @@ -154,6 +166,7 @@ def test_method_delete_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[TestDeleteResponse], test, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.speed.tests.with_raw_response.delete( @@ -166,6 +179,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: test = response.parse() assert_matches_type(Optional[TestDeleteResponse], test, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.speed.tests.with_streaming_response.delete( @@ -180,6 +194,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -194,6 +209,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: zone_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: test = client.speed.tests.get( @@ -203,6 +219,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Test], test, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.speed.tests.with_raw_response.get( @@ -216,6 +233,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: test = response.parse() assert_matches_type(Optional[Test], test, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.speed.tests.with_streaming_response.get( @@ -231,6 +249,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -258,6 +277,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncTests: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: test = await async_client.speed.tests.create( @@ -266,6 +286,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Test], test, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: test = await async_client.speed.tests.create( @@ -275,6 +296,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[Test], test, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.speed.tests.with_raw_response.create( @@ -287,6 +309,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: test = await response.parse() assert_matches_type(Optional[Test], test, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.speed.tests.with_streaming_response.create( @@ -301,6 +324,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -315,6 +339,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: zone_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: test = await async_client.speed.tests.list( @@ -323,6 +348,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(TestListResponse, test, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: test = await async_client.speed.tests.list( @@ -334,6 +360,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(TestListResponse, test, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.speed.tests.with_raw_response.list( @@ -346,6 +373,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: test = await response.parse() assert_matches_type(TestListResponse, test, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.speed.tests.with_streaming_response.list( @@ -360,6 +388,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -374,6 +403,7 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: zone_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: test = await async_client.speed.tests.delete( @@ -382,6 +412,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[TestDeleteResponse], test, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_delete_with_all_params(self, async_client: AsyncCloudflare) -> None: test = await async_client.speed.tests.delete( @@ -391,6 +422,7 @@ async def test_method_delete_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[TestDeleteResponse], test, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.speed.tests.with_raw_response.delete( @@ -403,6 +435,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: test = await response.parse() assert_matches_type(Optional[TestDeleteResponse], test, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.speed.tests.with_streaming_response.delete( @@ -417,6 +450,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -431,6 +465,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: zone_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: test = await async_client.speed.tests.get( @@ -440,6 +475,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Test], test, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.speed.tests.with_raw_response.get( @@ -453,6 +489,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: test = await response.parse() assert_matches_type(Optional[Test], test, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.speed.tests.with_streaming_response.get( @@ -468,6 +505,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): diff --git a/tests/api_resources/ssl/certificate_packs/test_order.py b/tests/api_resources/ssl/certificate_packs/test_order.py index 6d8da28d48c..5ad50e00c71 100644 --- a/tests/api_resources/ssl/certificate_packs/test_order.py +++ b/tests/api_resources/ssl/certificate_packs/test_order.py @@ -17,6 +17,7 @@ class TestOrder: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: order = client.ssl.certificate_packs.order.create( @@ -29,6 +30,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(OrderCreateResponse, order, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: order = client.ssl.certificate_packs.order.create( @@ -42,6 +44,7 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(OrderCreateResponse, order, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.ssl.certificate_packs.order.with_raw_response.create( @@ -58,6 +61,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: order = response.parse() assert_matches_type(OrderCreateResponse, order, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.ssl.certificate_packs.order.with_streaming_response.create( @@ -76,6 +80,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -92,6 +97,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: class TestAsyncOrder: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: order = await async_client.ssl.certificate_packs.order.create( @@ -104,6 +110,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(OrderCreateResponse, order, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: order = await async_client.ssl.certificate_packs.order.create( @@ -117,6 +124,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(OrderCreateResponse, order, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.ssl.certificate_packs.order.with_raw_response.create( @@ -133,6 +141,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: order = await response.parse() assert_matches_type(OrderCreateResponse, order, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.ssl.certificate_packs.order.with_streaming_response.create( @@ -151,6 +160,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): diff --git a/tests/api_resources/ssl/certificate_packs/test_quota.py b/tests/api_resources/ssl/certificate_packs/test_quota.py index 9417d537564..22d983db7f1 100644 --- a/tests/api_resources/ssl/certificate_packs/test_quota.py +++ b/tests/api_resources/ssl/certificate_packs/test_quota.py @@ -17,6 +17,7 @@ class TestQuota: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: quota = client.ssl.certificate_packs.quota.get( @@ -24,6 +25,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(QuotaGetResponse, quota, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.ssl.certificate_packs.quota.with_raw_response.get( @@ -35,6 +37,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: quota = response.parse() assert_matches_type(QuotaGetResponse, quota, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.ssl.certificate_packs.quota.with_streaming_response.get( @@ -48,6 +51,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -59,6 +63,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncQuota: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: quota = await async_client.ssl.certificate_packs.quota.get( @@ -66,6 +71,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(QuotaGetResponse, quota, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.ssl.certificate_packs.quota.with_raw_response.get( @@ -77,6 +83,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: quota = await response.parse() assert_matches_type(QuotaGetResponse, quota, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.ssl.certificate_packs.quota.with_streaming_response.get( @@ -90,6 +97,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): diff --git a/tests/api_resources/ssl/test_analyze.py b/tests/api_resources/ssl/test_analyze.py index f037c193eb4..ce96ca2df0c 100644 --- a/tests/api_resources/ssl/test_analyze.py +++ b/tests/api_resources/ssl/test_analyze.py @@ -17,6 +17,7 @@ class TestAnalyze: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: analyze = client.ssl.analyze.create( @@ -24,6 +25,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(AnalyzeCreateResponse, analyze, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: analyze = client.ssl.analyze.create( @@ -33,6 +35,7 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(AnalyzeCreateResponse, analyze, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.ssl.analyze.with_raw_response.create( @@ -44,6 +47,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: analyze = response.parse() assert_matches_type(AnalyzeCreateResponse, analyze, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.ssl.analyze.with_streaming_response.create( @@ -57,6 +61,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -68,6 +73,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: class TestAsyncAnalyze: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: analyze = await async_client.ssl.analyze.create( @@ -75,6 +81,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AnalyzeCreateResponse, analyze, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: analyze = await async_client.ssl.analyze.create( @@ -84,6 +91,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(AnalyzeCreateResponse, analyze, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.ssl.analyze.with_raw_response.create( @@ -95,6 +103,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: analyze = await response.parse() assert_matches_type(AnalyzeCreateResponse, analyze, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.ssl.analyze.with_streaming_response.create( @@ -108,6 +117,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): diff --git a/tests/api_resources/ssl/test_certificate_packs.py b/tests/api_resources/ssl/test_certificate_packs.py index db9847ef4fc..8cc4c1436fe 100644 --- a/tests/api_resources/ssl/test_certificate_packs.py +++ b/tests/api_resources/ssl/test_certificate_packs.py @@ -22,6 +22,7 @@ class TestCertificatePacks: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: certificate_pack = client.ssl.certificate_packs.list( @@ -29,6 +30,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[object], certificate_pack, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: certificate_pack = client.ssl.certificate_packs.list( @@ -37,6 +39,7 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[object], certificate_pack, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.ssl.certificate_packs.with_raw_response.list( @@ -48,6 +51,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: certificate_pack = response.parse() assert_matches_type(SyncSinglePage[object], certificate_pack, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.ssl.certificate_packs.with_streaming_response.list( @@ -61,6 +65,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -68,6 +73,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: certificate_pack = client.ssl.certificate_packs.delete( @@ -77,6 +83,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(CertificatePackDeleteResponse, certificate_pack, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.ssl.certificate_packs.with_raw_response.delete( @@ -90,6 +97,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: certificate_pack = response.parse() assert_matches_type(CertificatePackDeleteResponse, certificate_pack, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.ssl.certificate_packs.with_streaming_response.delete( @@ -105,6 +113,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -121,6 +130,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: certificate_pack = client.ssl.certificate_packs.edit( @@ -130,6 +140,7 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(CertificatePackEditResponse, certificate_pack, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.ssl.certificate_packs.with_raw_response.edit( @@ -143,6 +154,7 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: certificate_pack = response.parse() assert_matches_type(CertificatePackEditResponse, certificate_pack, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.ssl.certificate_packs.with_streaming_response.edit( @@ -158,6 +170,7 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -174,6 +187,7 @@ def test_path_params_edit(self, client: Cloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: certificate_pack = client.ssl.certificate_packs.get( @@ -182,6 +196,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(CertificatePackGetResponse, certificate_pack, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.ssl.certificate_packs.with_raw_response.get( @@ -194,6 +209,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: certificate_pack = response.parse() assert_matches_type(CertificatePackGetResponse, certificate_pack, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.ssl.certificate_packs.with_streaming_response.get( @@ -208,6 +224,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -226,6 +243,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncCertificatePacks: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: certificate_pack = await async_client.ssl.certificate_packs.list( @@ -233,6 +251,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[object], certificate_pack, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: certificate_pack = await async_client.ssl.certificate_packs.list( @@ -241,6 +260,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncSinglePage[object], certificate_pack, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.ssl.certificate_packs.with_raw_response.list( @@ -252,6 +272,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: certificate_pack = await response.parse() assert_matches_type(AsyncSinglePage[object], certificate_pack, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.ssl.certificate_packs.with_streaming_response.list( @@ -265,6 +286,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -272,6 +294,7 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: certificate_pack = await async_client.ssl.certificate_packs.delete( @@ -281,6 +304,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(CertificatePackDeleteResponse, certificate_pack, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.ssl.certificate_packs.with_raw_response.delete( @@ -294,6 +318,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: certificate_pack = await response.parse() assert_matches_type(CertificatePackDeleteResponse, certificate_pack, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.ssl.certificate_packs.with_streaming_response.delete( @@ -309,6 +334,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -325,6 +351,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: certificate_pack = await async_client.ssl.certificate_packs.edit( @@ -334,6 +361,7 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(CertificatePackEditResponse, certificate_pack, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.ssl.certificate_packs.with_raw_response.edit( @@ -347,6 +375,7 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: certificate_pack = await response.parse() assert_matches_type(CertificatePackEditResponse, certificate_pack, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.ssl.certificate_packs.with_streaming_response.edit( @@ -362,6 +391,7 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -378,6 +408,7 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: certificate_pack = await async_client.ssl.certificate_packs.get( @@ -386,6 +417,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(CertificatePackGetResponse, certificate_pack, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.ssl.certificate_packs.with_raw_response.get( @@ -398,6 +430,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: certificate_pack = await response.parse() assert_matches_type(CertificatePackGetResponse, certificate_pack, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.ssl.certificate_packs.with_streaming_response.get( @@ -412,6 +445,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): diff --git a/tests/api_resources/ssl/test_recommendations.py b/tests/api_resources/ssl/test_recommendations.py index 25c8c9c2841..31e42e5ed46 100644 --- a/tests/api_resources/ssl/test_recommendations.py +++ b/tests/api_resources/ssl/test_recommendations.py @@ -17,6 +17,7 @@ class TestRecommendations: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: recommendation = client.ssl.recommendations.get( @@ -24,6 +25,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[RecommendationGetResponse], recommendation, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.ssl.recommendations.with_raw_response.get( @@ -35,6 +37,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: recommendation = response.parse() assert_matches_type(Optional[RecommendationGetResponse], recommendation, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.ssl.recommendations.with_streaming_response.get( @@ -48,6 +51,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -59,6 +63,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncRecommendations: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: recommendation = await async_client.ssl.recommendations.get( @@ -66,6 +71,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[RecommendationGetResponse], recommendation, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.ssl.recommendations.with_raw_response.get( @@ -77,6 +83,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: recommendation = await response.parse() assert_matches_type(Optional[RecommendationGetResponse], recommendation, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.ssl.recommendations.with_streaming_response.get( @@ -90,6 +97,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): diff --git a/tests/api_resources/ssl/test_verification.py b/tests/api_resources/ssl/test_verification.py index 698b6e7ebab..e93667109d1 100644 --- a/tests/api_resources/ssl/test_verification.py +++ b/tests/api_resources/ssl/test_verification.py @@ -20,6 +20,7 @@ class TestVerification: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: verification = client.ssl.verification.edit( @@ -29,6 +30,7 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(VerificationEditResponse, verification, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.ssl.verification.with_raw_response.edit( @@ -42,6 +44,7 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: verification = response.parse() assert_matches_type(VerificationEditResponse, verification, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.ssl.verification.with_streaming_response.edit( @@ -57,6 +60,7 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -73,6 +77,7 @@ def test_path_params_edit(self, client: Cloudflare) -> None: validation_method="txt", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: verification = client.ssl.verification.get( @@ -80,6 +85,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[VerificationGetResponse], verification, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: verification = client.ssl.verification.get( @@ -88,6 +94,7 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[VerificationGetResponse], verification, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.ssl.verification.with_raw_response.get( @@ -99,6 +106,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: verification = response.parse() assert_matches_type(Optional[VerificationGetResponse], verification, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.ssl.verification.with_streaming_response.get( @@ -112,6 +120,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -123,6 +132,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncVerification: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: verification = await async_client.ssl.verification.edit( @@ -132,6 +142,7 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(VerificationEditResponse, verification, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.ssl.verification.with_raw_response.edit( @@ -145,6 +156,7 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: verification = await response.parse() assert_matches_type(VerificationEditResponse, verification, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.ssl.verification.with_streaming_response.edit( @@ -160,6 +172,7 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -176,6 +189,7 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: validation_method="txt", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: verification = await async_client.ssl.verification.get( @@ -183,6 +197,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[VerificationGetResponse], verification, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: verification = await async_client.ssl.verification.get( @@ -191,6 +206,7 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(Optional[VerificationGetResponse], verification, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.ssl.verification.with_raw_response.get( @@ -202,6 +218,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: verification = await response.parse() assert_matches_type(Optional[VerificationGetResponse], verification, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.ssl.verification.with_streaming_response.get( @@ -215,6 +232,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): diff --git a/tests/api_resources/ssl/universal/test_settings.py b/tests/api_resources/ssl/universal/test_settings.py index e31b8cfe0ee..027e556f715 100644 --- a/tests/api_resources/ssl/universal/test_settings.py +++ b/tests/api_resources/ssl/universal/test_settings.py @@ -17,6 +17,7 @@ class TestSettings: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: setting = client.ssl.universal.settings.edit( @@ -24,6 +25,7 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(UniversalSSLSettings, setting, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_edit_with_all_params(self, client: Cloudflare) -> None: setting = client.ssl.universal.settings.edit( @@ -32,6 +34,7 @@ def test_method_edit_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(UniversalSSLSettings, setting, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.ssl.universal.settings.with_raw_response.edit( @@ -43,6 +46,7 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: setting = response.parse() assert_matches_type(UniversalSSLSettings, setting, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.ssl.universal.settings.with_streaming_response.edit( @@ -56,6 +60,7 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -63,6 +68,7 @@ def test_path_params_edit(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: setting = client.ssl.universal.settings.get( @@ -70,6 +76,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(UniversalSSLSettings, setting, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.ssl.universal.settings.with_raw_response.get( @@ -81,6 +88,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: setting = response.parse() assert_matches_type(UniversalSSLSettings, setting, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.ssl.universal.settings.with_streaming_response.get( @@ -94,6 +102,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -105,6 +114,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncSettings: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: setting = await async_client.ssl.universal.settings.edit( @@ -112,6 +122,7 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(UniversalSSLSettings, setting, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) -> None: setting = await async_client.ssl.universal.settings.edit( @@ -120,6 +131,7 @@ async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(UniversalSSLSettings, setting, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.ssl.universal.settings.with_raw_response.edit( @@ -131,6 +143,7 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: setting = await response.parse() assert_matches_type(UniversalSSLSettings, setting, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.ssl.universal.settings.with_streaming_response.edit( @@ -144,6 +157,7 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -151,6 +165,7 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: setting = await async_client.ssl.universal.settings.get( @@ -158,6 +173,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(UniversalSSLSettings, setting, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.ssl.universal.settings.with_raw_response.get( @@ -169,6 +185,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: setting = await response.parse() assert_matches_type(UniversalSSLSettings, setting, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.ssl.universal.settings.with_streaming_response.get( @@ -182,6 +199,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): diff --git a/tests/api_resources/storage/test_analytics.py b/tests/api_resources/storage/test_analytics.py index bd9e182261e..0a6e3064dcf 100644 --- a/tests/api_resources/storage/test_analytics.py +++ b/tests/api_resources/storage/test_analytics.py @@ -18,6 +18,7 @@ class TestAnalytics: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: analytics = client.storage.analytics.list( @@ -25,6 +26,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(Schema, analytics, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: analytics = client.storage.analytics.list( @@ -41,6 +43,7 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Schema, analytics, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.storage.analytics.with_raw_response.list( @@ -52,6 +55,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: analytics = response.parse() assert_matches_type(Schema, analytics, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.storage.analytics.with_streaming_response.list( @@ -65,6 +69,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -72,6 +77,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize def test_method_stored(self, client: Cloudflare) -> None: analytics = client.storage.analytics.stored( @@ -79,6 +85,7 @@ def test_method_stored(self, client: Cloudflare) -> None: ) assert_matches_type(Components, analytics, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_stored_with_all_params(self, client: Cloudflare) -> None: analytics = client.storage.analytics.stored( @@ -95,6 +102,7 @@ def test_method_stored_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Components, analytics, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_stored(self, client: Cloudflare) -> None: response = client.storage.analytics.with_raw_response.stored( @@ -106,6 +114,7 @@ def test_raw_response_stored(self, client: Cloudflare) -> None: analytics = response.parse() assert_matches_type(Components, analytics, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_stored(self, client: Cloudflare) -> None: with client.storage.analytics.with_streaming_response.stored( @@ -119,6 +128,7 @@ def test_streaming_response_stored(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_stored(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -130,6 +140,7 @@ def test_path_params_stored(self, client: Cloudflare) -> None: class TestAsyncAnalytics: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: analytics = await async_client.storage.analytics.list( @@ -137,6 +148,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Schema, analytics, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: analytics = await async_client.storage.analytics.list( @@ -153,6 +165,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(Schema, analytics, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.storage.analytics.with_raw_response.list( @@ -164,6 +177,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: analytics = await response.parse() assert_matches_type(Schema, analytics, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.storage.analytics.with_streaming_response.list( @@ -177,6 +191,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -184,6 +199,7 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize async def test_method_stored(self, async_client: AsyncCloudflare) -> None: analytics = await async_client.storage.analytics.stored( @@ -191,6 +207,7 @@ async def test_method_stored(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Components, analytics, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_stored_with_all_params(self, async_client: AsyncCloudflare) -> None: analytics = await async_client.storage.analytics.stored( @@ -207,6 +224,7 @@ async def test_method_stored_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Components, analytics, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_stored(self, async_client: AsyncCloudflare) -> None: response = await async_client.storage.analytics.with_raw_response.stored( @@ -218,6 +236,7 @@ async def test_raw_response_stored(self, async_client: AsyncCloudflare) -> None: analytics = await response.parse() assert_matches_type(Components, analytics, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_stored(self, async_client: AsyncCloudflare) -> None: async with async_client.storage.analytics.with_streaming_response.stored( @@ -231,6 +250,7 @@ async def test_streaming_response_stored(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_stored(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/stream/captions/language/test_vtt.py b/tests/api_resources/stream/captions/language/test_vtt.py index 7a4ed6f8fbb..f8ec81a3422 100644 --- a/tests/api_resources/stream/captions/language/test_vtt.py +++ b/tests/api_resources/stream/captions/language/test_vtt.py @@ -16,6 +16,7 @@ class TestVtt: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: vtt = client.stream.captions.language.vtt.get( @@ -26,6 +27,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(str, vtt, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.stream.captions.language.vtt.with_raw_response.get( @@ -40,6 +42,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: vtt = response.parse() assert_matches_type(str, vtt, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.stream.captions.language.vtt.with_streaming_response.get( @@ -56,6 +59,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -86,6 +90,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncVtt: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: vtt = await async_client.stream.captions.language.vtt.get( @@ -96,6 +101,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(str, vtt, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.stream.captions.language.vtt.with_raw_response.get( @@ -110,6 +116,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: vtt = await response.parse() assert_matches_type(str, vtt, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.stream.captions.language.vtt.with_streaming_response.get( @@ -126,6 +133,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/stream/captions/test_language.py b/tests/api_resources/stream/captions/test_language.py index 6b8a0b14509..59e1bdcb7b2 100644 --- a/tests/api_resources/stream/captions/test_language.py +++ b/tests/api_resources/stream/captions/test_language.py @@ -17,6 +17,7 @@ class TestLanguage: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: language = client.stream.captions.language.update( @@ -27,6 +28,7 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Caption], language, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.stream.captions.language.with_raw_response.update( @@ -41,6 +43,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: language = response.parse() assert_matches_type(Optional[Caption], language, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.stream.captions.language.with_streaming_response.update( @@ -57,6 +60,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -83,6 +87,7 @@ def test_path_params_update(self, client: Cloudflare) -> None: file="@/Users/kyle/Desktop/tr.vtt", ) + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: language = client.stream.captions.language.delete( @@ -93,6 +98,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(str, language, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.stream.captions.language.with_raw_response.delete( @@ -107,6 +113,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: language = response.parse() assert_matches_type(str, language, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.stream.captions.language.with_streaming_response.delete( @@ -123,6 +130,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -149,6 +157,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: language = client.stream.captions.language.get( @@ -158,6 +167,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Caption], language, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.stream.captions.language.with_raw_response.get( @@ -171,6 +181,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: language = response.parse() assert_matches_type(Optional[Caption], language, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.stream.captions.language.with_streaming_response.get( @@ -186,6 +197,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -213,6 +225,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncLanguage: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: language = await async_client.stream.captions.language.update( @@ -223,6 +236,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Caption], language, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.stream.captions.language.with_raw_response.update( @@ -237,6 +251,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: language = await response.parse() assert_matches_type(Optional[Caption], language, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.stream.captions.language.with_streaming_response.update( @@ -253,6 +268,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -279,6 +295,7 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: file="@/Users/kyle/Desktop/tr.vtt", ) + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: language = await async_client.stream.captions.language.delete( @@ -289,6 +306,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(str, language, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.stream.captions.language.with_raw_response.delete( @@ -303,6 +321,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: language = await response.parse() assert_matches_type(str, language, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.stream.captions.language.with_streaming_response.delete( @@ -319,6 +338,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -345,6 +365,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: language = await async_client.stream.captions.language.get( @@ -354,6 +375,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Caption], language, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.stream.captions.language.with_raw_response.get( @@ -367,6 +389,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: language = await response.parse() assert_matches_type(Optional[Caption], language, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.stream.captions.language.with_streaming_response.get( @@ -382,6 +405,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/stream/live_inputs/test_outputs.py b/tests/api_resources/stream/live_inputs/test_outputs.py index c2b92a3422e..a02b342ef61 100644 --- a/tests/api_resources/stream/live_inputs/test_outputs.py +++ b/tests/api_resources/stream/live_inputs/test_outputs.py @@ -18,6 +18,7 @@ class TestOutputs: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: output = client.stream.live_inputs.outputs.create( @@ -28,6 +29,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Output], output, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: output = client.stream.live_inputs.outputs.create( @@ -39,6 +41,7 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Output], output, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.stream.live_inputs.outputs.with_raw_response.create( @@ -53,6 +56,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: output = response.parse() assert_matches_type(Optional[Output], output, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.stream.live_inputs.outputs.with_streaming_response.create( @@ -69,6 +73,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -87,6 +92,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: url="rtmp://a.rtmp.youtube.com/live2", ) + @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: output = client.stream.live_inputs.outputs.update( @@ -97,6 +103,7 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Output], output, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.stream.live_inputs.outputs.with_raw_response.update( @@ -111,6 +118,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: output = response.parse() assert_matches_type(Optional[Output], output, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.stream.live_inputs.outputs.with_streaming_response.update( @@ -127,6 +135,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -153,6 +162,7 @@ def test_path_params_update(self, client: Cloudflare) -> None: enabled=True, ) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: output = client.stream.live_inputs.outputs.list( @@ -161,6 +171,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[Output], output, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.stream.live_inputs.outputs.with_raw_response.list( @@ -173,6 +184,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: output = response.parse() assert_matches_type(SyncSinglePage[Output], output, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.stream.live_inputs.outputs.with_streaming_response.list( @@ -187,6 +199,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -201,6 +214,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: output = client.stream.live_inputs.outputs.delete( @@ -211,6 +225,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert output is None + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.stream.live_inputs.outputs.with_raw_response.delete( @@ -225,6 +240,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: output = response.parse() assert output is None + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.stream.live_inputs.outputs.with_streaming_response.delete( @@ -241,6 +257,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -271,6 +288,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: class TestAsyncOutputs: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: output = await async_client.stream.live_inputs.outputs.create( @@ -281,6 +299,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Output], output, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: output = await async_client.stream.live_inputs.outputs.create( @@ -292,6 +311,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[Output], output, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.stream.live_inputs.outputs.with_raw_response.create( @@ -306,6 +326,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: output = await response.parse() assert_matches_type(Optional[Output], output, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.stream.live_inputs.outputs.with_streaming_response.create( @@ -322,6 +343,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -340,6 +362,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: url="rtmp://a.rtmp.youtube.com/live2", ) + @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: output = await async_client.stream.live_inputs.outputs.update( @@ -350,6 +373,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Output], output, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.stream.live_inputs.outputs.with_raw_response.update( @@ -364,6 +388,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: output = await response.parse() assert_matches_type(Optional[Output], output, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.stream.live_inputs.outputs.with_streaming_response.update( @@ -380,6 +405,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -406,6 +432,7 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: enabled=True, ) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: output = await async_client.stream.live_inputs.outputs.list( @@ -414,6 +441,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[Output], output, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.stream.live_inputs.outputs.with_raw_response.list( @@ -426,6 +454,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: output = await response.parse() assert_matches_type(AsyncSinglePage[Output], output, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.stream.live_inputs.outputs.with_streaming_response.list( @@ -440,6 +469,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -454,6 +484,7 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: output = await async_client.stream.live_inputs.outputs.delete( @@ -464,6 +495,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert output is None + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.stream.live_inputs.outputs.with_raw_response.delete( @@ -478,6 +510,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: output = await response.parse() assert output is None + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.stream.live_inputs.outputs.with_streaming_response.delete( @@ -494,6 +527,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/stream/test_audio_tracks.py b/tests/api_resources/stream/test_audio_tracks.py index b1af748dc56..71756af4ca3 100644 --- a/tests/api_resources/stream/test_audio_tracks.py +++ b/tests/api_resources/stream/test_audio_tracks.py @@ -21,6 +21,7 @@ class TestAudioTracks: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: audio_track = client.stream.audio_tracks.delete( @@ -30,6 +31,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[AudioTrackDeleteResponse], audio_track, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.stream.audio_tracks.with_raw_response.delete( @@ -43,6 +45,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: audio_track = response.parse() assert_matches_type(Optional[AudioTrackDeleteResponse], audio_track, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.stream.audio_tracks.with_streaming_response.delete( @@ -58,6 +61,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -81,6 +85,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: identifier="ea95132c15732412d22c1476fa83f27a", ) + @pytest.mark.skip() @parametrize def test_method_copy(self, client: Cloudflare) -> None: audio_track = client.stream.audio_tracks.copy( @@ -90,6 +95,7 @@ def test_method_copy(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Audio], audio_track, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_copy_with_all_params(self, client: Cloudflare) -> None: audio_track = client.stream.audio_tracks.copy( @@ -100,6 +106,7 @@ def test_method_copy_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Audio], audio_track, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_copy(self, client: Cloudflare) -> None: response = client.stream.audio_tracks.with_raw_response.copy( @@ -113,6 +120,7 @@ def test_raw_response_copy(self, client: Cloudflare) -> None: audio_track = response.parse() assert_matches_type(Optional[Audio], audio_track, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_copy(self, client: Cloudflare) -> None: with client.stream.audio_tracks.with_streaming_response.copy( @@ -128,6 +136,7 @@ def test_streaming_response_copy(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_copy(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -144,6 +153,7 @@ def test_path_params_copy(self, client: Cloudflare) -> None: label="director commentary", ) + @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: audio_track = client.stream.audio_tracks.edit( @@ -153,6 +163,7 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Audio], audio_track, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_edit_with_all_params(self, client: Cloudflare) -> None: audio_track = client.stream.audio_tracks.edit( @@ -164,6 +175,7 @@ def test_method_edit_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Audio], audio_track, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.stream.audio_tracks.with_raw_response.edit( @@ -177,6 +189,7 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: audio_track = response.parse() assert_matches_type(Optional[Audio], audio_track, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.stream.audio_tracks.with_streaming_response.edit( @@ -192,6 +205,7 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -215,6 +229,7 @@ def test_path_params_edit(self, client: Cloudflare) -> None: identifier="ea95132c15732412d22c1476fa83f27a", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: audio_track = client.stream.audio_tracks.get( @@ -223,6 +238,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[AudioTrackGetResponse], audio_track, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.stream.audio_tracks.with_raw_response.get( @@ -235,6 +251,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: audio_track = response.parse() assert_matches_type(Optional[AudioTrackGetResponse], audio_track, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.stream.audio_tracks.with_streaming_response.get( @@ -249,6 +266,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -267,6 +285,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncAudioTracks: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: audio_track = await async_client.stream.audio_tracks.delete( @@ -276,6 +295,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[AudioTrackDeleteResponse], audio_track, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.stream.audio_tracks.with_raw_response.delete( @@ -289,6 +309,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: audio_track = await response.parse() assert_matches_type(Optional[AudioTrackDeleteResponse], audio_track, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.stream.audio_tracks.with_streaming_response.delete( @@ -304,6 +325,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -327,6 +349,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: identifier="ea95132c15732412d22c1476fa83f27a", ) + @pytest.mark.skip() @parametrize async def test_method_copy(self, async_client: AsyncCloudflare) -> None: audio_track = await async_client.stream.audio_tracks.copy( @@ -336,6 +359,7 @@ async def test_method_copy(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Audio], audio_track, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_copy_with_all_params(self, async_client: AsyncCloudflare) -> None: audio_track = await async_client.stream.audio_tracks.copy( @@ -346,6 +370,7 @@ async def test_method_copy_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(Optional[Audio], audio_track, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_copy(self, async_client: AsyncCloudflare) -> None: response = await async_client.stream.audio_tracks.with_raw_response.copy( @@ -359,6 +384,7 @@ async def test_raw_response_copy(self, async_client: AsyncCloudflare) -> None: audio_track = await response.parse() assert_matches_type(Optional[Audio], audio_track, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_copy(self, async_client: AsyncCloudflare) -> None: async with async_client.stream.audio_tracks.with_streaming_response.copy( @@ -374,6 +400,7 @@ async def test_streaming_response_copy(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_copy(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -390,6 +417,7 @@ async def test_path_params_copy(self, async_client: AsyncCloudflare) -> None: label="director commentary", ) + @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: audio_track = await async_client.stream.audio_tracks.edit( @@ -399,6 +427,7 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Audio], audio_track, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) -> None: audio_track = await async_client.stream.audio_tracks.edit( @@ -410,6 +439,7 @@ async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(Optional[Audio], audio_track, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.stream.audio_tracks.with_raw_response.edit( @@ -423,6 +453,7 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: audio_track = await response.parse() assert_matches_type(Optional[Audio], audio_track, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.stream.audio_tracks.with_streaming_response.edit( @@ -438,6 +469,7 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -461,6 +493,7 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: identifier="ea95132c15732412d22c1476fa83f27a", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: audio_track = await async_client.stream.audio_tracks.get( @@ -469,6 +502,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[AudioTrackGetResponse], audio_track, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.stream.audio_tracks.with_raw_response.get( @@ -481,6 +515,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: audio_track = await response.parse() assert_matches_type(Optional[AudioTrackGetResponse], audio_track, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.stream.audio_tracks.with_streaming_response.get( @@ -495,6 +530,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/stream/test_captions.py b/tests/api_resources/stream/test_captions.py index 4361d07217d..b2466c27733 100644 --- a/tests/api_resources/stream/test_captions.py +++ b/tests/api_resources/stream/test_captions.py @@ -17,6 +17,7 @@ class TestCaptions: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: caption = client.stream.captions.get( @@ -25,6 +26,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[CaptionGetResponse], caption, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.stream.captions.with_raw_response.get( @@ -37,6 +39,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: caption = response.parse() assert_matches_type(Optional[CaptionGetResponse], caption, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.stream.captions.with_streaming_response.get( @@ -51,6 +54,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -69,6 +73,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncCaptions: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: caption = await async_client.stream.captions.get( @@ -77,6 +82,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[CaptionGetResponse], caption, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.stream.captions.with_raw_response.get( @@ -89,6 +95,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: caption = await response.parse() assert_matches_type(Optional[CaptionGetResponse], caption, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.stream.captions.with_streaming_response.get( @@ -103,6 +110,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/stream/test_clip.py b/tests/api_resources/stream/test_clip.py index c0806600820..3386eec53e7 100644 --- a/tests/api_resources/stream/test_clip.py +++ b/tests/api_resources/stream/test_clip.py @@ -17,6 +17,7 @@ class TestClip: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: clip = client.stream.clip.create( @@ -27,6 +28,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Clip], clip, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: clip = client.stream.clip.create( @@ -43,6 +45,7 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Clip], clip, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.stream.clip.with_raw_response.create( @@ -57,6 +60,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: clip = response.parse() assert_matches_type(Optional[Clip], clip, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.stream.clip.with_streaming_response.create( @@ -73,6 +77,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -87,6 +92,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: class TestAsyncClip: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: clip = await async_client.stream.clip.create( @@ -97,6 +103,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Clip], clip, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: clip = await async_client.stream.clip.create( @@ -113,6 +120,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[Clip], clip, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.stream.clip.with_raw_response.create( @@ -127,6 +135,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: clip = await response.parse() assert_matches_type(Optional[Clip], clip, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.stream.clip.with_streaming_response.create( @@ -143,6 +152,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/stream/test_copy.py b/tests/api_resources/stream/test_copy.py index 191a1cc36c3..03849cde63e 100644 --- a/tests/api_resources/stream/test_copy.py +++ b/tests/api_resources/stream/test_copy.py @@ -18,6 +18,7 @@ class TestCopy: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: copy = client.stream.copy.create( @@ -26,6 +27,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Video], copy, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: copy = client.stream.copy.create( @@ -41,6 +43,7 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Video], copy, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.stream.copy.with_raw_response.create( @@ -53,6 +56,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: copy = response.parse() assert_matches_type(Optional[Video], copy, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.stream.copy.with_streaming_response.create( @@ -67,6 +71,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -79,6 +84,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: class TestAsyncCopy: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: copy = await async_client.stream.copy.create( @@ -87,6 +93,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Video], copy, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: copy = await async_client.stream.copy.create( @@ -102,6 +109,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[Video], copy, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.stream.copy.with_raw_response.create( @@ -114,6 +122,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: copy = await response.parse() assert_matches_type(Optional[Video], copy, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.stream.copy.with_streaming_response.create( @@ -128,6 +137,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/stream/test_direct_upload.py b/tests/api_resources/stream/test_direct_upload.py index 7115e89cc14..88e93522a5a 100644 --- a/tests/api_resources/stream/test_direct_upload.py +++ b/tests/api_resources/stream/test_direct_upload.py @@ -18,6 +18,7 @@ class TestDirectUpload: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: direct_upload = client.stream.direct_upload.create( @@ -26,6 +27,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[DirectUploadCreateResponse], direct_upload, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: direct_upload = client.stream.direct_upload.create( @@ -42,6 +44,7 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[DirectUploadCreateResponse], direct_upload, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.stream.direct_upload.with_raw_response.create( @@ -54,6 +57,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: direct_upload = response.parse() assert_matches_type(Optional[DirectUploadCreateResponse], direct_upload, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.stream.direct_upload.with_streaming_response.create( @@ -68,6 +72,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -80,6 +85,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: class TestAsyncDirectUpload: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: direct_upload = await async_client.stream.direct_upload.create( @@ -88,6 +94,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[DirectUploadCreateResponse], direct_upload, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: direct_upload = await async_client.stream.direct_upload.create( @@ -104,6 +111,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[DirectUploadCreateResponse], direct_upload, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.stream.direct_upload.with_raw_response.create( @@ -116,6 +124,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: direct_upload = await response.parse() assert_matches_type(Optional[DirectUploadCreateResponse], direct_upload, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.stream.direct_upload.with_streaming_response.create( @@ -130,6 +139,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/stream/test_downloads.py b/tests/api_resources/stream/test_downloads.py index 2940e0ff0d6..b5fda9a4b9d 100644 --- a/tests/api_resources/stream/test_downloads.py +++ b/tests/api_resources/stream/test_downloads.py @@ -21,6 +21,7 @@ class TestDownloads: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: download = client.stream.downloads.create( @@ -30,6 +31,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[DownloadCreateResponse], download, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.stream.downloads.with_raw_response.create( @@ -43,6 +45,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: download = response.parse() assert_matches_type(Optional[DownloadCreateResponse], download, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.stream.downloads.with_streaming_response.create( @@ -58,6 +61,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -74,6 +78,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: download = client.stream.downloads.delete( @@ -82,6 +87,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[DownloadDeleteResponse], download, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.stream.downloads.with_raw_response.delete( @@ -94,6 +100,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: download = response.parse() assert_matches_type(Optional[DownloadDeleteResponse], download, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.stream.downloads.with_streaming_response.delete( @@ -108,6 +115,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -122,6 +130,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: download = client.stream.downloads.get( @@ -130,6 +139,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[DownloadGetResponse], download, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.stream.downloads.with_raw_response.get( @@ -142,6 +152,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: download = response.parse() assert_matches_type(Optional[DownloadGetResponse], download, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.stream.downloads.with_streaming_response.get( @@ -156,6 +167,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -174,6 +186,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncDownloads: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: download = await async_client.stream.downloads.create( @@ -183,6 +196,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[DownloadCreateResponse], download, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.stream.downloads.with_raw_response.create( @@ -196,6 +210,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: download = await response.parse() assert_matches_type(Optional[DownloadCreateResponse], download, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.stream.downloads.with_streaming_response.create( @@ -211,6 +226,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -227,6 +243,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: download = await async_client.stream.downloads.delete( @@ -235,6 +252,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[DownloadDeleteResponse], download, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.stream.downloads.with_raw_response.delete( @@ -247,6 +265,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: download = await response.parse() assert_matches_type(Optional[DownloadDeleteResponse], download, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.stream.downloads.with_streaming_response.delete( @@ -261,6 +280,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -275,6 +295,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: download = await async_client.stream.downloads.get( @@ -283,6 +304,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[DownloadGetResponse], download, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.stream.downloads.with_raw_response.get( @@ -295,6 +317,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: download = await response.parse() assert_matches_type(Optional[DownloadGetResponse], download, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.stream.downloads.with_streaming_response.get( @@ -309,6 +332,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/stream/test_embed.py b/tests/api_resources/stream/test_embed.py index 1f7066ff514..f96c02841a9 100644 --- a/tests/api_resources/stream/test_embed.py +++ b/tests/api_resources/stream/test_embed.py @@ -16,6 +16,7 @@ class TestEmbed: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: embed = client.stream.embed.get( @@ -24,6 +25,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(str, embed, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.stream.embed.with_raw_response.get( @@ -36,6 +38,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: embed = response.parse() assert_matches_type(str, embed, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.stream.embed.with_streaming_response.get( @@ -50,6 +53,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -68,6 +72,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncEmbed: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: embed = await async_client.stream.embed.get( @@ -76,6 +81,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(str, embed, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.stream.embed.with_raw_response.get( @@ -88,6 +94,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: embed = await response.parse() assert_matches_type(str, embed, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.stream.embed.with_streaming_response.get( @@ -102,6 +109,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/stream/test_keys.py b/tests/api_resources/stream/test_keys.py index b0dda35d7f5..2be86064c48 100644 --- a/tests/api_resources/stream/test_keys.py +++ b/tests/api_resources/stream/test_keys.py @@ -17,6 +17,7 @@ class TestKeys: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: key = client.stream.keys.create( @@ -25,6 +26,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Keys], key, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.stream.keys.with_raw_response.create( @@ -37,6 +39,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: key = response.parse() assert_matches_type(Optional[Keys], key, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.stream.keys.with_streaming_response.create( @@ -51,6 +54,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -59,6 +63,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: key = client.stream.keys.delete( @@ -68,6 +73,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[KeyDeleteResponse], key, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.stream.keys.with_raw_response.delete( @@ -81,6 +87,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: key = response.parse() assert_matches_type(Optional[KeyDeleteResponse], key, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.stream.keys.with_streaming_response.delete( @@ -96,6 +103,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -112,6 +120,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: key = client.stream.keys.get( @@ -119,6 +128,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[KeyGetResponse], key, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.stream.keys.with_raw_response.get( @@ -130,6 +140,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: key = response.parse() assert_matches_type(Optional[KeyGetResponse], key, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.stream.keys.with_streaming_response.get( @@ -143,6 +154,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -154,6 +166,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncKeys: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: key = await async_client.stream.keys.create( @@ -162,6 +175,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Keys], key, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.stream.keys.with_raw_response.create( @@ -174,6 +188,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: key = await response.parse() assert_matches_type(Optional[Keys], key, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.stream.keys.with_streaming_response.create( @@ -188,6 +203,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -196,6 +212,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: key = await async_client.stream.keys.delete( @@ -205,6 +222,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[KeyDeleteResponse], key, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.stream.keys.with_raw_response.delete( @@ -218,6 +236,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: key = await response.parse() assert_matches_type(Optional[KeyDeleteResponse], key, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.stream.keys.with_streaming_response.delete( @@ -233,6 +252,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -249,6 +269,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: key = await async_client.stream.keys.get( @@ -256,6 +277,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[KeyGetResponse], key, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.stream.keys.with_raw_response.get( @@ -267,6 +289,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: key = await response.parse() assert_matches_type(Optional[KeyGetResponse], key, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.stream.keys.with_streaming_response.get( @@ -280,6 +303,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/stream/test_live_inputs.py b/tests/api_resources/stream/test_live_inputs.py index 225c2cf7234..f68199a02da 100644 --- a/tests/api_resources/stream/test_live_inputs.py +++ b/tests/api_resources/stream/test_live_inputs.py @@ -20,6 +20,7 @@ class TestLiveInputs: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: live_input = client.stream.live_inputs.create( @@ -27,6 +28,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[LiveInput], live_input, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: live_input = client.stream.live_inputs.create( @@ -43,6 +45,7 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[LiveInput], live_input, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.stream.live_inputs.with_raw_response.create( @@ -54,6 +57,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: live_input = response.parse() assert_matches_type(Optional[LiveInput], live_input, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.stream.live_inputs.with_streaming_response.create( @@ -67,6 +71,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -74,6 +79,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: live_input = client.stream.live_inputs.update( @@ -82,6 +88,7 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[LiveInput], live_input, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: live_input = client.stream.live_inputs.update( @@ -99,6 +106,7 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[LiveInput], live_input, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.stream.live_inputs.with_raw_response.update( @@ -111,6 +119,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: live_input = response.parse() assert_matches_type(Optional[LiveInput], live_input, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.stream.live_inputs.with_streaming_response.update( @@ -125,6 +134,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -139,6 +149,7 @@ def test_path_params_update(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: live_input = client.stream.live_inputs.list( @@ -146,6 +157,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[LiveInputListResponse], live_input, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: live_input = client.stream.live_inputs.list( @@ -154,6 +166,7 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[LiveInputListResponse], live_input, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.stream.live_inputs.with_raw_response.list( @@ -165,6 +178,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: live_input = response.parse() assert_matches_type(Optional[LiveInputListResponse], live_input, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.stream.live_inputs.with_streaming_response.list( @@ -178,6 +192,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -185,6 +200,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: live_input = client.stream.live_inputs.delete( @@ -194,6 +210,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert live_input is None + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.stream.live_inputs.with_raw_response.delete( @@ -207,6 +224,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: live_input = response.parse() assert live_input is None + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.stream.live_inputs.with_streaming_response.delete( @@ -222,6 +240,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -238,6 +257,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: live_input = client.stream.live_inputs.get( @@ -246,6 +266,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[LiveInput], live_input, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.stream.live_inputs.with_raw_response.get( @@ -258,6 +279,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: live_input = response.parse() assert_matches_type(Optional[LiveInput], live_input, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.stream.live_inputs.with_streaming_response.get( @@ -272,6 +294,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -290,6 +313,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncLiveInputs: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: live_input = await async_client.stream.live_inputs.create( @@ -297,6 +321,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[LiveInput], live_input, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: live_input = await async_client.stream.live_inputs.create( @@ -313,6 +338,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[LiveInput], live_input, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.stream.live_inputs.with_raw_response.create( @@ -324,6 +350,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: live_input = await response.parse() assert_matches_type(Optional[LiveInput], live_input, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.stream.live_inputs.with_streaming_response.create( @@ -337,6 +364,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -344,6 +372,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: live_input = await async_client.stream.live_inputs.update( @@ -352,6 +381,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[LiveInput], live_input, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: live_input = await async_client.stream.live_inputs.update( @@ -369,6 +399,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[LiveInput], live_input, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.stream.live_inputs.with_raw_response.update( @@ -381,6 +412,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: live_input = await response.parse() assert_matches_type(Optional[LiveInput], live_input, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.stream.live_inputs.with_streaming_response.update( @@ -395,6 +427,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -409,6 +442,7 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: live_input = await async_client.stream.live_inputs.list( @@ -416,6 +450,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[LiveInputListResponse], live_input, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: live_input = await async_client.stream.live_inputs.list( @@ -424,6 +459,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(Optional[LiveInputListResponse], live_input, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.stream.live_inputs.with_raw_response.list( @@ -435,6 +471,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: live_input = await response.parse() assert_matches_type(Optional[LiveInputListResponse], live_input, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.stream.live_inputs.with_streaming_response.list( @@ -448,6 +485,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -455,6 +493,7 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: live_input = await async_client.stream.live_inputs.delete( @@ -464,6 +503,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert live_input is None + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.stream.live_inputs.with_raw_response.delete( @@ -477,6 +517,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: live_input = await response.parse() assert live_input is None + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.stream.live_inputs.with_streaming_response.delete( @@ -492,6 +533,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -508,6 +550,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: live_input = await async_client.stream.live_inputs.get( @@ -516,6 +559,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[LiveInput], live_input, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.stream.live_inputs.with_raw_response.get( @@ -528,6 +572,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: live_input = await response.parse() assert_matches_type(Optional[LiveInput], live_input, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.stream.live_inputs.with_streaming_response.get( @@ -542,6 +587,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/stream/test_token.py b/tests/api_resources/stream/test_token.py index 0d94826e27c..4fea7d3ac62 100644 --- a/tests/api_resources/stream/test_token.py +++ b/tests/api_resources/stream/test_token.py @@ -17,6 +17,7 @@ class TestToken: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: token = client.stream.token.create( @@ -25,6 +26,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[TokenCreateResponse], token, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: token = client.stream.token.create( @@ -58,6 +60,7 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[TokenCreateResponse], token, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.stream.token.with_raw_response.create( @@ -70,6 +73,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: token = response.parse() assert_matches_type(Optional[TokenCreateResponse], token, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.stream.token.with_streaming_response.create( @@ -84,6 +88,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -102,6 +107,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: class TestAsyncToken: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: token = await async_client.stream.token.create( @@ -110,6 +116,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[TokenCreateResponse], token, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: token = await async_client.stream.token.create( @@ -143,6 +150,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[TokenCreateResponse], token, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.stream.token.with_raw_response.create( @@ -155,6 +163,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: token = await response.parse() assert_matches_type(Optional[TokenCreateResponse], token, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.stream.token.with_streaming_response.create( @@ -169,6 +178,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/stream/test_videos.py b/tests/api_resources/stream/test_videos.py index c0ee01a60ff..d3558da187c 100644 --- a/tests/api_resources/stream/test_videos.py +++ b/tests/api_resources/stream/test_videos.py @@ -17,6 +17,7 @@ class TestVideos: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_storage_usage(self, client: Cloudflare) -> None: video = client.stream.videos.storage_usage( @@ -24,6 +25,7 @@ def test_method_storage_usage(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[VideoStorageUsageResponse], video, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_storage_usage_with_all_params(self, client: Cloudflare) -> None: video = client.stream.videos.storage_usage( @@ -32,6 +34,7 @@ def test_method_storage_usage_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[VideoStorageUsageResponse], video, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_storage_usage(self, client: Cloudflare) -> None: response = client.stream.videos.with_raw_response.storage_usage( @@ -43,6 +46,7 @@ def test_raw_response_storage_usage(self, client: Cloudflare) -> None: video = response.parse() assert_matches_type(Optional[VideoStorageUsageResponse], video, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_storage_usage(self, client: Cloudflare) -> None: with client.stream.videos.with_streaming_response.storage_usage( @@ -56,6 +60,7 @@ def test_streaming_response_storage_usage(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_storage_usage(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -67,6 +72,7 @@ def test_path_params_storage_usage(self, client: Cloudflare) -> None: class TestAsyncVideos: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_storage_usage(self, async_client: AsyncCloudflare) -> None: video = await async_client.stream.videos.storage_usage( @@ -74,6 +80,7 @@ async def test_method_storage_usage(self, async_client: AsyncCloudflare) -> None ) assert_matches_type(Optional[VideoStorageUsageResponse], video, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_storage_usage_with_all_params(self, async_client: AsyncCloudflare) -> None: video = await async_client.stream.videos.storage_usage( @@ -82,6 +89,7 @@ async def test_method_storage_usage_with_all_params(self, async_client: AsyncClo ) assert_matches_type(Optional[VideoStorageUsageResponse], video, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_storage_usage(self, async_client: AsyncCloudflare) -> None: response = await async_client.stream.videos.with_raw_response.storage_usage( @@ -93,6 +101,7 @@ async def test_raw_response_storage_usage(self, async_client: AsyncCloudflare) - video = await response.parse() assert_matches_type(Optional[VideoStorageUsageResponse], video, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_storage_usage(self, async_client: AsyncCloudflare) -> None: async with async_client.stream.videos.with_streaming_response.storage_usage( @@ -106,6 +115,7 @@ async def test_streaming_response_storage_usage(self, async_client: AsyncCloudfl assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_storage_usage(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/stream/test_watermarks.py b/tests/api_resources/stream/test_watermarks.py index 80fca50a980..212a32853a6 100644 --- a/tests/api_resources/stream/test_watermarks.py +++ b/tests/api_resources/stream/test_watermarks.py @@ -18,6 +18,7 @@ class TestWatermarks: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: watermark = client.stream.watermarks.create( @@ -26,6 +27,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Watermark], watermark, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: watermark = client.stream.watermarks.create( @@ -39,6 +41,7 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Watermark], watermark, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.stream.watermarks.with_raw_response.create( @@ -51,6 +54,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: watermark = response.parse() assert_matches_type(Optional[Watermark], watermark, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.stream.watermarks.with_streaming_response.create( @@ -65,6 +69,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -73,6 +78,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: file="@/Users/rchen/Downloads/watermark.png", ) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: watermark = client.stream.watermarks.list( @@ -80,6 +86,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[Watermark], watermark, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.stream.watermarks.with_raw_response.list( @@ -91,6 +98,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: watermark = response.parse() assert_matches_type(SyncSinglePage[Watermark], watermark, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.stream.watermarks.with_streaming_response.list( @@ -104,6 +112,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -111,6 +120,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: watermark = client.stream.watermarks.delete( @@ -120,6 +130,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[WatermarkDeleteResponse], watermark, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.stream.watermarks.with_raw_response.delete( @@ -133,6 +144,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: watermark = response.parse() assert_matches_type(Optional[WatermarkDeleteResponse], watermark, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.stream.watermarks.with_streaming_response.delete( @@ -148,6 +160,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -164,6 +177,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: watermark = client.stream.watermarks.get( @@ -172,6 +186,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Watermark], watermark, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.stream.watermarks.with_raw_response.get( @@ -184,6 +199,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: watermark = response.parse() assert_matches_type(Optional[Watermark], watermark, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.stream.watermarks.with_streaming_response.get( @@ -198,6 +214,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -216,6 +233,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncWatermarks: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: watermark = await async_client.stream.watermarks.create( @@ -224,6 +242,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Watermark], watermark, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: watermark = await async_client.stream.watermarks.create( @@ -237,6 +256,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[Watermark], watermark, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.stream.watermarks.with_raw_response.create( @@ -249,6 +269,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: watermark = await response.parse() assert_matches_type(Optional[Watermark], watermark, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.stream.watermarks.with_streaming_response.create( @@ -263,6 +284,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -271,6 +293,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: file="@/Users/rchen/Downloads/watermark.png", ) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: watermark = await async_client.stream.watermarks.list( @@ -278,6 +301,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[Watermark], watermark, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.stream.watermarks.with_raw_response.list( @@ -289,6 +313,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: watermark = await response.parse() assert_matches_type(AsyncSinglePage[Watermark], watermark, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.stream.watermarks.with_streaming_response.list( @@ -302,6 +327,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -309,6 +335,7 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: watermark = await async_client.stream.watermarks.delete( @@ -318,6 +345,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[WatermarkDeleteResponse], watermark, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.stream.watermarks.with_raw_response.delete( @@ -331,6 +359,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: watermark = await response.parse() assert_matches_type(Optional[WatermarkDeleteResponse], watermark, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.stream.watermarks.with_streaming_response.delete( @@ -346,6 +375,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -362,6 +392,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: watermark = await async_client.stream.watermarks.get( @@ -370,6 +401,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Watermark], watermark, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.stream.watermarks.with_raw_response.get( @@ -382,6 +414,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: watermark = await response.parse() assert_matches_type(Optional[Watermark], watermark, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.stream.watermarks.with_streaming_response.get( @@ -396,6 +429,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/stream/test_webhooks.py b/tests/api_resources/stream/test_webhooks.py index b8cb1872747..c2ba269535c 100644 --- a/tests/api_resources/stream/test_webhooks.py +++ b/tests/api_resources/stream/test_webhooks.py @@ -21,6 +21,7 @@ class TestWebhooks: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: webhook = client.stream.webhooks.update( @@ -29,6 +30,7 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[WebhookUpdateResponse], webhook, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.stream.webhooks.with_raw_response.update( @@ -41,6 +43,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: webhook = response.parse() assert_matches_type(Optional[WebhookUpdateResponse], webhook, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.stream.webhooks.with_streaming_response.update( @@ -55,6 +58,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -63,6 +67,7 @@ def test_path_params_update(self, client: Cloudflare) -> None: notification_url="https://example.com", ) + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: webhook = client.stream.webhooks.delete( @@ -71,6 +76,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[WebhookDeleteResponse], webhook, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.stream.webhooks.with_raw_response.delete( @@ -83,6 +89,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: webhook = response.parse() assert_matches_type(Optional[WebhookDeleteResponse], webhook, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.stream.webhooks.with_streaming_response.delete( @@ -97,6 +104,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -105,6 +113,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: webhook = client.stream.webhooks.get( @@ -112,6 +121,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[WebhookGetResponse], webhook, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.stream.webhooks.with_raw_response.get( @@ -123,6 +133,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: webhook = response.parse() assert_matches_type(Optional[WebhookGetResponse], webhook, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.stream.webhooks.with_streaming_response.get( @@ -136,6 +147,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -147,6 +159,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncWebhooks: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: webhook = await async_client.stream.webhooks.update( @@ -155,6 +168,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[WebhookUpdateResponse], webhook, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.stream.webhooks.with_raw_response.update( @@ -167,6 +181,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: webhook = await response.parse() assert_matches_type(Optional[WebhookUpdateResponse], webhook, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.stream.webhooks.with_streaming_response.update( @@ -181,6 +196,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -189,6 +205,7 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: notification_url="https://example.com", ) + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: webhook = await async_client.stream.webhooks.delete( @@ -197,6 +214,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[WebhookDeleteResponse], webhook, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.stream.webhooks.with_raw_response.delete( @@ -209,6 +227,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: webhook = await response.parse() assert_matches_type(Optional[WebhookDeleteResponse], webhook, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.stream.webhooks.with_streaming_response.delete( @@ -223,6 +242,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -231,6 +251,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: webhook = await async_client.stream.webhooks.get( @@ -238,6 +259,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[WebhookGetResponse], webhook, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.stream.webhooks.with_raw_response.get( @@ -249,6 +271,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: webhook = await response.parse() assert_matches_type(Optional[WebhookGetResponse], webhook, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.stream.webhooks.with_streaming_response.get( @@ -262,6 +285,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/test_accounts.py b/tests/api_resources/test_accounts.py index 19d397230d3..c7b2f9d72ae 100644 --- a/tests/api_resources/test_accounts.py +++ b/tests/api_resources/test_accounts.py @@ -21,6 +21,7 @@ class TestAccounts: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: account = client.accounts.update( @@ -29,6 +30,7 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(AccountUpdateResponse, account, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: account = client.accounts.update( @@ -42,6 +44,7 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(AccountUpdateResponse, account, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.accounts.with_raw_response.update( @@ -54,6 +57,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: account = response.parse() assert_matches_type(AccountUpdateResponse, account, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.accounts.with_streaming_response.update( @@ -68,11 +72,13 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: account = client.accounts.list() assert_matches_type(SyncV4PagePaginationArray[object], account, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: account = client.accounts.list( @@ -83,6 +89,7 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePaginationArray[object], account, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.accounts.with_raw_response.list() @@ -92,6 +99,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: account = response.parse() assert_matches_type(SyncV4PagePaginationArray[object], account, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.accounts.with_streaming_response.list() as response: @@ -103,6 +111,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: account = client.accounts.get( @@ -110,6 +119,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(AccountGetResponse, account, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.accounts.with_raw_response.get( @@ -121,6 +131,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: account = response.parse() assert_matches_type(AccountGetResponse, account, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.accounts.with_streaming_response.get( @@ -138,6 +149,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: class TestAsyncAccounts: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: account = await async_client.accounts.update( @@ -146,6 +158,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AccountUpdateResponse, account, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: account = await async_client.accounts.update( @@ -159,6 +172,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(AccountUpdateResponse, account, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.accounts.with_raw_response.update( @@ -171,6 +185,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: account = await response.parse() assert_matches_type(AccountUpdateResponse, account, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.accounts.with_streaming_response.update( @@ -185,11 +200,13 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: account = await async_client.accounts.list() assert_matches_type(AsyncV4PagePaginationArray[object], account, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: account = await async_client.accounts.list( @@ -200,6 +217,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncV4PagePaginationArray[object], account, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.accounts.with_raw_response.list() @@ -209,6 +227,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: account = await response.parse() assert_matches_type(AsyncV4PagePaginationArray[object], account, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.accounts.with_streaming_response.list() as response: @@ -220,6 +239,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: account = await async_client.accounts.get( @@ -227,6 +247,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AccountGetResponse, account, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.accounts.with_raw_response.get( @@ -238,6 +259,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: account = await response.parse() assert_matches_type(AccountGetResponse, account, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.accounts.with_streaming_response.get( diff --git a/tests/api_resources/test_audit_logs.py b/tests/api_resources/test_audit_logs.py index 3fec9ccbe53..1e5562aa2f7 100644 --- a/tests/api_resources/test_audit_logs.py +++ b/tests/api_resources/test_audit_logs.py @@ -19,6 +19,7 @@ class TestAuditLogs: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: audit_log = client.audit_logs.list( @@ -26,6 +27,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePaginationArray[AuditLog], audit_log, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: audit_log = client.audit_logs.list( @@ -47,6 +49,7 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePaginationArray[AuditLog], audit_log, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.audit_logs.with_raw_response.list( @@ -58,6 +61,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: audit_log = response.parse() assert_matches_type(SyncV4PagePaginationArray[AuditLog], audit_log, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.audit_logs.with_streaming_response.list( @@ -71,6 +75,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -82,6 +87,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: class TestAsyncAuditLogs: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: audit_log = await async_client.audit_logs.list( @@ -89,6 +95,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncV4PagePaginationArray[AuditLog], audit_log, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: audit_log = await async_client.audit_logs.list( @@ -110,6 +117,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncV4PagePaginationArray[AuditLog], audit_log, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.audit_logs.with_raw_response.list( @@ -121,6 +129,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: audit_log = await response.parse() assert_matches_type(AsyncV4PagePaginationArray[AuditLog], audit_log, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.audit_logs.with_streaming_response.list( @@ -134,6 +143,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/test_bot_management.py b/tests/api_resources/test_bot_management.py index 0875e1045b5..89ed539135b 100644 --- a/tests/api_resources/test_bot_management.py +++ b/tests/api_resources/test_bot_management.py @@ -20,6 +20,7 @@ class TestBotManagement: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_update_overload_1(self, client: Cloudflare) -> None: bot_management = client.bot_management.update( @@ -27,6 +28,7 @@ def test_method_update_overload_1(self, client: Cloudflare) -> None: ) assert_matches_type(BotManagementUpdateResponse, bot_management, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_update_with_all_params_overload_1(self, client: Cloudflare) -> None: bot_management = client.bot_management.update( @@ -36,6 +38,7 @@ def test_method_update_with_all_params_overload_1(self, client: Cloudflare) -> N ) assert_matches_type(BotManagementUpdateResponse, bot_management, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update_overload_1(self, client: Cloudflare) -> None: response = client.bot_management.with_raw_response.update( @@ -47,6 +50,7 @@ def test_raw_response_update_overload_1(self, client: Cloudflare) -> None: bot_management = response.parse() assert_matches_type(BotManagementUpdateResponse, bot_management, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update_overload_1(self, client: Cloudflare) -> None: with client.bot_management.with_streaming_response.update( @@ -60,6 +64,7 @@ def test_streaming_response_update_overload_1(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update_overload_1(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -67,6 +72,7 @@ def test_path_params_update_overload_1(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_update_overload_2(self, client: Cloudflare) -> None: bot_management = client.bot_management.update( @@ -74,6 +80,7 @@ def test_method_update_overload_2(self, client: Cloudflare) -> None: ) assert_matches_type(BotManagementUpdateResponse, bot_management, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_update_with_all_params_overload_2(self, client: Cloudflare) -> None: bot_management = client.bot_management.update( @@ -86,6 +93,7 @@ def test_method_update_with_all_params_overload_2(self, client: Cloudflare) -> N ) assert_matches_type(BotManagementUpdateResponse, bot_management, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update_overload_2(self, client: Cloudflare) -> None: response = client.bot_management.with_raw_response.update( @@ -97,6 +105,7 @@ def test_raw_response_update_overload_2(self, client: Cloudflare) -> None: bot_management = response.parse() assert_matches_type(BotManagementUpdateResponse, bot_management, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update_overload_2(self, client: Cloudflare) -> None: with client.bot_management.with_streaming_response.update( @@ -110,6 +119,7 @@ def test_streaming_response_update_overload_2(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update_overload_2(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -117,6 +127,7 @@ def test_path_params_update_overload_2(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_update_overload_3(self, client: Cloudflare) -> None: bot_management = client.bot_management.update( @@ -124,6 +135,7 @@ def test_method_update_overload_3(self, client: Cloudflare) -> None: ) assert_matches_type(BotManagementUpdateResponse, bot_management, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_update_with_all_params_overload_3(self, client: Cloudflare) -> None: bot_management = client.bot_management.update( @@ -137,6 +149,7 @@ def test_method_update_with_all_params_overload_3(self, client: Cloudflare) -> N ) assert_matches_type(BotManagementUpdateResponse, bot_management, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update_overload_3(self, client: Cloudflare) -> None: response = client.bot_management.with_raw_response.update( @@ -148,6 +161,7 @@ def test_raw_response_update_overload_3(self, client: Cloudflare) -> None: bot_management = response.parse() assert_matches_type(BotManagementUpdateResponse, bot_management, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update_overload_3(self, client: Cloudflare) -> None: with client.bot_management.with_streaming_response.update( @@ -161,6 +175,7 @@ def test_streaming_response_update_overload_3(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update_overload_3(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -168,6 +183,7 @@ def test_path_params_update_overload_3(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_update_overload_4(self, client: Cloudflare) -> None: bot_management = client.bot_management.update( @@ -175,6 +191,7 @@ def test_method_update_overload_4(self, client: Cloudflare) -> None: ) assert_matches_type(BotManagementUpdateResponse, bot_management, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_update_with_all_params_overload_4(self, client: Cloudflare) -> None: bot_management = client.bot_management.update( @@ -185,6 +202,7 @@ def test_method_update_with_all_params_overload_4(self, client: Cloudflare) -> N ) assert_matches_type(BotManagementUpdateResponse, bot_management, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update_overload_4(self, client: Cloudflare) -> None: response = client.bot_management.with_raw_response.update( @@ -196,6 +214,7 @@ def test_raw_response_update_overload_4(self, client: Cloudflare) -> None: bot_management = response.parse() assert_matches_type(BotManagementUpdateResponse, bot_management, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update_overload_4(self, client: Cloudflare) -> None: with client.bot_management.with_streaming_response.update( @@ -209,6 +228,7 @@ def test_streaming_response_update_overload_4(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update_overload_4(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -216,6 +236,7 @@ def test_path_params_update_overload_4(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: bot_management = client.bot_management.get( @@ -223,6 +244,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(BotManagementGetResponse, bot_management, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.bot_management.with_raw_response.get( @@ -234,6 +256,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: bot_management = response.parse() assert_matches_type(BotManagementGetResponse, bot_management, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.bot_management.with_streaming_response.get( @@ -247,6 +270,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -258,6 +282,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncBotManagement: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_update_overload_1(self, async_client: AsyncCloudflare) -> None: bot_management = await async_client.bot_management.update( @@ -265,6 +290,7 @@ async def test_method_update_overload_1(self, async_client: AsyncCloudflare) -> ) assert_matches_type(BotManagementUpdateResponse, bot_management, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_update_with_all_params_overload_1(self, async_client: AsyncCloudflare) -> None: bot_management = await async_client.bot_management.update( @@ -274,6 +300,7 @@ async def test_method_update_with_all_params_overload_1(self, async_client: Asyn ) assert_matches_type(BotManagementUpdateResponse, bot_management, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update_overload_1(self, async_client: AsyncCloudflare) -> None: response = await async_client.bot_management.with_raw_response.update( @@ -285,6 +312,7 @@ async def test_raw_response_update_overload_1(self, async_client: AsyncCloudflar bot_management = await response.parse() assert_matches_type(BotManagementUpdateResponse, bot_management, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update_overload_1(self, async_client: AsyncCloudflare) -> None: async with async_client.bot_management.with_streaming_response.update( @@ -298,6 +326,7 @@ async def test_streaming_response_update_overload_1(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update_overload_1(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -305,6 +334,7 @@ async def test_path_params_update_overload_1(self, async_client: AsyncCloudflare zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_update_overload_2(self, async_client: AsyncCloudflare) -> None: bot_management = await async_client.bot_management.update( @@ -312,6 +342,7 @@ async def test_method_update_overload_2(self, async_client: AsyncCloudflare) -> ) assert_matches_type(BotManagementUpdateResponse, bot_management, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_update_with_all_params_overload_2(self, async_client: AsyncCloudflare) -> None: bot_management = await async_client.bot_management.update( @@ -324,6 +355,7 @@ async def test_method_update_with_all_params_overload_2(self, async_client: Asyn ) assert_matches_type(BotManagementUpdateResponse, bot_management, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update_overload_2(self, async_client: AsyncCloudflare) -> None: response = await async_client.bot_management.with_raw_response.update( @@ -335,6 +367,7 @@ async def test_raw_response_update_overload_2(self, async_client: AsyncCloudflar bot_management = await response.parse() assert_matches_type(BotManagementUpdateResponse, bot_management, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update_overload_2(self, async_client: AsyncCloudflare) -> None: async with async_client.bot_management.with_streaming_response.update( @@ -348,6 +381,7 @@ async def test_streaming_response_update_overload_2(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update_overload_2(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -355,6 +389,7 @@ async def test_path_params_update_overload_2(self, async_client: AsyncCloudflare zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_update_overload_3(self, async_client: AsyncCloudflare) -> None: bot_management = await async_client.bot_management.update( @@ -362,6 +397,7 @@ async def test_method_update_overload_3(self, async_client: AsyncCloudflare) -> ) assert_matches_type(BotManagementUpdateResponse, bot_management, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_update_with_all_params_overload_3(self, async_client: AsyncCloudflare) -> None: bot_management = await async_client.bot_management.update( @@ -375,6 +411,7 @@ async def test_method_update_with_all_params_overload_3(self, async_client: Asyn ) assert_matches_type(BotManagementUpdateResponse, bot_management, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update_overload_3(self, async_client: AsyncCloudflare) -> None: response = await async_client.bot_management.with_raw_response.update( @@ -386,6 +423,7 @@ async def test_raw_response_update_overload_3(self, async_client: AsyncCloudflar bot_management = await response.parse() assert_matches_type(BotManagementUpdateResponse, bot_management, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update_overload_3(self, async_client: AsyncCloudflare) -> None: async with async_client.bot_management.with_streaming_response.update( @@ -399,6 +437,7 @@ async def test_streaming_response_update_overload_3(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update_overload_3(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -406,6 +445,7 @@ async def test_path_params_update_overload_3(self, async_client: AsyncCloudflare zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_update_overload_4(self, async_client: AsyncCloudflare) -> None: bot_management = await async_client.bot_management.update( @@ -413,6 +453,7 @@ async def test_method_update_overload_4(self, async_client: AsyncCloudflare) -> ) assert_matches_type(BotManagementUpdateResponse, bot_management, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_update_with_all_params_overload_4(self, async_client: AsyncCloudflare) -> None: bot_management = await async_client.bot_management.update( @@ -423,6 +464,7 @@ async def test_method_update_with_all_params_overload_4(self, async_client: Asyn ) assert_matches_type(BotManagementUpdateResponse, bot_management, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update_overload_4(self, async_client: AsyncCloudflare) -> None: response = await async_client.bot_management.with_raw_response.update( @@ -434,6 +476,7 @@ async def test_raw_response_update_overload_4(self, async_client: AsyncCloudflar bot_management = await response.parse() assert_matches_type(BotManagementUpdateResponse, bot_management, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update_overload_4(self, async_client: AsyncCloudflare) -> None: async with async_client.bot_management.with_streaming_response.update( @@ -447,6 +490,7 @@ async def test_streaming_response_update_overload_4(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update_overload_4(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -454,6 +498,7 @@ async def test_path_params_update_overload_4(self, async_client: AsyncCloudflare zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: bot_management = await async_client.bot_management.get( @@ -461,6 +506,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(BotManagementGetResponse, bot_management, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.bot_management.with_raw_response.get( @@ -472,6 +518,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: bot_management = await response.parse() assert_matches_type(BotManagementGetResponse, bot_management, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.bot_management.with_streaming_response.get( @@ -485,6 +532,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): diff --git a/tests/api_resources/test_brand_protection.py b/tests/api_resources/test_brand_protection.py index 303dc3a6bd9..61e951f87a5 100644 --- a/tests/api_resources/test_brand_protection.py +++ b/tests/api_resources/test_brand_protection.py @@ -20,6 +20,7 @@ class TestBrandProtection: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_submit(self, client: Cloudflare) -> None: brand_protection = client.brand_protection.submit( @@ -27,6 +28,7 @@ def test_method_submit(self, client: Cloudflare) -> None: ) assert_matches_type(Submit, brand_protection, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_submit_with_all_params(self, client: Cloudflare) -> None: brand_protection = client.brand_protection.submit( @@ -35,6 +37,7 @@ def test_method_submit_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Submit, brand_protection, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_submit(self, client: Cloudflare) -> None: response = client.brand_protection.with_raw_response.submit( @@ -46,6 +49,7 @@ def test_raw_response_submit(self, client: Cloudflare) -> None: brand_protection = response.parse() assert_matches_type(Submit, brand_protection, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_submit(self, client: Cloudflare) -> None: with client.brand_protection.with_streaming_response.submit( @@ -59,6 +63,7 @@ def test_streaming_response_submit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_submit(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -66,6 +71,7 @@ def test_path_params_submit(self, client: Cloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize def test_method_url_info(self, client: Cloudflare) -> None: brand_protection = client.brand_protection.url_info( @@ -73,6 +79,7 @@ def test_method_url_info(self, client: Cloudflare) -> None: ) assert_matches_type(Info, brand_protection, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_url_info_with_all_params(self, client: Cloudflare) -> None: brand_protection = client.brand_protection.url_info( @@ -82,6 +89,7 @@ def test_method_url_info_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Info, brand_protection, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_url_info(self, client: Cloudflare) -> None: response = client.brand_protection.with_raw_response.url_info( @@ -93,6 +101,7 @@ def test_raw_response_url_info(self, client: Cloudflare) -> None: brand_protection = response.parse() assert_matches_type(Info, brand_protection, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_url_info(self, client: Cloudflare) -> None: with client.brand_protection.with_streaming_response.url_info( @@ -106,6 +115,7 @@ def test_streaming_response_url_info(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_url_info(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -117,6 +127,7 @@ def test_path_params_url_info(self, client: Cloudflare) -> None: class TestAsyncBrandProtection: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_submit(self, async_client: AsyncCloudflare) -> None: brand_protection = await async_client.brand_protection.submit( @@ -124,6 +135,7 @@ async def test_method_submit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Submit, brand_protection, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_submit_with_all_params(self, async_client: AsyncCloudflare) -> None: brand_protection = await async_client.brand_protection.submit( @@ -132,6 +144,7 @@ async def test_method_submit_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Submit, brand_protection, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_submit(self, async_client: AsyncCloudflare) -> None: response = await async_client.brand_protection.with_raw_response.submit( @@ -143,6 +156,7 @@ async def test_raw_response_submit(self, async_client: AsyncCloudflare) -> None: brand_protection = await response.parse() assert_matches_type(Submit, brand_protection, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_submit(self, async_client: AsyncCloudflare) -> None: async with async_client.brand_protection.with_streaming_response.submit( @@ -156,6 +170,7 @@ async def test_streaming_response_submit(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_submit(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -163,6 +178,7 @@ async def test_path_params_submit(self, async_client: AsyncCloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize async def test_method_url_info(self, async_client: AsyncCloudflare) -> None: brand_protection = await async_client.brand_protection.url_info( @@ -170,6 +186,7 @@ async def test_method_url_info(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Info, brand_protection, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_url_info_with_all_params(self, async_client: AsyncCloudflare) -> None: brand_protection = await async_client.brand_protection.url_info( @@ -179,6 +196,7 @@ async def test_method_url_info_with_all_params(self, async_client: AsyncCloudfla ) assert_matches_type(Info, brand_protection, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_url_info(self, async_client: AsyncCloudflare) -> None: response = await async_client.brand_protection.with_raw_response.url_info( @@ -190,6 +208,7 @@ async def test_raw_response_url_info(self, async_client: AsyncCloudflare) -> Non brand_protection = await response.parse() assert_matches_type(Info, brand_protection, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_url_info(self, async_client: AsyncCloudflare) -> None: async with async_client.brand_protection.with_streaming_response.url_info( @@ -203,6 +222,7 @@ async def test_streaming_response_url_info(self, async_client: AsyncCloudflare) assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_url_info(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/test_cache.py b/tests/api_resources/test_cache.py index 2c5dd92732e..c1650d57e93 100644 --- a/tests/api_resources/test_cache.py +++ b/tests/api_resources/test_cache.py @@ -17,6 +17,7 @@ class TestCache: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_purge_overload_1(self, client: Cloudflare) -> None: cache = client.cache.purge( @@ -24,6 +25,7 @@ def test_method_purge_overload_1(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[CachePurgeResponse], cache, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_purge_with_all_params_overload_1(self, client: Cloudflare) -> None: cache = client.cache.purge( @@ -32,6 +34,7 @@ def test_method_purge_with_all_params_overload_1(self, client: Cloudflare) -> No ) assert_matches_type(Optional[CachePurgeResponse], cache, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_purge_overload_1(self, client: Cloudflare) -> None: response = client.cache.with_raw_response.purge( @@ -43,6 +46,7 @@ def test_raw_response_purge_overload_1(self, client: Cloudflare) -> None: cache = response.parse() assert_matches_type(Optional[CachePurgeResponse], cache, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_purge_overload_1(self, client: Cloudflare) -> None: with client.cache.with_streaming_response.purge( @@ -56,6 +60,7 @@ def test_streaming_response_purge_overload_1(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_purge_overload_1(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -63,6 +68,7 @@ def test_path_params_purge_overload_1(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_purge_overload_2(self, client: Cloudflare) -> None: cache = client.cache.purge( @@ -70,6 +76,7 @@ def test_method_purge_overload_2(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[CachePurgeResponse], cache, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_purge_with_all_params_overload_2(self, client: Cloudflare) -> None: cache = client.cache.purge( @@ -78,6 +85,7 @@ def test_method_purge_with_all_params_overload_2(self, client: Cloudflare) -> No ) assert_matches_type(Optional[CachePurgeResponse], cache, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_purge_overload_2(self, client: Cloudflare) -> None: response = client.cache.with_raw_response.purge( @@ -89,6 +97,7 @@ def test_raw_response_purge_overload_2(self, client: Cloudflare) -> None: cache = response.parse() assert_matches_type(Optional[CachePurgeResponse], cache, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_purge_overload_2(self, client: Cloudflare) -> None: with client.cache.with_streaming_response.purge( @@ -102,6 +111,7 @@ def test_streaming_response_purge_overload_2(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_purge_overload_2(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -109,6 +119,7 @@ def test_path_params_purge_overload_2(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_purge_overload_3(self, client: Cloudflare) -> None: cache = client.cache.purge( @@ -116,6 +127,7 @@ def test_method_purge_overload_3(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[CachePurgeResponse], cache, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_purge_with_all_params_overload_3(self, client: Cloudflare) -> None: cache = client.cache.purge( @@ -124,6 +136,7 @@ def test_method_purge_with_all_params_overload_3(self, client: Cloudflare) -> No ) assert_matches_type(Optional[CachePurgeResponse], cache, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_purge_overload_3(self, client: Cloudflare) -> None: response = client.cache.with_raw_response.purge( @@ -135,6 +148,7 @@ def test_raw_response_purge_overload_3(self, client: Cloudflare) -> None: cache = response.parse() assert_matches_type(Optional[CachePurgeResponse], cache, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_purge_overload_3(self, client: Cloudflare) -> None: with client.cache.with_streaming_response.purge( @@ -148,6 +162,7 @@ def test_streaming_response_purge_overload_3(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_purge_overload_3(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -155,6 +170,7 @@ def test_path_params_purge_overload_3(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_purge_overload_4(self, client: Cloudflare) -> None: cache = client.cache.purge( @@ -162,6 +178,7 @@ def test_method_purge_overload_4(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[CachePurgeResponse], cache, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_purge_with_all_params_overload_4(self, client: Cloudflare) -> None: cache = client.cache.purge( @@ -170,6 +187,7 @@ def test_method_purge_with_all_params_overload_4(self, client: Cloudflare) -> No ) assert_matches_type(Optional[CachePurgeResponse], cache, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_purge_overload_4(self, client: Cloudflare) -> None: response = client.cache.with_raw_response.purge( @@ -181,6 +199,7 @@ def test_raw_response_purge_overload_4(self, client: Cloudflare) -> None: cache = response.parse() assert_matches_type(Optional[CachePurgeResponse], cache, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_purge_overload_4(self, client: Cloudflare) -> None: with client.cache.with_streaming_response.purge( @@ -194,6 +213,7 @@ def test_streaming_response_purge_overload_4(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_purge_overload_4(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -201,6 +221,7 @@ def test_path_params_purge_overload_4(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_purge_overload_5(self, client: Cloudflare) -> None: cache = client.cache.purge( @@ -208,6 +229,7 @@ def test_method_purge_overload_5(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[CachePurgeResponse], cache, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_purge_with_all_params_overload_5(self, client: Cloudflare) -> None: cache = client.cache.purge( @@ -220,6 +242,7 @@ def test_method_purge_with_all_params_overload_5(self, client: Cloudflare) -> No ) assert_matches_type(Optional[CachePurgeResponse], cache, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_purge_overload_5(self, client: Cloudflare) -> None: response = client.cache.with_raw_response.purge( @@ -231,6 +254,7 @@ def test_raw_response_purge_overload_5(self, client: Cloudflare) -> None: cache = response.parse() assert_matches_type(Optional[CachePurgeResponse], cache, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_purge_overload_5(self, client: Cloudflare) -> None: with client.cache.with_streaming_response.purge( @@ -244,6 +268,7 @@ def test_streaming_response_purge_overload_5(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_purge_overload_5(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -255,6 +280,7 @@ def test_path_params_purge_overload_5(self, client: Cloudflare) -> None: class TestAsyncCache: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_purge_overload_1(self, async_client: AsyncCloudflare) -> None: cache = await async_client.cache.purge( @@ -262,6 +288,7 @@ async def test_method_purge_overload_1(self, async_client: AsyncCloudflare) -> N ) assert_matches_type(Optional[CachePurgeResponse], cache, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_purge_with_all_params_overload_1(self, async_client: AsyncCloudflare) -> None: cache = await async_client.cache.purge( @@ -270,6 +297,7 @@ async def test_method_purge_with_all_params_overload_1(self, async_client: Async ) assert_matches_type(Optional[CachePurgeResponse], cache, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_purge_overload_1(self, async_client: AsyncCloudflare) -> None: response = await async_client.cache.with_raw_response.purge( @@ -281,6 +309,7 @@ async def test_raw_response_purge_overload_1(self, async_client: AsyncCloudflare cache = await response.parse() assert_matches_type(Optional[CachePurgeResponse], cache, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_purge_overload_1(self, async_client: AsyncCloudflare) -> None: async with async_client.cache.with_streaming_response.purge( @@ -294,6 +323,7 @@ async def test_streaming_response_purge_overload_1(self, async_client: AsyncClou assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_purge_overload_1(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -301,6 +331,7 @@ async def test_path_params_purge_overload_1(self, async_client: AsyncCloudflare) zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_purge_overload_2(self, async_client: AsyncCloudflare) -> None: cache = await async_client.cache.purge( @@ -308,6 +339,7 @@ async def test_method_purge_overload_2(self, async_client: AsyncCloudflare) -> N ) assert_matches_type(Optional[CachePurgeResponse], cache, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_purge_with_all_params_overload_2(self, async_client: AsyncCloudflare) -> None: cache = await async_client.cache.purge( @@ -316,6 +348,7 @@ async def test_method_purge_with_all_params_overload_2(self, async_client: Async ) assert_matches_type(Optional[CachePurgeResponse], cache, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_purge_overload_2(self, async_client: AsyncCloudflare) -> None: response = await async_client.cache.with_raw_response.purge( @@ -327,6 +360,7 @@ async def test_raw_response_purge_overload_2(self, async_client: AsyncCloudflare cache = await response.parse() assert_matches_type(Optional[CachePurgeResponse], cache, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_purge_overload_2(self, async_client: AsyncCloudflare) -> None: async with async_client.cache.with_streaming_response.purge( @@ -340,6 +374,7 @@ async def test_streaming_response_purge_overload_2(self, async_client: AsyncClou assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_purge_overload_2(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -347,6 +382,7 @@ async def test_path_params_purge_overload_2(self, async_client: AsyncCloudflare) zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_purge_overload_3(self, async_client: AsyncCloudflare) -> None: cache = await async_client.cache.purge( @@ -354,6 +390,7 @@ async def test_method_purge_overload_3(self, async_client: AsyncCloudflare) -> N ) assert_matches_type(Optional[CachePurgeResponse], cache, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_purge_with_all_params_overload_3(self, async_client: AsyncCloudflare) -> None: cache = await async_client.cache.purge( @@ -362,6 +399,7 @@ async def test_method_purge_with_all_params_overload_3(self, async_client: Async ) assert_matches_type(Optional[CachePurgeResponse], cache, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_purge_overload_3(self, async_client: AsyncCloudflare) -> None: response = await async_client.cache.with_raw_response.purge( @@ -373,6 +411,7 @@ async def test_raw_response_purge_overload_3(self, async_client: AsyncCloudflare cache = await response.parse() assert_matches_type(Optional[CachePurgeResponse], cache, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_purge_overload_3(self, async_client: AsyncCloudflare) -> None: async with async_client.cache.with_streaming_response.purge( @@ -386,6 +425,7 @@ async def test_streaming_response_purge_overload_3(self, async_client: AsyncClou assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_purge_overload_3(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -393,6 +433,7 @@ async def test_path_params_purge_overload_3(self, async_client: AsyncCloudflare) zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_purge_overload_4(self, async_client: AsyncCloudflare) -> None: cache = await async_client.cache.purge( @@ -400,6 +441,7 @@ async def test_method_purge_overload_4(self, async_client: AsyncCloudflare) -> N ) assert_matches_type(Optional[CachePurgeResponse], cache, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_purge_with_all_params_overload_4(self, async_client: AsyncCloudflare) -> None: cache = await async_client.cache.purge( @@ -408,6 +450,7 @@ async def test_method_purge_with_all_params_overload_4(self, async_client: Async ) assert_matches_type(Optional[CachePurgeResponse], cache, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_purge_overload_4(self, async_client: AsyncCloudflare) -> None: response = await async_client.cache.with_raw_response.purge( @@ -419,6 +462,7 @@ async def test_raw_response_purge_overload_4(self, async_client: AsyncCloudflare cache = await response.parse() assert_matches_type(Optional[CachePurgeResponse], cache, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_purge_overload_4(self, async_client: AsyncCloudflare) -> None: async with async_client.cache.with_streaming_response.purge( @@ -432,6 +476,7 @@ async def test_streaming_response_purge_overload_4(self, async_client: AsyncClou assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_purge_overload_4(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -439,6 +484,7 @@ async def test_path_params_purge_overload_4(self, async_client: AsyncCloudflare) zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_purge_overload_5(self, async_client: AsyncCloudflare) -> None: cache = await async_client.cache.purge( @@ -446,6 +492,7 @@ async def test_method_purge_overload_5(self, async_client: AsyncCloudflare) -> N ) assert_matches_type(Optional[CachePurgeResponse], cache, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_purge_with_all_params_overload_5(self, async_client: AsyncCloudflare) -> None: cache = await async_client.cache.purge( @@ -458,6 +505,7 @@ async def test_method_purge_with_all_params_overload_5(self, async_client: Async ) assert_matches_type(Optional[CachePurgeResponse], cache, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_purge_overload_5(self, async_client: AsyncCloudflare) -> None: response = await async_client.cache.with_raw_response.purge( @@ -469,6 +517,7 @@ async def test_raw_response_purge_overload_5(self, async_client: AsyncCloudflare cache = await response.parse() assert_matches_type(Optional[CachePurgeResponse], cache, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_purge_overload_5(self, async_client: AsyncCloudflare) -> None: async with async_client.cache.with_streaming_response.purge( @@ -482,6 +531,7 @@ async def test_streaming_response_purge_overload_5(self, async_client: AsyncClou assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_purge_overload_5(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): diff --git a/tests/api_resources/test_calls.py b/tests/api_resources/test_calls.py index 09dab34806b..1198441de22 100644 --- a/tests/api_resources/test_calls.py +++ b/tests/api_resources/test_calls.py @@ -18,6 +18,7 @@ class TestCalls: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: call = client.calls.create( @@ -25,6 +26,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[CallsAppWithSecret], call, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: call = client.calls.create( @@ -33,6 +35,7 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[CallsAppWithSecret], call, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.calls.with_raw_response.create( @@ -44,6 +47,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: call = response.parse() assert_matches_type(Optional[CallsAppWithSecret], call, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.calls.with_streaming_response.create( @@ -57,6 +61,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -64,6 +69,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: call = client.calls.update( @@ -72,6 +78,7 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[CallsApp], call, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: call = client.calls.update( @@ -81,6 +88,7 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[CallsApp], call, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.calls.with_raw_response.update( @@ -93,6 +101,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: call = response.parse() assert_matches_type(Optional[CallsApp], call, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.calls.with_streaming_response.update( @@ -107,6 +116,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -121,6 +131,7 @@ def test_path_params_update(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: call = client.calls.list( @@ -128,6 +139,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[CallsApp], call, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.calls.with_raw_response.list( @@ -139,6 +151,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: call = response.parse() assert_matches_type(SyncSinglePage[CallsApp], call, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.calls.with_streaming_response.list( @@ -152,6 +165,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -159,6 +173,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: call = client.calls.delete( @@ -167,6 +182,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[CallsApp], call, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.calls.with_raw_response.delete( @@ -179,6 +195,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: call = response.parse() assert_matches_type(Optional[CallsApp], call, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.calls.with_streaming_response.delete( @@ -193,6 +210,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -207,6 +225,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: call = client.calls.get( @@ -215,6 +234,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[CallsApp], call, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.calls.with_raw_response.get( @@ -227,6 +247,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: call = response.parse() assert_matches_type(Optional[CallsApp], call, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.calls.with_streaming_response.get( @@ -241,6 +262,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -259,6 +281,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncCalls: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: call = await async_client.calls.create( @@ -266,6 +289,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[CallsAppWithSecret], call, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: call = await async_client.calls.create( @@ -274,6 +298,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[CallsAppWithSecret], call, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.calls.with_raw_response.create( @@ -285,6 +310,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: call = await response.parse() assert_matches_type(Optional[CallsAppWithSecret], call, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.calls.with_streaming_response.create( @@ -298,6 +324,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -305,6 +332,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: call = await async_client.calls.update( @@ -313,6 +341,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[CallsApp], call, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: call = await async_client.calls.update( @@ -322,6 +351,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[CallsApp], call, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.calls.with_raw_response.update( @@ -334,6 +364,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: call = await response.parse() assert_matches_type(Optional[CallsApp], call, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.calls.with_streaming_response.update( @@ -348,6 +379,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -362,6 +394,7 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: call = await async_client.calls.list( @@ -369,6 +402,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[CallsApp], call, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.calls.with_raw_response.list( @@ -380,6 +414,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: call = await response.parse() assert_matches_type(AsyncSinglePage[CallsApp], call, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.calls.with_streaming_response.list( @@ -393,6 +428,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -400,6 +436,7 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: call = await async_client.calls.delete( @@ -408,6 +445,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[CallsApp], call, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.calls.with_raw_response.delete( @@ -420,6 +458,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: call = await response.parse() assert_matches_type(Optional[CallsApp], call, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.calls.with_streaming_response.delete( @@ -434,6 +473,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -448,6 +488,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: call = await async_client.calls.get( @@ -456,6 +497,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[CallsApp], call, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.calls.with_raw_response.get( @@ -468,6 +510,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: call = await response.parse() assert_matches_type(Optional[CallsApp], call, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.calls.with_streaming_response.get( @@ -482,6 +525,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/test_client_certificates.py b/tests/api_resources/test_client_certificates.py index c38007c9f69..307a72b3d52 100644 --- a/tests/api_resources/test_client_certificates.py +++ b/tests/api_resources/test_client_certificates.py @@ -20,6 +20,7 @@ class TestClientCertificates: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: client_certificate = client.client_certificates.create( @@ -29,6 +30,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(ClientCertificate, client_certificate, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.client_certificates.with_raw_response.create( @@ -42,6 +44,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: client_certificate = response.parse() assert_matches_type(ClientCertificate, client_certificate, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.client_certificates.with_streaming_response.create( @@ -57,6 +60,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -66,6 +70,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: validity_days=3650, ) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: client_certificate = client.client_certificates.list( @@ -73,6 +78,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePaginationArray[ClientCertificate], client_certificate, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: client_certificate = client.client_certificates.list( @@ -85,6 +91,7 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePaginationArray[ClientCertificate], client_certificate, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.client_certificates.with_raw_response.list( @@ -96,6 +103,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: client_certificate = response.parse() assert_matches_type(SyncV4PagePaginationArray[ClientCertificate], client_certificate, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.client_certificates.with_streaming_response.list( @@ -109,6 +117,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -116,6 +125,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: client_certificate = client.client_certificates.delete( @@ -124,6 +134,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(ClientCertificate, client_certificate, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.client_certificates.with_raw_response.delete( @@ -136,6 +147,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: client_certificate = response.parse() assert_matches_type(ClientCertificate, client_certificate, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.client_certificates.with_streaming_response.delete( @@ -150,6 +162,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -164,6 +177,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: zone_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: client_certificate = client.client_certificates.edit( @@ -172,6 +186,7 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(ClientCertificate, client_certificate, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.client_certificates.with_raw_response.edit( @@ -184,6 +199,7 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: client_certificate = response.parse() assert_matches_type(ClientCertificate, client_certificate, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.client_certificates.with_streaming_response.edit( @@ -198,6 +214,7 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -212,6 +229,7 @@ def test_path_params_edit(self, client: Cloudflare) -> None: zone_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: client_certificate = client.client_certificates.get( @@ -220,6 +238,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(ClientCertificate, client_certificate, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.client_certificates.with_raw_response.get( @@ -232,6 +251,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: client_certificate = response.parse() assert_matches_type(ClientCertificate, client_certificate, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.client_certificates.with_streaming_response.get( @@ -246,6 +266,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -264,6 +285,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncClientCertificates: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: client_certificate = await async_client.client_certificates.create( @@ -273,6 +295,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(ClientCertificate, client_certificate, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.client_certificates.with_raw_response.create( @@ -286,6 +309,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: client_certificate = await response.parse() assert_matches_type(ClientCertificate, client_certificate, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.client_certificates.with_streaming_response.create( @@ -301,6 +325,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -310,6 +335,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: validity_days=3650, ) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: client_certificate = await async_client.client_certificates.list( @@ -317,6 +343,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncV4PagePaginationArray[ClientCertificate], client_certificate, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: client_certificate = await async_client.client_certificates.list( @@ -329,6 +356,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncV4PagePaginationArray[ClientCertificate], client_certificate, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.client_certificates.with_raw_response.list( @@ -340,6 +368,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: client_certificate = await response.parse() assert_matches_type(AsyncV4PagePaginationArray[ClientCertificate], client_certificate, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.client_certificates.with_streaming_response.list( @@ -353,6 +382,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -360,6 +390,7 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: client_certificate = await async_client.client_certificates.delete( @@ -368,6 +399,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(ClientCertificate, client_certificate, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.client_certificates.with_raw_response.delete( @@ -380,6 +412,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: client_certificate = await response.parse() assert_matches_type(ClientCertificate, client_certificate, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.client_certificates.with_streaming_response.delete( @@ -394,6 +427,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -408,6 +442,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: zone_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: client_certificate = await async_client.client_certificates.edit( @@ -416,6 +451,7 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(ClientCertificate, client_certificate, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.client_certificates.with_raw_response.edit( @@ -428,6 +464,7 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: client_certificate = await response.parse() assert_matches_type(ClientCertificate, client_certificate, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.client_certificates.with_streaming_response.edit( @@ -442,6 +479,7 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -456,6 +494,7 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: zone_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: client_certificate = await async_client.client_certificates.get( @@ -464,6 +503,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(ClientCertificate, client_certificate, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.client_certificates.with_raw_response.get( @@ -476,6 +516,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: client_certificate = await response.parse() assert_matches_type(ClientCertificate, client_certificate, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.client_certificates.with_streaming_response.get( @@ -490,6 +531,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): diff --git a/tests/api_resources/test_custom_certificates.py b/tests/api_resources/test_custom_certificates.py index ddc1066143a..b5fab9af7a1 100644 --- a/tests/api_resources/test_custom_certificates.py +++ b/tests/api_resources/test_custom_certificates.py @@ -24,6 +24,7 @@ class TestCustomCertificates: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: custom_certificate = client.custom_certificates.create( @@ -33,6 +34,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(CustomCertificateCreateResponse, custom_certificate, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: custom_certificate = client.custom_certificates.create( @@ -46,6 +48,7 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(CustomCertificateCreateResponse, custom_certificate, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.custom_certificates.with_raw_response.create( @@ -59,6 +62,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: custom_certificate = response.parse() assert_matches_type(CustomCertificateCreateResponse, custom_certificate, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.custom_certificates.with_streaming_response.create( @@ -74,6 +78,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -83,6 +88,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: private_key="-----BEGIN RSA PRIVATE KEY-----\nMIIEowIBAAKCAQEAwQHoetcl9+5ikGzV6cMzWtWPJHqXT3wpbEkRU9Yz7lgvddmG\ndtcGbg/1CGZu0jJGkMoppoUo4c3dts3iwqRYmBikUP77wwY2QGmDZw2FvkJCJlKn\nabIRuGvBKwzESIXgKk2016aTP6/dAjEHyo6SeoK8lkIySUvK0fyOVlsiEsCmOpid\ntnKX/a+50GjB79CJH4ER2lLVZnhePFR/zUOyPxZQQ4naHf7yu/b5jhO0f8fwt+py\nFxIXjbEIdZliWRkRMtzrHOJIhrmJ2A1J7iOrirbbwillwjjNVUWPf3IJ3M12S9pE\newooaeO2izNTERcG9HzAacbVRn2Y2SWIyT/18QIDAQABAoIBACbhTYXBZYKmYPCb\nHBR1IBlCQA2nLGf0qRuJNJZg5iEzXows/6tc8YymZkQE7nolapWsQ+upk2y5Xdp/\naxiuprIs9JzkYK8Ox0r+dlwCG1kSW+UAbX0bQ/qUqlsTvU6muVuMP8vZYHxJ3wmb\n+ufRBKztPTQ/rYWaYQcgC0RWI20HTFBMxlTAyNxYNWzX7RKFkGVVyB9RsAtmcc8g\n+j4OdosbfNoJPS0HeIfNpAznDfHKdxDk2Yc1tV6RHBrC1ynyLE9+TaflIAdo2MVv\nKLMLq51GqYKtgJFIlBRPQqKoyXdz3fGvXrTkf/WY9QNq0J1Vk5ERePZ54mN8iZB7\n9lwy/AkCgYEA6FXzosxswaJ2wQLeoYc7ceaweX/SwTvxHgXzRyJIIT0eJWgx13Wo\n/WA3Iziimsjf6qE+SI/8laxPp2A86VMaIt3Z3mJN/CqSVGw8LK2AQst+OwdPyDMu\niacE8lj/IFGC8mwNUAb9CzGU3JpU4PxxGFjS/eMtGeRXCWkK4NE+G08CgYEA1Kp9\nN2JrVlqUz+gAX+LPmE9OEMAS9WQSQsfCHGogIFDGGcNf7+uwBM7GAaSJIP01zcoe\nVAgWdzXCv3FLhsaZoJ6RyLOLay5phbu1iaTr4UNYm5WtYTzMzqh8l1+MFFDl9xDB\nvULuCIIrglM5MeS/qnSg1uMoH2oVPj9TVst/ir8CgYEAxrI7Ws9Zc4Bt70N1As+U\nlySjaEVZCMkqvHJ6TCuVZFfQoE0r0whdLdRLU2PsLFP+q7qaeZQqgBaNSKeVcDYR\n9B+nY/jOmQoPewPVsp/vQTCnE/R81spu0mp0YI6cIheT1Z9zAy322svcc43JaWB7\nmEbeqyLOP4Z4qSOcmghZBSECgYACvR9Xs0DGn+wCsW4vze/2ei77MD4OQvepPIFX\ndFZtlBy5ADcgE9z0cuVB6CiL8DbdK5kwY9pGNr8HUCI03iHkW6Zs+0L0YmihfEVe\nPG19PSzK9CaDdhD9KFZSbLyVFmWfxOt50H7YRTTiPMgjyFpfi5j2q348yVT0tEQS\nfhRqaQKBgAcWPokmJ7EbYQGeMbS7HC8eWO/RyamlnSffdCdSc7ue3zdVJxpAkQ8W\nqu80pEIF6raIQfAf8MXiiZ7auFOSnHQTXUbhCpvDLKi0Mwq3G8Pl07l+2s6dQG6T\nlv6XTQaMyf6n1yjzL+fzDrH3qXMxHMO/b13EePXpDMpY7HQpoLDi\n-----END RSA PRIVATE KEY-----\n", ) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: custom_certificate = client.custom_certificates.list( @@ -90,6 +96,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePaginationArray[CustomCertificate], custom_certificate, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: custom_certificate = client.custom_certificates.list( @@ -101,6 +108,7 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePaginationArray[CustomCertificate], custom_certificate, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.custom_certificates.with_raw_response.list( @@ -112,6 +120,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: custom_certificate = response.parse() assert_matches_type(SyncV4PagePaginationArray[CustomCertificate], custom_certificate, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.custom_certificates.with_streaming_response.list( @@ -125,6 +134,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -132,6 +142,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: custom_certificate = client.custom_certificates.delete( @@ -141,6 +152,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(CustomCertificateDeleteResponse, custom_certificate, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.custom_certificates.with_raw_response.delete( @@ -154,6 +166,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: custom_certificate = response.parse() assert_matches_type(CustomCertificateDeleteResponse, custom_certificate, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.custom_certificates.with_streaming_response.delete( @@ -169,6 +182,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -185,6 +199,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: custom_certificate = client.custom_certificates.edit( @@ -193,6 +208,7 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(CustomCertificateEditResponse, custom_certificate, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_edit_with_all_params(self, client: Cloudflare) -> None: custom_certificate = client.custom_certificates.edit( @@ -206,6 +222,7 @@ def test_method_edit_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(CustomCertificateEditResponse, custom_certificate, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.custom_certificates.with_raw_response.edit( @@ -218,6 +235,7 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: custom_certificate = response.parse() assert_matches_type(CustomCertificateEditResponse, custom_certificate, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.custom_certificates.with_streaming_response.edit( @@ -232,6 +250,7 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -246,6 +265,7 @@ def test_path_params_edit(self, client: Cloudflare) -> None: zone_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: custom_certificate = client.custom_certificates.get( @@ -254,6 +274,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(CustomCertificateGetResponse, custom_certificate, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.custom_certificates.with_raw_response.get( @@ -266,6 +287,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: custom_certificate = response.parse() assert_matches_type(CustomCertificateGetResponse, custom_certificate, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.custom_certificates.with_streaming_response.get( @@ -280,6 +302,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -298,6 +321,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncCustomCertificates: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: custom_certificate = await async_client.custom_certificates.create( @@ -307,6 +331,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(CustomCertificateCreateResponse, custom_certificate, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: custom_certificate = await async_client.custom_certificates.create( @@ -320,6 +345,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(CustomCertificateCreateResponse, custom_certificate, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.custom_certificates.with_raw_response.create( @@ -333,6 +359,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: custom_certificate = await response.parse() assert_matches_type(CustomCertificateCreateResponse, custom_certificate, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.custom_certificates.with_streaming_response.create( @@ -348,6 +375,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -357,6 +385,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: private_key="-----BEGIN RSA PRIVATE KEY-----\nMIIEowIBAAKCAQEAwQHoetcl9+5ikGzV6cMzWtWPJHqXT3wpbEkRU9Yz7lgvddmG\ndtcGbg/1CGZu0jJGkMoppoUo4c3dts3iwqRYmBikUP77wwY2QGmDZw2FvkJCJlKn\nabIRuGvBKwzESIXgKk2016aTP6/dAjEHyo6SeoK8lkIySUvK0fyOVlsiEsCmOpid\ntnKX/a+50GjB79CJH4ER2lLVZnhePFR/zUOyPxZQQ4naHf7yu/b5jhO0f8fwt+py\nFxIXjbEIdZliWRkRMtzrHOJIhrmJ2A1J7iOrirbbwillwjjNVUWPf3IJ3M12S9pE\newooaeO2izNTERcG9HzAacbVRn2Y2SWIyT/18QIDAQABAoIBACbhTYXBZYKmYPCb\nHBR1IBlCQA2nLGf0qRuJNJZg5iEzXows/6tc8YymZkQE7nolapWsQ+upk2y5Xdp/\naxiuprIs9JzkYK8Ox0r+dlwCG1kSW+UAbX0bQ/qUqlsTvU6muVuMP8vZYHxJ3wmb\n+ufRBKztPTQ/rYWaYQcgC0RWI20HTFBMxlTAyNxYNWzX7RKFkGVVyB9RsAtmcc8g\n+j4OdosbfNoJPS0HeIfNpAznDfHKdxDk2Yc1tV6RHBrC1ynyLE9+TaflIAdo2MVv\nKLMLq51GqYKtgJFIlBRPQqKoyXdz3fGvXrTkf/WY9QNq0J1Vk5ERePZ54mN8iZB7\n9lwy/AkCgYEA6FXzosxswaJ2wQLeoYc7ceaweX/SwTvxHgXzRyJIIT0eJWgx13Wo\n/WA3Iziimsjf6qE+SI/8laxPp2A86VMaIt3Z3mJN/CqSVGw8LK2AQst+OwdPyDMu\niacE8lj/IFGC8mwNUAb9CzGU3JpU4PxxGFjS/eMtGeRXCWkK4NE+G08CgYEA1Kp9\nN2JrVlqUz+gAX+LPmE9OEMAS9WQSQsfCHGogIFDGGcNf7+uwBM7GAaSJIP01zcoe\nVAgWdzXCv3FLhsaZoJ6RyLOLay5phbu1iaTr4UNYm5WtYTzMzqh8l1+MFFDl9xDB\nvULuCIIrglM5MeS/qnSg1uMoH2oVPj9TVst/ir8CgYEAxrI7Ws9Zc4Bt70N1As+U\nlySjaEVZCMkqvHJ6TCuVZFfQoE0r0whdLdRLU2PsLFP+q7qaeZQqgBaNSKeVcDYR\n9B+nY/jOmQoPewPVsp/vQTCnE/R81spu0mp0YI6cIheT1Z9zAy322svcc43JaWB7\nmEbeqyLOP4Z4qSOcmghZBSECgYACvR9Xs0DGn+wCsW4vze/2ei77MD4OQvepPIFX\ndFZtlBy5ADcgE9z0cuVB6CiL8DbdK5kwY9pGNr8HUCI03iHkW6Zs+0L0YmihfEVe\nPG19PSzK9CaDdhD9KFZSbLyVFmWfxOt50H7YRTTiPMgjyFpfi5j2q348yVT0tEQS\nfhRqaQKBgAcWPokmJ7EbYQGeMbS7HC8eWO/RyamlnSffdCdSc7ue3zdVJxpAkQ8W\nqu80pEIF6raIQfAf8MXiiZ7auFOSnHQTXUbhCpvDLKi0Mwq3G8Pl07l+2s6dQG6T\nlv6XTQaMyf6n1yjzL+fzDrH3qXMxHMO/b13EePXpDMpY7HQpoLDi\n-----END RSA PRIVATE KEY-----\n", ) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: custom_certificate = await async_client.custom_certificates.list( @@ -364,6 +393,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncV4PagePaginationArray[CustomCertificate], custom_certificate, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: custom_certificate = await async_client.custom_certificates.list( @@ -375,6 +405,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncV4PagePaginationArray[CustomCertificate], custom_certificate, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.custom_certificates.with_raw_response.list( @@ -386,6 +417,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: custom_certificate = await response.parse() assert_matches_type(AsyncV4PagePaginationArray[CustomCertificate], custom_certificate, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.custom_certificates.with_streaming_response.list( @@ -399,6 +431,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -406,6 +439,7 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: custom_certificate = await async_client.custom_certificates.delete( @@ -415,6 +449,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(CustomCertificateDeleteResponse, custom_certificate, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.custom_certificates.with_raw_response.delete( @@ -428,6 +463,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: custom_certificate = await response.parse() assert_matches_type(CustomCertificateDeleteResponse, custom_certificate, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.custom_certificates.with_streaming_response.delete( @@ -443,6 +479,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -459,6 +496,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: custom_certificate = await async_client.custom_certificates.edit( @@ -467,6 +505,7 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(CustomCertificateEditResponse, custom_certificate, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) -> None: custom_certificate = await async_client.custom_certificates.edit( @@ -480,6 +519,7 @@ async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(CustomCertificateEditResponse, custom_certificate, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.custom_certificates.with_raw_response.edit( @@ -492,6 +532,7 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: custom_certificate = await response.parse() assert_matches_type(CustomCertificateEditResponse, custom_certificate, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.custom_certificates.with_streaming_response.edit( @@ -506,6 +547,7 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -520,6 +562,7 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: zone_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: custom_certificate = await async_client.custom_certificates.get( @@ -528,6 +571,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(CustomCertificateGetResponse, custom_certificate, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.custom_certificates.with_raw_response.get( @@ -540,6 +584,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: custom_certificate = await response.parse() assert_matches_type(CustomCertificateGetResponse, custom_certificate, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.custom_certificates.with_streaming_response.get( @@ -554,6 +599,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): diff --git a/tests/api_resources/test_custom_hostnames.py b/tests/api_resources/test_custom_hostnames.py index c2134498695..2b80903b4ef 100644 --- a/tests/api_resources/test_custom_hostnames.py +++ b/tests/api_resources/test_custom_hostnames.py @@ -24,6 +24,7 @@ class TestCustomHostnames: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: custom_hostname = client.custom_hostnames.create( @@ -33,6 +34,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(CustomHostnameCreateResponse, custom_hostname, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: custom_hostname = client.custom_hostnames.create( @@ -58,6 +60,7 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(CustomHostnameCreateResponse, custom_hostname, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.custom_hostnames.with_raw_response.create( @@ -71,6 +74,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: custom_hostname = response.parse() assert_matches_type(CustomHostnameCreateResponse, custom_hostname, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.custom_hostnames.with_streaming_response.create( @@ -86,6 +90,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -95,6 +100,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: ssl={}, ) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: custom_hostname = client.custom_hostnames.list( @@ -102,6 +108,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePaginationArray[CustomHostnameListResponse], custom_hostname, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: custom_hostname = client.custom_hostnames.list( @@ -116,6 +123,7 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePaginationArray[CustomHostnameListResponse], custom_hostname, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.custom_hostnames.with_raw_response.list( @@ -127,6 +135,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: custom_hostname = response.parse() assert_matches_type(SyncV4PagePaginationArray[CustomHostnameListResponse], custom_hostname, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.custom_hostnames.with_streaming_response.list( @@ -142,6 +151,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -149,6 +159,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: custom_hostname = client.custom_hostnames.delete( @@ -158,6 +169,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(CustomHostnameDeleteResponse, custom_hostname, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.custom_hostnames.with_raw_response.delete( @@ -171,6 +183,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: custom_hostname = response.parse() assert_matches_type(CustomHostnameDeleteResponse, custom_hostname, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.custom_hostnames.with_streaming_response.delete( @@ -186,6 +199,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -202,6 +216,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: custom_hostname = client.custom_hostnames.edit( @@ -210,6 +225,7 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(CustomHostnameEditResponse, custom_hostname, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_edit_with_all_params(self, client: Cloudflare) -> None: custom_hostname = client.custom_hostnames.edit( @@ -237,6 +253,7 @@ def test_method_edit_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(CustomHostnameEditResponse, custom_hostname, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.custom_hostnames.with_raw_response.edit( @@ -249,6 +266,7 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: custom_hostname = response.parse() assert_matches_type(CustomHostnameEditResponse, custom_hostname, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.custom_hostnames.with_streaming_response.edit( @@ -263,6 +281,7 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -277,6 +296,7 @@ def test_path_params_edit(self, client: Cloudflare) -> None: zone_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: custom_hostname = client.custom_hostnames.get( @@ -285,6 +305,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(CustomHostnameGetResponse, custom_hostname, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.custom_hostnames.with_raw_response.get( @@ -297,6 +318,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: custom_hostname = response.parse() assert_matches_type(CustomHostnameGetResponse, custom_hostname, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.custom_hostnames.with_streaming_response.get( @@ -311,6 +333,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -329,6 +352,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncCustomHostnames: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: custom_hostname = await async_client.custom_hostnames.create( @@ -338,6 +362,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(CustomHostnameCreateResponse, custom_hostname, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: custom_hostname = await async_client.custom_hostnames.create( @@ -363,6 +388,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(CustomHostnameCreateResponse, custom_hostname, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.custom_hostnames.with_raw_response.create( @@ -376,6 +402,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: custom_hostname = await response.parse() assert_matches_type(CustomHostnameCreateResponse, custom_hostname, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.custom_hostnames.with_streaming_response.create( @@ -391,6 +418,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -400,6 +428,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: ssl={}, ) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: custom_hostname = await async_client.custom_hostnames.list( @@ -407,6 +436,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncV4PagePaginationArray[CustomHostnameListResponse], custom_hostname, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: custom_hostname = await async_client.custom_hostnames.list( @@ -421,6 +451,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncV4PagePaginationArray[CustomHostnameListResponse], custom_hostname, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.custom_hostnames.with_raw_response.list( @@ -432,6 +463,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: custom_hostname = await response.parse() assert_matches_type(AsyncV4PagePaginationArray[CustomHostnameListResponse], custom_hostname, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.custom_hostnames.with_streaming_response.list( @@ -447,6 +479,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -454,6 +487,7 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: custom_hostname = await async_client.custom_hostnames.delete( @@ -463,6 +497,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(CustomHostnameDeleteResponse, custom_hostname, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.custom_hostnames.with_raw_response.delete( @@ -476,6 +511,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: custom_hostname = await response.parse() assert_matches_type(CustomHostnameDeleteResponse, custom_hostname, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.custom_hostnames.with_streaming_response.delete( @@ -491,6 +527,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -507,6 +544,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: custom_hostname = await async_client.custom_hostnames.edit( @@ -515,6 +553,7 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(CustomHostnameEditResponse, custom_hostname, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) -> None: custom_hostname = await async_client.custom_hostnames.edit( @@ -542,6 +581,7 @@ async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(CustomHostnameEditResponse, custom_hostname, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.custom_hostnames.with_raw_response.edit( @@ -554,6 +594,7 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: custom_hostname = await response.parse() assert_matches_type(CustomHostnameEditResponse, custom_hostname, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.custom_hostnames.with_streaming_response.edit( @@ -568,6 +609,7 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -582,6 +624,7 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: zone_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: custom_hostname = await async_client.custom_hostnames.get( @@ -590,6 +633,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(CustomHostnameGetResponse, custom_hostname, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.custom_hostnames.with_raw_response.get( @@ -602,6 +646,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: custom_hostname = await response.parse() assert_matches_type(CustomHostnameGetResponse, custom_hostname, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.custom_hostnames.with_streaming_response.get( @@ -616,6 +661,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): diff --git a/tests/api_resources/test_custom_nameservers.py b/tests/api_resources/test_custom_nameservers.py index d492f7bc455..f85006a7d77 100644 --- a/tests/api_resources/test_custom_nameservers.py +++ b/tests/api_resources/test_custom_nameservers.py @@ -23,6 +23,7 @@ class TestCustomNameservers: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: custom_nameserver = client.custom_nameservers.create( @@ -31,6 +32,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(CustomNameserver, custom_nameserver, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: custom_nameserver = client.custom_nameservers.create( @@ -40,6 +42,7 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(CustomNameserver, custom_nameserver, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.custom_nameservers.with_raw_response.create( @@ -52,6 +55,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: custom_nameserver = response.parse() assert_matches_type(CustomNameserver, custom_nameserver, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.custom_nameservers.with_streaming_response.create( @@ -66,6 +70,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -74,6 +79,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: ns_name="ns1.example.com", ) + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: custom_nameserver = client.custom_nameservers.delete( @@ -83,6 +89,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[CustomNameserverDeleteResponse], custom_nameserver, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.custom_nameservers.with_raw_response.delete( @@ -96,6 +103,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: custom_nameserver = response.parse() assert_matches_type(Optional[CustomNameserverDeleteResponse], custom_nameserver, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.custom_nameservers.with_streaming_response.delete( @@ -111,6 +119,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -127,6 +136,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize def test_method_availabilty(self, client: Cloudflare) -> None: custom_nameserver = client.custom_nameservers.availabilty( @@ -134,6 +144,7 @@ def test_method_availabilty(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[CustomNameserverAvailabiltyResponse], custom_nameserver, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_availabilty(self, client: Cloudflare) -> None: response = client.custom_nameservers.with_raw_response.availabilty( @@ -145,6 +156,7 @@ def test_raw_response_availabilty(self, client: Cloudflare) -> None: custom_nameserver = response.parse() assert_matches_type(Optional[CustomNameserverAvailabiltyResponse], custom_nameserver, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_availabilty(self, client: Cloudflare) -> None: with client.custom_nameservers.with_streaming_response.availabilty( @@ -158,6 +170,7 @@ def test_streaming_response_availabilty(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_availabilty(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -165,6 +178,7 @@ def test_path_params_availabilty(self, client: Cloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: custom_nameserver = client.custom_nameservers.get( @@ -172,6 +186,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[CustomNameserverGetResponse], custom_nameserver, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.custom_nameservers.with_raw_response.get( @@ -183,6 +198,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: custom_nameserver = response.parse() assert_matches_type(Optional[CustomNameserverGetResponse], custom_nameserver, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.custom_nameservers.with_streaming_response.get( @@ -196,6 +212,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -203,6 +220,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize def test_method_verify(self, client: Cloudflare) -> None: custom_nameserver = client.custom_nameservers.verify( @@ -211,6 +229,7 @@ def test_method_verify(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[CustomNameserverVerifyResponse], custom_nameserver, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_verify(self, client: Cloudflare) -> None: response = client.custom_nameservers.with_raw_response.verify( @@ -223,6 +242,7 @@ def test_raw_response_verify(self, client: Cloudflare) -> None: custom_nameserver = response.parse() assert_matches_type(Optional[CustomNameserverVerifyResponse], custom_nameserver, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_verify(self, client: Cloudflare) -> None: with client.custom_nameservers.with_streaming_response.verify( @@ -237,6 +257,7 @@ def test_streaming_response_verify(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_verify(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -249,6 +270,7 @@ def test_path_params_verify(self, client: Cloudflare) -> None: class TestAsyncCustomNameservers: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: custom_nameserver = await async_client.custom_nameservers.create( @@ -257,6 +279,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(CustomNameserver, custom_nameserver, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: custom_nameserver = await async_client.custom_nameservers.create( @@ -266,6 +289,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(CustomNameserver, custom_nameserver, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.custom_nameservers.with_raw_response.create( @@ -278,6 +302,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: custom_nameserver = await response.parse() assert_matches_type(CustomNameserver, custom_nameserver, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.custom_nameservers.with_streaming_response.create( @@ -292,6 +317,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -300,6 +326,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: ns_name="ns1.example.com", ) + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: custom_nameserver = await async_client.custom_nameservers.delete( @@ -309,6 +336,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[CustomNameserverDeleteResponse], custom_nameserver, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.custom_nameservers.with_raw_response.delete( @@ -322,6 +350,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: custom_nameserver = await response.parse() assert_matches_type(Optional[CustomNameserverDeleteResponse], custom_nameserver, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.custom_nameservers.with_streaming_response.delete( @@ -337,6 +366,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -353,6 +383,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize async def test_method_availabilty(self, async_client: AsyncCloudflare) -> None: custom_nameserver = await async_client.custom_nameservers.availabilty( @@ -360,6 +391,7 @@ async def test_method_availabilty(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[CustomNameserverAvailabiltyResponse], custom_nameserver, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_availabilty(self, async_client: AsyncCloudflare) -> None: response = await async_client.custom_nameservers.with_raw_response.availabilty( @@ -371,6 +403,7 @@ async def test_raw_response_availabilty(self, async_client: AsyncCloudflare) -> custom_nameserver = await response.parse() assert_matches_type(Optional[CustomNameserverAvailabiltyResponse], custom_nameserver, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_availabilty(self, async_client: AsyncCloudflare) -> None: async with async_client.custom_nameservers.with_streaming_response.availabilty( @@ -384,6 +417,7 @@ async def test_streaming_response_availabilty(self, async_client: AsyncCloudflar assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_availabilty(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -391,6 +425,7 @@ async def test_path_params_availabilty(self, async_client: AsyncCloudflare) -> N account_id="", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: custom_nameserver = await async_client.custom_nameservers.get( @@ -398,6 +433,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[CustomNameserverGetResponse], custom_nameserver, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.custom_nameservers.with_raw_response.get( @@ -409,6 +445,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: custom_nameserver = await response.parse() assert_matches_type(Optional[CustomNameserverGetResponse], custom_nameserver, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.custom_nameservers.with_streaming_response.get( @@ -422,6 +459,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -429,6 +467,7 @@ async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize async def test_method_verify(self, async_client: AsyncCloudflare) -> None: custom_nameserver = await async_client.custom_nameservers.verify( @@ -437,6 +476,7 @@ async def test_method_verify(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[CustomNameserverVerifyResponse], custom_nameserver, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_verify(self, async_client: AsyncCloudflare) -> None: response = await async_client.custom_nameservers.with_raw_response.verify( @@ -449,6 +489,7 @@ async def test_raw_response_verify(self, async_client: AsyncCloudflare) -> None: custom_nameserver = await response.parse() assert_matches_type(Optional[CustomNameserverVerifyResponse], custom_nameserver, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_verify(self, async_client: AsyncCloudflare) -> None: async with async_client.custom_nameservers.with_streaming_response.verify( @@ -463,6 +504,7 @@ async def test_streaming_response_verify(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_verify(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/test_dnssec.py b/tests/api_resources/test_dnssec.py index 77984f0f41d..69a5f52ccc1 100644 --- a/tests/api_resources/test_dnssec.py +++ b/tests/api_resources/test_dnssec.py @@ -17,6 +17,7 @@ class TestDNSSEC: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: dnssec = client.dnssec.delete( @@ -25,6 +26,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(DNSSECDeleteResponse, dnssec, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.dnssec.with_raw_response.delete( @@ -37,6 +39,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: dnssec = response.parse() assert_matches_type(DNSSECDeleteResponse, dnssec, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.dnssec.with_streaming_response.delete( @@ -51,6 +54,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -59,6 +63,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: dnssec = client.dnssec.edit( @@ -66,6 +71,7 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(DNSSEC, dnssec, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_edit_with_all_params(self, client: Cloudflare) -> None: dnssec = client.dnssec.edit( @@ -76,6 +82,7 @@ def test_method_edit_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(DNSSEC, dnssec, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.dnssec.with_raw_response.edit( @@ -87,6 +94,7 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: dnssec = response.parse() assert_matches_type(DNSSEC, dnssec, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.dnssec.with_streaming_response.edit( @@ -100,6 +108,7 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -107,6 +116,7 @@ def test_path_params_edit(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: dnssec = client.dnssec.get( @@ -114,6 +124,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(DNSSEC, dnssec, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.dnssec.with_raw_response.get( @@ -125,6 +136,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: dnssec = response.parse() assert_matches_type(DNSSEC, dnssec, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.dnssec.with_streaming_response.get( @@ -138,6 +150,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -149,6 +162,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncDNSSEC: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: dnssec = await async_client.dnssec.delete( @@ -157,6 +171,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(DNSSECDeleteResponse, dnssec, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.dnssec.with_raw_response.delete( @@ -169,6 +184,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: dnssec = await response.parse() assert_matches_type(DNSSECDeleteResponse, dnssec, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.dnssec.with_streaming_response.delete( @@ -183,6 +199,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -191,6 +208,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: dnssec = await async_client.dnssec.edit( @@ -198,6 +216,7 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(DNSSEC, dnssec, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) -> None: dnssec = await async_client.dnssec.edit( @@ -208,6 +227,7 @@ async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(DNSSEC, dnssec, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.dnssec.with_raw_response.edit( @@ -219,6 +239,7 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: dnssec = await response.parse() assert_matches_type(DNSSEC, dnssec, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.dnssec.with_streaming_response.edit( @@ -232,6 +253,7 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -239,6 +261,7 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: dnssec = await async_client.dnssec.get( @@ -246,6 +269,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(DNSSEC, dnssec, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.dnssec.with_raw_response.get( @@ -257,6 +281,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: dnssec = await response.parse() assert_matches_type(DNSSEC, dnssec, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.dnssec.with_streaming_response.get( @@ -270,6 +295,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): diff --git a/tests/api_resources/test_email_routing.py b/tests/api_resources/test_email_routing.py index 6969f592525..92d55fc3c61 100644 --- a/tests/api_resources/test_email_routing.py +++ b/tests/api_resources/test_email_routing.py @@ -17,6 +17,7 @@ class TestEmailRouting: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_disable(self, client: Cloudflare) -> None: email_routing = client.email_routing.disable( @@ -25,6 +26,7 @@ def test_method_disable(self, client: Cloudflare) -> None: ) assert_matches_type(Settings, email_routing, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_disable(self, client: Cloudflare) -> None: response = client.email_routing.with_raw_response.disable( @@ -37,6 +39,7 @@ def test_raw_response_disable(self, client: Cloudflare) -> None: email_routing = response.parse() assert_matches_type(Settings, email_routing, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_disable(self, client: Cloudflare) -> None: with client.email_routing.with_streaming_response.disable( @@ -51,6 +54,7 @@ def test_streaming_response_disable(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_disable(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -59,6 +63,7 @@ def test_path_params_disable(self, client: Cloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize def test_method_enable(self, client: Cloudflare) -> None: email_routing = client.email_routing.enable( @@ -67,6 +72,7 @@ def test_method_enable(self, client: Cloudflare) -> None: ) assert_matches_type(Settings, email_routing, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_enable(self, client: Cloudflare) -> None: response = client.email_routing.with_raw_response.enable( @@ -79,6 +85,7 @@ def test_raw_response_enable(self, client: Cloudflare) -> None: email_routing = response.parse() assert_matches_type(Settings, email_routing, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_enable(self, client: Cloudflare) -> None: with client.email_routing.with_streaming_response.enable( @@ -93,6 +100,7 @@ def test_streaming_response_enable(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_enable(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -101,6 +109,7 @@ def test_path_params_enable(self, client: Cloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: email_routing = client.email_routing.get( @@ -108,6 +117,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Settings, email_routing, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.email_routing.with_raw_response.get( @@ -119,6 +129,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: email_routing = response.parse() assert_matches_type(Settings, email_routing, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.email_routing.with_streaming_response.get( @@ -132,6 +143,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -143,6 +155,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncEmailRouting: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_disable(self, async_client: AsyncCloudflare) -> None: email_routing = await async_client.email_routing.disable( @@ -151,6 +164,7 @@ async def test_method_disable(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Settings, email_routing, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_disable(self, async_client: AsyncCloudflare) -> None: response = await async_client.email_routing.with_raw_response.disable( @@ -163,6 +177,7 @@ async def test_raw_response_disable(self, async_client: AsyncCloudflare) -> None email_routing = await response.parse() assert_matches_type(Settings, email_routing, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_disable(self, async_client: AsyncCloudflare) -> None: async with async_client.email_routing.with_streaming_response.disable( @@ -177,6 +192,7 @@ async def test_streaming_response_disable(self, async_client: AsyncCloudflare) - assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_disable(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -185,6 +201,7 @@ async def test_path_params_disable(self, async_client: AsyncCloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize async def test_method_enable(self, async_client: AsyncCloudflare) -> None: email_routing = await async_client.email_routing.enable( @@ -193,6 +210,7 @@ async def test_method_enable(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Settings, email_routing, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_enable(self, async_client: AsyncCloudflare) -> None: response = await async_client.email_routing.with_raw_response.enable( @@ -205,6 +223,7 @@ async def test_raw_response_enable(self, async_client: AsyncCloudflare) -> None: email_routing = await response.parse() assert_matches_type(Settings, email_routing, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_enable(self, async_client: AsyncCloudflare) -> None: async with async_client.email_routing.with_streaming_response.enable( @@ -219,6 +238,7 @@ async def test_streaming_response_enable(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_enable(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -227,6 +247,7 @@ async def test_path_params_enable(self, async_client: AsyncCloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: email_routing = await async_client.email_routing.get( @@ -234,6 +255,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Settings, email_routing, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.email_routing.with_raw_response.get( @@ -245,6 +267,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: email_routing = await response.parse() assert_matches_type(Settings, email_routing, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.email_routing.with_streaming_response.get( @@ -258,6 +281,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): diff --git a/tests/api_resources/test_filters.py b/tests/api_resources/test_filters.py index 58718da7cd3..c4db83fbe0d 100644 --- a/tests/api_resources/test_filters.py +++ b/tests/api_resources/test_filters.py @@ -21,6 +21,7 @@ class TestFilters: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: filter = client.filters.create( @@ -29,6 +30,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[FilterCreateResponse], filter, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.filters.with_raw_response.create( @@ -41,6 +43,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: filter = response.parse() assert_matches_type(Optional[FilterCreateResponse], filter, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.filters.with_streaming_response.create( @@ -55,6 +58,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -63,6 +67,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: filter = client.filters.update( @@ -72,6 +77,7 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(FirewallFilter, filter, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.filters.with_raw_response.update( @@ -85,6 +91,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: filter = response.parse() assert_matches_type(FirewallFilter, filter, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.filters.with_streaming_response.update( @@ -100,6 +107,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -116,6 +124,7 @@ def test_path_params_update(self, client: Cloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: filter = client.filters.list( @@ -123,6 +132,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePaginationArray[FirewallFilter], filter, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: filter = client.filters.list( @@ -137,6 +147,7 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePaginationArray[FirewallFilter], filter, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.filters.with_raw_response.list( @@ -148,6 +159,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: filter = response.parse() assert_matches_type(SyncV4PagePaginationArray[FirewallFilter], filter, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.filters.with_streaming_response.list( @@ -161,6 +173,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -168,6 +181,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: "", ) + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: filter = client.filters.delete( @@ -177,6 +191,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(FirewallFilter, filter, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.filters.with_raw_response.delete( @@ -190,6 +205,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: filter = response.parse() assert_matches_type(FirewallFilter, filter, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.filters.with_streaming_response.delete( @@ -205,6 +221,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -221,6 +238,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: filter = client.filters.get( @@ -229,6 +247,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(FirewallFilter, filter, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.filters.with_raw_response.get( @@ -241,6 +260,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: filter = response.parse() assert_matches_type(FirewallFilter, filter, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.filters.with_streaming_response.get( @@ -255,6 +275,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -273,6 +294,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncFilters: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: filter = await async_client.filters.create( @@ -281,6 +303,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[FilterCreateResponse], filter, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.filters.with_raw_response.create( @@ -293,6 +316,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: filter = await response.parse() assert_matches_type(Optional[FilterCreateResponse], filter, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.filters.with_streaming_response.create( @@ -307,6 +331,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -315,6 +340,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: filter = await async_client.filters.update( @@ -324,6 +350,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(FirewallFilter, filter, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.filters.with_raw_response.update( @@ -337,6 +364,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: filter = await response.parse() assert_matches_type(FirewallFilter, filter, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.filters.with_streaming_response.update( @@ -352,6 +380,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -368,6 +397,7 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: filter = await async_client.filters.list( @@ -375,6 +405,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncV4PagePaginationArray[FirewallFilter], filter, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: filter = await async_client.filters.list( @@ -389,6 +420,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncV4PagePaginationArray[FirewallFilter], filter, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.filters.with_raw_response.list( @@ -400,6 +432,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: filter = await response.parse() assert_matches_type(AsyncV4PagePaginationArray[FirewallFilter], filter, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.filters.with_streaming_response.list( @@ -413,6 +446,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -420,6 +454,7 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: "", ) + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: filter = await async_client.filters.delete( @@ -429,6 +464,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(FirewallFilter, filter, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.filters.with_raw_response.delete( @@ -442,6 +478,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: filter = await response.parse() assert_matches_type(FirewallFilter, filter, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.filters.with_streaming_response.delete( @@ -457,6 +494,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -473,6 +511,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: filter = await async_client.filters.get( @@ -481,6 +520,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(FirewallFilter, filter, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.filters.with_raw_response.get( @@ -493,6 +533,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: filter = await response.parse() assert_matches_type(FirewallFilter, filter, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.filters.with_streaming_response.get( @@ -507,6 +548,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): diff --git a/tests/api_resources/test_healthchecks.py b/tests/api_resources/test_healthchecks.py index a95ab0933d0..9103f49468f 100644 --- a/tests/api_resources/test_healthchecks.py +++ b/tests/api_resources/test_healthchecks.py @@ -21,6 +21,7 @@ class TestHealthchecks: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: healthcheck = client.healthchecks.create( @@ -30,6 +31,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Healthcheck, healthcheck, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: healthcheck = client.healthchecks.create( @@ -65,6 +67,7 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Healthcheck, healthcheck, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.healthchecks.with_raw_response.create( @@ -78,6 +81,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: healthcheck = response.parse() assert_matches_type(Healthcheck, healthcheck, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.healthchecks.with_streaming_response.create( @@ -93,6 +97,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -102,6 +107,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: name="server-1", ) + @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: healthcheck = client.healthchecks.update( @@ -112,6 +118,7 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Healthcheck, healthcheck, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: healthcheck = client.healthchecks.update( @@ -148,6 +155,7 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Healthcheck, healthcheck, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.healthchecks.with_raw_response.update( @@ -162,6 +170,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: healthcheck = response.parse() assert_matches_type(Healthcheck, healthcheck, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.healthchecks.with_streaming_response.update( @@ -178,6 +187,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -196,6 +206,7 @@ def test_path_params_update(self, client: Cloudflare) -> None: name="server-1", ) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: healthcheck = client.healthchecks.list( @@ -203,6 +214,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[Healthcheck], healthcheck, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: healthcheck = client.healthchecks.list( @@ -212,6 +224,7 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[Healthcheck], healthcheck, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.healthchecks.with_raw_response.list( @@ -223,6 +236,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: healthcheck = response.parse() assert_matches_type(SyncSinglePage[Healthcheck], healthcheck, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.healthchecks.with_streaming_response.list( @@ -236,6 +250,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -243,6 +258,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: healthcheck = client.healthchecks.delete( @@ -252,6 +268,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(HealthcheckDeleteResponse, healthcheck, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.healthchecks.with_raw_response.delete( @@ -265,6 +282,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: healthcheck = response.parse() assert_matches_type(HealthcheckDeleteResponse, healthcheck, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.healthchecks.with_streaming_response.delete( @@ -280,6 +298,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -296,6 +315,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: healthcheck = client.healthchecks.edit( @@ -306,6 +326,7 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Healthcheck, healthcheck, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_edit_with_all_params(self, client: Cloudflare) -> None: healthcheck = client.healthchecks.edit( @@ -342,6 +363,7 @@ def test_method_edit_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Healthcheck, healthcheck, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.healthchecks.with_raw_response.edit( @@ -356,6 +378,7 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: healthcheck = response.parse() assert_matches_type(Healthcheck, healthcheck, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.healthchecks.with_streaming_response.edit( @@ -372,6 +395,7 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -390,6 +414,7 @@ def test_path_params_edit(self, client: Cloudflare) -> None: name="server-1", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: healthcheck = client.healthchecks.get( @@ -398,6 +423,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Healthcheck, healthcheck, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.healthchecks.with_raw_response.get( @@ -410,6 +436,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: healthcheck = response.parse() assert_matches_type(Healthcheck, healthcheck, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.healthchecks.with_streaming_response.get( @@ -424,6 +451,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -442,6 +470,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncHealthchecks: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: healthcheck = await async_client.healthchecks.create( @@ -451,6 +480,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Healthcheck, healthcheck, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: healthcheck = await async_client.healthchecks.create( @@ -486,6 +516,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Healthcheck, healthcheck, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.healthchecks.with_raw_response.create( @@ -499,6 +530,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: healthcheck = await response.parse() assert_matches_type(Healthcheck, healthcheck, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.healthchecks.with_streaming_response.create( @@ -514,6 +546,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -523,6 +556,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: name="server-1", ) + @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: healthcheck = await async_client.healthchecks.update( @@ -533,6 +567,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Healthcheck, healthcheck, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: healthcheck = await async_client.healthchecks.update( @@ -569,6 +604,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Healthcheck, healthcheck, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.healthchecks.with_raw_response.update( @@ -583,6 +619,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: healthcheck = await response.parse() assert_matches_type(Healthcheck, healthcheck, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.healthchecks.with_streaming_response.update( @@ -599,6 +636,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -617,6 +655,7 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: name="server-1", ) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: healthcheck = await async_client.healthchecks.list( @@ -624,6 +663,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[Healthcheck], healthcheck, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: healthcheck = await async_client.healthchecks.list( @@ -633,6 +673,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncSinglePage[Healthcheck], healthcheck, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.healthchecks.with_raw_response.list( @@ -644,6 +685,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: healthcheck = await response.parse() assert_matches_type(AsyncSinglePage[Healthcheck], healthcheck, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.healthchecks.with_streaming_response.list( @@ -657,6 +699,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -664,6 +707,7 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: healthcheck = await async_client.healthchecks.delete( @@ -673,6 +717,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(HealthcheckDeleteResponse, healthcheck, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.healthchecks.with_raw_response.delete( @@ -686,6 +731,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: healthcheck = await response.parse() assert_matches_type(HealthcheckDeleteResponse, healthcheck, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.healthchecks.with_streaming_response.delete( @@ -701,6 +747,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -717,6 +764,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: healthcheck = await async_client.healthchecks.edit( @@ -727,6 +775,7 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Healthcheck, healthcheck, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) -> None: healthcheck = await async_client.healthchecks.edit( @@ -763,6 +812,7 @@ async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(Healthcheck, healthcheck, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.healthchecks.with_raw_response.edit( @@ -777,6 +827,7 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: healthcheck = await response.parse() assert_matches_type(Healthcheck, healthcheck, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.healthchecks.with_streaming_response.edit( @@ -793,6 +844,7 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -811,6 +863,7 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: name="server-1", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: healthcheck = await async_client.healthchecks.get( @@ -819,6 +872,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Healthcheck, healthcheck, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.healthchecks.with_raw_response.get( @@ -831,6 +885,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: healthcheck = await response.parse() assert_matches_type(Healthcheck, healthcheck, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.healthchecks.with_streaming_response.get( @@ -845,6 +900,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): diff --git a/tests/api_resources/test_ips.py b/tests/api_resources/test_ips.py index 616c2e39010..b1aeb0d230a 100644 --- a/tests/api_resources/test_ips.py +++ b/tests/api_resources/test_ips.py @@ -17,11 +17,13 @@ class TestIPs: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: ip = client.ips.list() assert_matches_type(IPListResponse, ip, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: ip = client.ips.list( @@ -29,6 +31,7 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(IPListResponse, ip, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.ips.with_raw_response.list() @@ -38,6 +41,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: ip = response.parse() assert_matches_type(IPListResponse, ip, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.ips.with_streaming_response.list() as response: @@ -53,11 +57,13 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: class TestAsyncIPs: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: ip = await async_client.ips.list() assert_matches_type(IPListResponse, ip, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: ip = await async_client.ips.list( @@ -65,6 +71,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(IPListResponse, ip, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.ips.with_raw_response.list() @@ -74,6 +81,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: ip = await response.parse() assert_matches_type(IPListResponse, ip, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.ips.with_streaming_response.list() as response: diff --git a/tests/api_resources/test_keyless_certificates.py b/tests/api_resources/test_keyless_certificates.py index 1b60e76891c..2fda38574ca 100644 --- a/tests/api_resources/test_keyless_certificates.py +++ b/tests/api_resources/test_keyless_certificates.py @@ -21,6 +21,7 @@ class TestKeylessCertificates: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: keyless_certificate = client.keyless_certificates.create( @@ -31,6 +32,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(KeylessCertificate, keyless_certificate, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: keyless_certificate = client.keyless_certificates.create( @@ -47,6 +49,7 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(KeylessCertificate, keyless_certificate, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.keyless_certificates.with_raw_response.create( @@ -61,6 +64,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: keyless_certificate = response.parse() assert_matches_type(KeylessCertificate, keyless_certificate, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.keyless_certificates.with_streaming_response.create( @@ -77,6 +81,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -87,6 +92,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: port=24008, ) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: keyless_certificate = client.keyless_certificates.list( @@ -94,6 +100,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[KeylessCertificate], keyless_certificate, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.keyless_certificates.with_raw_response.list( @@ -105,6 +112,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: keyless_certificate = response.parse() assert_matches_type(SyncSinglePage[KeylessCertificate], keyless_certificate, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.keyless_certificates.with_streaming_response.list( @@ -118,6 +126,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -125,6 +134,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: keyless_certificate = client.keyless_certificates.delete( @@ -134,6 +144,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(KeylessCertificateDeleteResponse, keyless_certificate, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.keyless_certificates.with_raw_response.delete( @@ -147,6 +158,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: keyless_certificate = response.parse() assert_matches_type(KeylessCertificateDeleteResponse, keyless_certificate, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.keyless_certificates.with_streaming_response.delete( @@ -162,6 +174,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -180,6 +193,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: keyless_certificate = client.keyless_certificates.edit( @@ -188,6 +202,7 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(KeylessCertificate, keyless_certificate, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_edit_with_all_params(self, client: Cloudflare) -> None: keyless_certificate = client.keyless_certificates.edit( @@ -204,6 +219,7 @@ def test_method_edit_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(KeylessCertificate, keyless_certificate, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.keyless_certificates.with_raw_response.edit( @@ -216,6 +232,7 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: keyless_certificate = response.parse() assert_matches_type(KeylessCertificate, keyless_certificate, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.keyless_certificates.with_streaming_response.edit( @@ -230,6 +247,7 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -246,6 +264,7 @@ def test_path_params_edit(self, client: Cloudflare) -> None: zone_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: keyless_certificate = client.keyless_certificates.get( @@ -254,6 +273,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(KeylessCertificate, keyless_certificate, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.keyless_certificates.with_raw_response.get( @@ -266,6 +286,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: keyless_certificate = response.parse() assert_matches_type(KeylessCertificate, keyless_certificate, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.keyless_certificates.with_streaming_response.get( @@ -280,6 +301,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -300,6 +322,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncKeylessCertificates: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: keyless_certificate = await async_client.keyless_certificates.create( @@ -310,6 +333,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(KeylessCertificate, keyless_certificate, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: keyless_certificate = await async_client.keyless_certificates.create( @@ -326,6 +350,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(KeylessCertificate, keyless_certificate, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.keyless_certificates.with_raw_response.create( @@ -340,6 +365,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: keyless_certificate = await response.parse() assert_matches_type(KeylessCertificate, keyless_certificate, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.keyless_certificates.with_streaming_response.create( @@ -356,6 +382,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -366,6 +393,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: port=24008, ) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: keyless_certificate = await async_client.keyless_certificates.list( @@ -373,6 +401,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[KeylessCertificate], keyless_certificate, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.keyless_certificates.with_raw_response.list( @@ -384,6 +413,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: keyless_certificate = await response.parse() assert_matches_type(AsyncSinglePage[KeylessCertificate], keyless_certificate, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.keyless_certificates.with_streaming_response.list( @@ -397,6 +427,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -404,6 +435,7 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: keyless_certificate = await async_client.keyless_certificates.delete( @@ -413,6 +445,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(KeylessCertificateDeleteResponse, keyless_certificate, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.keyless_certificates.with_raw_response.delete( @@ -426,6 +459,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: keyless_certificate = await response.parse() assert_matches_type(KeylessCertificateDeleteResponse, keyless_certificate, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.keyless_certificates.with_streaming_response.delete( @@ -441,6 +475,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -459,6 +494,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: keyless_certificate = await async_client.keyless_certificates.edit( @@ -467,6 +503,7 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(KeylessCertificate, keyless_certificate, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) -> None: keyless_certificate = await async_client.keyless_certificates.edit( @@ -483,6 +520,7 @@ async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(KeylessCertificate, keyless_certificate, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.keyless_certificates.with_raw_response.edit( @@ -495,6 +533,7 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: keyless_certificate = await response.parse() assert_matches_type(KeylessCertificate, keyless_certificate, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.keyless_certificates.with_streaming_response.edit( @@ -509,6 +548,7 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -525,6 +565,7 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: zone_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: keyless_certificate = await async_client.keyless_certificates.get( @@ -533,6 +574,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(KeylessCertificate, keyless_certificate, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.keyless_certificates.with_raw_response.get( @@ -545,6 +587,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: keyless_certificate = await response.parse() assert_matches_type(KeylessCertificate, keyless_certificate, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.keyless_certificates.with_streaming_response.get( @@ -559,6 +602,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): diff --git a/tests/api_resources/test_load_balancers.py b/tests/api_resources/test_load_balancers.py index a6a1f7a60f4..e81f848af0b 100644 --- a/tests/api_resources/test_load_balancers.py +++ b/tests/api_resources/test_load_balancers.py @@ -21,6 +21,7 @@ class TestLoadBalancers: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: load_balancer = client.load_balancers.create( @@ -35,6 +36,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(LoadBalancer, load_balancer, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: load_balancer = client.load_balancers.create( @@ -264,6 +266,7 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(LoadBalancer, load_balancer, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.load_balancers.with_raw_response.create( @@ -282,6 +285,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: load_balancer = response.parse() assert_matches_type(LoadBalancer, load_balancer, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.load_balancers.with_streaming_response.create( @@ -302,6 +306,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -316,6 +321,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: name="www.example.com", ) + @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: load_balancer = client.load_balancers.update( @@ -331,6 +337,7 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(LoadBalancer, load_balancer, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: load_balancer = client.load_balancers.update( @@ -562,6 +569,7 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(LoadBalancer, load_balancer, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.load_balancers.with_raw_response.update( @@ -581,6 +589,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: load_balancer = response.parse() assert_matches_type(LoadBalancer, load_balancer, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.load_balancers.with_streaming_response.update( @@ -602,6 +611,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -630,6 +640,7 @@ def test_path_params_update(self, client: Cloudflare) -> None: name="www.example.com", ) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: load_balancer = client.load_balancers.list( @@ -637,6 +648,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[LoadBalancer], load_balancer, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.load_balancers.with_raw_response.list( @@ -648,6 +660,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: load_balancer = response.parse() assert_matches_type(SyncSinglePage[LoadBalancer], load_balancer, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.load_balancers.with_streaming_response.list( @@ -661,6 +674,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -668,6 +682,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: load_balancer = client.load_balancers.delete( @@ -677,6 +692,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(LoadBalancerDeleteResponse, load_balancer, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.load_balancers.with_raw_response.delete( @@ -690,6 +706,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: load_balancer = response.parse() assert_matches_type(LoadBalancerDeleteResponse, load_balancer, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.load_balancers.with_streaming_response.delete( @@ -705,6 +722,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -721,6 +739,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: load_balancer = client.load_balancers.edit( @@ -729,6 +748,7 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(LoadBalancer, load_balancer, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_edit_with_all_params(self, client: Cloudflare) -> None: load_balancer = client.load_balancers.edit( @@ -960,6 +980,7 @@ def test_method_edit_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(LoadBalancer, load_balancer, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.load_balancers.with_raw_response.edit( @@ -972,6 +993,7 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: load_balancer = response.parse() assert_matches_type(LoadBalancer, load_balancer, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.load_balancers.with_streaming_response.edit( @@ -986,6 +1008,7 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -1000,6 +1023,7 @@ def test_path_params_edit(self, client: Cloudflare) -> None: zone_id="699d98642c564d2e855e9661899b7252", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: load_balancer = client.load_balancers.get( @@ -1008,6 +1032,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(LoadBalancer, load_balancer, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.load_balancers.with_raw_response.get( @@ -1020,6 +1045,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: load_balancer = response.parse() assert_matches_type(LoadBalancer, load_balancer, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.load_balancers.with_streaming_response.get( @@ -1034,6 +1060,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -1052,6 +1079,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncLoadBalancers: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: load_balancer = await async_client.load_balancers.create( @@ -1066,6 +1094,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(LoadBalancer, load_balancer, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: load_balancer = await async_client.load_balancers.create( @@ -1295,6 +1324,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(LoadBalancer, load_balancer, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.load_balancers.with_raw_response.create( @@ -1313,6 +1343,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: load_balancer = await response.parse() assert_matches_type(LoadBalancer, load_balancer, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.load_balancers.with_streaming_response.create( @@ -1333,6 +1364,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -1347,6 +1379,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: name="www.example.com", ) + @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: load_balancer = await async_client.load_balancers.update( @@ -1362,6 +1395,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(LoadBalancer, load_balancer, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: load_balancer = await async_client.load_balancers.update( @@ -1593,6 +1627,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(LoadBalancer, load_balancer, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.load_balancers.with_raw_response.update( @@ -1612,6 +1647,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: load_balancer = await response.parse() assert_matches_type(LoadBalancer, load_balancer, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.load_balancers.with_streaming_response.update( @@ -1633,6 +1669,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -1661,6 +1698,7 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: name="www.example.com", ) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: load_balancer = await async_client.load_balancers.list( @@ -1668,6 +1706,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[LoadBalancer], load_balancer, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.load_balancers.with_raw_response.list( @@ -1679,6 +1718,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: load_balancer = await response.parse() assert_matches_type(AsyncSinglePage[LoadBalancer], load_balancer, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.load_balancers.with_streaming_response.list( @@ -1692,6 +1732,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -1699,6 +1740,7 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: load_balancer = await async_client.load_balancers.delete( @@ -1708,6 +1750,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(LoadBalancerDeleteResponse, load_balancer, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.load_balancers.with_raw_response.delete( @@ -1721,6 +1764,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: load_balancer = await response.parse() assert_matches_type(LoadBalancerDeleteResponse, load_balancer, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.load_balancers.with_streaming_response.delete( @@ -1736,6 +1780,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -1752,6 +1797,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: load_balancer = await async_client.load_balancers.edit( @@ -1760,6 +1806,7 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(LoadBalancer, load_balancer, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) -> None: load_balancer = await async_client.load_balancers.edit( @@ -1991,6 +2038,7 @@ async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(LoadBalancer, load_balancer, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.load_balancers.with_raw_response.edit( @@ -2003,6 +2051,7 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: load_balancer = await response.parse() assert_matches_type(LoadBalancer, load_balancer, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.load_balancers.with_streaming_response.edit( @@ -2017,6 +2066,7 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -2031,6 +2081,7 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: zone_id="699d98642c564d2e855e9661899b7252", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: load_balancer = await async_client.load_balancers.get( @@ -2039,6 +2090,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(LoadBalancer, load_balancer, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.load_balancers.with_raw_response.get( @@ -2051,6 +2103,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: load_balancer = await response.parse() assert_matches_type(LoadBalancer, load_balancer, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.load_balancers.with_streaming_response.get( @@ -2065,6 +2118,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): diff --git a/tests/api_resources/test_managed_headers.py b/tests/api_resources/test_managed_headers.py index 0d994140e6c..f84f3910e47 100644 --- a/tests/api_resources/test_managed_headers.py +++ b/tests/api_resources/test_managed_headers.py @@ -20,6 +20,7 @@ class TestManagedHeaders: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: managed_header = client.managed_headers.list( @@ -27,6 +28,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(ManagedHeaderListResponse, managed_header, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.managed_headers.with_raw_response.list( @@ -38,6 +40,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: managed_header = response.parse() assert_matches_type(ManagedHeaderListResponse, managed_header, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.managed_headers.with_streaming_response.list( @@ -51,6 +54,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -58,6 +62,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: managed_header = client.managed_headers.edit( @@ -67,6 +72,7 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(ManagedHeaderEditResponse, managed_header, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.managed_headers.with_raw_response.edit( @@ -80,6 +86,7 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: managed_header = response.parse() assert_matches_type(ManagedHeaderEditResponse, managed_header, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.managed_headers.with_streaming_response.edit( @@ -95,6 +102,7 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -108,6 +116,7 @@ def test_path_params_edit(self, client: Cloudflare) -> None: class TestAsyncManagedHeaders: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: managed_header = await async_client.managed_headers.list( @@ -115,6 +124,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(ManagedHeaderListResponse, managed_header, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.managed_headers.with_raw_response.list( @@ -126,6 +136,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: managed_header = await response.parse() assert_matches_type(ManagedHeaderListResponse, managed_header, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.managed_headers.with_streaming_response.list( @@ -139,6 +150,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -146,6 +158,7 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: managed_header = await async_client.managed_headers.edit( @@ -155,6 +168,7 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(ManagedHeaderEditResponse, managed_header, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.managed_headers.with_raw_response.edit( @@ -168,6 +182,7 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: managed_header = await response.parse() assert_matches_type(ManagedHeaderEditResponse, managed_header, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.managed_headers.with_streaming_response.edit( @@ -183,6 +198,7 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): diff --git a/tests/api_resources/test_memberships.py b/tests/api_resources/test_memberships.py index 9937a207dbd..e4e6916b468 100644 --- a/tests/api_resources/test_memberships.py +++ b/tests/api_resources/test_memberships.py @@ -23,6 +23,7 @@ class TestMemberships: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: membership = client.memberships.update( @@ -31,6 +32,7 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(MembershipUpdateResponse, membership, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.memberships.with_raw_response.update( @@ -43,6 +45,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: membership = response.parse() assert_matches_type(MembershipUpdateResponse, membership, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.memberships.with_streaming_response.update( @@ -57,6 +60,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `membership_id` but received ''"): @@ -65,11 +69,13 @@ def test_path_params_update(self, client: Cloudflare) -> None: status="accepted", ) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: membership = client.memberships.list() assert_matches_type(SyncV4PagePaginationArray[Membership], membership, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: membership = client.memberships.list( @@ -83,6 +89,7 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePaginationArray[Membership], membership, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.memberships.with_raw_response.list() @@ -92,6 +99,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: membership = response.parse() assert_matches_type(SyncV4PagePaginationArray[Membership], membership, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.memberships.with_streaming_response.list() as response: @@ -103,6 +111,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: membership = client.memberships.delete( @@ -111,6 +120,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(MembershipDeleteResponse, membership, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.memberships.with_raw_response.delete( @@ -123,6 +133,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: membership = response.parse() assert_matches_type(MembershipDeleteResponse, membership, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.memberships.with_streaming_response.delete( @@ -137,6 +148,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `membership_id` but received ''"): @@ -145,6 +157,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: membership = client.memberships.get( @@ -152,6 +165,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(MembershipGetResponse, membership, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.memberships.with_raw_response.get( @@ -163,6 +177,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: membership = response.parse() assert_matches_type(MembershipGetResponse, membership, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.memberships.with_streaming_response.get( @@ -176,6 +191,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `membership_id` but received ''"): @@ -187,6 +203,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncMemberships: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: membership = await async_client.memberships.update( @@ -195,6 +212,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(MembershipUpdateResponse, membership, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.memberships.with_raw_response.update( @@ -207,6 +225,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: membership = await response.parse() assert_matches_type(MembershipUpdateResponse, membership, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.memberships.with_streaming_response.update( @@ -221,6 +240,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `membership_id` but received ''"): @@ -229,11 +249,13 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: status="accepted", ) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: membership = await async_client.memberships.list() assert_matches_type(AsyncV4PagePaginationArray[Membership], membership, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: membership = await async_client.memberships.list( @@ -247,6 +269,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncV4PagePaginationArray[Membership], membership, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.memberships.with_raw_response.list() @@ -256,6 +279,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: membership = await response.parse() assert_matches_type(AsyncV4PagePaginationArray[Membership], membership, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.memberships.with_streaming_response.list() as response: @@ -267,6 +291,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: membership = await async_client.memberships.delete( @@ -275,6 +300,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(MembershipDeleteResponse, membership, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.memberships.with_raw_response.delete( @@ -287,6 +313,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: membership = await response.parse() assert_matches_type(MembershipDeleteResponse, membership, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.memberships.with_streaming_response.delete( @@ -301,6 +328,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `membership_id` but received ''"): @@ -309,6 +337,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: membership = await async_client.memberships.get( @@ -316,6 +345,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(MembershipGetResponse, membership, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.memberships.with_raw_response.get( @@ -327,6 +357,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: membership = await response.parse() assert_matches_type(MembershipGetResponse, membership, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.memberships.with_streaming_response.get( @@ -340,6 +371,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `membership_id` but received ''"): diff --git a/tests/api_resources/test_mtls_certificates.py b/tests/api_resources/test_mtls_certificates.py index e6a54a2ff5d..9ea40b98793 100644 --- a/tests/api_resources/test_mtls_certificates.py +++ b/tests/api_resources/test_mtls_certificates.py @@ -21,6 +21,7 @@ class TestMTLSCertificates: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: mtls_certificate = client.mtls_certificates.create( @@ -30,6 +31,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(MTLSCertificateCreateResponse, mtls_certificate, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: mtls_certificate = client.mtls_certificates.create( @@ -41,6 +43,7 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(MTLSCertificateCreateResponse, mtls_certificate, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.mtls_certificates.with_raw_response.create( @@ -54,6 +57,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: mtls_certificate = response.parse() assert_matches_type(MTLSCertificateCreateResponse, mtls_certificate, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.mtls_certificates.with_streaming_response.create( @@ -69,6 +73,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -78,6 +83,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: certificates="-----BEGIN CERTIFICATE-----\nMIIDmDCCAoCgAwIBAgIUKTOAZNjcXVZRj4oQt0SHsl1c1vMwDQYJKoZIhvcNAQELBQAwUTELMAkGA1UEBhMCVVMxFjAUBgNVBAgMDVNhbiBGcmFuY2lzY28xEzARBgNVBAcMCkNhbGlmb3JuaWExFTATBgNVBAoMDEV4YW1wbGUgSW5jLjAgFw0yMjExMjIxNjU5NDdaGA8yMTIyMTAyOTE2NTk0N1owUTELMAkGA1UEBhMCVVMxFjAUBgNVBAgMDVNhbiBGcmFuY2lzY28xEzARBgNVBAcMCkNhbGlmb3JuaWExFTATBgNVBAoMDEV4YW1wbGUgSW5jLjCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMRcORwgJFTdcG/2GKI+cFYiOBNDKjCZUXEOvXWY42BkH9wxiMT869CO+enA1w5pIrXow6kCM1sQspHHaVmJUlotEMJxyoLFfA/8Kt1EKFyobOjuZs2SwyVyJ2sStvQuUQEosULZCNGZEqoH5g6zhMPxaxm7ZLrrsDZ9maNGVqo7EWLWHrZ57Q/5MtTrbxQL+eXjUmJ9K3kS+3uEwMdqR6Z3BluU1ivanpPc1CN2GNhdO0/hSY4YkGEnuLsqJyDd3cIiB1MxuCBJ4ZaqOd2viV1WcP3oU3dxVPm4MWyfYIldMWB14FahScxLhWdRnM9YZ/i9IFcLypXsuz7DjrJPtPUCAwEAAaNmMGQwHQYDVR0OBBYEFP5JzLUawNF+c3AXsYTEWHh7z2czMB8GA1UdIwQYMBaAFP5JzLUawNF+c3AXsYTEWHh7z2czMA4GA1UdDwEB/wQEAwIBBjASBgNVHRMBAf8ECDAGAQH/AgEBMA0GCSqGSIb3DQEBCwUAA4IBAQBc+Be7NDhpE09y7hLPZGRPl1cSKBw4RI0XIv6rlbSTFs5EebpTGjhx/whNxwEZhB9HZ7111Oa1YlT8xkI9DshB78mjAHCKBAJ76moK8tkG0aqdYpJ4ZcJTVBB7l98Rvgc7zfTii7WemTy72deBbSeiEtXavm4EF0mWjHhQ5Nxpnp00Bqn5g1x8CyTDypgmugnep+xG+iFzNmTdsz7WI9T/7kDMXqB7M/FPWBORyS98OJqNDswCLF8bIZYwUBEe+bRHFomoShMzaC3tvim7WCb16noDkSTMlfKO4pnvKhpcVdSgwcruATV7y+W+Lvmz2OT/Gui4JhqeoTewsxndhDDE\n-----END CERTIFICATE-----", ) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: mtls_certificate = client.mtls_certificates.list( @@ -85,6 +91,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[MTLSCertificate], mtls_certificate, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.mtls_certificates.with_raw_response.list( @@ -96,6 +103,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: mtls_certificate = response.parse() assert_matches_type(SyncSinglePage[MTLSCertificate], mtls_certificate, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.mtls_certificates.with_streaming_response.list( @@ -109,6 +117,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -116,6 +125,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: mtls_certificate = client.mtls_certificates.delete( @@ -125,6 +135,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(MTLSCertificate, mtls_certificate, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.mtls_certificates.with_raw_response.delete( @@ -138,6 +149,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: mtls_certificate = response.parse() assert_matches_type(MTLSCertificate, mtls_certificate, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.mtls_certificates.with_streaming_response.delete( @@ -153,6 +165,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -169,6 +182,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: mtls_certificate = client.mtls_certificates.get( @@ -177,6 +191,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(MTLSCertificate, mtls_certificate, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.mtls_certificates.with_raw_response.get( @@ -189,6 +204,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: mtls_certificate = response.parse() assert_matches_type(MTLSCertificate, mtls_certificate, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.mtls_certificates.with_streaming_response.get( @@ -203,6 +219,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -221,6 +238,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncMTLSCertificates: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: mtls_certificate = await async_client.mtls_certificates.create( @@ -230,6 +248,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(MTLSCertificateCreateResponse, mtls_certificate, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: mtls_certificate = await async_client.mtls_certificates.create( @@ -241,6 +260,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(MTLSCertificateCreateResponse, mtls_certificate, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.mtls_certificates.with_raw_response.create( @@ -254,6 +274,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: mtls_certificate = await response.parse() assert_matches_type(MTLSCertificateCreateResponse, mtls_certificate, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.mtls_certificates.with_streaming_response.create( @@ -269,6 +290,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -278,6 +300,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: certificates="-----BEGIN CERTIFICATE-----\nMIIDmDCCAoCgAwIBAgIUKTOAZNjcXVZRj4oQt0SHsl1c1vMwDQYJKoZIhvcNAQELBQAwUTELMAkGA1UEBhMCVVMxFjAUBgNVBAgMDVNhbiBGcmFuY2lzY28xEzARBgNVBAcMCkNhbGlmb3JuaWExFTATBgNVBAoMDEV4YW1wbGUgSW5jLjAgFw0yMjExMjIxNjU5NDdaGA8yMTIyMTAyOTE2NTk0N1owUTELMAkGA1UEBhMCVVMxFjAUBgNVBAgMDVNhbiBGcmFuY2lzY28xEzARBgNVBAcMCkNhbGlmb3JuaWExFTATBgNVBAoMDEV4YW1wbGUgSW5jLjCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMRcORwgJFTdcG/2GKI+cFYiOBNDKjCZUXEOvXWY42BkH9wxiMT869CO+enA1w5pIrXow6kCM1sQspHHaVmJUlotEMJxyoLFfA/8Kt1EKFyobOjuZs2SwyVyJ2sStvQuUQEosULZCNGZEqoH5g6zhMPxaxm7ZLrrsDZ9maNGVqo7EWLWHrZ57Q/5MtTrbxQL+eXjUmJ9K3kS+3uEwMdqR6Z3BluU1ivanpPc1CN2GNhdO0/hSY4YkGEnuLsqJyDd3cIiB1MxuCBJ4ZaqOd2viV1WcP3oU3dxVPm4MWyfYIldMWB14FahScxLhWdRnM9YZ/i9IFcLypXsuz7DjrJPtPUCAwEAAaNmMGQwHQYDVR0OBBYEFP5JzLUawNF+c3AXsYTEWHh7z2czMB8GA1UdIwQYMBaAFP5JzLUawNF+c3AXsYTEWHh7z2czMA4GA1UdDwEB/wQEAwIBBjASBgNVHRMBAf8ECDAGAQH/AgEBMA0GCSqGSIb3DQEBCwUAA4IBAQBc+Be7NDhpE09y7hLPZGRPl1cSKBw4RI0XIv6rlbSTFs5EebpTGjhx/whNxwEZhB9HZ7111Oa1YlT8xkI9DshB78mjAHCKBAJ76moK8tkG0aqdYpJ4ZcJTVBB7l98Rvgc7zfTii7WemTy72deBbSeiEtXavm4EF0mWjHhQ5Nxpnp00Bqn5g1x8CyTDypgmugnep+xG+iFzNmTdsz7WI9T/7kDMXqB7M/FPWBORyS98OJqNDswCLF8bIZYwUBEe+bRHFomoShMzaC3tvim7WCb16noDkSTMlfKO4pnvKhpcVdSgwcruATV7y+W+Lvmz2OT/Gui4JhqeoTewsxndhDDE\n-----END CERTIFICATE-----", ) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: mtls_certificate = await async_client.mtls_certificates.list( @@ -285,6 +308,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[MTLSCertificate], mtls_certificate, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.mtls_certificates.with_raw_response.list( @@ -296,6 +320,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: mtls_certificate = await response.parse() assert_matches_type(AsyncSinglePage[MTLSCertificate], mtls_certificate, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.mtls_certificates.with_streaming_response.list( @@ -309,6 +334,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -316,6 +342,7 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: mtls_certificate = await async_client.mtls_certificates.delete( @@ -325,6 +352,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(MTLSCertificate, mtls_certificate, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.mtls_certificates.with_raw_response.delete( @@ -338,6 +366,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: mtls_certificate = await response.parse() assert_matches_type(MTLSCertificate, mtls_certificate, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.mtls_certificates.with_streaming_response.delete( @@ -353,6 +382,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -369,6 +399,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: mtls_certificate = await async_client.mtls_certificates.get( @@ -377,6 +408,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(MTLSCertificate, mtls_certificate, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.mtls_certificates.with_raw_response.get( @@ -389,6 +421,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: mtls_certificate = await response.parse() assert_matches_type(MTLSCertificate, mtls_certificate, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.mtls_certificates.with_streaming_response.get( @@ -403,6 +436,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/test_origin_ca_certificates.py b/tests/api_resources/test_origin_ca_certificates.py index 714c2e0f75b..f079d8895bd 100644 --- a/tests/api_resources/test_origin_ca_certificates.py +++ b/tests/api_resources/test_origin_ca_certificates.py @@ -23,11 +23,13 @@ class TestOriginCACertificates: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: origin_ca_certificate = client.origin_ca_certificates.create() assert_matches_type(OriginCACertificateCreateResponse, origin_ca_certificate, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: origin_ca_certificate = client.origin_ca_certificates.create( @@ -38,6 +40,7 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(OriginCACertificateCreateResponse, origin_ca_certificate, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.origin_ca_certificates.with_raw_response.create() @@ -47,6 +50,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: origin_ca_certificate = response.parse() assert_matches_type(OriginCACertificateCreateResponse, origin_ca_certificate, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.origin_ca_certificates.with_streaming_response.create() as response: @@ -58,11 +62,13 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: origin_ca_certificate = client.origin_ca_certificates.list() assert_matches_type(SyncSinglePage[OriginCACertificate], origin_ca_certificate, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: origin_ca_certificate = client.origin_ca_certificates.list( @@ -70,6 +76,7 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[OriginCACertificate], origin_ca_certificate, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.origin_ca_certificates.with_raw_response.list() @@ -79,6 +86,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: origin_ca_certificate = response.parse() assert_matches_type(SyncSinglePage[OriginCACertificate], origin_ca_certificate, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.origin_ca_certificates.with_streaming_response.list() as response: @@ -90,6 +98,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: origin_ca_certificate = client.origin_ca_certificates.delete( @@ -98,6 +107,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(OriginCACertificateDeleteResponse, origin_ca_certificate, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.origin_ca_certificates.with_raw_response.delete( @@ -110,6 +120,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: origin_ca_certificate = response.parse() assert_matches_type(OriginCACertificateDeleteResponse, origin_ca_certificate, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.origin_ca_certificates.with_streaming_response.delete( @@ -124,6 +135,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `certificate_id` but received ''"): @@ -132,6 +144,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: origin_ca_certificate = client.origin_ca_certificates.get( @@ -139,6 +152,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(OriginCACertificateGetResponse, origin_ca_certificate, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.origin_ca_certificates.with_raw_response.get( @@ -150,6 +164,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: origin_ca_certificate = response.parse() assert_matches_type(OriginCACertificateGetResponse, origin_ca_certificate, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.origin_ca_certificates.with_streaming_response.get( @@ -163,6 +178,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `certificate_id` but received ''"): @@ -174,11 +190,13 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncOriginCACertificates: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: origin_ca_certificate = await async_client.origin_ca_certificates.create() assert_matches_type(OriginCACertificateCreateResponse, origin_ca_certificate, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: origin_ca_certificate = await async_client.origin_ca_certificates.create( @@ -189,6 +207,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(OriginCACertificateCreateResponse, origin_ca_certificate, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.origin_ca_certificates.with_raw_response.create() @@ -198,6 +217,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: origin_ca_certificate = await response.parse() assert_matches_type(OriginCACertificateCreateResponse, origin_ca_certificate, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.origin_ca_certificates.with_streaming_response.create() as response: @@ -209,11 +229,13 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: origin_ca_certificate = await async_client.origin_ca_certificates.list() assert_matches_type(AsyncSinglePage[OriginCACertificate], origin_ca_certificate, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: origin_ca_certificate = await async_client.origin_ca_certificates.list( @@ -221,6 +243,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncSinglePage[OriginCACertificate], origin_ca_certificate, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.origin_ca_certificates.with_raw_response.list() @@ -230,6 +253,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: origin_ca_certificate = await response.parse() assert_matches_type(AsyncSinglePage[OriginCACertificate], origin_ca_certificate, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.origin_ca_certificates.with_streaming_response.list() as response: @@ -241,6 +265,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: origin_ca_certificate = await async_client.origin_ca_certificates.delete( @@ -249,6 +274,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(OriginCACertificateDeleteResponse, origin_ca_certificate, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.origin_ca_certificates.with_raw_response.delete( @@ -261,6 +287,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: origin_ca_certificate = await response.parse() assert_matches_type(OriginCACertificateDeleteResponse, origin_ca_certificate, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.origin_ca_certificates.with_streaming_response.delete( @@ -275,6 +302,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `certificate_id` but received ''"): @@ -283,6 +311,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: origin_ca_certificate = await async_client.origin_ca_certificates.get( @@ -290,6 +319,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(OriginCACertificateGetResponse, origin_ca_certificate, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.origin_ca_certificates.with_raw_response.get( @@ -301,6 +331,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: origin_ca_certificate = await response.parse() assert_matches_type(OriginCACertificateGetResponse, origin_ca_certificate, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.origin_ca_certificates.with_streaming_response.get( @@ -314,6 +345,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `certificate_id` but received ''"): diff --git a/tests/api_resources/test_origin_post_quantum_encryption.py b/tests/api_resources/test_origin_post_quantum_encryption.py index 3e5979e4cde..0c73b6de410 100644 --- a/tests/api_resources/test_origin_post_quantum_encryption.py +++ b/tests/api_resources/test_origin_post_quantum_encryption.py @@ -20,6 +20,7 @@ class TestOriginPostQuantumEncryption: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: origin_post_quantum_encryption = client.origin_post_quantum_encryption.update( @@ -30,6 +31,7 @@ def test_method_update(self, client: Cloudflare) -> None: OriginPostQuantumEncryptionUpdateResponse, origin_post_quantum_encryption, path=["response"] ) + @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.origin_post_quantum_encryption.with_raw_response.update( @@ -44,6 +46,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: OriginPostQuantumEncryptionUpdateResponse, origin_post_quantum_encryption, path=["response"] ) + @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.origin_post_quantum_encryption.with_streaming_response.update( @@ -60,6 +63,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -68,6 +72,7 @@ def test_path_params_update(self, client: Cloudflare) -> None: value="preferred", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: origin_post_quantum_encryption = client.origin_post_quantum_encryption.get( @@ -75,6 +80,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(OriginPostQuantumEncryptionGetResponse, origin_post_quantum_encryption, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.origin_post_quantum_encryption.with_raw_response.get( @@ -86,6 +92,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: origin_post_quantum_encryption = response.parse() assert_matches_type(OriginPostQuantumEncryptionGetResponse, origin_post_quantum_encryption, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.origin_post_quantum_encryption.with_streaming_response.get( @@ -101,6 +108,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -112,6 +120,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncOriginPostQuantumEncryption: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: origin_post_quantum_encryption = await async_client.origin_post_quantum_encryption.update( @@ -122,6 +131,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: OriginPostQuantumEncryptionUpdateResponse, origin_post_quantum_encryption, path=["response"] ) + @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.origin_post_quantum_encryption.with_raw_response.update( @@ -136,6 +146,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: OriginPostQuantumEncryptionUpdateResponse, origin_post_quantum_encryption, path=["response"] ) + @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.origin_post_quantum_encryption.with_streaming_response.update( @@ -152,6 +163,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -160,6 +172,7 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: value="preferred", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: origin_post_quantum_encryption = await async_client.origin_post_quantum_encryption.get( @@ -167,6 +180,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(OriginPostQuantumEncryptionGetResponse, origin_post_quantum_encryption, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.origin_post_quantum_encryption.with_raw_response.get( @@ -178,6 +192,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: origin_post_quantum_encryption = await response.parse() assert_matches_type(OriginPostQuantumEncryptionGetResponse, origin_post_quantum_encryption, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.origin_post_quantum_encryption.with_streaming_response.get( @@ -193,6 +208,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): diff --git a/tests/api_resources/test_origin_tls_client_auth.py b/tests/api_resources/test_origin_tls_client_auth.py index 2f696f1eebb..04089145986 100644 --- a/tests/api_resources/test_origin_tls_client_auth.py +++ b/tests/api_resources/test_origin_tls_client_auth.py @@ -23,6 +23,7 @@ class TestOriginTLSClientAuth: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: origin_tls_client_auth = client.origin_tls_client_auth.create( @@ -32,6 +33,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(OriginTLSClientAuthCreateResponse, origin_tls_client_auth, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.origin_tls_client_auth.with_raw_response.create( @@ -45,6 +47,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: origin_tls_client_auth = response.parse() assert_matches_type(OriginTLSClientAuthCreateResponse, origin_tls_client_auth, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.origin_tls_client_auth.with_streaming_response.create( @@ -60,6 +63,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -69,6 +73,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: private_key="-----BEGIN RSA PRIVATE KEY-----\nMIIEowIBAAKCAQEAwQHoetcl9+5ikGzV6cMzWtWPJHqXT3wpbEkRU9Yz7lgvddmG\ndtcGbg/1CGZu0jJGkMoppoUo4c3dts3iwqRYmBikUP77wwY2QGmDZw2FvkJCJlKn\nabIRuGvBKwzESIXgKk2016aTP6/dAjEHyo6SeoK8lkIySUvK0fyOVlsiEsCmOpid\ntnKX/a+50GjB79CJH4ER2lLVZnhePFR/zUOyPxZQQ4naHf7yu/b5jhO0f8fwt+py\nFxIXjbEIdZliWRkRMtzrHOJIhrmJ2A1J7iOrirbbwillwjjNVUWPf3IJ3M12S9pE\newooaeO2izNTERcG9HzAacbVRn2Y2SWIyT/18QIDAQABAoIBACbhTYXBZYKmYPCb\nHBR1IBlCQA2nLGf0qRuJNJZg5iEzXows/6tc8YymZkQE7nolapWsQ+upk2y5Xdp/\naxiuprIs9JzkYK8Ox0r+dlwCG1kSW+UAbX0bQ/qUqlsTvU6muVuMP8vZYHxJ3wmb\n+ufRBKztPTQ/rYWaYQcgC0RWI20HTFBMxlTAyNxYNWzX7RKFkGVVyB9RsAtmcc8g\n+j4OdosbfNoJPS0HeIfNpAznDfHKdxDk2Yc1tV6RHBrC1ynyLE9+TaflIAdo2MVv\nKLMLq51GqYKtgJFIlBRPQqKoyXdz3fGvXrTkf/WY9QNq0J1Vk5ERePZ54mN8iZB7\n9lwy/AkCgYEA6FXzosxswaJ2wQLeoYc7ceaweX/SwTvxHgXzRyJIIT0eJWgx13Wo\n/WA3Iziimsjf6qE+SI/8laxPp2A86VMaIt3Z3mJN/CqSVGw8LK2AQst+OwdPyDMu\niacE8lj/IFGC8mwNUAb9CzGU3JpU4PxxGFjS/eMtGeRXCWkK4NE+G08CgYEA1Kp9\nN2JrVlqUz+gAX+LPmE9OEMAS9WQSQsfCHGogIFDGGcNf7+uwBM7GAaSJIP01zcoe\nVAgWdzXCv3FLhsaZoJ6RyLOLay5phbu1iaTr4UNYm5WtYTzMzqh8l1+MFFDl9xDB\nvULuCIIrglM5MeS/qnSg1uMoH2oVPj9TVst/ir8CgYEAxrI7Ws9Zc4Bt70N1As+U\nlySjaEVZCMkqvHJ6TCuVZFfQoE0r0whdLdRLU2PsLFP+q7qaeZQqgBaNSKeVcDYR\n9B+nY/jOmQoPewPVsp/vQTCnE/R81spu0mp0YI6cIheT1Z9zAy322svcc43JaWB7\nmEbeqyLOP4Z4qSOcmghZBSECgYACvR9Xs0DGn+wCsW4vze/2ei77MD4OQvepPIFX\ndFZtlBy5ADcgE9z0cuVB6CiL8DbdK5kwY9pGNr8HUCI03iHkW6Zs+0L0YmihfEVe\nPG19PSzK9CaDdhD9KFZSbLyVFmWfxOt50H7YRTTiPMgjyFpfi5j2q348yVT0tEQS\nfhRqaQKBgAcWPokmJ7EbYQGeMbS7HC8eWO/RyamlnSffdCdSc7ue3zdVJxpAkQ8W\nqu80pEIF6raIQfAf8MXiiZ7auFOSnHQTXUbhCpvDLKi0Mwq3G8Pl07l+2s6dQG6T\nlv6XTQaMyf6n1yjzL+fzDrH3qXMxHMO/b13EePXpDMpY7HQpoLDi\n-----END RSA PRIVATE KEY-----\n", ) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: origin_tls_client_auth = client.origin_tls_client_auth.list( @@ -76,6 +81,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[ZoneAuthenticatedOriginPull], origin_tls_client_auth, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.origin_tls_client_auth.with_raw_response.list( @@ -87,6 +93,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: origin_tls_client_auth = response.parse() assert_matches_type(SyncSinglePage[ZoneAuthenticatedOriginPull], origin_tls_client_auth, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.origin_tls_client_auth.with_streaming_response.list( @@ -100,6 +107,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -107,6 +115,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: origin_tls_client_auth = client.origin_tls_client_auth.delete( @@ -116,6 +125,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(OriginTLSClientAuthDeleteResponse, origin_tls_client_auth, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.origin_tls_client_auth.with_raw_response.delete( @@ -129,6 +139,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: origin_tls_client_auth = response.parse() assert_matches_type(OriginTLSClientAuthDeleteResponse, origin_tls_client_auth, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.origin_tls_client_auth.with_streaming_response.delete( @@ -144,6 +155,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -160,6 +172,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: origin_tls_client_auth = client.origin_tls_client_auth.get( @@ -168,6 +181,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(OriginTLSClientAuthGetResponse, origin_tls_client_auth, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.origin_tls_client_auth.with_raw_response.get( @@ -180,6 +194,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: origin_tls_client_auth = response.parse() assert_matches_type(OriginTLSClientAuthGetResponse, origin_tls_client_auth, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.origin_tls_client_auth.with_streaming_response.get( @@ -194,6 +209,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -212,6 +228,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncOriginTLSClientAuth: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: origin_tls_client_auth = await async_client.origin_tls_client_auth.create( @@ -221,6 +238,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(OriginTLSClientAuthCreateResponse, origin_tls_client_auth, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.origin_tls_client_auth.with_raw_response.create( @@ -234,6 +252,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: origin_tls_client_auth = await response.parse() assert_matches_type(OriginTLSClientAuthCreateResponse, origin_tls_client_auth, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.origin_tls_client_auth.with_streaming_response.create( @@ -249,6 +268,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -258,6 +278,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: private_key="-----BEGIN RSA PRIVATE KEY-----\nMIIEowIBAAKCAQEAwQHoetcl9+5ikGzV6cMzWtWPJHqXT3wpbEkRU9Yz7lgvddmG\ndtcGbg/1CGZu0jJGkMoppoUo4c3dts3iwqRYmBikUP77wwY2QGmDZw2FvkJCJlKn\nabIRuGvBKwzESIXgKk2016aTP6/dAjEHyo6SeoK8lkIySUvK0fyOVlsiEsCmOpid\ntnKX/a+50GjB79CJH4ER2lLVZnhePFR/zUOyPxZQQ4naHf7yu/b5jhO0f8fwt+py\nFxIXjbEIdZliWRkRMtzrHOJIhrmJ2A1J7iOrirbbwillwjjNVUWPf3IJ3M12S9pE\newooaeO2izNTERcG9HzAacbVRn2Y2SWIyT/18QIDAQABAoIBACbhTYXBZYKmYPCb\nHBR1IBlCQA2nLGf0qRuJNJZg5iEzXows/6tc8YymZkQE7nolapWsQ+upk2y5Xdp/\naxiuprIs9JzkYK8Ox0r+dlwCG1kSW+UAbX0bQ/qUqlsTvU6muVuMP8vZYHxJ3wmb\n+ufRBKztPTQ/rYWaYQcgC0RWI20HTFBMxlTAyNxYNWzX7RKFkGVVyB9RsAtmcc8g\n+j4OdosbfNoJPS0HeIfNpAznDfHKdxDk2Yc1tV6RHBrC1ynyLE9+TaflIAdo2MVv\nKLMLq51GqYKtgJFIlBRPQqKoyXdz3fGvXrTkf/WY9QNq0J1Vk5ERePZ54mN8iZB7\n9lwy/AkCgYEA6FXzosxswaJ2wQLeoYc7ceaweX/SwTvxHgXzRyJIIT0eJWgx13Wo\n/WA3Iziimsjf6qE+SI/8laxPp2A86VMaIt3Z3mJN/CqSVGw8LK2AQst+OwdPyDMu\niacE8lj/IFGC8mwNUAb9CzGU3JpU4PxxGFjS/eMtGeRXCWkK4NE+G08CgYEA1Kp9\nN2JrVlqUz+gAX+LPmE9OEMAS9WQSQsfCHGogIFDGGcNf7+uwBM7GAaSJIP01zcoe\nVAgWdzXCv3FLhsaZoJ6RyLOLay5phbu1iaTr4UNYm5WtYTzMzqh8l1+MFFDl9xDB\nvULuCIIrglM5MeS/qnSg1uMoH2oVPj9TVst/ir8CgYEAxrI7Ws9Zc4Bt70N1As+U\nlySjaEVZCMkqvHJ6TCuVZFfQoE0r0whdLdRLU2PsLFP+q7qaeZQqgBaNSKeVcDYR\n9B+nY/jOmQoPewPVsp/vQTCnE/R81spu0mp0YI6cIheT1Z9zAy322svcc43JaWB7\nmEbeqyLOP4Z4qSOcmghZBSECgYACvR9Xs0DGn+wCsW4vze/2ei77MD4OQvepPIFX\ndFZtlBy5ADcgE9z0cuVB6CiL8DbdK5kwY9pGNr8HUCI03iHkW6Zs+0L0YmihfEVe\nPG19PSzK9CaDdhD9KFZSbLyVFmWfxOt50H7YRTTiPMgjyFpfi5j2q348yVT0tEQS\nfhRqaQKBgAcWPokmJ7EbYQGeMbS7HC8eWO/RyamlnSffdCdSc7ue3zdVJxpAkQ8W\nqu80pEIF6raIQfAf8MXiiZ7auFOSnHQTXUbhCpvDLKi0Mwq3G8Pl07l+2s6dQG6T\nlv6XTQaMyf6n1yjzL+fzDrH3qXMxHMO/b13EePXpDMpY7HQpoLDi\n-----END RSA PRIVATE KEY-----\n", ) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: origin_tls_client_auth = await async_client.origin_tls_client_auth.list( @@ -265,6 +286,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[ZoneAuthenticatedOriginPull], origin_tls_client_auth, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.origin_tls_client_auth.with_raw_response.list( @@ -276,6 +298,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: origin_tls_client_auth = await response.parse() assert_matches_type(AsyncSinglePage[ZoneAuthenticatedOriginPull], origin_tls_client_auth, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.origin_tls_client_auth.with_streaming_response.list( @@ -289,6 +312,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -296,6 +320,7 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: origin_tls_client_auth = await async_client.origin_tls_client_auth.delete( @@ -305,6 +330,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(OriginTLSClientAuthDeleteResponse, origin_tls_client_auth, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.origin_tls_client_auth.with_raw_response.delete( @@ -318,6 +344,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: origin_tls_client_auth = await response.parse() assert_matches_type(OriginTLSClientAuthDeleteResponse, origin_tls_client_auth, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.origin_tls_client_auth.with_streaming_response.delete( @@ -333,6 +360,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -349,6 +377,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: origin_tls_client_auth = await async_client.origin_tls_client_auth.get( @@ -357,6 +386,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(OriginTLSClientAuthGetResponse, origin_tls_client_auth, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.origin_tls_client_auth.with_raw_response.get( @@ -369,6 +399,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: origin_tls_client_auth = await response.parse() assert_matches_type(OriginTLSClientAuthGetResponse, origin_tls_client_auth, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.origin_tls_client_auth.with_streaming_response.get( @@ -383,6 +414,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): diff --git a/tests/api_resources/test_page_shield.py b/tests/api_resources/test_page_shield.py index 9e7112a8b9c..d8460c4c9e2 100644 --- a/tests/api_resources/test_page_shield.py +++ b/tests/api_resources/test_page_shield.py @@ -17,6 +17,7 @@ class TestPageShield: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: page_shield = client.page_shield.update( @@ -24,6 +25,7 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(PageShieldUpdateResponse, page_shield, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: page_shield = client.page_shield.update( @@ -34,6 +36,7 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(PageShieldUpdateResponse, page_shield, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.page_shield.with_raw_response.update( @@ -45,6 +48,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: page_shield = response.parse() assert_matches_type(PageShieldUpdateResponse, page_shield, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.page_shield.with_streaming_response.update( @@ -58,6 +62,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -65,6 +70,7 @@ def test_path_params_update(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: page_shield = client.page_shield.get( @@ -72,6 +78,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Setting, page_shield, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.page_shield.with_raw_response.get( @@ -83,6 +90,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: page_shield = response.parse() assert_matches_type(Setting, page_shield, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.page_shield.with_streaming_response.get( @@ -96,6 +104,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -107,6 +116,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncPageShield: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: page_shield = await async_client.page_shield.update( @@ -114,6 +124,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(PageShieldUpdateResponse, page_shield, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: page_shield = await async_client.page_shield.update( @@ -124,6 +135,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(PageShieldUpdateResponse, page_shield, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.page_shield.with_raw_response.update( @@ -135,6 +147,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: page_shield = await response.parse() assert_matches_type(PageShieldUpdateResponse, page_shield, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.page_shield.with_streaming_response.update( @@ -148,6 +161,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -155,6 +169,7 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: page_shield = await async_client.page_shield.get( @@ -162,6 +177,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Setting, page_shield, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.page_shield.with_raw_response.get( @@ -173,6 +189,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: page_shield = await response.parse() assert_matches_type(Setting, page_shield, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.page_shield.with_streaming_response.get( @@ -186,6 +203,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): diff --git a/tests/api_resources/test_pagerules.py b/tests/api_resources/test_pagerules.py index 308b7e8cc58..b665a87ea0e 100644 --- a/tests/api_resources/test_pagerules.py +++ b/tests/api_resources/test_pagerules.py @@ -24,6 +24,7 @@ class TestPagerules: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: pagerule = client.pagerules.create( @@ -41,6 +42,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(PageruleCreateResponse, pagerule, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: pagerule = client.pagerules.create( @@ -68,6 +70,7 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(PageruleCreateResponse, pagerule, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.pagerules.with_raw_response.create( @@ -89,6 +92,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: pagerule = response.parse() assert_matches_type(PageruleCreateResponse, pagerule, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.pagerules.with_streaming_response.create( @@ -112,6 +116,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -129,6 +134,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: ], ) + @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: pagerule = client.pagerules.update( @@ -147,6 +153,7 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(PageruleUpdateResponse, pagerule, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: pagerule = client.pagerules.update( @@ -175,6 +182,7 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(PageruleUpdateResponse, pagerule, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.pagerules.with_raw_response.update( @@ -197,6 +205,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: pagerule = response.parse() assert_matches_type(PageruleUpdateResponse, pagerule, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.pagerules.with_streaming_response.update( @@ -221,6 +230,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -255,6 +265,7 @@ def test_path_params_update(self, client: Cloudflare) -> None: ], ) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: pagerule = client.pagerules.list( @@ -262,6 +273,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(PageruleListResponse, pagerule, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: pagerule = client.pagerules.list( @@ -273,6 +285,7 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(PageruleListResponse, pagerule, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.pagerules.with_raw_response.list( @@ -284,6 +297,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: pagerule = response.parse() assert_matches_type(PageruleListResponse, pagerule, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.pagerules.with_streaming_response.list( @@ -297,6 +311,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -304,6 +319,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: pagerule = client.pagerules.delete( @@ -313,6 +329,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[PageruleDeleteResponse], pagerule, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.pagerules.with_raw_response.delete( @@ -326,6 +343,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: pagerule = response.parse() assert_matches_type(Optional[PageruleDeleteResponse], pagerule, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.pagerules.with_streaming_response.delete( @@ -341,6 +359,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -357,6 +376,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: pagerule = client.pagerules.edit( @@ -365,6 +385,7 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(PageruleEditResponse, pagerule, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_edit_with_all_params(self, client: Cloudflare) -> None: pagerule = client.pagerules.edit( @@ -393,6 +414,7 @@ def test_method_edit_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(PageruleEditResponse, pagerule, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.pagerules.with_raw_response.edit( @@ -405,6 +427,7 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: pagerule = response.parse() assert_matches_type(PageruleEditResponse, pagerule, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.pagerules.with_streaming_response.edit( @@ -419,6 +442,7 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -433,6 +457,7 @@ def test_path_params_edit(self, client: Cloudflare) -> None: zone_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: pagerule = client.pagerules.get( @@ -441,6 +466,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(PageruleGetResponse, pagerule, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.pagerules.with_raw_response.get( @@ -453,6 +479,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: pagerule = response.parse() assert_matches_type(PageruleGetResponse, pagerule, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.pagerules.with_streaming_response.get( @@ -467,6 +494,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -485,6 +513,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncPagerules: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: pagerule = await async_client.pagerules.create( @@ -502,6 +531,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(PageruleCreateResponse, pagerule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: pagerule = await async_client.pagerules.create( @@ -529,6 +559,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(PageruleCreateResponse, pagerule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.pagerules.with_raw_response.create( @@ -550,6 +581,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: pagerule = await response.parse() assert_matches_type(PageruleCreateResponse, pagerule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.pagerules.with_streaming_response.create( @@ -573,6 +605,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -590,6 +623,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: ], ) + @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: pagerule = await async_client.pagerules.update( @@ -608,6 +642,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(PageruleUpdateResponse, pagerule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: pagerule = await async_client.pagerules.update( @@ -636,6 +671,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(PageruleUpdateResponse, pagerule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.pagerules.with_raw_response.update( @@ -658,6 +694,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: pagerule = await response.parse() assert_matches_type(PageruleUpdateResponse, pagerule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.pagerules.with_streaming_response.update( @@ -682,6 +719,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -716,6 +754,7 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: ], ) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: pagerule = await async_client.pagerules.list( @@ -723,6 +762,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(PageruleListResponse, pagerule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: pagerule = await async_client.pagerules.list( @@ -734,6 +774,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(PageruleListResponse, pagerule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.pagerules.with_raw_response.list( @@ -745,6 +786,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: pagerule = await response.parse() assert_matches_type(PageruleListResponse, pagerule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.pagerules.with_streaming_response.list( @@ -758,6 +800,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -765,6 +808,7 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: pagerule = await async_client.pagerules.delete( @@ -774,6 +818,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[PageruleDeleteResponse], pagerule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.pagerules.with_raw_response.delete( @@ -787,6 +832,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: pagerule = await response.parse() assert_matches_type(Optional[PageruleDeleteResponse], pagerule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.pagerules.with_streaming_response.delete( @@ -802,6 +848,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -818,6 +865,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: pagerule = await async_client.pagerules.edit( @@ -826,6 +874,7 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(PageruleEditResponse, pagerule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) -> None: pagerule = await async_client.pagerules.edit( @@ -854,6 +903,7 @@ async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(PageruleEditResponse, pagerule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.pagerules.with_raw_response.edit( @@ -866,6 +916,7 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: pagerule = await response.parse() assert_matches_type(PageruleEditResponse, pagerule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.pagerules.with_streaming_response.edit( @@ -880,6 +931,7 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -894,6 +946,7 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: zone_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: pagerule = await async_client.pagerules.get( @@ -902,6 +955,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(PageruleGetResponse, pagerule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.pagerules.with_raw_response.get( @@ -914,6 +968,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: pagerule = await response.parse() assert_matches_type(PageruleGetResponse, pagerule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.pagerules.with_streaming_response.get( @@ -928,6 +983,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): diff --git a/tests/api_resources/test_pcaps.py b/tests/api_resources/test_pcaps.py index c290dfd9e3e..712c52bdcde 100644 --- a/tests/api_resources/test_pcaps.py +++ b/tests/api_resources/test_pcaps.py @@ -18,6 +18,7 @@ class TestPCAPs: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create_overload_1(self, client: Cloudflare) -> None: pcap = client.pcaps.create( @@ -29,6 +30,7 @@ def test_method_create_overload_1(self, client: Cloudflare) -> None: ) assert_matches_type(PCAPCreateResponse, pcap, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params_overload_1(self, client: Cloudflare) -> None: pcap = client.pcaps.create( @@ -47,6 +49,7 @@ def test_method_create_with_all_params_overload_1(self, client: Cloudflare) -> N ) assert_matches_type(PCAPCreateResponse, pcap, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create_overload_1(self, client: Cloudflare) -> None: response = client.pcaps.with_raw_response.create( @@ -62,6 +65,7 @@ def test_raw_response_create_overload_1(self, client: Cloudflare) -> None: pcap = response.parse() assert_matches_type(PCAPCreateResponse, pcap, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create_overload_1(self, client: Cloudflare) -> None: with client.pcaps.with_streaming_response.create( @@ -79,6 +83,7 @@ def test_streaming_response_create_overload_1(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create_overload_1(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -90,6 +95,7 @@ def test_path_params_create_overload_1(self, client: Cloudflare) -> None: type="simple", ) + @pytest.mark.skip() @parametrize def test_method_create_overload_2(self, client: Cloudflare) -> None: pcap = client.pcaps.create( @@ -102,6 +108,7 @@ def test_method_create_overload_2(self, client: Cloudflare) -> None: ) assert_matches_type(PCAPCreateResponse, pcap, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params_overload_2(self, client: Cloudflare) -> None: pcap = client.pcaps.create( @@ -123,6 +130,7 @@ def test_method_create_with_all_params_overload_2(self, client: Cloudflare) -> N ) assert_matches_type(PCAPCreateResponse, pcap, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create_overload_2(self, client: Cloudflare) -> None: response = client.pcaps.with_raw_response.create( @@ -139,6 +147,7 @@ def test_raw_response_create_overload_2(self, client: Cloudflare) -> None: pcap = response.parse() assert_matches_type(PCAPCreateResponse, pcap, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create_overload_2(self, client: Cloudflare) -> None: with client.pcaps.with_streaming_response.create( @@ -157,6 +166,7 @@ def test_streaming_response_create_overload_2(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create_overload_2(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -169,6 +179,7 @@ def test_path_params_create_overload_2(self, client: Cloudflare) -> None: type="simple", ) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: pcap = client.pcaps.list( @@ -176,6 +187,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[PCAPListResponse], pcap, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.pcaps.with_raw_response.list( @@ -187,6 +199,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: pcap = response.parse() assert_matches_type(SyncSinglePage[PCAPListResponse], pcap, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.pcaps.with_streaming_response.list( @@ -200,6 +213,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -207,6 +221,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: pcap = client.pcaps.get( @@ -215,6 +230,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(PCAPGetResponse, pcap, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.pcaps.with_raw_response.get( @@ -227,6 +243,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: pcap = response.parse() assert_matches_type(PCAPGetResponse, pcap, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.pcaps.with_streaming_response.get( @@ -241,6 +258,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -259,6 +277,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncPCAPs: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create_overload_1(self, async_client: AsyncCloudflare) -> None: pcap = await async_client.pcaps.create( @@ -270,6 +289,7 @@ async def test_method_create_overload_1(self, async_client: AsyncCloudflare) -> ) assert_matches_type(PCAPCreateResponse, pcap, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params_overload_1(self, async_client: AsyncCloudflare) -> None: pcap = await async_client.pcaps.create( @@ -288,6 +308,7 @@ async def test_method_create_with_all_params_overload_1(self, async_client: Asyn ) assert_matches_type(PCAPCreateResponse, pcap, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create_overload_1(self, async_client: AsyncCloudflare) -> None: response = await async_client.pcaps.with_raw_response.create( @@ -303,6 +324,7 @@ async def test_raw_response_create_overload_1(self, async_client: AsyncCloudflar pcap = await response.parse() assert_matches_type(PCAPCreateResponse, pcap, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create_overload_1(self, async_client: AsyncCloudflare) -> None: async with async_client.pcaps.with_streaming_response.create( @@ -320,6 +342,7 @@ async def test_streaming_response_create_overload_1(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create_overload_1(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -331,6 +354,7 @@ async def test_path_params_create_overload_1(self, async_client: AsyncCloudflare type="simple", ) + @pytest.mark.skip() @parametrize async def test_method_create_overload_2(self, async_client: AsyncCloudflare) -> None: pcap = await async_client.pcaps.create( @@ -343,6 +367,7 @@ async def test_method_create_overload_2(self, async_client: AsyncCloudflare) -> ) assert_matches_type(PCAPCreateResponse, pcap, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params_overload_2(self, async_client: AsyncCloudflare) -> None: pcap = await async_client.pcaps.create( @@ -364,6 +389,7 @@ async def test_method_create_with_all_params_overload_2(self, async_client: Asyn ) assert_matches_type(PCAPCreateResponse, pcap, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create_overload_2(self, async_client: AsyncCloudflare) -> None: response = await async_client.pcaps.with_raw_response.create( @@ -380,6 +406,7 @@ async def test_raw_response_create_overload_2(self, async_client: AsyncCloudflar pcap = await response.parse() assert_matches_type(PCAPCreateResponse, pcap, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create_overload_2(self, async_client: AsyncCloudflare) -> None: async with async_client.pcaps.with_streaming_response.create( @@ -398,6 +425,7 @@ async def test_streaming_response_create_overload_2(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create_overload_2(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -410,6 +438,7 @@ async def test_path_params_create_overload_2(self, async_client: AsyncCloudflare type="simple", ) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: pcap = await async_client.pcaps.list( @@ -417,6 +446,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[PCAPListResponse], pcap, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.pcaps.with_raw_response.list( @@ -428,6 +458,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: pcap = await response.parse() assert_matches_type(AsyncSinglePage[PCAPListResponse], pcap, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.pcaps.with_streaming_response.list( @@ -441,6 +472,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -448,6 +480,7 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: pcap = await async_client.pcaps.get( @@ -456,6 +489,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(PCAPGetResponse, pcap, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.pcaps.with_raw_response.get( @@ -468,6 +502,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: pcap = await response.parse() assert_matches_type(PCAPGetResponse, pcap, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.pcaps.with_streaming_response.get( @@ -482,6 +517,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/test_plans.py b/tests/api_resources/test_plans.py index 46cabad8fde..69ea76c8e6e 100644 --- a/tests/api_resources/test_plans.py +++ b/tests/api_resources/test_plans.py @@ -18,6 +18,7 @@ class TestPlans: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: plan = client.plans.list( @@ -25,6 +26,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[AvailableRatePlan], plan, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.plans.with_raw_response.list( @@ -36,6 +38,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: plan = response.parse() assert_matches_type(SyncSinglePage[AvailableRatePlan], plan, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.plans.with_streaming_response.list( @@ -49,6 +52,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -56,6 +60,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: "", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: plan = client.plans.get( @@ -64,6 +69,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(AvailableRatePlan, plan, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.plans.with_raw_response.get( @@ -76,6 +82,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: plan = response.parse() assert_matches_type(AvailableRatePlan, plan, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.plans.with_streaming_response.get( @@ -90,6 +97,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -108,6 +116,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncPlans: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: plan = await async_client.plans.list( @@ -115,6 +124,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[AvailableRatePlan], plan, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.plans.with_raw_response.list( @@ -126,6 +136,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: plan = await response.parse() assert_matches_type(AsyncSinglePage[AvailableRatePlan], plan, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.plans.with_streaming_response.list( @@ -139,6 +150,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -146,6 +158,7 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: "", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: plan = await async_client.plans.get( @@ -154,6 +167,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AvailableRatePlan, plan, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.plans.with_raw_response.get( @@ -166,6 +180,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: plan = await response.parse() assert_matches_type(AvailableRatePlan, plan, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.plans.with_streaming_response.get( @@ -180,6 +195,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): diff --git a/tests/api_resources/test_queues.py b/tests/api_resources/test_queues.py index d7dc236b273..b5d74febfc7 100644 --- a/tests/api_resources/test_queues.py +++ b/tests/api_resources/test_queues.py @@ -23,6 +23,7 @@ class TestQueues: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: queue = client.queues.create( @@ -31,6 +32,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[QueueCreated], queue, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.queues.with_raw_response.create( @@ -43,6 +45,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: queue = response.parse() assert_matches_type(Optional[QueueCreated], queue, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.queues.with_streaming_response.create( @@ -57,6 +60,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -65,6 +69,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: body={"queue_name": "example-queue"}, ) + @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: queue = client.queues.update( @@ -74,6 +79,7 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[QueueUpdated], queue, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.queues.with_raw_response.update( @@ -87,6 +93,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: queue = response.parse() assert_matches_type(Optional[QueueUpdated], queue, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.queues.with_streaming_response.update( @@ -102,6 +109,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -118,6 +126,7 @@ def test_path_params_update(self, client: Cloudflare) -> None: body={"queue_name": "renamed-example-queue"}, ) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: queue = client.queues.list( @@ -125,6 +134,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[Queue], queue, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.queues.with_raw_response.list( @@ -136,6 +146,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: queue = response.parse() assert_matches_type(SyncSinglePage[Queue], queue, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.queues.with_streaming_response.list( @@ -149,6 +160,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -156,6 +168,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: queue = client.queues.delete( @@ -165,6 +178,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[QueueDeleteResponse], queue, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.queues.with_raw_response.delete( @@ -178,6 +192,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: queue = response.parse() assert_matches_type(Optional[QueueDeleteResponse], queue, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.queues.with_streaming_response.delete( @@ -193,6 +208,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -209,6 +225,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: queue = client.queues.get( @@ -217,6 +234,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Queue], queue, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.queues.with_raw_response.get( @@ -229,6 +247,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: queue = response.parse() assert_matches_type(Optional[Queue], queue, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.queues.with_streaming_response.get( @@ -243,6 +262,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -261,6 +281,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncQueues: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: queue = await async_client.queues.create( @@ -269,6 +290,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[QueueCreated], queue, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.queues.with_raw_response.create( @@ -281,6 +303,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: queue = await response.parse() assert_matches_type(Optional[QueueCreated], queue, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.queues.with_streaming_response.create( @@ -295,6 +318,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -303,6 +327,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: body={"queue_name": "example-queue"}, ) + @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: queue = await async_client.queues.update( @@ -312,6 +337,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[QueueUpdated], queue, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.queues.with_raw_response.update( @@ -325,6 +351,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: queue = await response.parse() assert_matches_type(Optional[QueueUpdated], queue, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.queues.with_streaming_response.update( @@ -340,6 +367,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -356,6 +384,7 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: body={"queue_name": "renamed-example-queue"}, ) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: queue = await async_client.queues.list( @@ -363,6 +392,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[Queue], queue, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.queues.with_raw_response.list( @@ -374,6 +404,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: queue = await response.parse() assert_matches_type(AsyncSinglePage[Queue], queue, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.queues.with_streaming_response.list( @@ -387,6 +418,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -394,6 +426,7 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: queue = await async_client.queues.delete( @@ -403,6 +436,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[QueueDeleteResponse], queue, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.queues.with_raw_response.delete( @@ -416,6 +450,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: queue = await response.parse() assert_matches_type(Optional[QueueDeleteResponse], queue, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.queues.with_streaming_response.delete( @@ -431,6 +466,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -447,6 +483,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: queue = await async_client.queues.get( @@ -455,6 +492,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Queue], queue, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.queues.with_raw_response.get( @@ -467,6 +505,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: queue = await response.parse() assert_matches_type(Optional[Queue], queue, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.queues.with_streaming_response.get( @@ -481,6 +520,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/test_rate_limits.py b/tests/api_resources/test_rate_limits.py index fa6c9c60f4c..67e2f73ad79 100644 --- a/tests/api_resources/test_rate_limits.py +++ b/tests/api_resources/test_rate_limits.py @@ -24,6 +24,7 @@ class TestRateLimits: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: rate_limit = client.rate_limits.create( @@ -32,6 +33,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(RateLimitCreateResponse, rate_limit, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.rate_limits.with_raw_response.create( @@ -44,6 +46,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: rate_limit = response.parse() assert_matches_type(RateLimitCreateResponse, rate_limit, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.rate_limits.with_streaming_response.create( @@ -58,6 +61,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -66,6 +70,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: rate_limit = client.rate_limits.list( @@ -73,6 +78,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePaginationArray[RateLimit], rate_limit, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: rate_limit = client.rate_limits.list( @@ -82,6 +88,7 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePaginationArray[RateLimit], rate_limit, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.rate_limits.with_raw_response.list( @@ -93,6 +100,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: rate_limit = response.parse() assert_matches_type(SyncV4PagePaginationArray[RateLimit], rate_limit, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.rate_limits.with_streaming_response.list( @@ -106,6 +114,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -113,6 +122,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: "", ) + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: rate_limit = client.rate_limits.delete( @@ -122,6 +132,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(RateLimitDeleteResponse, rate_limit, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.rate_limits.with_raw_response.delete( @@ -135,6 +146,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: rate_limit = response.parse() assert_matches_type(RateLimitDeleteResponse, rate_limit, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.rate_limits.with_streaming_response.delete( @@ -150,6 +162,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -166,6 +179,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: rate_limit = client.rate_limits.edit( @@ -175,6 +189,7 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(RateLimitEditResponse, rate_limit, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.rate_limits.with_raw_response.edit( @@ -188,6 +203,7 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: rate_limit = response.parse() assert_matches_type(RateLimitEditResponse, rate_limit, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.rate_limits.with_streaming_response.edit( @@ -203,6 +219,7 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -219,6 +236,7 @@ def test_path_params_edit(self, client: Cloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: rate_limit = client.rate_limits.get( @@ -227,6 +245,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(RateLimitGetResponse, rate_limit, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.rate_limits.with_raw_response.get( @@ -239,6 +258,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: rate_limit = response.parse() assert_matches_type(RateLimitGetResponse, rate_limit, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.rate_limits.with_streaming_response.get( @@ -253,6 +273,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -271,6 +292,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncRateLimits: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: rate_limit = await async_client.rate_limits.create( @@ -279,6 +301,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(RateLimitCreateResponse, rate_limit, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.rate_limits.with_raw_response.create( @@ -291,6 +314,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: rate_limit = await response.parse() assert_matches_type(RateLimitCreateResponse, rate_limit, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.rate_limits.with_streaming_response.create( @@ -305,6 +329,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -313,6 +338,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: rate_limit = await async_client.rate_limits.list( @@ -320,6 +346,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncV4PagePaginationArray[RateLimit], rate_limit, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: rate_limit = await async_client.rate_limits.list( @@ -329,6 +356,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncV4PagePaginationArray[RateLimit], rate_limit, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.rate_limits.with_raw_response.list( @@ -340,6 +368,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: rate_limit = await response.parse() assert_matches_type(AsyncV4PagePaginationArray[RateLimit], rate_limit, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.rate_limits.with_streaming_response.list( @@ -353,6 +382,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -360,6 +390,7 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: "", ) + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: rate_limit = await async_client.rate_limits.delete( @@ -369,6 +400,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(RateLimitDeleteResponse, rate_limit, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.rate_limits.with_raw_response.delete( @@ -382,6 +414,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: rate_limit = await response.parse() assert_matches_type(RateLimitDeleteResponse, rate_limit, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.rate_limits.with_streaming_response.delete( @@ -397,6 +430,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -413,6 +447,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: rate_limit = await async_client.rate_limits.edit( @@ -422,6 +457,7 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(RateLimitEditResponse, rate_limit, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.rate_limits.with_raw_response.edit( @@ -435,6 +471,7 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: rate_limit = await response.parse() assert_matches_type(RateLimitEditResponse, rate_limit, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.rate_limits.with_streaming_response.edit( @@ -450,6 +487,7 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -466,6 +504,7 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: rate_limit = await async_client.rate_limits.get( @@ -474,6 +513,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(RateLimitGetResponse, rate_limit, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.rate_limits.with_raw_response.get( @@ -486,6 +526,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: rate_limit = await response.parse() assert_matches_type(RateLimitGetResponse, rate_limit, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.rate_limits.with_streaming_response.get( @@ -500,6 +541,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): diff --git a/tests/api_resources/test_rate_plans.py b/tests/api_resources/test_rate_plans.py index 8a555f178d7..c237fc40ca1 100644 --- a/tests/api_resources/test_rate_plans.py +++ b/tests/api_resources/test_rate_plans.py @@ -17,6 +17,7 @@ class TestRatePlans: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: rate_plan = client.rate_plans.get( @@ -24,6 +25,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[RatePlanGetResponse], rate_plan, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.rate_plans.with_raw_response.get( @@ -35,6 +37,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: rate_plan = response.parse() assert_matches_type(Optional[RatePlanGetResponse], rate_plan, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.rate_plans.with_streaming_response.get( @@ -48,6 +51,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -59,6 +63,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncRatePlans: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: rate_plan = await async_client.rate_plans.get( @@ -66,6 +71,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[RatePlanGetResponse], rate_plan, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.rate_plans.with_raw_response.get( @@ -77,6 +83,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: rate_plan = await response.parse() assert_matches_type(Optional[RatePlanGetResponse], rate_plan, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.rate_plans.with_streaming_response.get( @@ -90,6 +97,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): diff --git a/tests/api_resources/test_rulesets.py b/tests/api_resources/test_rulesets.py index 2a130902f97..695ae120700 100644 --- a/tests/api_resources/test_rulesets.py +++ b/tests/api_resources/test_rulesets.py @@ -23,6 +23,7 @@ class TestRulesets: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: ruleset = client.rulesets.create( @@ -35,6 +36,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(RulesetCreateResponse, ruleset, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: ruleset = client.rulesets.create( @@ -97,6 +99,7 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(RulesetCreateResponse, ruleset, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.rulesets.with_raw_response.create( @@ -113,6 +116,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: ruleset = response.parse() assert_matches_type(RulesetCreateResponse, ruleset, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.rulesets.with_streaming_response.create( @@ -131,6 +135,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -153,6 +158,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: ruleset = client.rulesets.update( @@ -163,6 +169,7 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(RulesetUpdateResponse, ruleset, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: ruleset = client.rulesets.update( @@ -226,6 +233,7 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(RulesetUpdateResponse, ruleset, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.rulesets.with_raw_response.update( @@ -240,6 +248,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: ruleset = response.parse() assert_matches_type(RulesetUpdateResponse, ruleset, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.rulesets.with_streaming_response.update( @@ -256,6 +265,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `ruleset_id` but received ''"): @@ -282,6 +292,7 @@ def test_path_params_update(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: ruleset = client.rulesets.list( @@ -290,6 +301,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[Ruleset], ruleset, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: ruleset = client.rulesets.list( @@ -298,6 +310,7 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[Ruleset], ruleset, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.rulesets.with_raw_response.list( @@ -310,6 +323,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: ruleset = response.parse() assert_matches_type(SyncSinglePage[Ruleset], ruleset, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.rulesets.with_streaming_response.list( @@ -324,6 +338,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -338,6 +353,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: ruleset = client.rulesets.delete( @@ -347,6 +363,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert ruleset is None + @pytest.mark.skip() @parametrize def test_method_delete_with_all_params(self, client: Cloudflare) -> None: ruleset = client.rulesets.delete( @@ -356,6 +373,7 @@ def test_method_delete_with_all_params(self, client: Cloudflare) -> None: ) assert ruleset is None + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.rulesets.with_raw_response.delete( @@ -369,6 +387,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: ruleset = response.parse() assert ruleset is None + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.rulesets.with_streaming_response.delete( @@ -384,6 +403,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `ruleset_id` but received ''"): @@ -407,6 +427,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: ruleset = client.rulesets.get( @@ -416,6 +437,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(RulesetGetResponse, ruleset, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: ruleset = client.rulesets.get( @@ -425,6 +447,7 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(RulesetGetResponse, ruleset, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.rulesets.with_raw_response.get( @@ -438,6 +461,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: ruleset = response.parse() assert_matches_type(RulesetGetResponse, ruleset, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.rulesets.with_streaming_response.get( @@ -453,6 +477,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `ruleset_id` but received ''"): @@ -480,6 +505,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncRulesets: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: ruleset = await async_client.rulesets.create( @@ -492,6 +518,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(RulesetCreateResponse, ruleset, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: ruleset = await async_client.rulesets.create( @@ -554,6 +581,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(RulesetCreateResponse, ruleset, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.rulesets.with_raw_response.create( @@ -570,6 +598,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: ruleset = await response.parse() assert_matches_type(RulesetCreateResponse, ruleset, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.rulesets.with_streaming_response.create( @@ -588,6 +617,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -610,6 +640,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: ruleset = await async_client.rulesets.update( @@ -620,6 +651,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(RulesetUpdateResponse, ruleset, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: ruleset = await async_client.rulesets.update( @@ -683,6 +715,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(RulesetUpdateResponse, ruleset, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.rulesets.with_raw_response.update( @@ -697,6 +730,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: ruleset = await response.parse() assert_matches_type(RulesetUpdateResponse, ruleset, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.rulesets.with_streaming_response.update( @@ -713,6 +747,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `ruleset_id` but received ''"): @@ -739,6 +774,7 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: ruleset = await async_client.rulesets.list( @@ -747,6 +783,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[Ruleset], ruleset, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: ruleset = await async_client.rulesets.list( @@ -755,6 +792,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncSinglePage[Ruleset], ruleset, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.rulesets.with_raw_response.list( @@ -767,6 +805,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: ruleset = await response.parse() assert_matches_type(AsyncSinglePage[Ruleset], ruleset, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.rulesets.with_streaming_response.list( @@ -781,6 +820,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -795,6 +835,7 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ruleset = await async_client.rulesets.delete( @@ -804,6 +845,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert ruleset is None + @pytest.mark.skip() @parametrize async def test_method_delete_with_all_params(self, async_client: AsyncCloudflare) -> None: ruleset = await async_client.rulesets.delete( @@ -813,6 +855,7 @@ async def test_method_delete_with_all_params(self, async_client: AsyncCloudflare ) assert ruleset is None + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.rulesets.with_raw_response.delete( @@ -826,6 +869,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: ruleset = await response.parse() assert ruleset is None + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.rulesets.with_streaming_response.delete( @@ -841,6 +885,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `ruleset_id` but received ''"): @@ -864,6 +909,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: ruleset = await async_client.rulesets.get( @@ -873,6 +919,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(RulesetGetResponse, ruleset, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: ruleset = await async_client.rulesets.get( @@ -882,6 +929,7 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(RulesetGetResponse, ruleset, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.rulesets.with_raw_response.get( @@ -895,6 +943,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: ruleset = await response.parse() assert_matches_type(RulesetGetResponse, ruleset, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.rulesets.with_streaming_response.get( @@ -910,6 +959,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `ruleset_id` but received ''"): diff --git a/tests/api_resources/test_snippets.py b/tests/api_resources/test_snippets.py index 4126b611e8d..c50daf3c503 100644 --- a/tests/api_resources/test_snippets.py +++ b/tests/api_resources/test_snippets.py @@ -18,6 +18,7 @@ class TestSnippets: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: snippet = client.snippets.update( @@ -26,6 +27,7 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Snippet, snippet, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: snippet = client.snippets.update( @@ -36,6 +38,7 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Snippet, snippet, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.snippets.with_raw_response.update( @@ -48,6 +51,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: snippet = response.parse() assert_matches_type(Snippet, snippet, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.snippets.with_streaming_response.update( @@ -62,6 +66,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -76,6 +81,7 @@ def test_path_params_update(self, client: Cloudflare) -> None: zone_identifier="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: snippet = client.snippets.list( @@ -83,6 +89,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[Snippet], snippet, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.snippets.with_raw_response.list( @@ -94,6 +101,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: snippet = response.parse() assert_matches_type(SyncSinglePage[Snippet], snippet, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.snippets.with_streaming_response.list( @@ -107,6 +115,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -114,6 +123,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: "", ) + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: snippet = client.snippets.delete( @@ -122,6 +132,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(SnippetDeleteResponse, snippet, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.snippets.with_raw_response.delete( @@ -134,6 +145,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: snippet = response.parse() assert_matches_type(SnippetDeleteResponse, snippet, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.snippets.with_streaming_response.delete( @@ -148,6 +160,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -162,6 +175,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: zone_identifier="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: snippet = client.snippets.get( @@ -170,6 +184,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Snippet, snippet, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.snippets.with_raw_response.get( @@ -182,6 +197,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: snippet = response.parse() assert_matches_type(Snippet, snippet, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.snippets.with_streaming_response.get( @@ -196,6 +212,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -214,6 +231,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncSnippets: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: snippet = await async_client.snippets.update( @@ -222,6 +240,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Snippet, snippet, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: snippet = await async_client.snippets.update( @@ -232,6 +251,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Snippet, snippet, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.snippets.with_raw_response.update( @@ -244,6 +264,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: snippet = await response.parse() assert_matches_type(Snippet, snippet, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.snippets.with_streaming_response.update( @@ -258,6 +279,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -272,6 +294,7 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: zone_identifier="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: snippet = await async_client.snippets.list( @@ -279,6 +302,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[Snippet], snippet, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.snippets.with_raw_response.list( @@ -290,6 +314,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: snippet = await response.parse() assert_matches_type(AsyncSinglePage[Snippet], snippet, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.snippets.with_streaming_response.list( @@ -303,6 +328,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -310,6 +336,7 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: "", ) + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: snippet = await async_client.snippets.delete( @@ -318,6 +345,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(SnippetDeleteResponse, snippet, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.snippets.with_raw_response.delete( @@ -330,6 +358,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: snippet = await response.parse() assert_matches_type(SnippetDeleteResponse, snippet, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.snippets.with_streaming_response.delete( @@ -344,6 +373,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -358,6 +388,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: zone_identifier="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: snippet = await async_client.snippets.get( @@ -366,6 +397,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Snippet, snippet, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.snippets.with_raw_response.get( @@ -378,6 +410,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: snippet = await response.parse() assert_matches_type(Snippet, snippet, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.snippets.with_streaming_response.get( @@ -392,6 +425,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): diff --git a/tests/api_resources/test_speed.py b/tests/api_resources/test_speed.py index 4fba6c80875..4b3081ae272 100644 --- a/tests/api_resources/test_speed.py +++ b/tests/api_resources/test_speed.py @@ -22,6 +22,7 @@ class TestSpeed: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: speed = client.speed.delete( @@ -30,6 +31,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[SpeedDeleteResponse], speed, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_delete_with_all_params(self, client: Cloudflare) -> None: speed = client.speed.delete( @@ -39,6 +41,7 @@ def test_method_delete_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[SpeedDeleteResponse], speed, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.speed.with_raw_response.delete( @@ -51,6 +54,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: speed = response.parse() assert_matches_type(Optional[SpeedDeleteResponse], speed, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.speed.with_streaming_response.delete( @@ -65,6 +69,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -79,6 +84,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: zone_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize def test_method_schedule_get(self, client: Cloudflare) -> None: speed = client.speed.schedule_get( @@ -87,6 +93,7 @@ def test_method_schedule_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Schedule], speed, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_schedule_get_with_all_params(self, client: Cloudflare) -> None: speed = client.speed.schedule_get( @@ -96,6 +103,7 @@ def test_method_schedule_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Schedule], speed, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_schedule_get(self, client: Cloudflare) -> None: response = client.speed.with_raw_response.schedule_get( @@ -108,6 +116,7 @@ def test_raw_response_schedule_get(self, client: Cloudflare) -> None: speed = response.parse() assert_matches_type(Optional[Schedule], speed, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_schedule_get(self, client: Cloudflare) -> None: with client.speed.with_streaming_response.schedule_get( @@ -122,6 +131,7 @@ def test_streaming_response_schedule_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_schedule_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -136,6 +146,7 @@ def test_path_params_schedule_get(self, client: Cloudflare) -> None: zone_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize def test_method_trends_list(self, client: Cloudflare) -> None: speed = client.speed.trends_list( @@ -149,6 +160,7 @@ def test_method_trends_list(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Trend], speed, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_trends_list_with_all_params(self, client: Cloudflare) -> None: speed = client.speed.trends_list( @@ -163,6 +175,7 @@ def test_method_trends_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Trend], speed, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_trends_list(self, client: Cloudflare) -> None: response = client.speed.with_raw_response.trends_list( @@ -180,6 +193,7 @@ def test_raw_response_trends_list(self, client: Cloudflare) -> None: speed = response.parse() assert_matches_type(Optional[Trend], speed, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_trends_list(self, client: Cloudflare) -> None: with client.speed.with_streaming_response.trends_list( @@ -199,6 +213,7 @@ def test_streaming_response_trends_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_trends_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -227,6 +242,7 @@ def test_path_params_trends_list(self, client: Cloudflare) -> None: class TestAsyncSpeed: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: speed = await async_client.speed.delete( @@ -235,6 +251,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[SpeedDeleteResponse], speed, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_delete_with_all_params(self, async_client: AsyncCloudflare) -> None: speed = await async_client.speed.delete( @@ -244,6 +261,7 @@ async def test_method_delete_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[SpeedDeleteResponse], speed, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.speed.with_raw_response.delete( @@ -256,6 +274,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: speed = await response.parse() assert_matches_type(Optional[SpeedDeleteResponse], speed, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.speed.with_streaming_response.delete( @@ -270,6 +289,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -284,6 +304,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: zone_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize async def test_method_schedule_get(self, async_client: AsyncCloudflare) -> None: speed = await async_client.speed.schedule_get( @@ -292,6 +313,7 @@ async def test_method_schedule_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Schedule], speed, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_schedule_get_with_all_params(self, async_client: AsyncCloudflare) -> None: speed = await async_client.speed.schedule_get( @@ -301,6 +323,7 @@ async def test_method_schedule_get_with_all_params(self, async_client: AsyncClou ) assert_matches_type(Optional[Schedule], speed, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_schedule_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.speed.with_raw_response.schedule_get( @@ -313,6 +336,7 @@ async def test_raw_response_schedule_get(self, async_client: AsyncCloudflare) -> speed = await response.parse() assert_matches_type(Optional[Schedule], speed, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_schedule_get(self, async_client: AsyncCloudflare) -> None: async with async_client.speed.with_streaming_response.schedule_get( @@ -327,6 +351,7 @@ async def test_streaming_response_schedule_get(self, async_client: AsyncCloudfla assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_schedule_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -341,6 +366,7 @@ async def test_path_params_schedule_get(self, async_client: AsyncCloudflare) -> zone_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize async def test_method_trends_list(self, async_client: AsyncCloudflare) -> None: speed = await async_client.speed.trends_list( @@ -354,6 +380,7 @@ async def test_method_trends_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Trend], speed, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_trends_list_with_all_params(self, async_client: AsyncCloudflare) -> None: speed = await async_client.speed.trends_list( @@ -368,6 +395,7 @@ async def test_method_trends_list_with_all_params(self, async_client: AsyncCloud ) assert_matches_type(Optional[Trend], speed, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_trends_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.speed.with_raw_response.trends_list( @@ -385,6 +413,7 @@ async def test_raw_response_trends_list(self, async_client: AsyncCloudflare) -> speed = await response.parse() assert_matches_type(Optional[Trend], speed, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_trends_list(self, async_client: AsyncCloudflare) -> None: async with async_client.speed.with_streaming_response.trends_list( @@ -404,6 +433,7 @@ async def test_streaming_response_trends_list(self, async_client: AsyncCloudflar assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_trends_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): diff --git a/tests/api_resources/test_stream.py b/tests/api_resources/test_stream.py index 3563bc84ca7..97f94254e43 100644 --- a/tests/api_resources/test_stream.py +++ b/tests/api_resources/test_stream.py @@ -19,6 +19,7 @@ class TestStream: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: stream = client.stream.create( @@ -27,6 +28,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert stream is None + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.stream.with_raw_response.create( @@ -39,6 +41,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: stream = response.parse() assert stream is None + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.stream.with_streaming_response.create( @@ -53,6 +56,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -61,6 +65,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: stream = client.stream.list( @@ -68,6 +73,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[Video], stream, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: stream = client.stream.list( @@ -83,6 +89,7 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[Video], stream, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.stream.with_raw_response.list( @@ -94,6 +101,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: stream = response.parse() assert_matches_type(SyncSinglePage[Video], stream, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.stream.with_streaming_response.list( @@ -107,6 +115,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -114,6 +123,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: stream = client.stream.delete( @@ -123,6 +133,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert stream is None + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.stream.with_raw_response.delete( @@ -136,6 +147,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: stream = response.parse() assert stream is None + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.stream.with_streaming_response.delete( @@ -151,6 +163,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -167,6 +180,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: stream = client.stream.get( @@ -175,6 +189,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Video], stream, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.stream.with_raw_response.get( @@ -187,6 +202,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: stream = response.parse() assert_matches_type(Optional[Video], stream, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.stream.with_streaming_response.get( @@ -201,6 +217,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -219,6 +236,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncStream: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: stream = await async_client.stream.create( @@ -227,6 +245,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert stream is None + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.stream.with_raw_response.create( @@ -239,6 +258,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: stream = await response.parse() assert stream is None + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.stream.with_streaming_response.create( @@ -253,6 +273,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -261,6 +282,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: stream = await async_client.stream.list( @@ -268,6 +290,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[Video], stream, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: stream = await async_client.stream.list( @@ -283,6 +306,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncSinglePage[Video], stream, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.stream.with_raw_response.list( @@ -294,6 +318,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: stream = await response.parse() assert_matches_type(AsyncSinglePage[Video], stream, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.stream.with_streaming_response.list( @@ -307,6 +332,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -314,6 +340,7 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: stream = await async_client.stream.delete( @@ -323,6 +350,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert stream is None + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.stream.with_raw_response.delete( @@ -336,6 +364,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: stream = await response.parse() assert stream is None + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.stream.with_streaming_response.delete( @@ -351,6 +380,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -367,6 +397,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: stream = await async_client.stream.get( @@ -375,6 +406,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Video], stream, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.stream.with_raw_response.get( @@ -387,6 +419,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: stream = await response.parse() assert_matches_type(Optional[Video], stream, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.stream.with_streaming_response.get( @@ -401,6 +434,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/test_subscriptions.py b/tests/api_resources/test_subscriptions.py index 675f5a74ee0..8ed827eede8 100644 --- a/tests/api_resources/test_subscriptions.py +++ b/tests/api_resources/test_subscriptions.py @@ -24,6 +24,7 @@ class TestSubscriptions: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: subscription = client.subscriptions.create( @@ -31,6 +32,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(SubscriptionCreateResponse, subscription, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: subscription = client.subscriptions.create( @@ -70,6 +72,7 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SubscriptionCreateResponse, subscription, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.subscriptions.with_raw_response.create( @@ -81,6 +84,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: subscription = response.parse() assert_matches_type(SubscriptionCreateResponse, subscription, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.subscriptions.with_streaming_response.create( @@ -94,6 +98,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `identifier` but received ''"): @@ -101,6 +106,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: "", ) + @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: subscription = client.subscriptions.update( @@ -109,6 +115,7 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(SubscriptionUpdateResponse, subscription, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: subscription = client.subscriptions.update( @@ -149,6 +156,7 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SubscriptionUpdateResponse, subscription, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.subscriptions.with_raw_response.update( @@ -161,6 +169,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: subscription = response.parse() assert_matches_type(SubscriptionUpdateResponse, subscription, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.subscriptions.with_streaming_response.update( @@ -175,6 +184,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_identifier` but received ''"): @@ -191,6 +201,7 @@ def test_path_params_update(self, client: Cloudflare) -> None: account_identifier="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: subscription = client.subscriptions.list( @@ -198,6 +209,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[Subscription], subscription, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.subscriptions.with_raw_response.list( @@ -209,6 +221,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: subscription = response.parse() assert_matches_type(SyncSinglePage[Subscription], subscription, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.subscriptions.with_streaming_response.list( @@ -222,6 +235,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_identifier` but received ''"): @@ -229,6 +243,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: "", ) + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: subscription = client.subscriptions.delete( @@ -238,6 +253,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(SubscriptionDeleteResponse, subscription, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.subscriptions.with_raw_response.delete( @@ -251,6 +267,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: subscription = response.parse() assert_matches_type(SubscriptionDeleteResponse, subscription, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.subscriptions.with_streaming_response.delete( @@ -266,6 +283,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_identifier` but received ''"): @@ -284,6 +302,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: subscription = client.subscriptions.get( @@ -291,6 +310,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(SubscriptionGetResponse, subscription, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.subscriptions.with_raw_response.get( @@ -302,6 +322,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: subscription = response.parse() assert_matches_type(SubscriptionGetResponse, subscription, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.subscriptions.with_streaming_response.get( @@ -315,6 +336,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `identifier` but received ''"): @@ -326,6 +348,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncSubscriptions: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: subscription = await async_client.subscriptions.create( @@ -333,6 +356,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(SubscriptionCreateResponse, subscription, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: subscription = await async_client.subscriptions.create( @@ -372,6 +396,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(SubscriptionCreateResponse, subscription, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.subscriptions.with_raw_response.create( @@ -383,6 +408,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: subscription = await response.parse() assert_matches_type(SubscriptionCreateResponse, subscription, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.subscriptions.with_streaming_response.create( @@ -396,6 +422,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `identifier` but received ''"): @@ -403,6 +430,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: "", ) + @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: subscription = await async_client.subscriptions.update( @@ -411,6 +439,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(SubscriptionUpdateResponse, subscription, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: subscription = await async_client.subscriptions.update( @@ -451,6 +480,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(SubscriptionUpdateResponse, subscription, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.subscriptions.with_raw_response.update( @@ -463,6 +493,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: subscription = await response.parse() assert_matches_type(SubscriptionUpdateResponse, subscription, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.subscriptions.with_streaming_response.update( @@ -477,6 +508,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_identifier` but received ''"): @@ -493,6 +525,7 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: account_identifier="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: subscription = await async_client.subscriptions.list( @@ -500,6 +533,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[Subscription], subscription, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.subscriptions.with_raw_response.list( @@ -511,6 +545,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: subscription = await response.parse() assert_matches_type(AsyncSinglePage[Subscription], subscription, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.subscriptions.with_streaming_response.list( @@ -524,6 +559,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_identifier` but received ''"): @@ -531,6 +567,7 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: "", ) + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: subscription = await async_client.subscriptions.delete( @@ -540,6 +577,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(SubscriptionDeleteResponse, subscription, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.subscriptions.with_raw_response.delete( @@ -553,6 +591,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: subscription = await response.parse() assert_matches_type(SubscriptionDeleteResponse, subscription, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.subscriptions.with_streaming_response.delete( @@ -568,6 +607,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_identifier` but received ''"): @@ -586,6 +626,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: subscription = await async_client.subscriptions.get( @@ -593,6 +634,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(SubscriptionGetResponse, subscription, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.subscriptions.with_raw_response.get( @@ -604,6 +646,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: subscription = await response.parse() assert_matches_type(SubscriptionGetResponse, subscription, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.subscriptions.with_streaming_response.get( @@ -617,6 +660,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `identifier` but received ''"): diff --git a/tests/api_resources/test_url_normalization.py b/tests/api_resources/test_url_normalization.py index bd0ad470a31..8cc032ab3e1 100644 --- a/tests/api_resources/test_url_normalization.py +++ b/tests/api_resources/test_url_normalization.py @@ -20,6 +20,7 @@ class TestURLNormalization: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: url_normalization = client.url_normalization.update( @@ -27,6 +28,7 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(URLNormalizationUpdateResponse, url_normalization, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: url_normalization = client.url_normalization.update( @@ -36,6 +38,7 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(URLNormalizationUpdateResponse, url_normalization, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.url_normalization.with_raw_response.update( @@ -47,6 +50,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: url_normalization = response.parse() assert_matches_type(URLNormalizationUpdateResponse, url_normalization, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.url_normalization.with_streaming_response.update( @@ -60,6 +64,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -67,6 +72,7 @@ def test_path_params_update(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: url_normalization = client.url_normalization.get( @@ -74,6 +80,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(URLNormalizationGetResponse, url_normalization, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.url_normalization.with_raw_response.get( @@ -85,6 +92,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: url_normalization = response.parse() assert_matches_type(URLNormalizationGetResponse, url_normalization, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.url_normalization.with_streaming_response.get( @@ -98,6 +106,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -109,6 +118,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncURLNormalization: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: url_normalization = await async_client.url_normalization.update( @@ -116,6 +126,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(URLNormalizationUpdateResponse, url_normalization, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: url_normalization = await async_client.url_normalization.update( @@ -125,6 +136,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(URLNormalizationUpdateResponse, url_normalization, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.url_normalization.with_raw_response.update( @@ -136,6 +148,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: url_normalization = await response.parse() assert_matches_type(URLNormalizationUpdateResponse, url_normalization, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.url_normalization.with_streaming_response.update( @@ -149,6 +162,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -156,6 +170,7 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: url_normalization = await async_client.url_normalization.get( @@ -163,6 +178,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(URLNormalizationGetResponse, url_normalization, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.url_normalization.with_raw_response.get( @@ -174,6 +190,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: url_normalization = await response.parse() assert_matches_type(URLNormalizationGetResponse, url_normalization, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.url_normalization.with_streaming_response.get( @@ -187,6 +204,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): diff --git a/tests/api_resources/test_url_scanner.py b/tests/api_resources/test_url_scanner.py index 99393bd91ce..edfb0767105 100644 --- a/tests/api_resources/test_url_scanner.py +++ b/tests/api_resources/test_url_scanner.py @@ -18,6 +18,7 @@ class TestURLScanner: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_scan(self, client: Cloudflare) -> None: url_scanner = client.url_scanner.scan( @@ -25,6 +26,7 @@ def test_method_scan(self, client: Cloudflare) -> None: ) assert_matches_type(URLScannerScanResponse, url_scanner, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_scan_with_all_params(self, client: Cloudflare) -> None: url_scanner = client.url_scanner.scan( @@ -49,6 +51,7 @@ def test_method_scan_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(URLScannerScanResponse, url_scanner, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_scan(self, client: Cloudflare) -> None: response = client.url_scanner.with_raw_response.scan( @@ -60,6 +63,7 @@ def test_raw_response_scan(self, client: Cloudflare) -> None: url_scanner = response.parse() assert_matches_type(URLScannerScanResponse, url_scanner, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_scan(self, client: Cloudflare) -> None: with client.url_scanner.with_streaming_response.scan( @@ -73,6 +77,7 @@ def test_streaming_response_scan(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_scan(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -84,6 +89,7 @@ def test_path_params_scan(self, client: Cloudflare) -> None: class TestAsyncURLScanner: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_scan(self, async_client: AsyncCloudflare) -> None: url_scanner = await async_client.url_scanner.scan( @@ -91,6 +97,7 @@ async def test_method_scan(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(URLScannerScanResponse, url_scanner, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_scan_with_all_params(self, async_client: AsyncCloudflare) -> None: url_scanner = await async_client.url_scanner.scan( @@ -115,6 +122,7 @@ async def test_method_scan_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(URLScannerScanResponse, url_scanner, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_scan(self, async_client: AsyncCloudflare) -> None: response = await async_client.url_scanner.with_raw_response.scan( @@ -126,6 +134,7 @@ async def test_raw_response_scan(self, async_client: AsyncCloudflare) -> None: url_scanner = await response.parse() assert_matches_type(URLScannerScanResponse, url_scanner, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_scan(self, async_client: AsyncCloudflare) -> None: async with async_client.url_scanner.with_streaming_response.scan( @@ -139,6 +148,7 @@ async def test_streaming_response_scan(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_scan(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/test_user.py b/tests/api_resources/test_user.py index b8fc2776d01..9207b88ab67 100644 --- a/tests/api_resources/test_user.py +++ b/tests/api_resources/test_user.py @@ -17,11 +17,13 @@ class TestUser: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: user = client.user.edit() assert_matches_type(UserEditResponse, user, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_edit_with_all_params(self, client: Cloudflare) -> None: user = client.user.edit( @@ -33,6 +35,7 @@ def test_method_edit_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(UserEditResponse, user, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.user.with_raw_response.edit() @@ -42,6 +45,7 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: user = response.parse() assert_matches_type(UserEditResponse, user, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.user.with_streaming_response.edit() as response: @@ -53,11 +57,13 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: user = client.user.get() assert_matches_type(UserGetResponse, user, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.user.with_raw_response.get() @@ -67,6 +73,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: user = response.parse() assert_matches_type(UserGetResponse, user, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.user.with_streaming_response.get() as response: @@ -82,11 +89,13 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: class TestAsyncUser: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: user = await async_client.user.edit() assert_matches_type(UserEditResponse, user, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) -> None: user = await async_client.user.edit( @@ -98,6 +107,7 @@ async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(UserEditResponse, user, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.user.with_raw_response.edit() @@ -107,6 +117,7 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: user = await response.parse() assert_matches_type(UserEditResponse, user, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.user.with_streaming_response.edit() as response: @@ -118,11 +129,13 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: user = await async_client.user.get() assert_matches_type(UserGetResponse, user, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.user.with_raw_response.get() @@ -132,6 +145,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: user = await response.parse() assert_matches_type(UserGetResponse, user, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.user.with_streaming_response.get() as response: diff --git a/tests/api_resources/test_waiting_rooms.py b/tests/api_resources/test_waiting_rooms.py index 6a4c88743a7..e8958b282f2 100644 --- a/tests/api_resources/test_waiting_rooms.py +++ b/tests/api_resources/test_waiting_rooms.py @@ -21,6 +21,7 @@ class TestWaitingRooms: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: waiting_room = client.waiting_rooms.create( @@ -32,6 +33,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(WaitingRoom, waiting_room, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: waiting_room = client.waiting_rooms.create( @@ -73,6 +75,7 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(WaitingRoom, waiting_room, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.waiting_rooms.with_raw_response.create( @@ -88,6 +91,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: waiting_room = response.parse() assert_matches_type(WaitingRoom, waiting_room, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.waiting_rooms.with_streaming_response.create( @@ -105,6 +109,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -116,6 +121,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: total_active_users=200, ) + @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: waiting_room = client.waiting_rooms.update( @@ -128,6 +134,7 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(WaitingRoom, waiting_room, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: waiting_room = client.waiting_rooms.update( @@ -170,6 +177,7 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(WaitingRoom, waiting_room, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.waiting_rooms.with_raw_response.update( @@ -186,6 +194,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: waiting_room = response.parse() assert_matches_type(WaitingRoom, waiting_room, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.waiting_rooms.with_streaming_response.update( @@ -204,6 +213,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -226,6 +236,7 @@ def test_path_params_update(self, client: Cloudflare) -> None: total_active_users=200, ) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: waiting_room = client.waiting_rooms.list( @@ -233,6 +244,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[WaitingRoom], waiting_room, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: waiting_room = client.waiting_rooms.list( @@ -242,6 +254,7 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[WaitingRoom], waiting_room, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.waiting_rooms.with_raw_response.list( @@ -253,6 +266,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: waiting_room = response.parse() assert_matches_type(SyncSinglePage[WaitingRoom], waiting_room, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.waiting_rooms.with_streaming_response.list( @@ -266,6 +280,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -273,6 +288,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: waiting_room = client.waiting_rooms.delete( @@ -282,6 +298,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(WaitingRoomDeleteResponse, waiting_room, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.waiting_rooms.with_raw_response.delete( @@ -295,6 +312,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: waiting_room = response.parse() assert_matches_type(WaitingRoomDeleteResponse, waiting_room, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.waiting_rooms.with_streaming_response.delete( @@ -310,6 +328,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -326,6 +345,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: waiting_room = client.waiting_rooms.edit( @@ -338,6 +358,7 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(WaitingRoom, waiting_room, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_edit_with_all_params(self, client: Cloudflare) -> None: waiting_room = client.waiting_rooms.edit( @@ -380,6 +401,7 @@ def test_method_edit_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(WaitingRoom, waiting_room, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.waiting_rooms.with_raw_response.edit( @@ -396,6 +418,7 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: waiting_room = response.parse() assert_matches_type(WaitingRoom, waiting_room, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.waiting_rooms.with_streaming_response.edit( @@ -414,6 +437,7 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -436,6 +460,7 @@ def test_path_params_edit(self, client: Cloudflare) -> None: total_active_users=200, ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: waiting_room = client.waiting_rooms.get( @@ -444,6 +469,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(WaitingRoom, waiting_room, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.waiting_rooms.with_raw_response.get( @@ -456,6 +482,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: waiting_room = response.parse() assert_matches_type(WaitingRoom, waiting_room, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.waiting_rooms.with_streaming_response.get( @@ -470,6 +497,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -488,6 +516,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncWaitingRooms: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: waiting_room = await async_client.waiting_rooms.create( @@ -499,6 +528,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(WaitingRoom, waiting_room, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: waiting_room = await async_client.waiting_rooms.create( @@ -540,6 +570,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(WaitingRoom, waiting_room, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.waiting_rooms.with_raw_response.create( @@ -555,6 +586,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: waiting_room = await response.parse() assert_matches_type(WaitingRoom, waiting_room, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.waiting_rooms.with_streaming_response.create( @@ -572,6 +604,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -583,6 +616,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: total_active_users=200, ) + @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: waiting_room = await async_client.waiting_rooms.update( @@ -595,6 +629,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(WaitingRoom, waiting_room, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: waiting_room = await async_client.waiting_rooms.update( @@ -637,6 +672,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(WaitingRoom, waiting_room, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.waiting_rooms.with_raw_response.update( @@ -653,6 +689,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: waiting_room = await response.parse() assert_matches_type(WaitingRoom, waiting_room, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.waiting_rooms.with_streaming_response.update( @@ -671,6 +708,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -693,6 +731,7 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: total_active_users=200, ) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: waiting_room = await async_client.waiting_rooms.list( @@ -700,6 +739,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[WaitingRoom], waiting_room, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: waiting_room = await async_client.waiting_rooms.list( @@ -709,6 +749,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncSinglePage[WaitingRoom], waiting_room, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.waiting_rooms.with_raw_response.list( @@ -720,6 +761,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: waiting_room = await response.parse() assert_matches_type(AsyncSinglePage[WaitingRoom], waiting_room, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.waiting_rooms.with_streaming_response.list( @@ -733,6 +775,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -740,6 +783,7 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: waiting_room = await async_client.waiting_rooms.delete( @@ -749,6 +793,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(WaitingRoomDeleteResponse, waiting_room, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.waiting_rooms.with_raw_response.delete( @@ -762,6 +807,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: waiting_room = await response.parse() assert_matches_type(WaitingRoomDeleteResponse, waiting_room, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.waiting_rooms.with_streaming_response.delete( @@ -777,6 +823,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -793,6 +840,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: waiting_room = await async_client.waiting_rooms.edit( @@ -805,6 +853,7 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(WaitingRoom, waiting_room, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) -> None: waiting_room = await async_client.waiting_rooms.edit( @@ -847,6 +896,7 @@ async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(WaitingRoom, waiting_room, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.waiting_rooms.with_raw_response.edit( @@ -863,6 +913,7 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: waiting_room = await response.parse() assert_matches_type(WaitingRoom, waiting_room, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.waiting_rooms.with_streaming_response.edit( @@ -881,6 +932,7 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -903,6 +955,7 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: total_active_users=200, ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: waiting_room = await async_client.waiting_rooms.get( @@ -911,6 +964,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(WaitingRoom, waiting_room, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.waiting_rooms.with_raw_response.get( @@ -923,6 +977,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: waiting_room = await response.parse() assert_matches_type(WaitingRoom, waiting_room, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.waiting_rooms.with_streaming_response.get( @@ -937,6 +992,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): diff --git a/tests/api_resources/test_warp_connector.py b/tests/api_resources/test_warp_connector.py index a19fa76b30a..4a4eb24fc85 100644 --- a/tests/api_resources/test_warp_connector.py +++ b/tests/api_resources/test_warp_connector.py @@ -26,6 +26,7 @@ class TestWARPConnector: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: warp_connector = client.warp_connector.create( @@ -34,6 +35,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(WARPConnectorCreateResponse, warp_connector, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.warp_connector.with_raw_response.create( @@ -46,6 +48,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: warp_connector = response.parse() assert_matches_type(WARPConnectorCreateResponse, warp_connector, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.warp_connector.with_streaming_response.create( @@ -60,6 +63,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -68,6 +72,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: name="blog", ) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: warp_connector = client.warp_connector.list( @@ -75,6 +80,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePaginationArray[WARPConnectorListResponse], warp_connector, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: warp_connector = client.warp_connector.list( @@ -92,6 +98,7 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePaginationArray[WARPConnectorListResponse], warp_connector, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.warp_connector.with_raw_response.list( @@ -103,6 +110,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: warp_connector = response.parse() assert_matches_type(SyncV4PagePaginationArray[WARPConnectorListResponse], warp_connector, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.warp_connector.with_streaming_response.list( @@ -116,6 +124,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -123,6 +132,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: warp_connector = client.warp_connector.delete( @@ -132,6 +142,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(WARPConnectorDeleteResponse, warp_connector, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.warp_connector.with_raw_response.delete( @@ -145,6 +156,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: warp_connector = response.parse() assert_matches_type(WARPConnectorDeleteResponse, warp_connector, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.warp_connector.with_streaming_response.delete( @@ -160,6 +172,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -176,6 +189,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: warp_connector = client.warp_connector.edit( @@ -184,6 +198,7 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(WARPConnectorEditResponse, warp_connector, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_edit_with_all_params(self, client: Cloudflare) -> None: warp_connector = client.warp_connector.edit( @@ -194,6 +209,7 @@ def test_method_edit_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(WARPConnectorEditResponse, warp_connector, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.warp_connector.with_raw_response.edit( @@ -206,6 +222,7 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: warp_connector = response.parse() assert_matches_type(WARPConnectorEditResponse, warp_connector, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.warp_connector.with_streaming_response.edit( @@ -220,6 +237,7 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -234,6 +252,7 @@ def test_path_params_edit(self, client: Cloudflare) -> None: account_id="699d98642c564d2e855e9661899b7252", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: warp_connector = client.warp_connector.get( @@ -242,6 +261,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(WARPConnectorGetResponse, warp_connector, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.warp_connector.with_raw_response.get( @@ -254,6 +274,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: warp_connector = response.parse() assert_matches_type(WARPConnectorGetResponse, warp_connector, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.warp_connector.with_streaming_response.get( @@ -268,6 +289,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -282,6 +304,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: account_id="699d98642c564d2e855e9661899b7252", ) + @pytest.mark.skip() @parametrize def test_method_token(self, client: Cloudflare) -> None: warp_connector = client.warp_connector.token( @@ -290,6 +313,7 @@ def test_method_token(self, client: Cloudflare) -> None: ) assert_matches_type(WARPConnectorTokenResponse, warp_connector, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_token(self, client: Cloudflare) -> None: response = client.warp_connector.with_raw_response.token( @@ -302,6 +326,7 @@ def test_raw_response_token(self, client: Cloudflare) -> None: warp_connector = response.parse() assert_matches_type(WARPConnectorTokenResponse, warp_connector, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_token(self, client: Cloudflare) -> None: with client.warp_connector.with_streaming_response.token( @@ -316,6 +341,7 @@ def test_streaming_response_token(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_token(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -334,6 +360,7 @@ def test_path_params_token(self, client: Cloudflare) -> None: class TestAsyncWARPConnector: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: warp_connector = await async_client.warp_connector.create( @@ -342,6 +369,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(WARPConnectorCreateResponse, warp_connector, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.warp_connector.with_raw_response.create( @@ -354,6 +382,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: warp_connector = await response.parse() assert_matches_type(WARPConnectorCreateResponse, warp_connector, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.warp_connector.with_streaming_response.create( @@ -368,6 +397,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -376,6 +406,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: name="blog", ) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: warp_connector = await async_client.warp_connector.list( @@ -383,6 +414,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncV4PagePaginationArray[WARPConnectorListResponse], warp_connector, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: warp_connector = await async_client.warp_connector.list( @@ -400,6 +432,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncV4PagePaginationArray[WARPConnectorListResponse], warp_connector, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.warp_connector.with_raw_response.list( @@ -411,6 +444,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: warp_connector = await response.parse() assert_matches_type(AsyncV4PagePaginationArray[WARPConnectorListResponse], warp_connector, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.warp_connector.with_streaming_response.list( @@ -426,6 +460,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -433,6 +468,7 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: warp_connector = await async_client.warp_connector.delete( @@ -442,6 +478,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(WARPConnectorDeleteResponse, warp_connector, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.warp_connector.with_raw_response.delete( @@ -455,6 +492,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: warp_connector = await response.parse() assert_matches_type(WARPConnectorDeleteResponse, warp_connector, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.warp_connector.with_streaming_response.delete( @@ -470,6 +508,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -486,6 +525,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: warp_connector = await async_client.warp_connector.edit( @@ -494,6 +534,7 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(WARPConnectorEditResponse, warp_connector, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) -> None: warp_connector = await async_client.warp_connector.edit( @@ -504,6 +545,7 @@ async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(WARPConnectorEditResponse, warp_connector, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.warp_connector.with_raw_response.edit( @@ -516,6 +558,7 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: warp_connector = await response.parse() assert_matches_type(WARPConnectorEditResponse, warp_connector, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.warp_connector.with_streaming_response.edit( @@ -530,6 +573,7 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -544,6 +588,7 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: account_id="699d98642c564d2e855e9661899b7252", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: warp_connector = await async_client.warp_connector.get( @@ -552,6 +597,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(WARPConnectorGetResponse, warp_connector, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.warp_connector.with_raw_response.get( @@ -564,6 +610,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: warp_connector = await response.parse() assert_matches_type(WARPConnectorGetResponse, warp_connector, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.warp_connector.with_streaming_response.get( @@ -578,6 +625,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -592,6 +640,7 @@ async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: account_id="699d98642c564d2e855e9661899b7252", ) + @pytest.mark.skip() @parametrize async def test_method_token(self, async_client: AsyncCloudflare) -> None: warp_connector = await async_client.warp_connector.token( @@ -600,6 +649,7 @@ async def test_method_token(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(WARPConnectorTokenResponse, warp_connector, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_token(self, async_client: AsyncCloudflare) -> None: response = await async_client.warp_connector.with_raw_response.token( @@ -612,6 +662,7 @@ async def test_raw_response_token(self, async_client: AsyncCloudflare) -> None: warp_connector = await response.parse() assert_matches_type(WARPConnectorTokenResponse, warp_connector, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_token(self, async_client: AsyncCloudflare) -> None: async with async_client.warp_connector.with_streaming_response.token( @@ -626,6 +677,7 @@ async def test_streaming_response_token(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_token(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/test_zones.py b/tests/api_resources/test_zones.py index a587aaf14f5..4e5a3fad6d3 100644 --- a/tests/api_resources/test_zones.py +++ b/tests/api_resources/test_zones.py @@ -18,6 +18,7 @@ class TestZones: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: zone = client.zones.create( @@ -26,6 +27,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Zone], zone, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: zone = client.zones.create( @@ -35,6 +37,7 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Zone], zone, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.zones.with_raw_response.create( @@ -47,6 +50,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: zone = response.parse() assert_matches_type(Optional[Zone], zone, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.zones.with_streaming_response.create( @@ -61,11 +65,13 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: zone = client.zones.list() assert_matches_type(SyncV4PagePaginationArray[Zone], zone, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: zone = client.zones.list( @@ -83,6 +89,7 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePaginationArray[Zone], zone, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.zones.with_raw_response.list() @@ -92,6 +99,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: zone = response.parse() assert_matches_type(SyncV4PagePaginationArray[Zone], zone, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.zones.with_streaming_response.list() as response: @@ -145,6 +153,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: zone = client.zones.edit( @@ -152,6 +161,7 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Zone], zone, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_edit_with_all_params(self, client: Cloudflare) -> None: zone = client.zones.edit( @@ -162,6 +172,7 @@ def test_method_edit_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Zone], zone, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.zones.with_raw_response.edit( @@ -173,6 +184,7 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: zone = response.parse() assert_matches_type(Optional[Zone], zone, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.zones.with_streaming_response.edit( @@ -186,6 +198,7 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -193,6 +206,7 @@ def test_path_params_edit(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: zone = client.zones.get( @@ -200,6 +214,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Zone], zone, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zones.with_raw_response.get( @@ -211,6 +226,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: zone = response.parse() assert_matches_type(Optional[Zone], zone, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zones.with_streaming_response.get( @@ -224,6 +240,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -235,6 +252,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncZones: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: zone = await async_client.zones.create( @@ -243,6 +261,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Zone], zone, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: zone = await async_client.zones.create( @@ -252,6 +271,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[Zone], zone, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.with_raw_response.create( @@ -264,6 +284,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: zone = await response.parse() assert_matches_type(Optional[Zone], zone, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.with_streaming_response.create( @@ -278,11 +299,13 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: zone = await async_client.zones.list() assert_matches_type(AsyncV4PagePaginationArray[Zone], zone, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: zone = await async_client.zones.list( @@ -300,6 +323,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncV4PagePaginationArray[Zone], zone, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.with_raw_response.list() @@ -309,6 +333,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: zone = await response.parse() assert_matches_type(AsyncV4PagePaginationArray[Zone], zone, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.with_streaming_response.list() as response: @@ -362,6 +387,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: zone = await async_client.zones.edit( @@ -369,6 +395,7 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Zone], zone, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) -> None: zone = await async_client.zones.edit( @@ -379,6 +406,7 @@ async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(Optional[Zone], zone, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.with_raw_response.edit( @@ -390,6 +418,7 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: zone = await response.parse() assert_matches_type(Optional[Zone], zone, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.with_streaming_response.edit( @@ -403,6 +432,7 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -410,6 +440,7 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: zone = await async_client.zones.get( @@ -417,6 +448,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Zone], zone, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.with_raw_response.get( @@ -428,6 +460,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: zone = await response.parse() assert_matches_type(Optional[Zone], zone, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.with_streaming_response.get( @@ -441,6 +474,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): diff --git a/tests/api_resources/url_scanner/test_scans.py b/tests/api_resources/url_scanner/test_scans.py index f58a63f883e..d0e817fddf5 100644 --- a/tests/api_resources/url_scanner/test_scans.py +++ b/tests/api_resources/url_scanner/test_scans.py @@ -29,6 +29,7 @@ class TestScans: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: scan = client.url_scanner.scans.create( @@ -37,6 +38,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(ScanCreateResponse, scan, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: scan = client.url_scanner.scans.create( @@ -48,6 +50,7 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(ScanCreateResponse, scan, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.url_scanner.scans.with_raw_response.create( @@ -60,6 +63,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: scan = response.parse() assert_matches_type(ScanCreateResponse, scan, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.url_scanner.scans.with_streaming_response.create( @@ -74,6 +78,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -82,6 +87,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: url="https://www.example.com", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: scan = client.url_scanner.scans.get( @@ -90,6 +96,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(ScanGetResponse, scan, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.url_scanner.scans.with_raw_response.get( @@ -102,6 +109,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: scan = response.parse() assert_matches_type(ScanGetResponse, scan, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.url_scanner.scans.with_streaming_response.get( @@ -116,6 +124,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -130,6 +139,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: account_id="string", ) + @pytest.mark.skip() @parametrize def test_method_har(self, client: Cloudflare) -> None: scan = client.url_scanner.scans.har( @@ -138,6 +148,7 @@ def test_method_har(self, client: Cloudflare) -> None: ) assert_matches_type(ScanHarResponse, scan, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_har(self, client: Cloudflare) -> None: response = client.url_scanner.scans.with_raw_response.har( @@ -150,6 +161,7 @@ def test_raw_response_har(self, client: Cloudflare) -> None: scan = response.parse() assert_matches_type(ScanHarResponse, scan, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_har(self, client: Cloudflare) -> None: with client.url_scanner.scans.with_streaming_response.har( @@ -164,6 +176,7 @@ def test_streaming_response_har(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_har(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -178,6 +191,7 @@ def test_path_params_har(self, client: Cloudflare) -> None: account_id="string", ) + @pytest.mark.skip() @parametrize @pytest.mark.respx(base_url=base_url) def test_method_screenshot(self, client: Cloudflare, respx_mock: MockRouter) -> None: @@ -193,6 +207,7 @@ def test_method_screenshot(self, client: Cloudflare, respx_mock: MockRouter) -> assert cast(Any, scan.is_closed) is True assert isinstance(scan, BinaryAPIResponse) + @pytest.mark.skip() @parametrize @pytest.mark.respx(base_url=base_url) def test_method_screenshot_with_all_params(self, client: Cloudflare, respx_mock: MockRouter) -> None: @@ -209,6 +224,7 @@ def test_method_screenshot_with_all_params(self, client: Cloudflare, respx_mock: assert cast(Any, scan.is_closed) is True assert isinstance(scan, BinaryAPIResponse) + @pytest.mark.skip() @parametrize @pytest.mark.respx(base_url=base_url) def test_raw_response_screenshot(self, client: Cloudflare, respx_mock: MockRouter) -> None: @@ -226,6 +242,7 @@ def test_raw_response_screenshot(self, client: Cloudflare, respx_mock: MockRoute assert scan.json() == {"foo": "bar"} assert isinstance(scan, BinaryAPIResponse) + @pytest.mark.skip() @parametrize @pytest.mark.respx(base_url=base_url) def test_streaming_response_screenshot(self, client: Cloudflare, respx_mock: MockRouter) -> None: @@ -245,6 +262,7 @@ def test_streaming_response_screenshot(self, client: Cloudflare, respx_mock: Moc assert cast(Any, scan.is_closed) is True + @pytest.mark.skip() @parametrize @pytest.mark.respx(base_url=base_url) def test_path_params_screenshot(self, client: Cloudflare) -> None: @@ -264,6 +282,7 @@ def test_path_params_screenshot(self, client: Cloudflare) -> None: class TestAsyncScans: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: scan = await async_client.url_scanner.scans.create( @@ -272,6 +291,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(ScanCreateResponse, scan, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: scan = await async_client.url_scanner.scans.create( @@ -283,6 +303,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(ScanCreateResponse, scan, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.url_scanner.scans.with_raw_response.create( @@ -295,6 +316,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: scan = await response.parse() assert_matches_type(ScanCreateResponse, scan, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.url_scanner.scans.with_streaming_response.create( @@ -309,6 +331,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -317,6 +340,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: url="https://www.example.com", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: scan = await async_client.url_scanner.scans.get( @@ -325,6 +349,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(ScanGetResponse, scan, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.url_scanner.scans.with_raw_response.get( @@ -337,6 +362,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: scan = await response.parse() assert_matches_type(ScanGetResponse, scan, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.url_scanner.scans.with_streaming_response.get( @@ -351,6 +377,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -365,6 +392,7 @@ async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: account_id="string", ) + @pytest.mark.skip() @parametrize async def test_method_har(self, async_client: AsyncCloudflare) -> None: scan = await async_client.url_scanner.scans.har( @@ -373,6 +401,7 @@ async def test_method_har(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(ScanHarResponse, scan, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_har(self, async_client: AsyncCloudflare) -> None: response = await async_client.url_scanner.scans.with_raw_response.har( @@ -385,6 +414,7 @@ async def test_raw_response_har(self, async_client: AsyncCloudflare) -> None: scan = await response.parse() assert_matches_type(ScanHarResponse, scan, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_har(self, async_client: AsyncCloudflare) -> None: async with async_client.url_scanner.scans.with_streaming_response.har( @@ -399,6 +429,7 @@ async def test_streaming_response_har(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_har(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -413,6 +444,7 @@ async def test_path_params_har(self, async_client: AsyncCloudflare) -> None: account_id="string", ) + @pytest.mark.skip() @parametrize @pytest.mark.respx(base_url=base_url) async def test_method_screenshot(self, async_client: AsyncCloudflare, respx_mock: MockRouter) -> None: @@ -428,6 +460,7 @@ async def test_method_screenshot(self, async_client: AsyncCloudflare, respx_mock assert cast(Any, scan.is_closed) is True assert isinstance(scan, AsyncBinaryAPIResponse) + @pytest.mark.skip() @parametrize @pytest.mark.respx(base_url=base_url) async def test_method_screenshot_with_all_params( @@ -446,6 +479,7 @@ async def test_method_screenshot_with_all_params( assert cast(Any, scan.is_closed) is True assert isinstance(scan, AsyncBinaryAPIResponse) + @pytest.mark.skip() @parametrize @pytest.mark.respx(base_url=base_url) async def test_raw_response_screenshot(self, async_client: AsyncCloudflare, respx_mock: MockRouter) -> None: @@ -463,6 +497,7 @@ async def test_raw_response_screenshot(self, async_client: AsyncCloudflare, resp assert await scan.json() == {"foo": "bar"} assert isinstance(scan, AsyncBinaryAPIResponse) + @pytest.mark.skip() @parametrize @pytest.mark.respx(base_url=base_url) async def test_streaming_response_screenshot(self, async_client: AsyncCloudflare, respx_mock: MockRouter) -> None: @@ -482,6 +517,7 @@ async def test_streaming_response_screenshot(self, async_client: AsyncCloudflare assert cast(Any, scan.is_closed) is True + @pytest.mark.skip() @parametrize @pytest.mark.respx(base_url=base_url) async def test_path_params_screenshot(self, async_client: AsyncCloudflare) -> None: diff --git a/tests/api_resources/user/billing/test_history.py b/tests/api_resources/user/billing/test_history.py index 97cbf8ea7e2..d16cf7ce228 100644 --- a/tests/api_resources/user/billing/test_history.py +++ b/tests/api_resources/user/billing/test_history.py @@ -19,11 +19,13 @@ class TestHistory: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: history = client.user.billing.history.list() assert_matches_type(SyncV4PagePaginationArray[BillingHistory], history, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: history = client.user.billing.history.list( @@ -37,6 +39,7 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePaginationArray[BillingHistory], history, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.user.billing.history.with_raw_response.list() @@ -46,6 +49,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: history = response.parse() assert_matches_type(SyncV4PagePaginationArray[BillingHistory], history, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.user.billing.history.with_streaming_response.list() as response: @@ -61,11 +65,13 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: class TestAsyncHistory: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: history = await async_client.user.billing.history.list() assert_matches_type(AsyncV4PagePaginationArray[BillingHistory], history, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: history = await async_client.user.billing.history.list( @@ -79,6 +85,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncV4PagePaginationArray[BillingHistory], history, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.user.billing.history.with_raw_response.list() @@ -88,6 +95,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: history = await response.parse() assert_matches_type(AsyncV4PagePaginationArray[BillingHistory], history, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.user.billing.history.with_streaming_response.list() as response: diff --git a/tests/api_resources/user/billing/test_profile.py b/tests/api_resources/user/billing/test_profile.py index 1436c46dd18..fdeecb4384e 100644 --- a/tests/api_resources/user/billing/test_profile.py +++ b/tests/api_resources/user/billing/test_profile.py @@ -17,11 +17,13 @@ class TestProfile: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: profile = client.user.billing.profile.get() assert_matches_type(ProfileGetResponse, profile, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.user.billing.profile.with_raw_response.get() @@ -31,6 +33,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: profile = response.parse() assert_matches_type(ProfileGetResponse, profile, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.user.billing.profile.with_streaming_response.get() as response: @@ -46,11 +49,13 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: class TestAsyncProfile: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: profile = await async_client.user.billing.profile.get() assert_matches_type(ProfileGetResponse, profile, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.user.billing.profile.with_raw_response.get() @@ -60,6 +65,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: profile = await response.parse() assert_matches_type(ProfileGetResponse, profile, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.user.billing.profile.with_streaming_response.get() as response: diff --git a/tests/api_resources/user/test_audit_logs.py b/tests/api_resources/user/test_audit_logs.py index 0caf6dab72c..991015f606d 100644 --- a/tests/api_resources/user/test_audit_logs.py +++ b/tests/api_resources/user/test_audit_logs.py @@ -19,11 +19,13 @@ class TestAuditLogs: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: audit_log = client.user.audit_logs.list() assert_matches_type(SyncV4PagePaginationArray[AuditLog], audit_log, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: audit_log = client.user.audit_logs.list( @@ -44,6 +46,7 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePaginationArray[AuditLog], audit_log, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.user.audit_logs.with_raw_response.list() @@ -53,6 +56,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: audit_log = response.parse() assert_matches_type(SyncV4PagePaginationArray[AuditLog], audit_log, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.user.audit_logs.with_streaming_response.list() as response: @@ -68,11 +72,13 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: class TestAsyncAuditLogs: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: audit_log = await async_client.user.audit_logs.list() assert_matches_type(AsyncV4PagePaginationArray[AuditLog], audit_log, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: audit_log = await async_client.user.audit_logs.list( @@ -93,6 +99,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncV4PagePaginationArray[AuditLog], audit_log, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.user.audit_logs.with_raw_response.list() @@ -102,6 +109,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: audit_log = await response.parse() assert_matches_type(AsyncV4PagePaginationArray[AuditLog], audit_log, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.user.audit_logs.with_streaming_response.list() as response: diff --git a/tests/api_resources/user/test_invites.py b/tests/api_resources/user/test_invites.py index 73926fbc056..0236e4db1f9 100644 --- a/tests/api_resources/user/test_invites.py +++ b/tests/api_resources/user/test_invites.py @@ -18,11 +18,13 @@ class TestInvites: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: invite = client.user.invites.list() assert_matches_type(SyncSinglePage[Invite], invite, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.user.invites.with_raw_response.list() @@ -32,6 +34,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: invite = response.parse() assert_matches_type(SyncSinglePage[Invite], invite, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.user.invites.with_streaming_response.list() as response: @@ -43,6 +46,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: invite = client.user.invites.edit( @@ -51,6 +55,7 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(InviteEditResponse, invite, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.user.invites.with_raw_response.edit( @@ -63,6 +68,7 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: invite = response.parse() assert_matches_type(InviteEditResponse, invite, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.user.invites.with_streaming_response.edit( @@ -77,6 +83,7 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `invite_id` but received ''"): @@ -85,6 +92,7 @@ def test_path_params_edit(self, client: Cloudflare) -> None: status="accepted", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: invite = client.user.invites.get( @@ -92,6 +100,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(InviteGetResponse, invite, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.user.invites.with_raw_response.get( @@ -103,6 +112,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: invite = response.parse() assert_matches_type(InviteGetResponse, invite, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.user.invites.with_streaming_response.get( @@ -116,6 +126,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `invite_id` but received ''"): @@ -127,11 +138,13 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncInvites: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: invite = await async_client.user.invites.list() assert_matches_type(AsyncSinglePage[Invite], invite, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.user.invites.with_raw_response.list() @@ -141,6 +154,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: invite = await response.parse() assert_matches_type(AsyncSinglePage[Invite], invite, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.user.invites.with_streaming_response.list() as response: @@ -152,6 +166,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: invite = await async_client.user.invites.edit( @@ -160,6 +175,7 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(InviteEditResponse, invite, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.user.invites.with_raw_response.edit( @@ -172,6 +188,7 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: invite = await response.parse() assert_matches_type(InviteEditResponse, invite, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.user.invites.with_streaming_response.edit( @@ -186,6 +203,7 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `invite_id` but received ''"): @@ -194,6 +212,7 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: status="accepted", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: invite = await async_client.user.invites.get( @@ -201,6 +220,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(InviteGetResponse, invite, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.user.invites.with_raw_response.get( @@ -212,6 +232,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: invite = await response.parse() assert_matches_type(InviteGetResponse, invite, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.user.invites.with_streaming_response.get( @@ -225,6 +246,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `invite_id` but received ''"): diff --git a/tests/api_resources/user/test_organizations.py b/tests/api_resources/user/test_organizations.py index 2057bf0487a..9d3593991ee 100644 --- a/tests/api_resources/user/test_organizations.py +++ b/tests/api_resources/user/test_organizations.py @@ -22,11 +22,13 @@ class TestOrganizations: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: organization = client.user.organizations.list() assert_matches_type(SyncV4PagePaginationArray[Organization], organization, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: organization = client.user.organizations.list( @@ -40,6 +42,7 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePaginationArray[Organization], organization, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.user.organizations.with_raw_response.list() @@ -49,6 +52,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: organization = response.parse() assert_matches_type(SyncV4PagePaginationArray[Organization], organization, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.user.organizations.with_streaming_response.list() as response: @@ -60,6 +64,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: organization = client.user.organizations.delete( @@ -68,6 +73,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(OrganizationDeleteResponse, organization, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.user.organizations.with_raw_response.delete( @@ -80,6 +86,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: organization = response.parse() assert_matches_type(OrganizationDeleteResponse, organization, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.user.organizations.with_streaming_response.delete( @@ -94,6 +101,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `organization_id` but received ''"): @@ -102,6 +110,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: organization = client.user.organizations.get( @@ -109,6 +118,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(OrganizationGetResponse, organization, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.user.organizations.with_raw_response.get( @@ -120,6 +130,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: organization = response.parse() assert_matches_type(OrganizationGetResponse, organization, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.user.organizations.with_streaming_response.get( @@ -133,6 +144,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `organization_id` but received ''"): @@ -144,11 +156,13 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncOrganizations: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: organization = await async_client.user.organizations.list() assert_matches_type(AsyncV4PagePaginationArray[Organization], organization, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: organization = await async_client.user.organizations.list( @@ -162,6 +176,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncV4PagePaginationArray[Organization], organization, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.user.organizations.with_raw_response.list() @@ -171,6 +186,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: organization = await response.parse() assert_matches_type(AsyncV4PagePaginationArray[Organization], organization, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.user.organizations.with_streaming_response.list() as response: @@ -182,6 +198,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: organization = await async_client.user.organizations.delete( @@ -190,6 +207,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(OrganizationDeleteResponse, organization, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.user.organizations.with_raw_response.delete( @@ -202,6 +220,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: organization = await response.parse() assert_matches_type(OrganizationDeleteResponse, organization, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.user.organizations.with_streaming_response.delete( @@ -216,6 +235,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `organization_id` but received ''"): @@ -224,6 +244,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: organization = await async_client.user.organizations.get( @@ -231,6 +252,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(OrganizationGetResponse, organization, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.user.organizations.with_raw_response.get( @@ -242,6 +264,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: organization = await response.parse() assert_matches_type(OrganizationGetResponse, organization, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.user.organizations.with_streaming_response.get( @@ -255,6 +278,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `organization_id` but received ''"): diff --git a/tests/api_resources/user/test_subscriptions.py b/tests/api_resources/user/test_subscriptions.py index 282dcb673a4..68f8a80684d 100644 --- a/tests/api_resources/user/test_subscriptions.py +++ b/tests/api_resources/user/test_subscriptions.py @@ -22,6 +22,7 @@ class TestSubscriptions: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: subscription = client.user.subscriptions.update( @@ -29,6 +30,7 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(SubscriptionUpdateResponse, subscription, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: subscription = client.user.subscriptions.update( @@ -68,6 +70,7 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SubscriptionUpdateResponse, subscription, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.user.subscriptions.with_raw_response.update( @@ -79,6 +82,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: subscription = response.parse() assert_matches_type(SubscriptionUpdateResponse, subscription, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.user.subscriptions.with_streaming_response.update( @@ -92,6 +96,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `identifier` but received ''"): @@ -99,6 +104,7 @@ def test_path_params_update(self, client: Cloudflare) -> None: "", ) + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: subscription = client.user.subscriptions.delete( @@ -107,6 +113,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(SubscriptionDeleteResponse, subscription, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.user.subscriptions.with_raw_response.delete( @@ -119,6 +126,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: subscription = response.parse() assert_matches_type(SubscriptionDeleteResponse, subscription, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.user.subscriptions.with_streaming_response.delete( @@ -133,6 +141,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `identifier` but received ''"): @@ -141,6 +150,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: subscription = client.user.subscriptions.edit( @@ -148,6 +158,7 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(SubscriptionEditResponse, subscription, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_edit_with_all_params(self, client: Cloudflare) -> None: subscription = client.user.subscriptions.edit( @@ -187,6 +198,7 @@ def test_method_edit_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SubscriptionEditResponse, subscription, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.user.subscriptions.with_raw_response.edit( @@ -198,6 +210,7 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: subscription = response.parse() assert_matches_type(SubscriptionEditResponse, subscription, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.user.subscriptions.with_streaming_response.edit( @@ -211,6 +224,7 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `identifier` but received ''"): @@ -218,11 +232,13 @@ def test_path_params_edit(self, client: Cloudflare) -> None: "", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: subscription = client.user.subscriptions.get() assert_matches_type(Optional[SubscriptionGetResponse], subscription, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.user.subscriptions.with_raw_response.get() @@ -232,6 +248,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: subscription = response.parse() assert_matches_type(Optional[SubscriptionGetResponse], subscription, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.user.subscriptions.with_streaming_response.get() as response: @@ -247,6 +264,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: class TestAsyncSubscriptions: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: subscription = await async_client.user.subscriptions.update( @@ -254,6 +272,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(SubscriptionUpdateResponse, subscription, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: subscription = await async_client.user.subscriptions.update( @@ -293,6 +312,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(SubscriptionUpdateResponse, subscription, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.user.subscriptions.with_raw_response.update( @@ -304,6 +324,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: subscription = await response.parse() assert_matches_type(SubscriptionUpdateResponse, subscription, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.user.subscriptions.with_streaming_response.update( @@ -317,6 +338,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `identifier` but received ''"): @@ -324,6 +346,7 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: "", ) + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: subscription = await async_client.user.subscriptions.delete( @@ -332,6 +355,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(SubscriptionDeleteResponse, subscription, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.user.subscriptions.with_raw_response.delete( @@ -344,6 +368,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: subscription = await response.parse() assert_matches_type(SubscriptionDeleteResponse, subscription, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.user.subscriptions.with_streaming_response.delete( @@ -358,6 +383,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `identifier` but received ''"): @@ -366,6 +392,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: subscription = await async_client.user.subscriptions.edit( @@ -373,6 +400,7 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(SubscriptionEditResponse, subscription, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) -> None: subscription = await async_client.user.subscriptions.edit( @@ -412,6 +440,7 @@ async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(SubscriptionEditResponse, subscription, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.user.subscriptions.with_raw_response.edit( @@ -423,6 +452,7 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: subscription = await response.parse() assert_matches_type(SubscriptionEditResponse, subscription, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.user.subscriptions.with_streaming_response.edit( @@ -436,6 +466,7 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `identifier` but received ''"): @@ -443,11 +474,13 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: "", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: subscription = await async_client.user.subscriptions.get() assert_matches_type(Optional[SubscriptionGetResponse], subscription, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.user.subscriptions.with_raw_response.get() @@ -457,6 +490,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: subscription = await response.parse() assert_matches_type(Optional[SubscriptionGetResponse], subscription, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.user.subscriptions.with_streaming_response.get() as response: diff --git a/tests/api_resources/user/test_tokens.py b/tests/api_resources/user/test_tokens.py index 1ec9fb05efb..69ffa843fff 100644 --- a/tests/api_resources/user/test_tokens.py +++ b/tests/api_resources/user/test_tokens.py @@ -25,6 +25,7 @@ class TestTokens: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: token = client.user.tokens.create( @@ -58,6 +59,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(TokenCreateResponse, token, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: token = client.user.tokens.create( @@ -99,6 +101,7 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(TokenCreateResponse, token, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.user.tokens.with_raw_response.create( @@ -136,6 +139,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: token = response.parse() assert_matches_type(TokenCreateResponse, token, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.user.tokens.with_streaming_response.create( @@ -175,6 +179,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: token = client.user.tokens.update( @@ -210,6 +215,7 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(TokenUpdateResponse, token, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: token = client.user.tokens.update( @@ -253,6 +259,7 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(TokenUpdateResponse, token, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.user.tokens.with_raw_response.update( @@ -292,6 +299,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: token = response.parse() assert_matches_type(TokenUpdateResponse, token, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.user.tokens.with_streaming_response.update( @@ -333,11 +341,13 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: token = client.user.tokens.list() assert_matches_type(SyncV4PagePaginationArray[object], token, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: token = client.user.tokens.list( @@ -347,6 +357,7 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePaginationArray[object], token, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.user.tokens.with_raw_response.list() @@ -356,6 +367,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: token = response.parse() assert_matches_type(SyncV4PagePaginationArray[object], token, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.user.tokens.with_streaming_response.list() as response: @@ -367,6 +379,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: token = client.user.tokens.delete( @@ -375,6 +388,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[TokenDeleteResponse], token, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.user.tokens.with_raw_response.delete( @@ -387,6 +401,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: token = response.parse() assert_matches_type(Optional[TokenDeleteResponse], token, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.user.tokens.with_streaming_response.delete( @@ -401,6 +416,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: token = client.user.tokens.get( @@ -408,6 +424,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(TokenGetResponse, token, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.user.tokens.with_raw_response.get( @@ -419,6 +436,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: token = response.parse() assert_matches_type(TokenGetResponse, token, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.user.tokens.with_streaming_response.get( @@ -432,11 +450,13 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_verify(self, client: Cloudflare) -> None: token = client.user.tokens.verify() assert_matches_type(TokenVerifyResponse, token, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_verify(self, client: Cloudflare) -> None: response = client.user.tokens.with_raw_response.verify() @@ -446,6 +466,7 @@ def test_raw_response_verify(self, client: Cloudflare) -> None: token = response.parse() assert_matches_type(TokenVerifyResponse, token, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_verify(self, client: Cloudflare) -> None: with client.user.tokens.with_streaming_response.verify() as response: @@ -461,6 +482,7 @@ def test_streaming_response_verify(self, client: Cloudflare) -> None: class TestAsyncTokens: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: token = await async_client.user.tokens.create( @@ -494,6 +516,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(TokenCreateResponse, token, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: token = await async_client.user.tokens.create( @@ -535,6 +558,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(TokenCreateResponse, token, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.user.tokens.with_raw_response.create( @@ -572,6 +596,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: token = await response.parse() assert_matches_type(TokenCreateResponse, token, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.user.tokens.with_streaming_response.create( @@ -611,6 +636,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: token = await async_client.user.tokens.update( @@ -646,6 +672,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(TokenUpdateResponse, token, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: token = await async_client.user.tokens.update( @@ -689,6 +716,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(TokenUpdateResponse, token, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.user.tokens.with_raw_response.update( @@ -728,6 +756,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: token = await response.parse() assert_matches_type(TokenUpdateResponse, token, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.user.tokens.with_streaming_response.update( @@ -769,11 +798,13 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: token = await async_client.user.tokens.list() assert_matches_type(AsyncV4PagePaginationArray[object], token, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: token = await async_client.user.tokens.list( @@ -783,6 +814,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncV4PagePaginationArray[object], token, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.user.tokens.with_raw_response.list() @@ -792,6 +824,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: token = await response.parse() assert_matches_type(AsyncV4PagePaginationArray[object], token, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.user.tokens.with_streaming_response.list() as response: @@ -803,6 +836,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: token = await async_client.user.tokens.delete( @@ -811,6 +845,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[TokenDeleteResponse], token, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.user.tokens.with_raw_response.delete( @@ -823,6 +858,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: token = await response.parse() assert_matches_type(Optional[TokenDeleteResponse], token, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.user.tokens.with_streaming_response.delete( @@ -837,6 +873,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: token = await async_client.user.tokens.get( @@ -844,6 +881,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(TokenGetResponse, token, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.user.tokens.with_raw_response.get( @@ -855,6 +893,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: token = await response.parse() assert_matches_type(TokenGetResponse, token, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.user.tokens.with_streaming_response.get( @@ -868,11 +907,13 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_verify(self, async_client: AsyncCloudflare) -> None: token = await async_client.user.tokens.verify() assert_matches_type(TokenVerifyResponse, token, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_verify(self, async_client: AsyncCloudflare) -> None: response = await async_client.user.tokens.with_raw_response.verify() @@ -882,6 +923,7 @@ async def test_raw_response_verify(self, async_client: AsyncCloudflare) -> None: token = await response.parse() assert_matches_type(TokenVerifyResponse, token, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_verify(self, async_client: AsyncCloudflare) -> None: async with async_client.user.tokens.with_streaming_response.verify() as response: diff --git a/tests/api_resources/user/tokens/test_permission_groups.py b/tests/api_resources/user/tokens/test_permission_groups.py index f92a3cb1818..fc5c12aeb29 100644 --- a/tests/api_resources/user/tokens/test_permission_groups.py +++ b/tests/api_resources/user/tokens/test_permission_groups.py @@ -17,11 +17,13 @@ class TestPermissionGroups: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: permission_group = client.user.tokens.permission_groups.list() assert_matches_type(SyncSinglePage[object], permission_group, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.user.tokens.permission_groups.with_raw_response.list() @@ -31,6 +33,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: permission_group = response.parse() assert_matches_type(SyncSinglePage[object], permission_group, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.user.tokens.permission_groups.with_streaming_response.list() as response: @@ -46,11 +49,13 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: class TestAsyncPermissionGroups: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: permission_group = await async_client.user.tokens.permission_groups.list() assert_matches_type(AsyncSinglePage[object], permission_group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.user.tokens.permission_groups.with_raw_response.list() @@ -60,6 +65,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: permission_group = await response.parse() assert_matches_type(AsyncSinglePage[object], permission_group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.user.tokens.permission_groups.with_streaming_response.list() as response: diff --git a/tests/api_resources/user/tokens/test_value.py b/tests/api_resources/user/tokens/test_value.py index d4ef302b8e1..697920b8c14 100644 --- a/tests/api_resources/user/tokens/test_value.py +++ b/tests/api_resources/user/tokens/test_value.py @@ -16,6 +16,7 @@ class TestValue: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: value = client.user.tokens.value.update( @@ -24,6 +25,7 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(str, value, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.user.tokens.value.with_raw_response.update( @@ -36,6 +38,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: value = response.parse() assert_matches_type(str, value, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.user.tokens.value.with_streaming_response.update( @@ -54,6 +57,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: class TestAsyncValue: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: value = await async_client.user.tokens.value.update( @@ -62,6 +66,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(str, value, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.user.tokens.value.with_raw_response.update( @@ -74,6 +79,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: value = await response.parse() assert_matches_type(str, value, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.user.tokens.value.with_streaming_response.update( diff --git a/tests/api_resources/vectorize/test_indexes.py b/tests/api_resources/vectorize/test_indexes.py index e90c1b9f379..5b7bccfe4cf 100644 --- a/tests/api_resources/vectorize/test_indexes.py +++ b/tests/api_resources/vectorize/test_indexes.py @@ -25,6 +25,7 @@ class TestIndexes: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: index = client.vectorize.indexes.create( @@ -37,6 +38,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[CreateIndex], index, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: index = client.vectorize.indexes.create( @@ -50,6 +52,7 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[CreateIndex], index, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.vectorize.indexes.with_raw_response.create( @@ -66,6 +69,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: index = response.parse() assert_matches_type(Optional[CreateIndex], index, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.vectorize.indexes.with_streaming_response.create( @@ -84,6 +88,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -96,6 +101,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: name="example-index", ) + @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: index = client.vectorize.indexes.update( @@ -105,6 +111,7 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[CreateIndex], index, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.vectorize.indexes.with_raw_response.update( @@ -118,6 +125,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: index = response.parse() assert_matches_type(Optional[CreateIndex], index, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.vectorize.indexes.with_streaming_response.update( @@ -133,6 +141,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -149,6 +158,7 @@ def test_path_params_update(self, client: Cloudflare) -> None: description="This is my example index.", ) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: index = client.vectorize.indexes.list( @@ -156,6 +166,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[CreateIndex], index, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.vectorize.indexes.with_raw_response.list( @@ -167,6 +178,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: index = response.parse() assert_matches_type(SyncSinglePage[CreateIndex], index, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.vectorize.indexes.with_streaming_response.list( @@ -180,6 +192,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -187,6 +200,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: index = client.vectorize.indexes.delete( @@ -195,6 +209,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(IndexDeleteResponse, index, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.vectorize.indexes.with_raw_response.delete( @@ -207,6 +222,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: index = response.parse() assert_matches_type(IndexDeleteResponse, index, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.vectorize.indexes.with_streaming_response.delete( @@ -221,6 +237,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -235,6 +252,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize def test_method_delete_by_ids(self, client: Cloudflare) -> None: index = client.vectorize.indexes.delete_by_ids( @@ -243,6 +261,7 @@ def test_method_delete_by_ids(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[IndexDeleteVectorsByID], index, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_delete_by_ids_with_all_params(self, client: Cloudflare) -> None: index = client.vectorize.indexes.delete_by_ids( @@ -252,6 +271,7 @@ def test_method_delete_by_ids_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[IndexDeleteVectorsByID], index, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete_by_ids(self, client: Cloudflare) -> None: response = client.vectorize.indexes.with_raw_response.delete_by_ids( @@ -264,6 +284,7 @@ def test_raw_response_delete_by_ids(self, client: Cloudflare) -> None: index = response.parse() assert_matches_type(Optional[IndexDeleteVectorsByID], index, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete_by_ids(self, client: Cloudflare) -> None: with client.vectorize.indexes.with_streaming_response.delete_by_ids( @@ -278,6 +299,7 @@ def test_streaming_response_delete_by_ids(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete_by_ids(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -292,6 +314,7 @@ def test_path_params_delete_by_ids(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: index = client.vectorize.indexes.get( @@ -300,6 +323,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[CreateIndex], index, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.vectorize.indexes.with_raw_response.get( @@ -312,6 +336,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: index = response.parse() assert_matches_type(Optional[CreateIndex], index, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.vectorize.indexes.with_streaming_response.get( @@ -326,6 +351,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -340,6 +366,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize def test_method_get_by_ids(self, client: Cloudflare) -> None: index = client.vectorize.indexes.get_by_ids( @@ -348,6 +375,7 @@ def test_method_get_by_ids(self, client: Cloudflare) -> None: ) assert_matches_type(object, index, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_get_by_ids_with_all_params(self, client: Cloudflare) -> None: index = client.vectorize.indexes.get_by_ids( @@ -357,6 +385,7 @@ def test_method_get_by_ids_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(object, index, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get_by_ids(self, client: Cloudflare) -> None: response = client.vectorize.indexes.with_raw_response.get_by_ids( @@ -369,6 +398,7 @@ def test_raw_response_get_by_ids(self, client: Cloudflare) -> None: index = response.parse() assert_matches_type(object, index, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get_by_ids(self, client: Cloudflare) -> None: with client.vectorize.indexes.with_streaming_response.get_by_ids( @@ -383,6 +413,7 @@ def test_streaming_response_get_by_ids(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get_by_ids(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -397,6 +428,7 @@ def test_path_params_get_by_ids(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize def test_method_insert(self, client: Cloudflare) -> None: index = client.vectorize.indexes.insert( @@ -406,6 +438,7 @@ def test_method_insert(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[IndexInsert], index, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_insert(self, client: Cloudflare) -> None: response = client.vectorize.indexes.with_raw_response.insert( @@ -419,6 +452,7 @@ def test_raw_response_insert(self, client: Cloudflare) -> None: index = response.parse() assert_matches_type(Optional[IndexInsert], index, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_insert(self, client: Cloudflare) -> None: with client.vectorize.indexes.with_streaming_response.insert( @@ -434,6 +468,7 @@ def test_streaming_response_insert(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_insert(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -450,6 +485,7 @@ def test_path_params_insert(self, client: Cloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize def test_method_query(self, client: Cloudflare) -> None: index = client.vectorize.indexes.query( @@ -459,6 +495,7 @@ def test_method_query(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[IndexQuery], index, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_query_with_all_params(self, client: Cloudflare) -> None: index = client.vectorize.indexes.query( @@ -475,6 +512,7 @@ def test_method_query_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[IndexQuery], index, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_query(self, client: Cloudflare) -> None: response = client.vectorize.indexes.with_raw_response.query( @@ -488,6 +526,7 @@ def test_raw_response_query(self, client: Cloudflare) -> None: index = response.parse() assert_matches_type(Optional[IndexQuery], index, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_query(self, client: Cloudflare) -> None: with client.vectorize.indexes.with_streaming_response.query( @@ -503,6 +542,7 @@ def test_streaming_response_query(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_query(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -519,6 +559,7 @@ def test_path_params_query(self, client: Cloudflare) -> None: vector=[0.5, 0.5, 0.5], ) + @pytest.mark.skip() @parametrize def test_method_upsert(self, client: Cloudflare) -> None: index = client.vectorize.indexes.upsert( @@ -528,6 +569,7 @@ def test_method_upsert(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[IndexUpsert], index, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_upsert(self, client: Cloudflare) -> None: response = client.vectorize.indexes.with_raw_response.upsert( @@ -541,6 +583,7 @@ def test_raw_response_upsert(self, client: Cloudflare) -> None: index = response.parse() assert_matches_type(Optional[IndexUpsert], index, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_upsert(self, client: Cloudflare) -> None: with client.vectorize.indexes.with_streaming_response.upsert( @@ -556,6 +599,7 @@ def test_streaming_response_upsert(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_upsert(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -576,6 +620,7 @@ def test_path_params_upsert(self, client: Cloudflare) -> None: class TestAsyncIndexes: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: index = await async_client.vectorize.indexes.create( @@ -588,6 +633,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[CreateIndex], index, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: index = await async_client.vectorize.indexes.create( @@ -601,6 +647,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[CreateIndex], index, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.vectorize.indexes.with_raw_response.create( @@ -617,6 +664,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: index = await response.parse() assert_matches_type(Optional[CreateIndex], index, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.vectorize.indexes.with_streaming_response.create( @@ -635,6 +683,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -647,6 +696,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: name="example-index", ) + @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: index = await async_client.vectorize.indexes.update( @@ -656,6 +706,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[CreateIndex], index, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.vectorize.indexes.with_raw_response.update( @@ -669,6 +720,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: index = await response.parse() assert_matches_type(Optional[CreateIndex], index, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.vectorize.indexes.with_streaming_response.update( @@ -684,6 +736,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -700,6 +753,7 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: description="This is my example index.", ) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: index = await async_client.vectorize.indexes.list( @@ -707,6 +761,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[CreateIndex], index, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.vectorize.indexes.with_raw_response.list( @@ -718,6 +773,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: index = await response.parse() assert_matches_type(AsyncSinglePage[CreateIndex], index, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.vectorize.indexes.with_streaming_response.list( @@ -731,6 +787,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -738,6 +795,7 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: index = await async_client.vectorize.indexes.delete( @@ -746,6 +804,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(IndexDeleteResponse, index, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.vectorize.indexes.with_raw_response.delete( @@ -758,6 +817,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: index = await response.parse() assert_matches_type(IndexDeleteResponse, index, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.vectorize.indexes.with_streaming_response.delete( @@ -772,6 +832,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -786,6 +847,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize async def test_method_delete_by_ids(self, async_client: AsyncCloudflare) -> None: index = await async_client.vectorize.indexes.delete_by_ids( @@ -794,6 +856,7 @@ async def test_method_delete_by_ids(self, async_client: AsyncCloudflare) -> None ) assert_matches_type(Optional[IndexDeleteVectorsByID], index, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_delete_by_ids_with_all_params(self, async_client: AsyncCloudflare) -> None: index = await async_client.vectorize.indexes.delete_by_ids( @@ -803,6 +866,7 @@ async def test_method_delete_by_ids_with_all_params(self, async_client: AsyncClo ) assert_matches_type(Optional[IndexDeleteVectorsByID], index, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete_by_ids(self, async_client: AsyncCloudflare) -> None: response = await async_client.vectorize.indexes.with_raw_response.delete_by_ids( @@ -815,6 +879,7 @@ async def test_raw_response_delete_by_ids(self, async_client: AsyncCloudflare) - index = await response.parse() assert_matches_type(Optional[IndexDeleteVectorsByID], index, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete_by_ids(self, async_client: AsyncCloudflare) -> None: async with async_client.vectorize.indexes.with_streaming_response.delete_by_ids( @@ -829,6 +894,7 @@ async def test_streaming_response_delete_by_ids(self, async_client: AsyncCloudfl assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete_by_ids(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -843,6 +909,7 @@ async def test_path_params_delete_by_ids(self, async_client: AsyncCloudflare) -> account_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: index = await async_client.vectorize.indexes.get( @@ -851,6 +918,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[CreateIndex], index, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.vectorize.indexes.with_raw_response.get( @@ -863,6 +931,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: index = await response.parse() assert_matches_type(Optional[CreateIndex], index, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.vectorize.indexes.with_streaming_response.get( @@ -877,6 +946,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -891,6 +961,7 @@ async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize async def test_method_get_by_ids(self, async_client: AsyncCloudflare) -> None: index = await async_client.vectorize.indexes.get_by_ids( @@ -899,6 +970,7 @@ async def test_method_get_by_ids(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(object, index, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_get_by_ids_with_all_params(self, async_client: AsyncCloudflare) -> None: index = await async_client.vectorize.indexes.get_by_ids( @@ -908,6 +980,7 @@ async def test_method_get_by_ids_with_all_params(self, async_client: AsyncCloudf ) assert_matches_type(object, index, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get_by_ids(self, async_client: AsyncCloudflare) -> None: response = await async_client.vectorize.indexes.with_raw_response.get_by_ids( @@ -920,6 +993,7 @@ async def test_raw_response_get_by_ids(self, async_client: AsyncCloudflare) -> N index = await response.parse() assert_matches_type(object, index, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get_by_ids(self, async_client: AsyncCloudflare) -> None: async with async_client.vectorize.indexes.with_streaming_response.get_by_ids( @@ -934,6 +1008,7 @@ async def test_streaming_response_get_by_ids(self, async_client: AsyncCloudflare assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get_by_ids(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -948,6 +1023,7 @@ async def test_path_params_get_by_ids(self, async_client: AsyncCloudflare) -> No account_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize async def test_method_insert(self, async_client: AsyncCloudflare) -> None: index = await async_client.vectorize.indexes.insert( @@ -957,6 +1033,7 @@ async def test_method_insert(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[IndexInsert], index, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_insert(self, async_client: AsyncCloudflare) -> None: response = await async_client.vectorize.indexes.with_raw_response.insert( @@ -970,6 +1047,7 @@ async def test_raw_response_insert(self, async_client: AsyncCloudflare) -> None: index = await response.parse() assert_matches_type(Optional[IndexInsert], index, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_insert(self, async_client: AsyncCloudflare) -> None: async with async_client.vectorize.indexes.with_streaming_response.insert( @@ -985,6 +1063,7 @@ async def test_streaming_response_insert(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_insert(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -1001,6 +1080,7 @@ async def test_path_params_insert(self, async_client: AsyncCloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize async def test_method_query(self, async_client: AsyncCloudflare) -> None: index = await async_client.vectorize.indexes.query( @@ -1010,6 +1090,7 @@ async def test_method_query(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[IndexQuery], index, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_query_with_all_params(self, async_client: AsyncCloudflare) -> None: index = await async_client.vectorize.indexes.query( @@ -1026,6 +1107,7 @@ async def test_method_query_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(Optional[IndexQuery], index, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_query(self, async_client: AsyncCloudflare) -> None: response = await async_client.vectorize.indexes.with_raw_response.query( @@ -1039,6 +1121,7 @@ async def test_raw_response_query(self, async_client: AsyncCloudflare) -> None: index = await response.parse() assert_matches_type(Optional[IndexQuery], index, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_query(self, async_client: AsyncCloudflare) -> None: async with async_client.vectorize.indexes.with_streaming_response.query( @@ -1054,6 +1137,7 @@ async def test_streaming_response_query(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_query(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -1070,6 +1154,7 @@ async def test_path_params_query(self, async_client: AsyncCloudflare) -> None: vector=[0.5, 0.5, 0.5], ) + @pytest.mark.skip() @parametrize async def test_method_upsert(self, async_client: AsyncCloudflare) -> None: index = await async_client.vectorize.indexes.upsert( @@ -1079,6 +1164,7 @@ async def test_method_upsert(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[IndexUpsert], index, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_upsert(self, async_client: AsyncCloudflare) -> None: response = await async_client.vectorize.indexes.with_raw_response.upsert( @@ -1092,6 +1178,7 @@ async def test_raw_response_upsert(self, async_client: AsyncCloudflare) -> None: index = await response.parse() assert_matches_type(Optional[IndexUpsert], index, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_upsert(self, async_client: AsyncCloudflare) -> None: async with async_client.vectorize.indexes.with_streaming_response.upsert( @@ -1107,6 +1194,7 @@ async def test_streaming_response_upsert(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_upsert(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/waiting_rooms/events/test_details.py b/tests/api_resources/waiting_rooms/events/test_details.py index 3a81dca45f9..6620e7a7cfb 100644 --- a/tests/api_resources/waiting_rooms/events/test_details.py +++ b/tests/api_resources/waiting_rooms/events/test_details.py @@ -17,6 +17,7 @@ class TestDetails: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: detail = client.waiting_rooms.events.details.get( @@ -26,6 +27,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(DetailGetResponse, detail, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.waiting_rooms.events.details.with_raw_response.get( @@ -39,6 +41,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: detail = response.parse() assert_matches_type(DetailGetResponse, detail, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.waiting_rooms.events.details.with_streaming_response.get( @@ -54,6 +57,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -81,6 +85,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncDetails: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: detail = await async_client.waiting_rooms.events.details.get( @@ -90,6 +95,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(DetailGetResponse, detail, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.waiting_rooms.events.details.with_raw_response.get( @@ -103,6 +109,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: detail = await response.parse() assert_matches_type(DetailGetResponse, detail, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.waiting_rooms.events.details.with_streaming_response.get( @@ -118,6 +125,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): diff --git a/tests/api_resources/waiting_rooms/test_events.py b/tests/api_resources/waiting_rooms/test_events.py index f441fd5b3b0..ef7836c59d5 100644 --- a/tests/api_resources/waiting_rooms/test_events.py +++ b/tests/api_resources/waiting_rooms/test_events.py @@ -21,6 +21,7 @@ class TestEvents: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: event = client.waiting_rooms.events.create( @@ -32,6 +33,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Event, event, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: event = client.waiting_rooms.events.create( @@ -53,6 +55,7 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Event, event, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.waiting_rooms.events.with_raw_response.create( @@ -68,6 +71,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: event = response.parse() assert_matches_type(Event, event, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.waiting_rooms.events.with_streaming_response.create( @@ -85,6 +89,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -105,6 +110,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: name="production_webinar_event", ) + @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: event = client.waiting_rooms.events.update( @@ -117,6 +123,7 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Event, event, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: event = client.waiting_rooms.events.update( @@ -139,6 +146,7 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Event, event, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.waiting_rooms.events.with_raw_response.update( @@ -155,6 +163,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: event = response.parse() assert_matches_type(Event, event, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.waiting_rooms.events.with_streaming_response.update( @@ -173,6 +182,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -205,6 +215,7 @@ def test_path_params_update(self, client: Cloudflare) -> None: name="production_webinar_event", ) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: event = client.waiting_rooms.events.list( @@ -213,6 +224,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[Event], event, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: event = client.waiting_rooms.events.list( @@ -223,6 +235,7 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[Event], event, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.waiting_rooms.events.with_raw_response.list( @@ -235,6 +248,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: event = response.parse() assert_matches_type(SyncSinglePage[Event], event, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.waiting_rooms.events.with_streaming_response.list( @@ -249,6 +263,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -263,6 +278,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: zone_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: event = client.waiting_rooms.events.delete( @@ -273,6 +289,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(EventDeleteResponse, event, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.waiting_rooms.events.with_raw_response.delete( @@ -287,6 +304,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: event = response.parse() assert_matches_type(EventDeleteResponse, event, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.waiting_rooms.events.with_streaming_response.delete( @@ -303,6 +321,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -329,6 +348,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: event = client.waiting_rooms.events.edit( @@ -341,6 +361,7 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Event, event, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_edit_with_all_params(self, client: Cloudflare) -> None: event = client.waiting_rooms.events.edit( @@ -363,6 +384,7 @@ def test_method_edit_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Event, event, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.waiting_rooms.events.with_raw_response.edit( @@ -379,6 +401,7 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: event = response.parse() assert_matches_type(Event, event, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.waiting_rooms.events.with_streaming_response.edit( @@ -397,6 +420,7 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -429,6 +453,7 @@ def test_path_params_edit(self, client: Cloudflare) -> None: name="production_webinar_event", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: event = client.waiting_rooms.events.get( @@ -438,6 +463,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Event, event, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.waiting_rooms.events.with_raw_response.get( @@ -451,6 +477,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: event = response.parse() assert_matches_type(Event, event, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.waiting_rooms.events.with_streaming_response.get( @@ -466,6 +493,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -493,6 +521,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncEvents: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: event = await async_client.waiting_rooms.events.create( @@ -504,6 +533,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Event, event, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: event = await async_client.waiting_rooms.events.create( @@ -525,6 +555,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Event, event, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.waiting_rooms.events.with_raw_response.create( @@ -540,6 +571,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: event = await response.parse() assert_matches_type(Event, event, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.waiting_rooms.events.with_streaming_response.create( @@ -557,6 +589,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -577,6 +610,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: name="production_webinar_event", ) + @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: event = await async_client.waiting_rooms.events.update( @@ -589,6 +623,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Event, event, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: event = await async_client.waiting_rooms.events.update( @@ -611,6 +646,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Event, event, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.waiting_rooms.events.with_raw_response.update( @@ -627,6 +663,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: event = await response.parse() assert_matches_type(Event, event, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.waiting_rooms.events.with_streaming_response.update( @@ -645,6 +682,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -677,6 +715,7 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: name="production_webinar_event", ) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: event = await async_client.waiting_rooms.events.list( @@ -685,6 +724,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[Event], event, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: event = await async_client.waiting_rooms.events.list( @@ -695,6 +735,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncSinglePage[Event], event, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.waiting_rooms.events.with_raw_response.list( @@ -707,6 +748,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: event = await response.parse() assert_matches_type(AsyncSinglePage[Event], event, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.waiting_rooms.events.with_streaming_response.list( @@ -721,6 +763,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -735,6 +778,7 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: zone_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: event = await async_client.waiting_rooms.events.delete( @@ -745,6 +789,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(EventDeleteResponse, event, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.waiting_rooms.events.with_raw_response.delete( @@ -759,6 +804,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: event = await response.parse() assert_matches_type(EventDeleteResponse, event, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.waiting_rooms.events.with_streaming_response.delete( @@ -775,6 +821,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -801,6 +848,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: event = await async_client.waiting_rooms.events.edit( @@ -813,6 +861,7 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Event, event, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) -> None: event = await async_client.waiting_rooms.events.edit( @@ -835,6 +884,7 @@ async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(Event, event, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.waiting_rooms.events.with_raw_response.edit( @@ -851,6 +901,7 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: event = await response.parse() assert_matches_type(Event, event, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.waiting_rooms.events.with_streaming_response.edit( @@ -869,6 +920,7 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -901,6 +953,7 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: name="production_webinar_event", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: event = await async_client.waiting_rooms.events.get( @@ -910,6 +963,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Event, event, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.waiting_rooms.events.with_raw_response.get( @@ -923,6 +977,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: event = await response.parse() assert_matches_type(Event, event, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.waiting_rooms.events.with_streaming_response.get( @@ -938,6 +993,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): diff --git a/tests/api_resources/waiting_rooms/test_page.py b/tests/api_resources/waiting_rooms/test_page.py index 881d9a3a906..8d847225b73 100644 --- a/tests/api_resources/waiting_rooms/test_page.py +++ b/tests/api_resources/waiting_rooms/test_page.py @@ -17,6 +17,7 @@ class TestPage: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_preview(self, client: Cloudflare) -> None: page = client.waiting_rooms.page.preview( @@ -25,6 +26,7 @@ def test_method_preview(self, client: Cloudflare) -> None: ) assert_matches_type(PagePreviewResponse, page, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_preview(self, client: Cloudflare) -> None: response = client.waiting_rooms.page.with_raw_response.preview( @@ -37,6 +39,7 @@ def test_raw_response_preview(self, client: Cloudflare) -> None: page = response.parse() assert_matches_type(PagePreviewResponse, page, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_preview(self, client: Cloudflare) -> None: with client.waiting_rooms.page.with_streaming_response.preview( @@ -51,6 +54,7 @@ def test_streaming_response_preview(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_preview(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -63,6 +67,7 @@ def test_path_params_preview(self, client: Cloudflare) -> None: class TestAsyncPage: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_preview(self, async_client: AsyncCloudflare) -> None: page = await async_client.waiting_rooms.page.preview( @@ -71,6 +76,7 @@ async def test_method_preview(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(PagePreviewResponse, page, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_preview(self, async_client: AsyncCloudflare) -> None: response = await async_client.waiting_rooms.page.with_raw_response.preview( @@ -83,6 +89,7 @@ async def test_raw_response_preview(self, async_client: AsyncCloudflare) -> None page = await response.parse() assert_matches_type(PagePreviewResponse, page, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_preview(self, async_client: AsyncCloudflare) -> None: async with async_client.waiting_rooms.page.with_streaming_response.preview( @@ -97,6 +104,7 @@ async def test_streaming_response_preview(self, async_client: AsyncCloudflare) - assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_preview(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): diff --git a/tests/api_resources/waiting_rooms/test_rules.py b/tests/api_resources/waiting_rooms/test_rules.py index d32d0b38831..72a6abdb2e7 100644 --- a/tests/api_resources/waiting_rooms/test_rules.py +++ b/tests/api_resources/waiting_rooms/test_rules.py @@ -24,6 +24,7 @@ class TestRules: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: rule = client.waiting_rooms.rules.create( @@ -34,6 +35,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[RuleCreateResponse], rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: rule = client.waiting_rooms.rules.create( @@ -46,6 +48,7 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[RuleCreateResponse], rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.waiting_rooms.rules.with_raw_response.create( @@ -60,6 +63,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: rule = response.parse() assert_matches_type(Optional[RuleCreateResponse], rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.waiting_rooms.rules.with_streaming_response.create( @@ -76,6 +80,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -94,6 +99,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: expression="ip.src in {10.20.30.40}", ) + @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: rule = client.waiting_rooms.rules.update( @@ -116,6 +122,7 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[RuleUpdateResponse], rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.waiting_rooms.rules.with_raw_response.update( @@ -142,6 +149,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: rule = response.parse() assert_matches_type(Optional[RuleUpdateResponse], rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.waiting_rooms.rules.with_streaming_response.update( @@ -170,6 +178,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -212,6 +221,7 @@ def test_path_params_update(self, client: Cloudflare) -> None: ], ) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: rule = client.waiting_rooms.rules.list( @@ -220,6 +230,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[WaitingRoomRule], rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.waiting_rooms.rules.with_raw_response.list( @@ -232,6 +243,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: rule = response.parse() assert_matches_type(SyncSinglePage[WaitingRoomRule], rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.waiting_rooms.rules.with_streaming_response.list( @@ -246,6 +258,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -260,6 +273,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: zone_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: rule = client.waiting_rooms.rules.delete( @@ -270,6 +284,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[RuleDeleteResponse], rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.waiting_rooms.rules.with_raw_response.delete( @@ -284,6 +299,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: rule = response.parse() assert_matches_type(Optional[RuleDeleteResponse], rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.waiting_rooms.rules.with_streaming_response.delete( @@ -300,6 +316,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -326,6 +343,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: rule = client.waiting_rooms.rules.edit( @@ -337,6 +355,7 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[RuleEditResponse], rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_edit_with_all_params(self, client: Cloudflare) -> None: rule = client.waiting_rooms.rules.edit( @@ -351,6 +370,7 @@ def test_method_edit_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[RuleEditResponse], rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.waiting_rooms.rules.with_raw_response.edit( @@ -366,6 +386,7 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: rule = response.parse() assert_matches_type(Optional[RuleEditResponse], rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.waiting_rooms.rules.with_streaming_response.edit( @@ -383,6 +404,7 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -416,6 +438,7 @@ def test_path_params_edit(self, client: Cloudflare) -> None: class TestAsyncRules: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: rule = await async_client.waiting_rooms.rules.create( @@ -426,6 +449,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[RuleCreateResponse], rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: rule = await async_client.waiting_rooms.rules.create( @@ -438,6 +462,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[RuleCreateResponse], rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.waiting_rooms.rules.with_raw_response.create( @@ -452,6 +477,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: rule = await response.parse() assert_matches_type(Optional[RuleCreateResponse], rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.waiting_rooms.rules.with_streaming_response.create( @@ -468,6 +494,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -486,6 +513,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: expression="ip.src in {10.20.30.40}", ) + @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: rule = await async_client.waiting_rooms.rules.update( @@ -508,6 +536,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[RuleUpdateResponse], rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.waiting_rooms.rules.with_raw_response.update( @@ -534,6 +563,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: rule = await response.parse() assert_matches_type(Optional[RuleUpdateResponse], rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.waiting_rooms.rules.with_streaming_response.update( @@ -562,6 +592,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -604,6 +635,7 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: ], ) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: rule = await async_client.waiting_rooms.rules.list( @@ -612,6 +644,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[WaitingRoomRule], rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.waiting_rooms.rules.with_raw_response.list( @@ -624,6 +657,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: rule = await response.parse() assert_matches_type(AsyncSinglePage[WaitingRoomRule], rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.waiting_rooms.rules.with_streaming_response.list( @@ -638,6 +672,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -652,6 +687,7 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: zone_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: rule = await async_client.waiting_rooms.rules.delete( @@ -662,6 +698,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[RuleDeleteResponse], rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.waiting_rooms.rules.with_raw_response.delete( @@ -676,6 +713,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: rule = await response.parse() assert_matches_type(Optional[RuleDeleteResponse], rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.waiting_rooms.rules.with_streaming_response.delete( @@ -692,6 +730,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -718,6 +757,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: rule = await async_client.waiting_rooms.rules.edit( @@ -729,6 +769,7 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[RuleEditResponse], rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) -> None: rule = await async_client.waiting_rooms.rules.edit( @@ -743,6 +784,7 @@ async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(Optional[RuleEditResponse], rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.waiting_rooms.rules.with_raw_response.edit( @@ -758,6 +800,7 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: rule = await response.parse() assert_matches_type(Optional[RuleEditResponse], rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.waiting_rooms.rules.with_streaming_response.edit( @@ -775,6 +818,7 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): diff --git a/tests/api_resources/waiting_rooms/test_settings.py b/tests/api_resources/waiting_rooms/test_settings.py index 823c9e02011..79ca12bd88b 100644 --- a/tests/api_resources/waiting_rooms/test_settings.py +++ b/tests/api_resources/waiting_rooms/test_settings.py @@ -21,6 +21,7 @@ class TestSettings: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: setting = client.waiting_rooms.settings.update( @@ -28,6 +29,7 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(SettingUpdateResponse, setting, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: setting = client.waiting_rooms.settings.update( @@ -36,6 +38,7 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SettingUpdateResponse, setting, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.waiting_rooms.settings.with_raw_response.update( @@ -47,6 +50,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: setting = response.parse() assert_matches_type(SettingUpdateResponse, setting, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.waiting_rooms.settings.with_streaming_response.update( @@ -60,6 +64,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -67,6 +72,7 @@ def test_path_params_update(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: setting = client.waiting_rooms.settings.edit( @@ -74,6 +80,7 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(SettingEditResponse, setting, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_edit_with_all_params(self, client: Cloudflare) -> None: setting = client.waiting_rooms.settings.edit( @@ -82,6 +89,7 @@ def test_method_edit_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SettingEditResponse, setting, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.waiting_rooms.settings.with_raw_response.edit( @@ -93,6 +101,7 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: setting = response.parse() assert_matches_type(SettingEditResponse, setting, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.waiting_rooms.settings.with_streaming_response.edit( @@ -106,6 +115,7 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -113,6 +123,7 @@ def test_path_params_edit(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: setting = client.waiting_rooms.settings.get( @@ -120,6 +131,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(SettingGetResponse, setting, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.waiting_rooms.settings.with_raw_response.get( @@ -131,6 +143,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: setting = response.parse() assert_matches_type(SettingGetResponse, setting, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.waiting_rooms.settings.with_streaming_response.get( @@ -144,6 +157,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -155,6 +169,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncSettings: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: setting = await async_client.waiting_rooms.settings.update( @@ -162,6 +177,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(SettingUpdateResponse, setting, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: setting = await async_client.waiting_rooms.settings.update( @@ -170,6 +186,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(SettingUpdateResponse, setting, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.waiting_rooms.settings.with_raw_response.update( @@ -181,6 +198,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: setting = await response.parse() assert_matches_type(SettingUpdateResponse, setting, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.waiting_rooms.settings.with_streaming_response.update( @@ -194,6 +212,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -201,6 +220,7 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: setting = await async_client.waiting_rooms.settings.edit( @@ -208,6 +228,7 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(SettingEditResponse, setting, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) -> None: setting = await async_client.waiting_rooms.settings.edit( @@ -216,6 +237,7 @@ async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(SettingEditResponse, setting, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.waiting_rooms.settings.with_raw_response.edit( @@ -227,6 +249,7 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: setting = await response.parse() assert_matches_type(SettingEditResponse, setting, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.waiting_rooms.settings.with_streaming_response.edit( @@ -240,6 +263,7 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -247,6 +271,7 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: setting = await async_client.waiting_rooms.settings.get( @@ -254,6 +279,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(SettingGetResponse, setting, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.waiting_rooms.settings.with_raw_response.get( @@ -265,6 +291,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: setting = await response.parse() assert_matches_type(SettingGetResponse, setting, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.waiting_rooms.settings.with_streaming_response.get( @@ -278,6 +305,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): diff --git a/tests/api_resources/waiting_rooms/test_statuses.py b/tests/api_resources/waiting_rooms/test_statuses.py index 9a7ff6731a5..e1d2176da62 100644 --- a/tests/api_resources/waiting_rooms/test_statuses.py +++ b/tests/api_resources/waiting_rooms/test_statuses.py @@ -17,6 +17,7 @@ class TestStatuses: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: status = client.waiting_rooms.statuses.get( @@ -25,6 +26,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(StatusGetResponse, status, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.waiting_rooms.statuses.with_raw_response.get( @@ -37,6 +39,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: status = response.parse() assert_matches_type(StatusGetResponse, status, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.waiting_rooms.statuses.with_streaming_response.get( @@ -51,6 +54,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -69,6 +73,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncStatuses: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: status = await async_client.waiting_rooms.statuses.get( @@ -77,6 +82,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(StatusGetResponse, status, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.waiting_rooms.statuses.with_raw_response.get( @@ -89,6 +95,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: status = await response.parse() assert_matches_type(StatusGetResponse, status, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.waiting_rooms.statuses.with_streaming_response.get( @@ -103,6 +110,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): diff --git a/tests/api_resources/web3/hostnames/ipfs_universal_paths/content_lists/test_entries.py b/tests/api_resources/web3/hostnames/ipfs_universal_paths/content_lists/test_entries.py index e4fb1c4a5f3..a908abdd86d 100644 --- a/tests/api_resources/web3/hostnames/ipfs_universal_paths/content_lists/test_entries.py +++ b/tests/api_resources/web3/hostnames/ipfs_universal_paths/content_lists/test_entries.py @@ -23,6 +23,7 @@ class TestEntries: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: entry = client.web3.hostnames.ipfs_universal_paths.content_lists.entries.create( @@ -33,6 +34,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(EntryCreateResponse, entry, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: entry = client.web3.hostnames.ipfs_universal_paths.content_lists.entries.create( @@ -44,6 +46,7 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(EntryCreateResponse, entry, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.web3.hostnames.ipfs_universal_paths.content_lists.entries.with_raw_response.create( @@ -58,6 +61,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: entry = response.parse() assert_matches_type(EntryCreateResponse, entry, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.web3.hostnames.ipfs_universal_paths.content_lists.entries.with_streaming_response.create( @@ -74,6 +78,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -92,6 +97,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: type="cid", ) + @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: entry = client.web3.hostnames.ipfs_universal_paths.content_lists.entries.update( @@ -103,6 +109,7 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(EntryUpdateResponse, entry, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: entry = client.web3.hostnames.ipfs_universal_paths.content_lists.entries.update( @@ -115,6 +122,7 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(EntryUpdateResponse, entry, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.web3.hostnames.ipfs_universal_paths.content_lists.entries.with_raw_response.update( @@ -130,6 +138,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: entry = response.parse() assert_matches_type(EntryUpdateResponse, entry, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.web3.hostnames.ipfs_universal_paths.content_lists.entries.with_streaming_response.update( @@ -147,6 +156,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -178,6 +188,7 @@ def test_path_params_update(self, client: Cloudflare) -> None: type="cid", ) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: entry = client.web3.hostnames.ipfs_universal_paths.content_lists.entries.list( @@ -186,6 +197,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[EntryListResponse], entry, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.web3.hostnames.ipfs_universal_paths.content_lists.entries.with_raw_response.list( @@ -198,6 +210,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: entry = response.parse() assert_matches_type(Optional[EntryListResponse], entry, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.web3.hostnames.ipfs_universal_paths.content_lists.entries.with_streaming_response.list( @@ -212,6 +225,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -226,6 +240,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: zone_identifier="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: entry = client.web3.hostnames.ipfs_universal_paths.content_lists.entries.delete( @@ -236,6 +251,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[EntryDeleteResponse], entry, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.web3.hostnames.ipfs_universal_paths.content_lists.entries.with_raw_response.delete( @@ -250,6 +266,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: entry = response.parse() assert_matches_type(Optional[EntryDeleteResponse], entry, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.web3.hostnames.ipfs_universal_paths.content_lists.entries.with_streaming_response.delete( @@ -266,6 +283,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -294,6 +312,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: entry = client.web3.hostnames.ipfs_universal_paths.content_lists.entries.get( @@ -303,6 +322,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(EntryGetResponse, entry, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.web3.hostnames.ipfs_universal_paths.content_lists.entries.with_raw_response.get( @@ -316,6 +336,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: entry = response.parse() assert_matches_type(EntryGetResponse, entry, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.web3.hostnames.ipfs_universal_paths.content_lists.entries.with_streaming_response.get( @@ -331,6 +352,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -360,6 +382,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncEntries: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: entry = await async_client.web3.hostnames.ipfs_universal_paths.content_lists.entries.create( @@ -370,6 +393,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(EntryCreateResponse, entry, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: entry = await async_client.web3.hostnames.ipfs_universal_paths.content_lists.entries.create( @@ -381,6 +405,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(EntryCreateResponse, entry, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = ( @@ -397,6 +422,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: entry = await response.parse() assert_matches_type(EntryCreateResponse, entry, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.web3.hostnames.ipfs_universal_paths.content_lists.entries.with_streaming_response.create( @@ -413,6 +439,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -431,6 +458,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: type="cid", ) + @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: entry = await async_client.web3.hostnames.ipfs_universal_paths.content_lists.entries.update( @@ -442,6 +470,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(EntryUpdateResponse, entry, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: entry = await async_client.web3.hostnames.ipfs_universal_paths.content_lists.entries.update( @@ -454,6 +483,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(EntryUpdateResponse, entry, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = ( @@ -471,6 +501,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: entry = await response.parse() assert_matches_type(EntryUpdateResponse, entry, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.web3.hostnames.ipfs_universal_paths.content_lists.entries.with_streaming_response.update( @@ -488,6 +519,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -519,6 +551,7 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: type="cid", ) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: entry = await async_client.web3.hostnames.ipfs_universal_paths.content_lists.entries.list( @@ -527,6 +560,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[EntryListResponse], entry, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.web3.hostnames.ipfs_universal_paths.content_lists.entries.with_raw_response.list( @@ -539,6 +573,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: entry = await response.parse() assert_matches_type(Optional[EntryListResponse], entry, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.web3.hostnames.ipfs_universal_paths.content_lists.entries.with_streaming_response.list( @@ -553,6 +588,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -567,6 +603,7 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: zone_identifier="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: entry = await async_client.web3.hostnames.ipfs_universal_paths.content_lists.entries.delete( @@ -577,6 +614,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[EntryDeleteResponse], entry, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = ( @@ -593,6 +631,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: entry = await response.parse() assert_matches_type(Optional[EntryDeleteResponse], entry, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.web3.hostnames.ipfs_universal_paths.content_lists.entries.with_streaming_response.delete( @@ -609,6 +648,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -637,6 +677,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: entry = await async_client.web3.hostnames.ipfs_universal_paths.content_lists.entries.get( @@ -646,6 +687,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(EntryGetResponse, entry, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.web3.hostnames.ipfs_universal_paths.content_lists.entries.with_raw_response.get( @@ -659,6 +701,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: entry = await response.parse() assert_matches_type(EntryGetResponse, entry, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.web3.hostnames.ipfs_universal_paths.content_lists.entries.with_streaming_response.get( @@ -674,6 +717,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): diff --git a/tests/api_resources/web3/hostnames/ipfs_universal_paths/test_content_lists.py b/tests/api_resources/web3/hostnames/ipfs_universal_paths/test_content_lists.py index 9c682cddb81..e2aa0af76c8 100644 --- a/tests/api_resources/web3/hostnames/ipfs_universal_paths/test_content_lists.py +++ b/tests/api_resources/web3/hostnames/ipfs_universal_paths/test_content_lists.py @@ -17,6 +17,7 @@ class TestContentLists: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: content_list = client.web3.hostnames.ipfs_universal_paths.content_lists.update( @@ -27,6 +28,7 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(ContentList, content_list, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.web3.hostnames.ipfs_universal_paths.content_lists.with_raw_response.update( @@ -41,6 +43,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: content_list = response.parse() assert_matches_type(ContentList, content_list, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.web3.hostnames.ipfs_universal_paths.content_lists.with_streaming_response.update( @@ -57,6 +60,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -75,6 +79,7 @@ def test_path_params_update(self, client: Cloudflare) -> None: entries=[{}, {}, {}], ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: content_list = client.web3.hostnames.ipfs_universal_paths.content_lists.get( @@ -83,6 +88,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(ContentList, content_list, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.web3.hostnames.ipfs_universal_paths.content_lists.with_raw_response.get( @@ -95,6 +101,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: content_list = response.parse() assert_matches_type(ContentList, content_list, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.web3.hostnames.ipfs_universal_paths.content_lists.with_streaming_response.get( @@ -109,6 +116,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -127,6 +135,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncContentLists: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: content_list = await async_client.web3.hostnames.ipfs_universal_paths.content_lists.update( @@ -137,6 +146,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(ContentList, content_list, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.web3.hostnames.ipfs_universal_paths.content_lists.with_raw_response.update( @@ -151,6 +161,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: content_list = await response.parse() assert_matches_type(ContentList, content_list, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.web3.hostnames.ipfs_universal_paths.content_lists.with_streaming_response.update( @@ -167,6 +178,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -185,6 +197,7 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: entries=[{}, {}, {}], ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: content_list = await async_client.web3.hostnames.ipfs_universal_paths.content_lists.get( @@ -193,6 +206,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(ContentList, content_list, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.web3.hostnames.ipfs_universal_paths.content_lists.with_raw_response.get( @@ -205,6 +219,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: content_list = await response.parse() assert_matches_type(ContentList, content_list, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.web3.hostnames.ipfs_universal_paths.content_lists.with_streaming_response.get( @@ -219,6 +234,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): diff --git a/tests/api_resources/web3/test_hostnames.py b/tests/api_resources/web3/test_hostnames.py index 06486c86437..9520c176edb 100644 --- a/tests/api_resources/web3/test_hostnames.py +++ b/tests/api_resources/web3/test_hostnames.py @@ -21,6 +21,7 @@ class TestHostnames: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: hostname = client.web3.hostnames.create( @@ -29,6 +30,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Hostname, hostname, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: hostname = client.web3.hostnames.create( @@ -39,6 +41,7 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Hostname, hostname, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.web3.hostnames.with_raw_response.create( @@ -51,6 +54,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: hostname = response.parse() assert_matches_type(Hostname, hostname, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.web3.hostnames.with_streaming_response.create( @@ -65,6 +69,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -73,6 +78,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: target="ipfs", ) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: hostname = client.web3.hostnames.list( @@ -80,6 +86,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[Hostname], hostname, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.web3.hostnames.with_raw_response.list( @@ -91,6 +98,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: hostname = response.parse() assert_matches_type(SyncSinglePage[Hostname], hostname, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.web3.hostnames.with_streaming_response.list( @@ -104,6 +112,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -111,6 +120,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: "", ) + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: hostname = client.web3.hostnames.delete( @@ -120,6 +130,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[HostnameDeleteResponse], hostname, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.web3.hostnames.with_raw_response.delete( @@ -133,6 +144,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: hostname = response.parse() assert_matches_type(Optional[HostnameDeleteResponse], hostname, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.web3.hostnames.with_streaming_response.delete( @@ -148,6 +160,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -164,6 +177,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: hostname = client.web3.hostnames.edit( @@ -172,6 +186,7 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Hostname, hostname, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_edit_with_all_params(self, client: Cloudflare) -> None: hostname = client.web3.hostnames.edit( @@ -182,6 +197,7 @@ def test_method_edit_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Hostname, hostname, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.web3.hostnames.with_raw_response.edit( @@ -194,6 +210,7 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: hostname = response.parse() assert_matches_type(Hostname, hostname, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.web3.hostnames.with_streaming_response.edit( @@ -208,6 +225,7 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -222,6 +240,7 @@ def test_path_params_edit(self, client: Cloudflare) -> None: zone_identifier="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: hostname = client.web3.hostnames.get( @@ -230,6 +249,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Hostname, hostname, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.web3.hostnames.with_raw_response.get( @@ -242,6 +262,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: hostname = response.parse() assert_matches_type(Hostname, hostname, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.web3.hostnames.with_streaming_response.get( @@ -256,6 +277,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -274,6 +296,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncHostnames: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: hostname = await async_client.web3.hostnames.create( @@ -282,6 +305,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Hostname, hostname, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: hostname = await async_client.web3.hostnames.create( @@ -292,6 +316,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Hostname, hostname, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.web3.hostnames.with_raw_response.create( @@ -304,6 +329,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: hostname = await response.parse() assert_matches_type(Hostname, hostname, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.web3.hostnames.with_streaming_response.create( @@ -318,6 +344,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -326,6 +353,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: target="ipfs", ) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: hostname = await async_client.web3.hostnames.list( @@ -333,6 +361,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[Hostname], hostname, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.web3.hostnames.with_raw_response.list( @@ -344,6 +373,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: hostname = await response.parse() assert_matches_type(AsyncSinglePage[Hostname], hostname, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.web3.hostnames.with_streaming_response.list( @@ -357,6 +387,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -364,6 +395,7 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: "", ) + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: hostname = await async_client.web3.hostnames.delete( @@ -373,6 +405,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[HostnameDeleteResponse], hostname, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.web3.hostnames.with_raw_response.delete( @@ -386,6 +419,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: hostname = await response.parse() assert_matches_type(Optional[HostnameDeleteResponse], hostname, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.web3.hostnames.with_streaming_response.delete( @@ -401,6 +435,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -417,6 +452,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: hostname = await async_client.web3.hostnames.edit( @@ -425,6 +461,7 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Hostname, hostname, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) -> None: hostname = await async_client.web3.hostnames.edit( @@ -435,6 +472,7 @@ async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(Hostname, hostname, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.web3.hostnames.with_raw_response.edit( @@ -447,6 +485,7 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: hostname = await response.parse() assert_matches_type(Hostname, hostname, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.web3.hostnames.with_streaming_response.edit( @@ -461,6 +500,7 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): @@ -475,6 +515,7 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: zone_identifier="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: hostname = await async_client.web3.hostnames.get( @@ -483,6 +524,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Hostname, hostname, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.web3.hostnames.with_raw_response.get( @@ -495,6 +537,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: hostname = await response.parse() assert_matches_type(Hostname, hostname, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.web3.hostnames.with_streaming_response.get( @@ -509,6 +552,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_identifier` but received ''"): diff --git a/tests/api_resources/workers/scripts/test_content.py b/tests/api_resources/workers/scripts/test_content.py index df091c3b957..c0e7fa824ca 100644 --- a/tests/api_resources/workers/scripts/test_content.py +++ b/tests/api_resources/workers/scripts/test_content.py @@ -25,6 +25,7 @@ class TestContent: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: content = client.workers.scripts.content.update( @@ -33,6 +34,7 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Script], content, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: content = client.workers.scripts.content.update( @@ -46,6 +48,7 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Script], content, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.workers.scripts.content.with_raw_response.update( @@ -58,6 +61,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: content = response.parse() assert_matches_type(Optional[Script], content, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.workers.scripts.content.with_streaming_response.update( @@ -72,6 +76,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -86,6 +91,7 @@ def test_path_params_update(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize @pytest.mark.respx(base_url=base_url) def test_method_get(self, client: Cloudflare, respx_mock: MockRouter) -> None: @@ -101,6 +107,7 @@ def test_method_get(self, client: Cloudflare, respx_mock: MockRouter) -> None: assert cast(Any, content.is_closed) is True assert isinstance(content, BinaryAPIResponse) + @pytest.mark.skip() @parametrize @pytest.mark.respx(base_url=base_url) def test_raw_response_get(self, client: Cloudflare, respx_mock: MockRouter) -> None: @@ -118,6 +125,7 @@ def test_raw_response_get(self, client: Cloudflare, respx_mock: MockRouter) -> N assert content.json() == {"foo": "bar"} assert isinstance(content, BinaryAPIResponse) + @pytest.mark.skip() @parametrize @pytest.mark.respx(base_url=base_url) def test_streaming_response_get(self, client: Cloudflare, respx_mock: MockRouter) -> None: @@ -137,6 +145,7 @@ def test_streaming_response_get(self, client: Cloudflare, respx_mock: MockRouter assert cast(Any, content.is_closed) is True + @pytest.mark.skip() @parametrize @pytest.mark.respx(base_url=base_url) def test_path_params_get(self, client: Cloudflare) -> None: @@ -156,6 +165,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncContent: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: content = await async_client.workers.scripts.content.update( @@ -164,6 +174,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Script], content, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: content = await async_client.workers.scripts.content.update( @@ -177,6 +188,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[Script], content, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.workers.scripts.content.with_raw_response.update( @@ -189,6 +201,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: content = await response.parse() assert_matches_type(Optional[Script], content, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.workers.scripts.content.with_streaming_response.update( @@ -203,6 +216,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -217,6 +231,7 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize @pytest.mark.respx(base_url=base_url) async def test_method_get(self, async_client: AsyncCloudflare, respx_mock: MockRouter) -> None: @@ -232,6 +247,7 @@ async def test_method_get(self, async_client: AsyncCloudflare, respx_mock: MockR assert cast(Any, content.is_closed) is True assert isinstance(content, AsyncBinaryAPIResponse) + @pytest.mark.skip() @parametrize @pytest.mark.respx(base_url=base_url) async def test_raw_response_get(self, async_client: AsyncCloudflare, respx_mock: MockRouter) -> None: @@ -249,6 +265,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare, respx_mock: assert await content.json() == {"foo": "bar"} assert isinstance(content, AsyncBinaryAPIResponse) + @pytest.mark.skip() @parametrize @pytest.mark.respx(base_url=base_url) async def test_streaming_response_get(self, async_client: AsyncCloudflare, respx_mock: MockRouter) -> None: @@ -268,6 +285,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare, respx assert cast(Any, content.is_closed) is True + @pytest.mark.skip() @parametrize @pytest.mark.respx(base_url=base_url) async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: diff --git a/tests/api_resources/workers/scripts/test_deployments.py b/tests/api_resources/workers/scripts/test_deployments.py index c49a56a7326..0ec9ea4f121 100644 --- a/tests/api_resources/workers/scripts/test_deployments.py +++ b/tests/api_resources/workers/scripts/test_deployments.py @@ -20,6 +20,7 @@ class TestDeployments: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: deployment = client.workers.scripts.deployments.create( @@ -28,6 +29,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[DeploymentCreateResponse], deployment, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: deployment = client.workers.scripts.deployments.create( @@ -38,6 +40,7 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[DeploymentCreateResponse], deployment, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.workers.scripts.deployments.with_raw_response.create( @@ -50,6 +53,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: deployment = response.parse() assert_matches_type(Optional[DeploymentCreateResponse], deployment, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.workers.scripts.deployments.with_streaming_response.create( @@ -64,6 +68,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -78,6 +83,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: deployment = client.workers.scripts.deployments.get( @@ -86,6 +92,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[DeploymentGetResponse], deployment, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.workers.scripts.deployments.with_raw_response.get( @@ -98,6 +105,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: deployment = response.parse() assert_matches_type(Optional[DeploymentGetResponse], deployment, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.workers.scripts.deployments.with_streaming_response.get( @@ -112,6 +120,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -130,6 +139,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncDeployments: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: deployment = await async_client.workers.scripts.deployments.create( @@ -138,6 +148,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[DeploymentCreateResponse], deployment, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: deployment = await async_client.workers.scripts.deployments.create( @@ -148,6 +159,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[DeploymentCreateResponse], deployment, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.workers.scripts.deployments.with_raw_response.create( @@ -160,6 +172,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: deployment = await response.parse() assert_matches_type(Optional[DeploymentCreateResponse], deployment, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.workers.scripts.deployments.with_streaming_response.create( @@ -174,6 +187,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -188,6 +202,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: deployment = await async_client.workers.scripts.deployments.get( @@ -196,6 +211,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[DeploymentGetResponse], deployment, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.workers.scripts.deployments.with_raw_response.get( @@ -208,6 +224,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: deployment = await response.parse() assert_matches_type(Optional[DeploymentGetResponse], deployment, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.workers.scripts.deployments.with_streaming_response.get( @@ -222,6 +239,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/workers/scripts/test_schedules.py b/tests/api_resources/workers/scripts/test_schedules.py index 1e4fbf7a577..46d790e89cd 100644 --- a/tests/api_resources/workers/scripts/test_schedules.py +++ b/tests/api_resources/workers/scripts/test_schedules.py @@ -17,6 +17,7 @@ class TestSchedules: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: schedule = client.workers.scripts.schedules.update( @@ -26,6 +27,7 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ScheduleUpdateResponse], schedule, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.workers.scripts.schedules.with_raw_response.update( @@ -39,6 +41,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: schedule = response.parse() assert_matches_type(Optional[ScheduleUpdateResponse], schedule, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.workers.scripts.schedules.with_streaming_response.update( @@ -54,6 +57,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -70,6 +74,7 @@ def test_path_params_update(self, client: Cloudflare) -> None: body="[{'cron': '*/30 * * * *'}]", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: schedule = client.workers.scripts.schedules.get( @@ -78,6 +83,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ScheduleGetResponse], schedule, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.workers.scripts.schedules.with_raw_response.get( @@ -90,6 +96,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: schedule = response.parse() assert_matches_type(Optional[ScheduleGetResponse], schedule, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.workers.scripts.schedules.with_streaming_response.get( @@ -104,6 +111,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -122,6 +130,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncSchedules: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: schedule = await async_client.workers.scripts.schedules.update( @@ -131,6 +140,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[ScheduleUpdateResponse], schedule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.workers.scripts.schedules.with_raw_response.update( @@ -144,6 +154,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: schedule = await response.parse() assert_matches_type(Optional[ScheduleUpdateResponse], schedule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.workers.scripts.schedules.with_streaming_response.update( @@ -159,6 +170,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -175,6 +187,7 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: body="[{'cron': '*/30 * * * *'}]", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: schedule = await async_client.workers.scripts.schedules.get( @@ -183,6 +196,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[ScheduleGetResponse], schedule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.workers.scripts.schedules.with_raw_response.get( @@ -195,6 +209,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: schedule = await response.parse() assert_matches_type(Optional[ScheduleGetResponse], schedule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.workers.scripts.schedules.with_streaming_response.get( @@ -209,6 +224,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/workers/scripts/test_settings.py b/tests/api_resources/workers/scripts/test_settings.py index 2a599b792e3..18af0318652 100644 --- a/tests/api_resources/workers/scripts/test_settings.py +++ b/tests/api_resources/workers/scripts/test_settings.py @@ -17,6 +17,7 @@ class TestSettings: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: setting = client.workers.scripts.settings.edit( @@ -25,6 +26,7 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ScriptSetting], setting, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_edit_with_all_params(self, client: Cloudflare) -> None: setting = client.workers.scripts.settings.edit( @@ -51,6 +53,7 @@ def test_method_edit_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ScriptSetting], setting, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.workers.scripts.settings.with_raw_response.edit( @@ -63,6 +66,7 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: setting = response.parse() assert_matches_type(Optional[ScriptSetting], setting, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.workers.scripts.settings.with_streaming_response.edit( @@ -77,6 +81,7 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -91,6 +96,7 @@ def test_path_params_edit(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: setting = client.workers.scripts.settings.get( @@ -99,6 +105,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ScriptSetting], setting, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.workers.scripts.settings.with_raw_response.get( @@ -111,6 +118,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: setting = response.parse() assert_matches_type(Optional[ScriptSetting], setting, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.workers.scripts.settings.with_streaming_response.get( @@ -125,6 +133,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -143,6 +152,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncSettings: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: setting = await async_client.workers.scripts.settings.edit( @@ -151,6 +161,7 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[ScriptSetting], setting, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) -> None: setting = await async_client.workers.scripts.settings.edit( @@ -177,6 +188,7 @@ async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(Optional[ScriptSetting], setting, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.workers.scripts.settings.with_raw_response.edit( @@ -189,6 +201,7 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: setting = await response.parse() assert_matches_type(Optional[ScriptSetting], setting, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.workers.scripts.settings.with_streaming_response.edit( @@ -203,6 +216,7 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -217,6 +231,7 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: setting = await async_client.workers.scripts.settings.get( @@ -225,6 +240,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[ScriptSetting], setting, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.workers.scripts.settings.with_raw_response.get( @@ -237,6 +253,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: setting = await response.parse() assert_matches_type(Optional[ScriptSetting], setting, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.workers.scripts.settings.with_streaming_response.get( @@ -251,6 +268,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/workers/scripts/test_tail.py b/tests/api_resources/workers/scripts/test_tail.py index 1a5f311a0d6..b03902ca689 100644 --- a/tests/api_resources/workers/scripts/test_tail.py +++ b/tests/api_resources/workers/scripts/test_tail.py @@ -21,6 +21,7 @@ class TestTail: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: tail = client.workers.scripts.tail.create( @@ -30,6 +31,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[TailCreateResponse], tail, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.workers.scripts.tail.with_raw_response.create( @@ -43,6 +45,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: tail = response.parse() assert_matches_type(Optional[TailCreateResponse], tail, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.workers.scripts.tail.with_streaming_response.create( @@ -58,6 +61,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -74,6 +78,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: tail = client.workers.scripts.tail.delete( @@ -84,6 +89,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(TailDeleteResponse, tail, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.workers.scripts.tail.with_raw_response.delete( @@ -98,6 +104,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: tail = response.parse() assert_matches_type(TailDeleteResponse, tail, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.workers.scripts.tail.with_streaming_response.delete( @@ -114,6 +121,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -140,6 +148,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: tail = client.workers.scripts.tail.get( @@ -148,6 +157,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[TailGetResponse], tail, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.workers.scripts.tail.with_raw_response.get( @@ -160,6 +170,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: tail = response.parse() assert_matches_type(Optional[TailGetResponse], tail, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.workers.scripts.tail.with_streaming_response.get( @@ -174,6 +185,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -192,6 +204,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncTail: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: tail = await async_client.workers.scripts.tail.create( @@ -201,6 +214,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[TailCreateResponse], tail, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.workers.scripts.tail.with_raw_response.create( @@ -214,6 +228,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: tail = await response.parse() assert_matches_type(Optional[TailCreateResponse], tail, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.workers.scripts.tail.with_streaming_response.create( @@ -229,6 +244,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -245,6 +261,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: tail = await async_client.workers.scripts.tail.delete( @@ -255,6 +272,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(TailDeleteResponse, tail, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.workers.scripts.tail.with_raw_response.delete( @@ -269,6 +287,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: tail = await response.parse() assert_matches_type(TailDeleteResponse, tail, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.workers.scripts.tail.with_streaming_response.delete( @@ -285,6 +304,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -311,6 +331,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: tail = await async_client.workers.scripts.tail.get( @@ -319,6 +340,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[TailGetResponse], tail, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.workers.scripts.tail.with_raw_response.get( @@ -331,6 +353,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: tail = await response.parse() assert_matches_type(Optional[TailGetResponse], tail, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.workers.scripts.tail.with_streaming_response.get( @@ -345,6 +368,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/workers/scripts/test_versions.py b/tests/api_resources/workers/scripts/test_versions.py index 9548d050e39..a7df8e4fead 100644 --- a/tests/api_resources/workers/scripts/test_versions.py +++ b/tests/api_resources/workers/scripts/test_versions.py @@ -21,6 +21,7 @@ class TestVersions: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: version = client.workers.scripts.versions.create( @@ -29,6 +30,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[VersionCreateResponse], version, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: version = client.workers.scripts.versions.create( @@ -56,6 +58,7 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[VersionCreateResponse], version, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.workers.scripts.versions.with_raw_response.create( @@ -68,6 +71,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: version = response.parse() assert_matches_type(Optional[VersionCreateResponse], version, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.workers.scripts.versions.with_streaming_response.create( @@ -82,6 +86,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -96,6 +101,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: version = client.workers.scripts.versions.list( @@ -104,6 +110,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[VersionListResponse], version, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.workers.scripts.versions.with_raw_response.list( @@ -116,6 +123,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: version = response.parse() assert_matches_type(Optional[VersionListResponse], version, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.workers.scripts.versions.with_streaming_response.list( @@ -130,6 +138,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -144,6 +153,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: version = client.workers.scripts.versions.get( @@ -153,6 +163,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[VersionGetResponse], version, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.workers.scripts.versions.with_raw_response.get( @@ -166,6 +177,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: version = response.parse() assert_matches_type(Optional[VersionGetResponse], version, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.workers.scripts.versions.with_streaming_response.get( @@ -181,6 +193,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -208,6 +221,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncVersions: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: version = await async_client.workers.scripts.versions.create( @@ -216,6 +230,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[VersionCreateResponse], version, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: version = await async_client.workers.scripts.versions.create( @@ -243,6 +258,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[VersionCreateResponse], version, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.workers.scripts.versions.with_raw_response.create( @@ -255,6 +271,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: version = await response.parse() assert_matches_type(Optional[VersionCreateResponse], version, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.workers.scripts.versions.with_streaming_response.create( @@ -269,6 +286,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -283,6 +301,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: version = await async_client.workers.scripts.versions.list( @@ -291,6 +310,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[VersionListResponse], version, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.workers.scripts.versions.with_raw_response.list( @@ -303,6 +323,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: version = await response.parse() assert_matches_type(Optional[VersionListResponse], version, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.workers.scripts.versions.with_streaming_response.list( @@ -317,6 +338,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -331,6 +353,7 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: version = await async_client.workers.scripts.versions.get( @@ -340,6 +363,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[VersionGetResponse], version, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.workers.scripts.versions.with_raw_response.get( @@ -353,6 +377,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: version = await response.parse() assert_matches_type(Optional[VersionGetResponse], version, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.workers.scripts.versions.with_streaming_response.get( @@ -368,6 +393,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/workers/test_account_settings.py b/tests/api_resources/workers/test_account_settings.py index c08e890ea55..e4a4dfdba55 100644 --- a/tests/api_resources/workers/test_account_settings.py +++ b/tests/api_resources/workers/test_account_settings.py @@ -20,6 +20,7 @@ class TestAccountSettings: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: account_setting = client.workers.account_settings.update( @@ -28,6 +29,7 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[AccountSettingUpdateResponse], account_setting, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.workers.account_settings.with_raw_response.update( @@ -40,6 +42,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: account_setting = response.parse() assert_matches_type(Optional[AccountSettingUpdateResponse], account_setting, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.workers.account_settings.with_streaming_response.update( @@ -54,6 +57,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -62,6 +66,7 @@ def test_path_params_update(self, client: Cloudflare) -> None: body="{'default_usage_model': 'unbound'}", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: account_setting = client.workers.account_settings.get( @@ -69,6 +74,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[AccountSettingGetResponse], account_setting, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.workers.account_settings.with_raw_response.get( @@ -80,6 +86,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: account_setting = response.parse() assert_matches_type(Optional[AccountSettingGetResponse], account_setting, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.workers.account_settings.with_streaming_response.get( @@ -93,6 +100,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -104,6 +112,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncAccountSettings: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: account_setting = await async_client.workers.account_settings.update( @@ -112,6 +121,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[AccountSettingUpdateResponse], account_setting, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.workers.account_settings.with_raw_response.update( @@ -124,6 +134,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: account_setting = await response.parse() assert_matches_type(Optional[AccountSettingUpdateResponse], account_setting, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.workers.account_settings.with_streaming_response.update( @@ -138,6 +149,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -146,6 +158,7 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: body="{'default_usage_model': 'unbound'}", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: account_setting = await async_client.workers.account_settings.get( @@ -153,6 +166,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[AccountSettingGetResponse], account_setting, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.workers.account_settings.with_raw_response.get( @@ -164,6 +178,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: account_setting = await response.parse() assert_matches_type(Optional[AccountSettingGetResponse], account_setting, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.workers.account_settings.with_streaming_response.get( @@ -177,6 +192,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/workers/test_ai.py b/tests/api_resources/workers/test_ai.py index 2115a7288be..3ad76d766d6 100644 --- a/tests/api_resources/workers/test_ai.py +++ b/tests/api_resources/workers/test_ai.py @@ -17,6 +17,7 @@ class TestAI: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_run_overload_1(self, client: Cloudflare) -> None: ai = client.workers.ai.run( @@ -26,6 +27,7 @@ def test_method_run_overload_1(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[AIRunResponse], ai, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_run_overload_1(self, client: Cloudflare) -> None: response = client.workers.ai.with_raw_response.run( @@ -39,6 +41,7 @@ def test_raw_response_run_overload_1(self, client: Cloudflare) -> None: ai = response.parse() assert_matches_type(Optional[AIRunResponse], ai, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_run_overload_1(self, client: Cloudflare) -> None: with client.workers.ai.with_streaming_response.run( @@ -54,6 +57,7 @@ def test_streaming_response_run_overload_1(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_run_overload_1(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -70,6 +74,7 @@ def test_path_params_run_overload_1(self, client: Cloudflare) -> None: text="x", ) + @pytest.mark.skip() @parametrize def test_method_run_overload_2(self, client: Cloudflare) -> None: ai = client.workers.ai.run( @@ -79,6 +84,7 @@ def test_method_run_overload_2(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[AIRunResponse], ai, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_run_with_all_params_overload_2(self, client: Cloudflare) -> None: ai = client.workers.ai.run( @@ -93,6 +99,7 @@ def test_method_run_with_all_params_overload_2(self, client: Cloudflare) -> None ) assert_matches_type(Optional[AIRunResponse], ai, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_run_overload_2(self, client: Cloudflare) -> None: response = client.workers.ai.with_raw_response.run( @@ -106,6 +113,7 @@ def test_raw_response_run_overload_2(self, client: Cloudflare) -> None: ai = response.parse() assert_matches_type(Optional[AIRunResponse], ai, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_run_overload_2(self, client: Cloudflare) -> None: with client.workers.ai.with_streaming_response.run( @@ -121,6 +129,7 @@ def test_streaming_response_run_overload_2(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_run_overload_2(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -137,6 +146,7 @@ def test_path_params_run_overload_2(self, client: Cloudflare) -> None: prompt="x", ) + @pytest.mark.skip() @parametrize def test_method_run_overload_3(self, client: Cloudflare) -> None: ai = client.workers.ai.run( @@ -147,6 +157,7 @@ def test_method_run_overload_3(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[AIRunResponse], ai, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_run_overload_3(self, client: Cloudflare) -> None: response = client.workers.ai.with_raw_response.run( @@ -161,6 +172,7 @@ def test_raw_response_run_overload_3(self, client: Cloudflare) -> None: ai = response.parse() assert_matches_type(Optional[AIRunResponse], ai, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_run_overload_3(self, client: Cloudflare) -> None: with client.workers.ai.with_streaming_response.run( @@ -177,6 +189,7 @@ def test_streaming_response_run_overload_3(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_run_overload_3(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -195,6 +208,7 @@ def test_path_params_run_overload_3(self, client: Cloudflare) -> None: source="x", ) + @pytest.mark.skip() @parametrize def test_method_run_overload_4(self, client: Cloudflare) -> None: ai = client.workers.ai.run( @@ -204,6 +218,7 @@ def test_method_run_overload_4(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[AIRunResponse], ai, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_run_overload_4(self, client: Cloudflare) -> None: response = client.workers.ai.with_raw_response.run( @@ -217,6 +232,7 @@ def test_raw_response_run_overload_4(self, client: Cloudflare) -> None: ai = response.parse() assert_matches_type(Optional[AIRunResponse], ai, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_run_overload_4(self, client: Cloudflare) -> None: with client.workers.ai.with_streaming_response.run( @@ -232,6 +248,7 @@ def test_streaming_response_run_overload_4(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_run_overload_4(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -248,6 +265,7 @@ def test_path_params_run_overload_4(self, client: Cloudflare) -> None: text="x", ) + @pytest.mark.skip() @parametrize def test_method_run_overload_5(self, client: Cloudflare) -> None: ai = client.workers.ai.run( @@ -256,6 +274,7 @@ def test_method_run_overload_5(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[AIRunResponse], ai, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_run_with_all_params_overload_5(self, client: Cloudflare) -> None: ai = client.workers.ai.run( @@ -265,6 +284,7 @@ def test_method_run_with_all_params_overload_5(self, client: Cloudflare) -> None ) assert_matches_type(Optional[AIRunResponse], ai, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_run_overload_5(self, client: Cloudflare) -> None: response = client.workers.ai.with_raw_response.run( @@ -277,6 +297,7 @@ def test_raw_response_run_overload_5(self, client: Cloudflare) -> None: ai = response.parse() assert_matches_type(Optional[AIRunResponse], ai, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_run_overload_5(self, client: Cloudflare) -> None: with client.workers.ai.with_streaming_response.run( @@ -291,6 +312,7 @@ def test_streaming_response_run_overload_5(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_run_overload_5(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -305,6 +327,7 @@ def test_path_params_run_overload_5(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize def test_method_run_overload_6(self, client: Cloudflare) -> None: ai = client.workers.ai.run( @@ -313,6 +336,7 @@ def test_method_run_overload_6(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[AIRunResponse], ai, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_run_with_all_params_overload_6(self, client: Cloudflare) -> None: ai = client.workers.ai.run( @@ -322,6 +346,7 @@ def test_method_run_with_all_params_overload_6(self, client: Cloudflare) -> None ) assert_matches_type(Optional[AIRunResponse], ai, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_run_overload_6(self, client: Cloudflare) -> None: response = client.workers.ai.with_raw_response.run( @@ -334,6 +359,7 @@ def test_raw_response_run_overload_6(self, client: Cloudflare) -> None: ai = response.parse() assert_matches_type(Optional[AIRunResponse], ai, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_run_overload_6(self, client: Cloudflare) -> None: with client.workers.ai.with_streaming_response.run( @@ -348,6 +374,7 @@ def test_streaming_response_run_overload_6(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_run_overload_6(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -362,6 +389,7 @@ def test_path_params_run_overload_6(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize def test_method_run_overload_7(self, client: Cloudflare) -> None: ai = client.workers.ai.run( @@ -370,6 +398,7 @@ def test_method_run_overload_7(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[AIRunResponse], ai, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_run_with_all_params_overload_7(self, client: Cloudflare) -> None: ai = client.workers.ai.run( @@ -379,6 +408,7 @@ def test_method_run_with_all_params_overload_7(self, client: Cloudflare) -> None ) assert_matches_type(Optional[AIRunResponse], ai, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_run_overload_7(self, client: Cloudflare) -> None: response = client.workers.ai.with_raw_response.run( @@ -391,6 +421,7 @@ def test_raw_response_run_overload_7(self, client: Cloudflare) -> None: ai = response.parse() assert_matches_type(Optional[AIRunResponse], ai, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_run_overload_7(self, client: Cloudflare) -> None: with client.workers.ai.with_streaming_response.run( @@ -405,6 +436,7 @@ def test_streaming_response_run_overload_7(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_run_overload_7(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -419,6 +451,7 @@ def test_path_params_run_overload_7(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize def test_method_run_overload_8(self, client: Cloudflare) -> None: ai = client.workers.ai.run( @@ -427,6 +460,7 @@ def test_method_run_overload_8(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[AIRunResponse], ai, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_run_with_all_params_overload_8(self, client: Cloudflare) -> None: ai = client.workers.ai.run( @@ -454,6 +488,7 @@ def test_method_run_with_all_params_overload_8(self, client: Cloudflare) -> None ) assert_matches_type(Optional[AIRunResponse], ai, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_run_overload_8(self, client: Cloudflare) -> None: response = client.workers.ai.with_raw_response.run( @@ -466,6 +501,7 @@ def test_raw_response_run_overload_8(self, client: Cloudflare) -> None: ai = response.parse() assert_matches_type(Optional[AIRunResponse], ai, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_run_overload_8(self, client: Cloudflare) -> None: with client.workers.ai.with_streaming_response.run( @@ -480,6 +516,7 @@ def test_streaming_response_run_overload_8(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_run_overload_8(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -494,6 +531,7 @@ def test_path_params_run_overload_8(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize def test_method_run_overload_9(self, client: Cloudflare) -> None: ai = client.workers.ai.run( @@ -504,6 +542,7 @@ def test_method_run_overload_9(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[AIRunResponse], ai, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_run_with_all_params_overload_9(self, client: Cloudflare) -> None: ai = client.workers.ai.run( @@ -515,6 +554,7 @@ def test_method_run_with_all_params_overload_9(self, client: Cloudflare) -> None ) assert_matches_type(Optional[AIRunResponse], ai, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_run_overload_9(self, client: Cloudflare) -> None: response = client.workers.ai.with_raw_response.run( @@ -529,6 +569,7 @@ def test_raw_response_run_overload_9(self, client: Cloudflare) -> None: ai = response.parse() assert_matches_type(Optional[AIRunResponse], ai, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_run_overload_9(self, client: Cloudflare) -> None: with client.workers.ai.with_streaming_response.run( @@ -545,6 +586,7 @@ def test_streaming_response_run_overload_9(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_run_overload_9(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -563,6 +605,7 @@ def test_path_params_run_overload_9(self, client: Cloudflare) -> None: text="x", ) + @pytest.mark.skip() @parametrize def test_method_run_overload_10(self, client: Cloudflare) -> None: ai = client.workers.ai.run( @@ -572,6 +615,7 @@ def test_method_run_overload_10(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[AIRunResponse], ai, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_run_with_all_params_overload_10(self, client: Cloudflare) -> None: ai = client.workers.ai.run( @@ -582,6 +626,7 @@ def test_method_run_with_all_params_overload_10(self, client: Cloudflare) -> Non ) assert_matches_type(Optional[AIRunResponse], ai, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_run_overload_10(self, client: Cloudflare) -> None: response = client.workers.ai.with_raw_response.run( @@ -595,6 +640,7 @@ def test_raw_response_run_overload_10(self, client: Cloudflare) -> None: ai = response.parse() assert_matches_type(Optional[AIRunResponse], ai, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_run_overload_10(self, client: Cloudflare) -> None: with client.workers.ai.with_streaming_response.run( @@ -610,6 +656,7 @@ def test_streaming_response_run_overload_10(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_run_overload_10(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -626,6 +673,7 @@ def test_path_params_run_overload_10(self, client: Cloudflare) -> None: input_text="x", ) + @pytest.mark.skip() @parametrize def test_method_run_overload_11(self, client: Cloudflare) -> None: ai = client.workers.ai.run( @@ -634,6 +682,7 @@ def test_method_run_overload_11(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[AIRunResponse], ai, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_run_with_all_params_overload_11(self, client: Cloudflare) -> None: ai = client.workers.ai.run( @@ -645,6 +694,7 @@ def test_method_run_with_all_params_overload_11(self, client: Cloudflare) -> Non ) assert_matches_type(Optional[AIRunResponse], ai, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_run_overload_11(self, client: Cloudflare) -> None: response = client.workers.ai.with_raw_response.run( @@ -657,6 +707,7 @@ def test_raw_response_run_overload_11(self, client: Cloudflare) -> None: ai = response.parse() assert_matches_type(Optional[AIRunResponse], ai, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_run_overload_11(self, client: Cloudflare) -> None: with client.workers.ai.with_streaming_response.run( @@ -671,6 +722,7 @@ def test_streaming_response_run_overload_11(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_run_overload_11(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -689,6 +741,7 @@ def test_path_params_run_overload_11(self, client: Cloudflare) -> None: class TestAsyncAI: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_run_overload_1(self, async_client: AsyncCloudflare) -> None: ai = await async_client.workers.ai.run( @@ -698,6 +751,7 @@ async def test_method_run_overload_1(self, async_client: AsyncCloudflare) -> Non ) assert_matches_type(Optional[AIRunResponse], ai, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_run_overload_1(self, async_client: AsyncCloudflare) -> None: response = await async_client.workers.ai.with_raw_response.run( @@ -711,6 +765,7 @@ async def test_raw_response_run_overload_1(self, async_client: AsyncCloudflare) ai = await response.parse() assert_matches_type(Optional[AIRunResponse], ai, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_run_overload_1(self, async_client: AsyncCloudflare) -> None: async with async_client.workers.ai.with_streaming_response.run( @@ -726,6 +781,7 @@ async def test_streaming_response_run_overload_1(self, async_client: AsyncCloudf assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_run_overload_1(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -742,6 +798,7 @@ async def test_path_params_run_overload_1(self, async_client: AsyncCloudflare) - text="x", ) + @pytest.mark.skip() @parametrize async def test_method_run_overload_2(self, async_client: AsyncCloudflare) -> None: ai = await async_client.workers.ai.run( @@ -751,6 +808,7 @@ async def test_method_run_overload_2(self, async_client: AsyncCloudflare) -> Non ) assert_matches_type(Optional[AIRunResponse], ai, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_run_with_all_params_overload_2(self, async_client: AsyncCloudflare) -> None: ai = await async_client.workers.ai.run( @@ -765,6 +823,7 @@ async def test_method_run_with_all_params_overload_2(self, async_client: AsyncCl ) assert_matches_type(Optional[AIRunResponse], ai, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_run_overload_2(self, async_client: AsyncCloudflare) -> None: response = await async_client.workers.ai.with_raw_response.run( @@ -778,6 +837,7 @@ async def test_raw_response_run_overload_2(self, async_client: AsyncCloudflare) ai = await response.parse() assert_matches_type(Optional[AIRunResponse], ai, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_run_overload_2(self, async_client: AsyncCloudflare) -> None: async with async_client.workers.ai.with_streaming_response.run( @@ -793,6 +853,7 @@ async def test_streaming_response_run_overload_2(self, async_client: AsyncCloudf assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_run_overload_2(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -809,6 +870,7 @@ async def test_path_params_run_overload_2(self, async_client: AsyncCloudflare) - prompt="x", ) + @pytest.mark.skip() @parametrize async def test_method_run_overload_3(self, async_client: AsyncCloudflare) -> None: ai = await async_client.workers.ai.run( @@ -819,6 +881,7 @@ async def test_method_run_overload_3(self, async_client: AsyncCloudflare) -> Non ) assert_matches_type(Optional[AIRunResponse], ai, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_run_overload_3(self, async_client: AsyncCloudflare) -> None: response = await async_client.workers.ai.with_raw_response.run( @@ -833,6 +896,7 @@ async def test_raw_response_run_overload_3(self, async_client: AsyncCloudflare) ai = await response.parse() assert_matches_type(Optional[AIRunResponse], ai, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_run_overload_3(self, async_client: AsyncCloudflare) -> None: async with async_client.workers.ai.with_streaming_response.run( @@ -849,6 +913,7 @@ async def test_streaming_response_run_overload_3(self, async_client: AsyncCloudf assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_run_overload_3(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -867,6 +932,7 @@ async def test_path_params_run_overload_3(self, async_client: AsyncCloudflare) - source="x", ) + @pytest.mark.skip() @parametrize async def test_method_run_overload_4(self, async_client: AsyncCloudflare) -> None: ai = await async_client.workers.ai.run( @@ -876,6 +942,7 @@ async def test_method_run_overload_4(self, async_client: AsyncCloudflare) -> Non ) assert_matches_type(Optional[AIRunResponse], ai, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_run_overload_4(self, async_client: AsyncCloudflare) -> None: response = await async_client.workers.ai.with_raw_response.run( @@ -889,6 +956,7 @@ async def test_raw_response_run_overload_4(self, async_client: AsyncCloudflare) ai = await response.parse() assert_matches_type(Optional[AIRunResponse], ai, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_run_overload_4(self, async_client: AsyncCloudflare) -> None: async with async_client.workers.ai.with_streaming_response.run( @@ -904,6 +972,7 @@ async def test_streaming_response_run_overload_4(self, async_client: AsyncCloudf assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_run_overload_4(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -920,6 +989,7 @@ async def test_path_params_run_overload_4(self, async_client: AsyncCloudflare) - text="x", ) + @pytest.mark.skip() @parametrize async def test_method_run_overload_5(self, async_client: AsyncCloudflare) -> None: ai = await async_client.workers.ai.run( @@ -928,6 +998,7 @@ async def test_method_run_overload_5(self, async_client: AsyncCloudflare) -> Non ) assert_matches_type(Optional[AIRunResponse], ai, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_run_with_all_params_overload_5(self, async_client: AsyncCloudflare) -> None: ai = await async_client.workers.ai.run( @@ -937,6 +1008,7 @@ async def test_method_run_with_all_params_overload_5(self, async_client: AsyncCl ) assert_matches_type(Optional[AIRunResponse], ai, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_run_overload_5(self, async_client: AsyncCloudflare) -> None: response = await async_client.workers.ai.with_raw_response.run( @@ -949,6 +1021,7 @@ async def test_raw_response_run_overload_5(self, async_client: AsyncCloudflare) ai = await response.parse() assert_matches_type(Optional[AIRunResponse], ai, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_run_overload_5(self, async_client: AsyncCloudflare) -> None: async with async_client.workers.ai.with_streaming_response.run( @@ -963,6 +1036,7 @@ async def test_streaming_response_run_overload_5(self, async_client: AsyncCloudf assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_run_overload_5(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -977,6 +1051,7 @@ async def test_path_params_run_overload_5(self, async_client: AsyncCloudflare) - account_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize async def test_method_run_overload_6(self, async_client: AsyncCloudflare) -> None: ai = await async_client.workers.ai.run( @@ -985,6 +1060,7 @@ async def test_method_run_overload_6(self, async_client: AsyncCloudflare) -> Non ) assert_matches_type(Optional[AIRunResponse], ai, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_run_with_all_params_overload_6(self, async_client: AsyncCloudflare) -> None: ai = await async_client.workers.ai.run( @@ -994,6 +1070,7 @@ async def test_method_run_with_all_params_overload_6(self, async_client: AsyncCl ) assert_matches_type(Optional[AIRunResponse], ai, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_run_overload_6(self, async_client: AsyncCloudflare) -> None: response = await async_client.workers.ai.with_raw_response.run( @@ -1006,6 +1083,7 @@ async def test_raw_response_run_overload_6(self, async_client: AsyncCloudflare) ai = await response.parse() assert_matches_type(Optional[AIRunResponse], ai, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_run_overload_6(self, async_client: AsyncCloudflare) -> None: async with async_client.workers.ai.with_streaming_response.run( @@ -1020,6 +1098,7 @@ async def test_streaming_response_run_overload_6(self, async_client: AsyncCloudf assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_run_overload_6(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -1034,6 +1113,7 @@ async def test_path_params_run_overload_6(self, async_client: AsyncCloudflare) - account_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize async def test_method_run_overload_7(self, async_client: AsyncCloudflare) -> None: ai = await async_client.workers.ai.run( @@ -1042,6 +1122,7 @@ async def test_method_run_overload_7(self, async_client: AsyncCloudflare) -> Non ) assert_matches_type(Optional[AIRunResponse], ai, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_run_with_all_params_overload_7(self, async_client: AsyncCloudflare) -> None: ai = await async_client.workers.ai.run( @@ -1051,6 +1132,7 @@ async def test_method_run_with_all_params_overload_7(self, async_client: AsyncCl ) assert_matches_type(Optional[AIRunResponse], ai, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_run_overload_7(self, async_client: AsyncCloudflare) -> None: response = await async_client.workers.ai.with_raw_response.run( @@ -1063,6 +1145,7 @@ async def test_raw_response_run_overload_7(self, async_client: AsyncCloudflare) ai = await response.parse() assert_matches_type(Optional[AIRunResponse], ai, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_run_overload_7(self, async_client: AsyncCloudflare) -> None: async with async_client.workers.ai.with_streaming_response.run( @@ -1077,6 +1160,7 @@ async def test_streaming_response_run_overload_7(self, async_client: AsyncCloudf assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_run_overload_7(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -1091,6 +1175,7 @@ async def test_path_params_run_overload_7(self, async_client: AsyncCloudflare) - account_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize async def test_method_run_overload_8(self, async_client: AsyncCloudflare) -> None: ai = await async_client.workers.ai.run( @@ -1099,6 +1184,7 @@ async def test_method_run_overload_8(self, async_client: AsyncCloudflare) -> Non ) assert_matches_type(Optional[AIRunResponse], ai, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_run_with_all_params_overload_8(self, async_client: AsyncCloudflare) -> None: ai = await async_client.workers.ai.run( @@ -1126,6 +1212,7 @@ async def test_method_run_with_all_params_overload_8(self, async_client: AsyncCl ) assert_matches_type(Optional[AIRunResponse], ai, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_run_overload_8(self, async_client: AsyncCloudflare) -> None: response = await async_client.workers.ai.with_raw_response.run( @@ -1138,6 +1225,7 @@ async def test_raw_response_run_overload_8(self, async_client: AsyncCloudflare) ai = await response.parse() assert_matches_type(Optional[AIRunResponse], ai, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_run_overload_8(self, async_client: AsyncCloudflare) -> None: async with async_client.workers.ai.with_streaming_response.run( @@ -1152,6 +1240,7 @@ async def test_streaming_response_run_overload_8(self, async_client: AsyncCloudf assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_run_overload_8(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -1166,6 +1255,7 @@ async def test_path_params_run_overload_8(self, async_client: AsyncCloudflare) - account_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize async def test_method_run_overload_9(self, async_client: AsyncCloudflare) -> None: ai = await async_client.workers.ai.run( @@ -1176,6 +1266,7 @@ async def test_method_run_overload_9(self, async_client: AsyncCloudflare) -> Non ) assert_matches_type(Optional[AIRunResponse], ai, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_run_with_all_params_overload_9(self, async_client: AsyncCloudflare) -> None: ai = await async_client.workers.ai.run( @@ -1187,6 +1278,7 @@ async def test_method_run_with_all_params_overload_9(self, async_client: AsyncCl ) assert_matches_type(Optional[AIRunResponse], ai, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_run_overload_9(self, async_client: AsyncCloudflare) -> None: response = await async_client.workers.ai.with_raw_response.run( @@ -1201,6 +1293,7 @@ async def test_raw_response_run_overload_9(self, async_client: AsyncCloudflare) ai = await response.parse() assert_matches_type(Optional[AIRunResponse], ai, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_run_overload_9(self, async_client: AsyncCloudflare) -> None: async with async_client.workers.ai.with_streaming_response.run( @@ -1217,6 +1310,7 @@ async def test_streaming_response_run_overload_9(self, async_client: AsyncCloudf assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_run_overload_9(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -1235,6 +1329,7 @@ async def test_path_params_run_overload_9(self, async_client: AsyncCloudflare) - text="x", ) + @pytest.mark.skip() @parametrize async def test_method_run_overload_10(self, async_client: AsyncCloudflare) -> None: ai = await async_client.workers.ai.run( @@ -1244,6 +1339,7 @@ async def test_method_run_overload_10(self, async_client: AsyncCloudflare) -> No ) assert_matches_type(Optional[AIRunResponse], ai, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_run_with_all_params_overload_10(self, async_client: AsyncCloudflare) -> None: ai = await async_client.workers.ai.run( @@ -1254,6 +1350,7 @@ async def test_method_run_with_all_params_overload_10(self, async_client: AsyncC ) assert_matches_type(Optional[AIRunResponse], ai, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_run_overload_10(self, async_client: AsyncCloudflare) -> None: response = await async_client.workers.ai.with_raw_response.run( @@ -1267,6 +1364,7 @@ async def test_raw_response_run_overload_10(self, async_client: AsyncCloudflare) ai = await response.parse() assert_matches_type(Optional[AIRunResponse], ai, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_run_overload_10(self, async_client: AsyncCloudflare) -> None: async with async_client.workers.ai.with_streaming_response.run( @@ -1282,6 +1380,7 @@ async def test_streaming_response_run_overload_10(self, async_client: AsyncCloud assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_run_overload_10(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -1298,6 +1397,7 @@ async def test_path_params_run_overload_10(self, async_client: AsyncCloudflare) input_text="x", ) + @pytest.mark.skip() @parametrize async def test_method_run_overload_11(self, async_client: AsyncCloudflare) -> None: ai = await async_client.workers.ai.run( @@ -1306,6 +1406,7 @@ async def test_method_run_overload_11(self, async_client: AsyncCloudflare) -> No ) assert_matches_type(Optional[AIRunResponse], ai, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_run_with_all_params_overload_11(self, async_client: AsyncCloudflare) -> None: ai = await async_client.workers.ai.run( @@ -1317,6 +1418,7 @@ async def test_method_run_with_all_params_overload_11(self, async_client: AsyncC ) assert_matches_type(Optional[AIRunResponse], ai, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_run_overload_11(self, async_client: AsyncCloudflare) -> None: response = await async_client.workers.ai.with_raw_response.run( @@ -1329,6 +1431,7 @@ async def test_raw_response_run_overload_11(self, async_client: AsyncCloudflare) ai = await response.parse() assert_matches_type(Optional[AIRunResponse], ai, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_run_overload_11(self, async_client: AsyncCloudflare) -> None: async with async_client.workers.ai.with_streaming_response.run( @@ -1343,6 +1446,7 @@ async def test_streaming_response_run_overload_11(self, async_client: AsyncCloud assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_run_overload_11(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/workers/test_domains.py b/tests/api_resources/workers/test_domains.py index 2eddcce64e7..ddd9b6b4616 100644 --- a/tests/api_resources/workers/test_domains.py +++ b/tests/api_resources/workers/test_domains.py @@ -18,6 +18,7 @@ class TestDomains: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: domain = client.workers.domains.update( @@ -29,6 +30,7 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Domain], domain, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.workers.domains.with_raw_response.update( @@ -44,6 +46,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: domain = response.parse() assert_matches_type(Optional[Domain], domain, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.workers.domains.with_streaming_response.update( @@ -61,6 +64,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -72,6 +76,7 @@ def test_path_params_update(self, client: Cloudflare) -> None: zone_id="593c9c94de529bbbfaac7c53ced0447d", ) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: domain = client.workers.domains.list( @@ -79,6 +84,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[Domain], domain, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: domain = client.workers.domains.list( @@ -91,6 +97,7 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[Domain], domain, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.workers.domains.with_raw_response.list( @@ -102,6 +109,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: domain = response.parse() assert_matches_type(SyncSinglePage[Domain], domain, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.workers.domains.with_streaming_response.list( @@ -115,6 +123,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -122,6 +131,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: domain = client.workers.domains.delete( @@ -131,6 +141,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert domain is None + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.workers.domains.with_raw_response.delete( @@ -144,6 +155,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: domain = response.parse() assert domain is None + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.workers.domains.with_streaming_response.delete( @@ -159,6 +171,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -175,6 +188,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: domain = client.workers.domains.get( @@ -183,6 +197,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Domain], domain, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.workers.domains.with_raw_response.get( @@ -195,6 +210,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: domain = response.parse() assert_matches_type(Optional[Domain], domain, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.workers.domains.with_streaming_response.get( @@ -209,6 +225,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -227,6 +244,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncDomains: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: domain = await async_client.workers.domains.update( @@ -238,6 +256,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Domain], domain, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.workers.domains.with_raw_response.update( @@ -253,6 +272,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: domain = await response.parse() assert_matches_type(Optional[Domain], domain, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.workers.domains.with_streaming_response.update( @@ -270,6 +290,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -281,6 +302,7 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: zone_id="593c9c94de529bbbfaac7c53ced0447d", ) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: domain = await async_client.workers.domains.list( @@ -288,6 +310,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[Domain], domain, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: domain = await async_client.workers.domains.list( @@ -300,6 +323,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncSinglePage[Domain], domain, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.workers.domains.with_raw_response.list( @@ -311,6 +335,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: domain = await response.parse() assert_matches_type(AsyncSinglePage[Domain], domain, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.workers.domains.with_streaming_response.list( @@ -324,6 +349,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -331,6 +357,7 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: domain = await async_client.workers.domains.delete( @@ -340,6 +367,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert domain is None + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.workers.domains.with_raw_response.delete( @@ -353,6 +381,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: domain = await response.parse() assert domain is None + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.workers.domains.with_streaming_response.delete( @@ -368,6 +397,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -384,6 +414,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: domain = await async_client.workers.domains.get( @@ -392,6 +423,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Domain], domain, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.workers.domains.with_raw_response.get( @@ -404,6 +436,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: domain = await response.parse() assert_matches_type(Optional[Domain], domain, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.workers.domains.with_streaming_response.get( @@ -418,6 +451,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/workers/test_scripts.py b/tests/api_resources/workers/test_scripts.py index 605c40119aa..37653e7083c 100644 --- a/tests/api_resources/workers/test_scripts.py +++ b/tests/api_resources/workers/test_scripts.py @@ -26,6 +26,7 @@ class TestScripts: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_update_overload_1(self, client: Cloudflare) -> None: script = client.workers.scripts.update( @@ -34,6 +35,7 @@ def test_method_update_overload_1(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Script], script, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_update_with_all_params_overload_1(self, client: Cloudflare) -> None: script = client.workers.scripts.update( @@ -117,6 +119,7 @@ def test_method_update_with_all_params_overload_1(self, client: Cloudflare) -> N ) assert_matches_type(Optional[Script], script, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update_overload_1(self, client: Cloudflare) -> None: response = client.workers.scripts.with_raw_response.update( @@ -129,6 +132,7 @@ def test_raw_response_update_overload_1(self, client: Cloudflare) -> None: script = response.parse() assert_matches_type(Optional[Script], script, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update_overload_1(self, client: Cloudflare) -> None: with client.workers.scripts.with_streaming_response.update( @@ -143,6 +147,7 @@ def test_streaming_response_update_overload_1(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update_overload_1(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -157,6 +162,7 @@ def test_path_params_update_overload_1(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize def test_method_update_overload_2(self, client: Cloudflare) -> None: script = client.workers.scripts.update( @@ -165,6 +171,7 @@ def test_method_update_overload_2(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Script], script, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_update_with_all_params_overload_2(self, client: Cloudflare) -> None: script = client.workers.scripts.update( @@ -175,6 +182,7 @@ def test_method_update_with_all_params_overload_2(self, client: Cloudflare) -> N ) assert_matches_type(Optional[Script], script, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update_overload_2(self, client: Cloudflare) -> None: response = client.workers.scripts.with_raw_response.update( @@ -187,6 +195,7 @@ def test_raw_response_update_overload_2(self, client: Cloudflare) -> None: script = response.parse() assert_matches_type(Optional[Script], script, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update_overload_2(self, client: Cloudflare) -> None: with client.workers.scripts.with_streaming_response.update( @@ -201,6 +210,7 @@ def test_streaming_response_update_overload_2(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update_overload_2(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -215,6 +225,7 @@ def test_path_params_update_overload_2(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: script = client.workers.scripts.list( @@ -222,6 +233,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[Script], script, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.workers.scripts.with_raw_response.list( @@ -233,6 +245,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: script = response.parse() assert_matches_type(SyncSinglePage[Script], script, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.workers.scripts.with_streaming_response.list( @@ -246,6 +259,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -253,6 +267,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: script = client.workers.scripts.delete( @@ -262,6 +277,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert script is None + @pytest.mark.skip() @parametrize def test_method_delete_with_all_params(self, client: Cloudflare) -> None: script = client.workers.scripts.delete( @@ -272,6 +288,7 @@ def test_method_delete_with_all_params(self, client: Cloudflare) -> None: ) assert script is None + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.workers.scripts.with_raw_response.delete( @@ -285,6 +302,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: script = response.parse() assert script is None + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.workers.scripts.with_streaming_response.delete( @@ -300,6 +318,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -316,6 +335,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize @pytest.mark.respx(base_url=base_url) def test_method_get(self, client: Cloudflare, respx_mock: MockRouter) -> None: @@ -331,6 +351,7 @@ def test_method_get(self, client: Cloudflare, respx_mock: MockRouter) -> None: assert cast(Any, script.is_closed) is True assert isinstance(script, BinaryAPIResponse) + @pytest.mark.skip() @parametrize @pytest.mark.respx(base_url=base_url) def test_raw_response_get(self, client: Cloudflare, respx_mock: MockRouter) -> None: @@ -348,6 +369,7 @@ def test_raw_response_get(self, client: Cloudflare, respx_mock: MockRouter) -> N assert script.json() == {"foo": "bar"} assert isinstance(script, BinaryAPIResponse) + @pytest.mark.skip() @parametrize @pytest.mark.respx(base_url=base_url) def test_streaming_response_get(self, client: Cloudflare, respx_mock: MockRouter) -> None: @@ -367,6 +389,7 @@ def test_streaming_response_get(self, client: Cloudflare, respx_mock: MockRouter assert cast(Any, script.is_closed) is True + @pytest.mark.skip() @parametrize @pytest.mark.respx(base_url=base_url) def test_path_params_get(self, client: Cloudflare) -> None: @@ -386,6 +409,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncScripts: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_update_overload_1(self, async_client: AsyncCloudflare) -> None: script = await async_client.workers.scripts.update( @@ -394,6 +418,7 @@ async def test_method_update_overload_1(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[Script], script, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_update_with_all_params_overload_1(self, async_client: AsyncCloudflare) -> None: script = await async_client.workers.scripts.update( @@ -477,6 +502,7 @@ async def test_method_update_with_all_params_overload_1(self, async_client: Asyn ) assert_matches_type(Optional[Script], script, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update_overload_1(self, async_client: AsyncCloudflare) -> None: response = await async_client.workers.scripts.with_raw_response.update( @@ -489,6 +515,7 @@ async def test_raw_response_update_overload_1(self, async_client: AsyncCloudflar script = await response.parse() assert_matches_type(Optional[Script], script, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update_overload_1(self, async_client: AsyncCloudflare) -> None: async with async_client.workers.scripts.with_streaming_response.update( @@ -503,6 +530,7 @@ async def test_streaming_response_update_overload_1(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update_overload_1(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -517,6 +545,7 @@ async def test_path_params_update_overload_1(self, async_client: AsyncCloudflare account_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize async def test_method_update_overload_2(self, async_client: AsyncCloudflare) -> None: script = await async_client.workers.scripts.update( @@ -525,6 +554,7 @@ async def test_method_update_overload_2(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[Script], script, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_update_with_all_params_overload_2(self, async_client: AsyncCloudflare) -> None: script = await async_client.workers.scripts.update( @@ -535,6 +565,7 @@ async def test_method_update_with_all_params_overload_2(self, async_client: Asyn ) assert_matches_type(Optional[Script], script, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update_overload_2(self, async_client: AsyncCloudflare) -> None: response = await async_client.workers.scripts.with_raw_response.update( @@ -547,6 +578,7 @@ async def test_raw_response_update_overload_2(self, async_client: AsyncCloudflar script = await response.parse() assert_matches_type(Optional[Script], script, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update_overload_2(self, async_client: AsyncCloudflare) -> None: async with async_client.workers.scripts.with_streaming_response.update( @@ -561,6 +593,7 @@ async def test_streaming_response_update_overload_2(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update_overload_2(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -575,6 +608,7 @@ async def test_path_params_update_overload_2(self, async_client: AsyncCloudflare account_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: script = await async_client.workers.scripts.list( @@ -582,6 +616,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[Script], script, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.workers.scripts.with_raw_response.list( @@ -593,6 +628,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: script = await response.parse() assert_matches_type(AsyncSinglePage[Script], script, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.workers.scripts.with_streaming_response.list( @@ -606,6 +642,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -613,6 +650,7 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: script = await async_client.workers.scripts.delete( @@ -622,6 +660,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert script is None + @pytest.mark.skip() @parametrize async def test_method_delete_with_all_params(self, async_client: AsyncCloudflare) -> None: script = await async_client.workers.scripts.delete( @@ -632,6 +671,7 @@ async def test_method_delete_with_all_params(self, async_client: AsyncCloudflare ) assert script is None + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.workers.scripts.with_raw_response.delete( @@ -645,6 +685,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: script = await response.parse() assert script is None + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.workers.scripts.with_streaming_response.delete( @@ -660,6 +701,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -676,6 +718,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize @pytest.mark.respx(base_url=base_url) async def test_method_get(self, async_client: AsyncCloudflare, respx_mock: MockRouter) -> None: @@ -691,6 +734,7 @@ async def test_method_get(self, async_client: AsyncCloudflare, respx_mock: MockR assert cast(Any, script.is_closed) is True assert isinstance(script, AsyncBinaryAPIResponse) + @pytest.mark.skip() @parametrize @pytest.mark.respx(base_url=base_url) async def test_raw_response_get(self, async_client: AsyncCloudflare, respx_mock: MockRouter) -> None: @@ -708,6 +752,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare, respx_mock: assert await script.json() == {"foo": "bar"} assert isinstance(script, AsyncBinaryAPIResponse) + @pytest.mark.skip() @parametrize @pytest.mark.respx(base_url=base_url) async def test_streaming_response_get(self, async_client: AsyncCloudflare, respx_mock: MockRouter) -> None: @@ -727,6 +772,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare, respx assert cast(Any, script.is_closed) is True + @pytest.mark.skip() @parametrize @pytest.mark.respx(base_url=base_url) async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: diff --git a/tests/api_resources/workers/test_subdomains.py b/tests/api_resources/workers/test_subdomains.py index 7d4b05f92d4..03efd638828 100644 --- a/tests/api_resources/workers/test_subdomains.py +++ b/tests/api_resources/workers/test_subdomains.py @@ -17,6 +17,7 @@ class TestSubdomains: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: subdomain = client.workers.subdomains.update( @@ -25,6 +26,7 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[SubdomainUpdateResponse], subdomain, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.workers.subdomains.with_raw_response.update( @@ -37,6 +39,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: subdomain = response.parse() assert_matches_type(Optional[SubdomainUpdateResponse], subdomain, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.workers.subdomains.with_streaming_response.update( @@ -51,6 +54,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -59,6 +63,7 @@ def test_path_params_update(self, client: Cloudflare) -> None: body="{'subdomain': 'example-subdomain'}", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: subdomain = client.workers.subdomains.get( @@ -66,6 +71,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[SubdomainGetResponse], subdomain, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.workers.subdomains.with_raw_response.get( @@ -77,6 +83,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: subdomain = response.parse() assert_matches_type(Optional[SubdomainGetResponse], subdomain, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.workers.subdomains.with_streaming_response.get( @@ -90,6 +97,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -101,6 +109,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncSubdomains: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: subdomain = await async_client.workers.subdomains.update( @@ -109,6 +118,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[SubdomainUpdateResponse], subdomain, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.workers.subdomains.with_raw_response.update( @@ -121,6 +131,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: subdomain = await response.parse() assert_matches_type(Optional[SubdomainUpdateResponse], subdomain, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.workers.subdomains.with_streaming_response.update( @@ -135,6 +146,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -143,6 +155,7 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: body="{'subdomain': 'example-subdomain'}", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: subdomain = await async_client.workers.subdomains.get( @@ -150,6 +163,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[SubdomainGetResponse], subdomain, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.workers.subdomains.with_raw_response.get( @@ -161,6 +175,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: subdomain = await response.parse() assert_matches_type(Optional[SubdomainGetResponse], subdomain, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.workers.subdomains.with_streaming_response.get( @@ -174,6 +189,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/workers_for_platforms/dispatch/namespaces/scripts/test_bindings.py b/tests/api_resources/workers_for_platforms/dispatch/namespaces/scripts/test_bindings.py index 29c42f700b9..a5e2e126fec 100644 --- a/tests/api_resources/workers_for_platforms/dispatch/namespaces/scripts/test_bindings.py +++ b/tests/api_resources/workers_for_platforms/dispatch/namespaces/scripts/test_bindings.py @@ -17,6 +17,7 @@ class TestBindings: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: binding = client.workers_for_platforms.dispatch.namespaces.scripts.bindings.get( @@ -26,6 +27,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[BindingGetResponse], binding, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.workers_for_platforms.dispatch.namespaces.scripts.bindings.with_raw_response.get( @@ -39,6 +41,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: binding = response.parse() assert_matches_type(Optional[BindingGetResponse], binding, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.workers_for_platforms.dispatch.namespaces.scripts.bindings.with_streaming_response.get( @@ -54,6 +57,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -81,6 +85,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncBindings: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: binding = await async_client.workers_for_platforms.dispatch.namespaces.scripts.bindings.get( @@ -90,6 +95,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[BindingGetResponse], binding, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.workers_for_platforms.dispatch.namespaces.scripts.bindings.with_raw_response.get( @@ -103,6 +109,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: binding = await response.parse() assert_matches_type(Optional[BindingGetResponse], binding, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.workers_for_platforms.dispatch.namespaces.scripts.bindings.with_streaming_response.get( @@ -118,6 +125,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/workers_for_platforms/dispatch/namespaces/scripts/test_content.py b/tests/api_resources/workers_for_platforms/dispatch/namespaces/scripts/test_content.py index 63982a5b6bf..6c1374dca41 100644 --- a/tests/api_resources/workers_for_platforms/dispatch/namespaces/scripts/test_content.py +++ b/tests/api_resources/workers_for_platforms/dispatch/namespaces/scripts/test_content.py @@ -25,6 +25,7 @@ class TestContent: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: content = client.workers_for_platforms.dispatch.namespaces.scripts.content.update( @@ -34,6 +35,7 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Script], content, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: content = client.workers_for_platforms.dispatch.namespaces.scripts.content.update( @@ -48,6 +50,7 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Script], content, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.workers_for_platforms.dispatch.namespaces.scripts.content.with_raw_response.update( @@ -61,6 +64,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: content = response.parse() assert_matches_type(Optional[Script], content, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.workers_for_platforms.dispatch.namespaces.scripts.content.with_streaming_response.update( @@ -76,6 +80,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -99,6 +104,7 @@ def test_path_params_update(self, client: Cloudflare) -> None: dispatch_namespace="my-dispatch-namespace", ) + @pytest.mark.skip() @parametrize @pytest.mark.respx(base_url=base_url) def test_method_get(self, client: Cloudflare, respx_mock: MockRouter) -> None: @@ -115,6 +121,7 @@ def test_method_get(self, client: Cloudflare, respx_mock: MockRouter) -> None: assert cast(Any, content.is_closed) is True assert isinstance(content, BinaryAPIResponse) + @pytest.mark.skip() @parametrize @pytest.mark.respx(base_url=base_url) def test_raw_response_get(self, client: Cloudflare, respx_mock: MockRouter) -> None: @@ -133,6 +140,7 @@ def test_raw_response_get(self, client: Cloudflare, respx_mock: MockRouter) -> N assert content.json() == {"foo": "bar"} assert isinstance(content, BinaryAPIResponse) + @pytest.mark.skip() @parametrize @pytest.mark.respx(base_url=base_url) def test_streaming_response_get(self, client: Cloudflare, respx_mock: MockRouter) -> None: @@ -153,6 +161,7 @@ def test_streaming_response_get(self, client: Cloudflare, respx_mock: MockRouter assert cast(Any, content.is_closed) is True + @pytest.mark.skip() @parametrize @pytest.mark.respx(base_url=base_url) def test_path_params_get(self, client: Cloudflare) -> None: @@ -181,6 +190,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncContent: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: content = await async_client.workers_for_platforms.dispatch.namespaces.scripts.content.update( @@ -190,6 +200,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Script], content, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: content = await async_client.workers_for_platforms.dispatch.namespaces.scripts.content.update( @@ -204,6 +215,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[Script], content, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = ( @@ -219,6 +231,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: content = await response.parse() assert_matches_type(Optional[Script], content, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.workers_for_platforms.dispatch.namespaces.scripts.content.with_streaming_response.update( @@ -234,6 +247,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -257,6 +271,7 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: dispatch_namespace="my-dispatch-namespace", ) + @pytest.mark.skip() @parametrize @pytest.mark.respx(base_url=base_url) async def test_method_get(self, async_client: AsyncCloudflare, respx_mock: MockRouter) -> None: @@ -273,6 +288,7 @@ async def test_method_get(self, async_client: AsyncCloudflare, respx_mock: MockR assert cast(Any, content.is_closed) is True assert isinstance(content, AsyncBinaryAPIResponse) + @pytest.mark.skip() @parametrize @pytest.mark.respx(base_url=base_url) async def test_raw_response_get(self, async_client: AsyncCloudflare, respx_mock: MockRouter) -> None: @@ -291,6 +307,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare, respx_mock: assert await content.json() == {"foo": "bar"} assert isinstance(content, AsyncBinaryAPIResponse) + @pytest.mark.skip() @parametrize @pytest.mark.respx(base_url=base_url) async def test_streaming_response_get(self, async_client: AsyncCloudflare, respx_mock: MockRouter) -> None: @@ -311,6 +328,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare, respx assert cast(Any, content.is_closed) is True + @pytest.mark.skip() @parametrize @pytest.mark.respx(base_url=base_url) async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: diff --git a/tests/api_resources/workers_for_platforms/dispatch/namespaces/scripts/test_secrets.py b/tests/api_resources/workers_for_platforms/dispatch/namespaces/scripts/test_secrets.py index d839e9074b8..80ca972e5f3 100644 --- a/tests/api_resources/workers_for_platforms/dispatch/namespaces/scripts/test_secrets.py +++ b/tests/api_resources/workers_for_platforms/dispatch/namespaces/scripts/test_secrets.py @@ -21,6 +21,7 @@ class TestSecrets: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: secret = client.workers_for_platforms.dispatch.namespaces.scripts.secrets.update( @@ -30,6 +31,7 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[SecretUpdateResponse], secret, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: secret = client.workers_for_platforms.dispatch.namespaces.scripts.secrets.update( @@ -42,6 +44,7 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[SecretUpdateResponse], secret, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.workers_for_platforms.dispatch.namespaces.scripts.secrets.with_raw_response.update( @@ -55,6 +58,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: secret = response.parse() assert_matches_type(Optional[SecretUpdateResponse], secret, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.workers_for_platforms.dispatch.namespaces.scripts.secrets.with_streaming_response.update( @@ -70,6 +74,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -93,6 +98,7 @@ def test_path_params_update(self, client: Cloudflare) -> None: dispatch_namespace="my-dispatch-namespace", ) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: secret = client.workers_for_platforms.dispatch.namespaces.scripts.secrets.list( @@ -102,6 +108,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[SecretListResponse], secret, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.workers_for_platforms.dispatch.namespaces.scripts.secrets.with_raw_response.list( @@ -115,6 +122,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: secret = response.parse() assert_matches_type(SyncSinglePage[SecretListResponse], secret, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.workers_for_platforms.dispatch.namespaces.scripts.secrets.with_streaming_response.list( @@ -130,6 +138,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -157,6 +166,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: class TestAsyncSecrets: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: secret = await async_client.workers_for_platforms.dispatch.namespaces.scripts.secrets.update( @@ -166,6 +176,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[SecretUpdateResponse], secret, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: secret = await async_client.workers_for_platforms.dispatch.namespaces.scripts.secrets.update( @@ -178,6 +189,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[SecretUpdateResponse], secret, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = ( @@ -193,6 +205,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: secret = await response.parse() assert_matches_type(Optional[SecretUpdateResponse], secret, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.workers_for_platforms.dispatch.namespaces.scripts.secrets.with_streaming_response.update( @@ -208,6 +221,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -231,6 +245,7 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: dispatch_namespace="my-dispatch-namespace", ) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: secret = await async_client.workers_for_platforms.dispatch.namespaces.scripts.secrets.list( @@ -240,6 +255,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[SecretListResponse], secret, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.workers_for_platforms.dispatch.namespaces.scripts.secrets.with_raw_response.list( @@ -253,6 +269,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: secret = await response.parse() assert_matches_type(AsyncSinglePage[SecretListResponse], secret, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.workers_for_platforms.dispatch.namespaces.scripts.secrets.with_streaming_response.list( @@ -268,6 +285,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/workers_for_platforms/dispatch/namespaces/scripts/test_settings.py b/tests/api_resources/workers_for_platforms/dispatch/namespaces/scripts/test_settings.py index 3ff613c5661..64f27b5f64b 100644 --- a/tests/api_resources/workers_for_platforms/dispatch/namespaces/scripts/test_settings.py +++ b/tests/api_resources/workers_for_platforms/dispatch/namespaces/scripts/test_settings.py @@ -20,6 +20,7 @@ class TestSettings: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: setting = client.workers_for_platforms.dispatch.namespaces.scripts.settings.edit( @@ -29,6 +30,7 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_edit_with_all_params(self, client: Cloudflare) -> None: setting = client.workers_for_platforms.dispatch.namespaces.scripts.settings.edit( @@ -106,6 +108,7 @@ def test_method_edit_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.workers_for_platforms.dispatch.namespaces.scripts.settings.with_raw_response.edit( @@ -119,6 +122,7 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: setting = response.parse() assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.workers_for_platforms.dispatch.namespaces.scripts.settings.with_streaming_response.edit( @@ -134,6 +138,7 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -157,6 +162,7 @@ def test_path_params_edit(self, client: Cloudflare) -> None: dispatch_namespace="my-dispatch-namespace", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: setting = client.workers_for_platforms.dispatch.namespaces.scripts.settings.get( @@ -166,6 +172,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[SettingGetResponse], setting, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.workers_for_platforms.dispatch.namespaces.scripts.settings.with_raw_response.get( @@ -179,6 +186,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: setting = response.parse() assert_matches_type(Optional[SettingGetResponse], setting, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.workers_for_platforms.dispatch.namespaces.scripts.settings.with_streaming_response.get( @@ -194,6 +202,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -221,6 +230,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncSettings: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: setting = await async_client.workers_for_platforms.dispatch.namespaces.scripts.settings.edit( @@ -230,6 +240,7 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) -> None: setting = await async_client.workers_for_platforms.dispatch.namespaces.scripts.settings.edit( @@ -307,6 +318,7 @@ async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.workers_for_platforms.dispatch.namespaces.scripts.settings.with_raw_response.edit( @@ -320,6 +332,7 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: setting = await response.parse() assert_matches_type(Optional[SettingEditResponse], setting, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.workers_for_platforms.dispatch.namespaces.scripts.settings.with_streaming_response.edit( @@ -335,6 +348,7 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -358,6 +372,7 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: dispatch_namespace="my-dispatch-namespace", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: setting = await async_client.workers_for_platforms.dispatch.namespaces.scripts.settings.get( @@ -367,6 +382,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[SettingGetResponse], setting, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.workers_for_platforms.dispatch.namespaces.scripts.settings.with_raw_response.get( @@ -380,6 +396,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: setting = await response.parse() assert_matches_type(Optional[SettingGetResponse], setting, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.workers_for_platforms.dispatch.namespaces.scripts.settings.with_streaming_response.get( @@ -395,6 +412,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/workers_for_platforms/dispatch/namespaces/scripts/test_tags.py b/tests/api_resources/workers_for_platforms/dispatch/namespaces/scripts/test_tags.py index a72e6183c72..a273f1b53b0 100644 --- a/tests/api_resources/workers_for_platforms/dispatch/namespaces/scripts/test_tags.py +++ b/tests/api_resources/workers_for_platforms/dispatch/namespaces/scripts/test_tags.py @@ -21,6 +21,7 @@ class TestTags: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: tag = client.workers_for_platforms.dispatch.namespaces.scripts.tags.update( @@ -31,6 +32,7 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[TagUpdateResponse], tag, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.workers_for_platforms.dispatch.namespaces.scripts.tags.with_raw_response.update( @@ -45,6 +47,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: tag = response.parse() assert_matches_type(Optional[TagUpdateResponse], tag, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.workers_for_platforms.dispatch.namespaces.scripts.tags.with_streaming_response.update( @@ -61,6 +64,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -87,6 +91,7 @@ def test_path_params_update(self, client: Cloudflare) -> None: body=["my-tag", "my-tag", "my-tag"], ) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: tag = client.workers_for_platforms.dispatch.namespaces.scripts.tags.list( @@ -96,6 +101,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[TagListResponse], tag, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.workers_for_platforms.dispatch.namespaces.scripts.tags.with_raw_response.list( @@ -109,6 +115,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: tag = response.parse() assert_matches_type(SyncSinglePage[TagListResponse], tag, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.workers_for_platforms.dispatch.namespaces.scripts.tags.with_streaming_response.list( @@ -124,6 +131,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -147,6 +155,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: dispatch_namespace="my-dispatch-namespace", ) + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: tag = client.workers_for_platforms.dispatch.namespaces.scripts.tags.delete( @@ -157,6 +166,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(object, tag, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.workers_for_platforms.dispatch.namespaces.scripts.tags.with_raw_response.delete( @@ -171,6 +181,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: tag = response.parse() assert_matches_type(object, tag, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.workers_for_platforms.dispatch.namespaces.scripts.tags.with_streaming_response.delete( @@ -187,6 +198,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -225,6 +237,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: class TestAsyncTags: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: tag = await async_client.workers_for_platforms.dispatch.namespaces.scripts.tags.update( @@ -235,6 +248,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[TagUpdateResponse], tag, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.workers_for_platforms.dispatch.namespaces.scripts.tags.with_raw_response.update( @@ -249,6 +263,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: tag = await response.parse() assert_matches_type(Optional[TagUpdateResponse], tag, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.workers_for_platforms.dispatch.namespaces.scripts.tags.with_streaming_response.update( @@ -265,6 +280,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -291,6 +307,7 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: body=["my-tag", "my-tag", "my-tag"], ) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: tag = await async_client.workers_for_platforms.dispatch.namespaces.scripts.tags.list( @@ -300,6 +317,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[TagListResponse], tag, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.workers_for_platforms.dispatch.namespaces.scripts.tags.with_raw_response.list( @@ -313,6 +331,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: tag = await response.parse() assert_matches_type(AsyncSinglePage[TagListResponse], tag, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.workers_for_platforms.dispatch.namespaces.scripts.tags.with_streaming_response.list( @@ -328,6 +347,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -351,6 +371,7 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: dispatch_namespace="my-dispatch-namespace", ) + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: tag = await async_client.workers_for_platforms.dispatch.namespaces.scripts.tags.delete( @@ -361,6 +382,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(object, tag, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.workers_for_platforms.dispatch.namespaces.scripts.tags.with_raw_response.delete( @@ -375,6 +397,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: tag = await response.parse() assert_matches_type(object, tag, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.workers_for_platforms.dispatch.namespaces.scripts.tags.with_streaming_response.delete( @@ -391,6 +414,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/workers_for_platforms/dispatch/namespaces/test_scripts.py b/tests/api_resources/workers_for_platforms/dispatch/namespaces/test_scripts.py index f92db2375a6..cc10a096022 100644 --- a/tests/api_resources/workers_for_platforms/dispatch/namespaces/test_scripts.py +++ b/tests/api_resources/workers_for_platforms/dispatch/namespaces/test_scripts.py @@ -20,6 +20,7 @@ class TestScripts: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_update_overload_1(self, client: Cloudflare) -> None: script = client.workers_for_platforms.dispatch.namespaces.scripts.update( @@ -29,6 +30,7 @@ def test_method_update_overload_1(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Script], script, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_update_with_all_params_overload_1(self, client: Cloudflare) -> None: script = client.workers_for_platforms.dispatch.namespaces.scripts.update( @@ -112,6 +114,7 @@ def test_method_update_with_all_params_overload_1(self, client: Cloudflare) -> N ) assert_matches_type(Optional[Script], script, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update_overload_1(self, client: Cloudflare) -> None: response = client.workers_for_platforms.dispatch.namespaces.scripts.with_raw_response.update( @@ -125,6 +128,7 @@ def test_raw_response_update_overload_1(self, client: Cloudflare) -> None: script = response.parse() assert_matches_type(Optional[Script], script, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update_overload_1(self, client: Cloudflare) -> None: with client.workers_for_platforms.dispatch.namespaces.scripts.with_streaming_response.update( @@ -140,6 +144,7 @@ def test_streaming_response_update_overload_1(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update_overload_1(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -163,6 +168,7 @@ def test_path_params_update_overload_1(self, client: Cloudflare) -> None: dispatch_namespace="my-dispatch-namespace", ) + @pytest.mark.skip() @parametrize def test_method_update_overload_2(self, client: Cloudflare) -> None: script = client.workers_for_platforms.dispatch.namespaces.scripts.update( @@ -172,6 +178,7 @@ def test_method_update_overload_2(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Script], script, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_update_with_all_params_overload_2(self, client: Cloudflare) -> None: script = client.workers_for_platforms.dispatch.namespaces.scripts.update( @@ -182,6 +189,7 @@ def test_method_update_with_all_params_overload_2(self, client: Cloudflare) -> N ) assert_matches_type(Optional[Script], script, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update_overload_2(self, client: Cloudflare) -> None: response = client.workers_for_platforms.dispatch.namespaces.scripts.with_raw_response.update( @@ -195,6 +203,7 @@ def test_raw_response_update_overload_2(self, client: Cloudflare) -> None: script = response.parse() assert_matches_type(Optional[Script], script, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update_overload_2(self, client: Cloudflare) -> None: with client.workers_for_platforms.dispatch.namespaces.scripts.with_streaming_response.update( @@ -210,6 +219,7 @@ def test_streaming_response_update_overload_2(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update_overload_2(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -233,6 +243,7 @@ def test_path_params_update_overload_2(self, client: Cloudflare) -> None: dispatch_namespace="my-dispatch-namespace", ) + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: script = client.workers_for_platforms.dispatch.namespaces.scripts.delete( @@ -243,6 +254,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert script is None + @pytest.mark.skip() @parametrize def test_method_delete_with_all_params(self, client: Cloudflare) -> None: script = client.workers_for_platforms.dispatch.namespaces.scripts.delete( @@ -254,6 +266,7 @@ def test_method_delete_with_all_params(self, client: Cloudflare) -> None: ) assert script is None + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.workers_for_platforms.dispatch.namespaces.scripts.with_raw_response.delete( @@ -268,6 +281,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: script = response.parse() assert script is None + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.workers_for_platforms.dispatch.namespaces.scripts.with_streaming_response.delete( @@ -284,6 +298,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -310,6 +325,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: script = client.workers_for_platforms.dispatch.namespaces.scripts.get( @@ -319,6 +335,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Script], script, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.workers_for_platforms.dispatch.namespaces.scripts.with_raw_response.get( @@ -332,6 +349,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: script = response.parse() assert_matches_type(Optional[Script], script, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.workers_for_platforms.dispatch.namespaces.scripts.with_streaming_response.get( @@ -347,6 +365,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -374,6 +393,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncScripts: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_update_overload_1(self, async_client: AsyncCloudflare) -> None: script = await async_client.workers_for_platforms.dispatch.namespaces.scripts.update( @@ -383,6 +403,7 @@ async def test_method_update_overload_1(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[Script], script, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_update_with_all_params_overload_1(self, async_client: AsyncCloudflare) -> None: script = await async_client.workers_for_platforms.dispatch.namespaces.scripts.update( @@ -466,6 +487,7 @@ async def test_method_update_with_all_params_overload_1(self, async_client: Asyn ) assert_matches_type(Optional[Script], script, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update_overload_1(self, async_client: AsyncCloudflare) -> None: response = await async_client.workers_for_platforms.dispatch.namespaces.scripts.with_raw_response.update( @@ -479,6 +501,7 @@ async def test_raw_response_update_overload_1(self, async_client: AsyncCloudflar script = await response.parse() assert_matches_type(Optional[Script], script, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update_overload_1(self, async_client: AsyncCloudflare) -> None: async with async_client.workers_for_platforms.dispatch.namespaces.scripts.with_streaming_response.update( @@ -494,6 +517,7 @@ async def test_streaming_response_update_overload_1(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update_overload_1(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -517,6 +541,7 @@ async def test_path_params_update_overload_1(self, async_client: AsyncCloudflare dispatch_namespace="my-dispatch-namespace", ) + @pytest.mark.skip() @parametrize async def test_method_update_overload_2(self, async_client: AsyncCloudflare) -> None: script = await async_client.workers_for_platforms.dispatch.namespaces.scripts.update( @@ -526,6 +551,7 @@ async def test_method_update_overload_2(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[Script], script, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_update_with_all_params_overload_2(self, async_client: AsyncCloudflare) -> None: script = await async_client.workers_for_platforms.dispatch.namespaces.scripts.update( @@ -536,6 +562,7 @@ async def test_method_update_with_all_params_overload_2(self, async_client: Asyn ) assert_matches_type(Optional[Script], script, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update_overload_2(self, async_client: AsyncCloudflare) -> None: response = await async_client.workers_for_platforms.dispatch.namespaces.scripts.with_raw_response.update( @@ -549,6 +576,7 @@ async def test_raw_response_update_overload_2(self, async_client: AsyncCloudflar script = await response.parse() assert_matches_type(Optional[Script], script, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update_overload_2(self, async_client: AsyncCloudflare) -> None: async with async_client.workers_for_platforms.dispatch.namespaces.scripts.with_streaming_response.update( @@ -564,6 +592,7 @@ async def test_streaming_response_update_overload_2(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update_overload_2(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -587,6 +616,7 @@ async def test_path_params_update_overload_2(self, async_client: AsyncCloudflare dispatch_namespace="my-dispatch-namespace", ) + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: script = await async_client.workers_for_platforms.dispatch.namespaces.scripts.delete( @@ -597,6 +627,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert script is None + @pytest.mark.skip() @parametrize async def test_method_delete_with_all_params(self, async_client: AsyncCloudflare) -> None: script = await async_client.workers_for_platforms.dispatch.namespaces.scripts.delete( @@ -608,6 +639,7 @@ async def test_method_delete_with_all_params(self, async_client: AsyncCloudflare ) assert script is None + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.workers_for_platforms.dispatch.namespaces.scripts.with_raw_response.delete( @@ -622,6 +654,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: script = await response.parse() assert script is None + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.workers_for_platforms.dispatch.namespaces.scripts.with_streaming_response.delete( @@ -638,6 +671,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -664,6 +698,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: script = await async_client.workers_for_platforms.dispatch.namespaces.scripts.get( @@ -673,6 +708,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Script], script, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.workers_for_platforms.dispatch.namespaces.scripts.with_raw_response.get( @@ -686,6 +722,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: script = await response.parse() assert_matches_type(Optional[Script], script, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.workers_for_platforms.dispatch.namespaces.scripts.with_streaming_response.get( @@ -701,6 +738,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/workers_for_platforms/dispatch/test_namespaces.py b/tests/api_resources/workers_for_platforms/dispatch/test_namespaces.py index cecc0bdbcf4..11cc9e441f7 100644 --- a/tests/api_resources/workers_for_platforms/dispatch/test_namespaces.py +++ b/tests/api_resources/workers_for_platforms/dispatch/test_namespaces.py @@ -22,6 +22,7 @@ class TestNamespaces: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: namespace = client.workers_for_platforms.dispatch.namespaces.create( @@ -29,6 +30,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[NamespaceCreateResponse], namespace, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: namespace = client.workers_for_platforms.dispatch.namespaces.create( @@ -37,6 +39,7 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[NamespaceCreateResponse], namespace, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.workers_for_platforms.dispatch.namespaces.with_raw_response.create( @@ -48,6 +51,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: namespace = response.parse() assert_matches_type(Optional[NamespaceCreateResponse], namespace, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.workers_for_platforms.dispatch.namespaces.with_streaming_response.create( @@ -61,6 +65,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -68,6 +73,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: namespace = client.workers_for_platforms.dispatch.namespaces.list( @@ -75,6 +81,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[NamespaceListResponse], namespace, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.workers_for_platforms.dispatch.namespaces.with_raw_response.list( @@ -86,6 +93,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: namespace = response.parse() assert_matches_type(SyncSinglePage[NamespaceListResponse], namespace, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.workers_for_platforms.dispatch.namespaces.with_streaming_response.list( @@ -99,6 +107,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -106,6 +115,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: namespace = client.workers_for_platforms.dispatch.namespaces.delete( @@ -114,6 +124,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(object, namespace, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.workers_for_platforms.dispatch.namespaces.with_raw_response.delete( @@ -126,6 +137,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: namespace = response.parse() assert_matches_type(object, namespace, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.workers_for_platforms.dispatch.namespaces.with_streaming_response.delete( @@ -140,6 +152,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -154,6 +167,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: namespace = client.workers_for_platforms.dispatch.namespaces.get( @@ -162,6 +176,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[NamespaceGetResponse], namespace, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.workers_for_platforms.dispatch.namespaces.with_raw_response.get( @@ -174,6 +189,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: namespace = response.parse() assert_matches_type(Optional[NamespaceGetResponse], namespace, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.workers_for_platforms.dispatch.namespaces.with_streaming_response.get( @@ -188,6 +204,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -206,6 +223,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncNamespaces: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: namespace = await async_client.workers_for_platforms.dispatch.namespaces.create( @@ -213,6 +231,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[NamespaceCreateResponse], namespace, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: namespace = await async_client.workers_for_platforms.dispatch.namespaces.create( @@ -221,6 +240,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[NamespaceCreateResponse], namespace, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.workers_for_platforms.dispatch.namespaces.with_raw_response.create( @@ -232,6 +252,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: namespace = await response.parse() assert_matches_type(Optional[NamespaceCreateResponse], namespace, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.workers_for_platforms.dispatch.namespaces.with_streaming_response.create( @@ -245,6 +266,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -252,6 +274,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: namespace = await async_client.workers_for_platforms.dispatch.namespaces.list( @@ -259,6 +282,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[NamespaceListResponse], namespace, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.workers_for_platforms.dispatch.namespaces.with_raw_response.list( @@ -270,6 +294,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: namespace = await response.parse() assert_matches_type(AsyncSinglePage[NamespaceListResponse], namespace, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.workers_for_platforms.dispatch.namespaces.with_streaming_response.list( @@ -283,6 +308,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -290,6 +316,7 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: namespace = await async_client.workers_for_platforms.dispatch.namespaces.delete( @@ -298,6 +325,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(object, namespace, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.workers_for_platforms.dispatch.namespaces.with_raw_response.delete( @@ -310,6 +338,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: namespace = await response.parse() assert_matches_type(object, namespace, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.workers_for_platforms.dispatch.namespaces.with_streaming_response.delete( @@ -324,6 +353,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -338,6 +368,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: namespace = await async_client.workers_for_platforms.dispatch.namespaces.get( @@ -346,6 +377,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[NamespaceGetResponse], namespace, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.workers_for_platforms.dispatch.namespaces.with_raw_response.get( @@ -358,6 +390,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: namespace = await response.parse() assert_matches_type(Optional[NamespaceGetResponse], namespace, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.workers_for_platforms.dispatch.namespaces.with_streaming_response.get( @@ -372,6 +405,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/zero_trust/access/applications/test_cas.py b/tests/api_resources/zero_trust/access/applications/test_cas.py index d8f70e27c52..5c53d2c5059 100644 --- a/tests/api_resources/zero_trust/access/applications/test_cas.py +++ b/tests/api_resources/zero_trust/access/applications/test_cas.py @@ -18,6 +18,7 @@ class TestCAs: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: ca = client.zero_trust.access.applications.cas.create( @@ -27,6 +28,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[CACreateResponse], ca, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: ca = client.zero_trust.access.applications.cas.create( @@ -36,6 +38,7 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[CACreateResponse], ca, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.zero_trust.access.applications.cas.with_raw_response.create( @@ -49,6 +52,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: ca = response.parse() assert_matches_type(Optional[CACreateResponse], ca, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.zero_trust.access.applications.cas.with_streaming_response.create( @@ -64,6 +68,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `uuid` but received ''"): @@ -87,6 +92,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: ca = client.zero_trust.access.applications.cas.list( @@ -95,6 +101,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[CA], ca, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: ca = client.zero_trust.access.applications.cas.list( @@ -103,6 +110,7 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[CA], ca, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.zero_trust.access.applications.cas.with_raw_response.list( @@ -115,6 +123,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: ca = response.parse() assert_matches_type(SyncSinglePage[CA], ca, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.zero_trust.access.applications.cas.with_streaming_response.list( @@ -129,6 +138,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -143,6 +153,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: ca = client.zero_trust.access.applications.cas.delete( @@ -152,6 +163,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[CADeleteResponse], ca, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_delete_with_all_params(self, client: Cloudflare) -> None: ca = client.zero_trust.access.applications.cas.delete( @@ -161,6 +173,7 @@ def test_method_delete_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[CADeleteResponse], ca, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.zero_trust.access.applications.cas.with_raw_response.delete( @@ -174,6 +187,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: ca = response.parse() assert_matches_type(Optional[CADeleteResponse], ca, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.zero_trust.access.applications.cas.with_streaming_response.delete( @@ -189,6 +203,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `uuid` but received ''"): @@ -212,6 +227,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: ca = client.zero_trust.access.applications.cas.get( @@ -221,6 +237,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[CAGetResponse], ca, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: ca = client.zero_trust.access.applications.cas.get( @@ -230,6 +247,7 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[CAGetResponse], ca, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zero_trust.access.applications.cas.with_raw_response.get( @@ -243,6 +261,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: ca = response.parse() assert_matches_type(Optional[CAGetResponse], ca, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zero_trust.access.applications.cas.with_streaming_response.get( @@ -258,6 +277,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `uuid` but received ''"): @@ -285,6 +305,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncCAs: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: ca = await async_client.zero_trust.access.applications.cas.create( @@ -294,6 +315,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[CACreateResponse], ca, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: ca = await async_client.zero_trust.access.applications.cas.create( @@ -303,6 +325,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[CACreateResponse], ca, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.access.applications.cas.with_raw_response.create( @@ -316,6 +339,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: ca = await response.parse() assert_matches_type(Optional[CACreateResponse], ca, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.access.applications.cas.with_streaming_response.create( @@ -331,6 +355,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `uuid` but received ''"): @@ -354,6 +379,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: ca = await async_client.zero_trust.access.applications.cas.list( @@ -362,6 +388,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[CA], ca, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: ca = await async_client.zero_trust.access.applications.cas.list( @@ -370,6 +397,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncSinglePage[CA], ca, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.access.applications.cas.with_raw_response.list( @@ -382,6 +410,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: ca = await response.parse() assert_matches_type(AsyncSinglePage[CA], ca, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.access.applications.cas.with_streaming_response.list( @@ -396,6 +425,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -410,6 +440,7 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ca = await async_client.zero_trust.access.applications.cas.delete( @@ -419,6 +450,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[CADeleteResponse], ca, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_delete_with_all_params(self, async_client: AsyncCloudflare) -> None: ca = await async_client.zero_trust.access.applications.cas.delete( @@ -428,6 +460,7 @@ async def test_method_delete_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[CADeleteResponse], ca, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.access.applications.cas.with_raw_response.delete( @@ -441,6 +474,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: ca = await response.parse() assert_matches_type(Optional[CADeleteResponse], ca, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.access.applications.cas.with_streaming_response.delete( @@ -456,6 +490,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `uuid` but received ''"): @@ -479,6 +514,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: ca = await async_client.zero_trust.access.applications.cas.get( @@ -488,6 +524,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[CAGetResponse], ca, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: ca = await async_client.zero_trust.access.applications.cas.get( @@ -497,6 +534,7 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(Optional[CAGetResponse], ca, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.access.applications.cas.with_raw_response.get( @@ -510,6 +548,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: ca = await response.parse() assert_matches_type(Optional[CAGetResponse], ca, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.access.applications.cas.with_streaming_response.get( @@ -525,6 +564,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `uuid` but received ''"): diff --git a/tests/api_resources/zero_trust/access/applications/test_policies.py b/tests/api_resources/zero_trust/access/applications/test_policies.py index 9a084d61432..5a7734e8d07 100644 --- a/tests/api_resources/zero_trust/access/applications/test_policies.py +++ b/tests/api_resources/zero_trust/access/applications/test_policies.py @@ -21,6 +21,7 @@ class TestPolicies: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: policy = client.zero_trust.access.applications.policies.create( @@ -37,6 +38,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Policy], policy, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: policy = client.zero_trust.access.applications.policies.create( @@ -81,6 +83,7 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Policy], policy, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.zero_trust.access.applications.policies.with_raw_response.create( @@ -101,6 +104,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: policy = response.parse() assert_matches_type(Optional[Policy], policy, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.zero_trust.access.applications.policies.with_streaming_response.create( @@ -123,6 +127,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `uuid` but received ''"): @@ -167,6 +172,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: policy = client.zero_trust.access.applications.policies.update( @@ -184,6 +190,7 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Policy], policy, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: policy = client.zero_trust.access.applications.policies.update( @@ -229,6 +236,7 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Policy], policy, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.zero_trust.access.applications.policies.with_raw_response.update( @@ -250,6 +258,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: policy = response.parse() assert_matches_type(Optional[Policy], policy, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.zero_trust.access.applications.policies.with_streaming_response.update( @@ -273,6 +282,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `uuid1` but received ''"): @@ -335,6 +345,7 @@ def test_path_params_update(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: policy = client.zero_trust.access.applications.policies.list( @@ -344,6 +355,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[Policy], policy, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: policy = client.zero_trust.access.applications.policies.list( @@ -353,6 +365,7 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[Policy], policy, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.zero_trust.access.applications.policies.with_raw_response.list( @@ -366,6 +379,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: policy = response.parse() assert_matches_type(SyncSinglePage[Policy], policy, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.zero_trust.access.applications.policies.with_streaming_response.list( @@ -381,6 +395,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `uuid` but received ''"): @@ -404,6 +419,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: policy = client.zero_trust.access.applications.policies.delete( @@ -414,6 +430,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[PolicyDeleteResponse], policy, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_delete_with_all_params(self, client: Cloudflare) -> None: policy = client.zero_trust.access.applications.policies.delete( @@ -424,6 +441,7 @@ def test_method_delete_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[PolicyDeleteResponse], policy, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.zero_trust.access.applications.policies.with_raw_response.delete( @@ -438,6 +456,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: policy = response.parse() assert_matches_type(Optional[PolicyDeleteResponse], policy, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.zero_trust.access.applications.policies.with_streaming_response.delete( @@ -454,6 +473,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `uuid1` but received ''"): @@ -488,6 +508,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: policy = client.zero_trust.access.applications.policies.get( @@ -498,6 +519,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Policy], policy, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: policy = client.zero_trust.access.applications.policies.get( @@ -508,6 +530,7 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Policy], policy, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zero_trust.access.applications.policies.with_raw_response.get( @@ -522,6 +545,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: policy = response.parse() assert_matches_type(Optional[Policy], policy, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zero_trust.access.applications.policies.with_streaming_response.get( @@ -538,6 +562,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `uuid1` but received ''"): @@ -576,6 +601,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncPolicies: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: policy = await async_client.zero_trust.access.applications.policies.create( @@ -592,6 +618,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Policy], policy, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: policy = await async_client.zero_trust.access.applications.policies.create( @@ -636,6 +663,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[Policy], policy, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.access.applications.policies.with_raw_response.create( @@ -656,6 +684,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: policy = await response.parse() assert_matches_type(Optional[Policy], policy, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.access.applications.policies.with_streaming_response.create( @@ -678,6 +707,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `uuid` but received ''"): @@ -722,6 +752,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: policy = await async_client.zero_trust.access.applications.policies.update( @@ -739,6 +770,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Policy], policy, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: policy = await async_client.zero_trust.access.applications.policies.update( @@ -784,6 +816,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[Policy], policy, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.access.applications.policies.with_raw_response.update( @@ -805,6 +838,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: policy = await response.parse() assert_matches_type(Optional[Policy], policy, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.access.applications.policies.with_streaming_response.update( @@ -828,6 +862,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `uuid1` but received ''"): @@ -890,6 +925,7 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: policy = await async_client.zero_trust.access.applications.policies.list( @@ -899,6 +935,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[Policy], policy, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: policy = await async_client.zero_trust.access.applications.policies.list( @@ -908,6 +945,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncSinglePage[Policy], policy, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.access.applications.policies.with_raw_response.list( @@ -921,6 +959,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: policy = await response.parse() assert_matches_type(AsyncSinglePage[Policy], policy, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.access.applications.policies.with_streaming_response.list( @@ -936,6 +975,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `uuid` but received ''"): @@ -959,6 +999,7 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: policy = await async_client.zero_trust.access.applications.policies.delete( @@ -969,6 +1010,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[PolicyDeleteResponse], policy, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_delete_with_all_params(self, async_client: AsyncCloudflare) -> None: policy = await async_client.zero_trust.access.applications.policies.delete( @@ -979,6 +1021,7 @@ async def test_method_delete_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[PolicyDeleteResponse], policy, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.access.applications.policies.with_raw_response.delete( @@ -993,6 +1036,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: policy = await response.parse() assert_matches_type(Optional[PolicyDeleteResponse], policy, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.access.applications.policies.with_streaming_response.delete( @@ -1009,6 +1053,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `uuid1` but received ''"): @@ -1043,6 +1088,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: policy = await async_client.zero_trust.access.applications.policies.get( @@ -1053,6 +1099,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Policy], policy, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: policy = await async_client.zero_trust.access.applications.policies.get( @@ -1063,6 +1110,7 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(Optional[Policy], policy, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.access.applications.policies.with_raw_response.get( @@ -1077,6 +1125,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: policy = await response.parse() assert_matches_type(Optional[Policy], policy, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.access.applications.policies.with_streaming_response.get( @@ -1093,6 +1142,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `uuid1` but received ''"): diff --git a/tests/api_resources/zero_trust/access/applications/test_user_policy_checks.py b/tests/api_resources/zero_trust/access/applications/test_user_policy_checks.py index 76eab0fd474..9072d96c0c2 100644 --- a/tests/api_resources/zero_trust/access/applications/test_user_policy_checks.py +++ b/tests/api_resources/zero_trust/access/applications/test_user_policy_checks.py @@ -17,6 +17,7 @@ class TestUserPolicyChecks: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: user_policy_check = client.zero_trust.access.applications.user_policy_checks.list( @@ -26,6 +27,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[UserPolicyCheckListResponse], user_policy_check, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: user_policy_check = client.zero_trust.access.applications.user_policy_checks.list( @@ -35,6 +37,7 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[UserPolicyCheckListResponse], user_policy_check, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.zero_trust.access.applications.user_policy_checks.with_raw_response.list( @@ -48,6 +51,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: user_policy_check = response.parse() assert_matches_type(Optional[UserPolicyCheckListResponse], user_policy_check, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.zero_trust.access.applications.user_policy_checks.with_streaming_response.list( @@ -63,6 +67,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -83,6 +88,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: class TestAsyncUserPolicyChecks: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: user_policy_check = await async_client.zero_trust.access.applications.user_policy_checks.list( @@ -92,6 +98,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[UserPolicyCheckListResponse], user_policy_check, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: user_policy_check = await async_client.zero_trust.access.applications.user_policy_checks.list( @@ -101,6 +108,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(Optional[UserPolicyCheckListResponse], user_policy_check, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.access.applications.user_policy_checks.with_raw_response.list( @@ -114,6 +122,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: user_policy_check = await response.parse() assert_matches_type(Optional[UserPolicyCheckListResponse], user_policy_check, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.access.applications.user_policy_checks.with_streaming_response.list( @@ -129,6 +138,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/zero_trust/access/certificates/test_settings.py b/tests/api_resources/zero_trust/access/certificates/test_settings.py index 8bd6af351ab..112ab10b6e4 100644 --- a/tests/api_resources/zero_trust/access/certificates/test_settings.py +++ b/tests/api_resources/zero_trust/access/certificates/test_settings.py @@ -20,6 +20,7 @@ class TestSettings: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: setting = client.zero_trust.access.certificates.settings.update( @@ -45,6 +46,7 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[SettingUpdateResponse], setting, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: setting = client.zero_trust.access.certificates.settings.update( @@ -70,6 +72,7 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[SettingUpdateResponse], setting, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.zero_trust.access.certificates.settings.with_raw_response.update( @@ -99,6 +102,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: setting = response.parse() assert_matches_type(Optional[SettingUpdateResponse], setting, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.zero_trust.access.certificates.settings.with_streaming_response.update( @@ -130,6 +134,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -178,6 +183,7 @@ def test_path_params_update(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: setting = client.zero_trust.access.certificates.settings.get( @@ -186,6 +192,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[SettingGetResponse], setting, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: setting = client.zero_trust.access.certificates.settings.get( @@ -194,6 +201,7 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[SettingGetResponse], setting, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zero_trust.access.certificates.settings.with_raw_response.get( @@ -206,6 +214,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: setting = response.parse() assert_matches_type(Optional[SettingGetResponse], setting, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zero_trust.access.certificates.settings.with_streaming_response.get( @@ -220,6 +229,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -238,6 +248,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncSettings: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: setting = await async_client.zero_trust.access.certificates.settings.update( @@ -263,6 +274,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[SettingUpdateResponse], setting, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: setting = await async_client.zero_trust.access.certificates.settings.update( @@ -288,6 +300,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[SettingUpdateResponse], setting, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.access.certificates.settings.with_raw_response.update( @@ -317,6 +330,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: setting = await response.parse() assert_matches_type(Optional[SettingUpdateResponse], setting, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.access.certificates.settings.with_streaming_response.update( @@ -348,6 +362,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -396,6 +411,7 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: setting = await async_client.zero_trust.access.certificates.settings.get( @@ -404,6 +420,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[SettingGetResponse], setting, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: setting = await async_client.zero_trust.access.certificates.settings.get( @@ -412,6 +429,7 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(Optional[SettingGetResponse], setting, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.access.certificates.settings.with_raw_response.get( @@ -424,6 +442,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: setting = await response.parse() assert_matches_type(Optional[SettingGetResponse], setting, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.access.certificates.settings.with_streaming_response.get( @@ -438,6 +457,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/zero_trust/access/logs/test_access_requests.py b/tests/api_resources/zero_trust/access/logs/test_access_requests.py index 6e0b18db5a3..411964d255b 100644 --- a/tests/api_resources/zero_trust/access/logs/test_access_requests.py +++ b/tests/api_resources/zero_trust/access/logs/test_access_requests.py @@ -17,6 +17,7 @@ class TestAccessRequests: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: access_request = client.zero_trust.access.logs.access_requests.list( @@ -24,6 +25,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[AccessRequestListResponse], access_request, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.zero_trust.access.logs.access_requests.with_raw_response.list( @@ -35,6 +37,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: access_request = response.parse() assert_matches_type(Optional[AccessRequestListResponse], access_request, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.zero_trust.access.logs.access_requests.with_streaming_response.list( @@ -48,6 +51,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `identifier` but received ''"): @@ -59,6 +63,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: class TestAsyncAccessRequests: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: access_request = await async_client.zero_trust.access.logs.access_requests.list( @@ -66,6 +71,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[AccessRequestListResponse], access_request, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.access.logs.access_requests.with_raw_response.list( @@ -77,6 +83,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: access_request = await response.parse() assert_matches_type(Optional[AccessRequestListResponse], access_request, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.access.logs.access_requests.with_streaming_response.list( @@ -90,6 +97,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `identifier` but received ''"): diff --git a/tests/api_resources/zero_trust/access/test_applications.py b/tests/api_resources/zero_trust/access/test_applications.py index 2673975ce03..9847b97400a 100644 --- a/tests/api_resources/zero_trust/access/test_applications.py +++ b/tests/api_resources/zero_trust/access/test_applications.py @@ -21,6 +21,7 @@ class TestApplications: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create_overload_1(self, client: Cloudflare) -> None: application = client.zero_trust.access.applications.create( @@ -31,6 +32,7 @@ def test_method_create_overload_1(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Application], application, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params_overload_1(self, client: Cloudflare) -> None: application = client.zero_trust.access.applications.create( @@ -79,6 +81,7 @@ def test_method_create_with_all_params_overload_1(self, client: Cloudflare) -> N ) assert_matches_type(Optional[Application], application, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create_overload_1(self, client: Cloudflare) -> None: response = client.zero_trust.access.applications.with_raw_response.create( @@ -93,6 +96,7 @@ def test_raw_response_create_overload_1(self, client: Cloudflare) -> None: application = response.parse() assert_matches_type(Optional[Application], application, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create_overload_1(self, client: Cloudflare) -> None: with client.zero_trust.access.applications.with_streaming_response.create( @@ -109,6 +113,7 @@ def test_streaming_response_create_overload_1(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create_overload_1(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -127,6 +132,7 @@ def test_path_params_create_overload_1(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_create_overload_2(self, client: Cloudflare) -> None: application = client.zero_trust.access.applications.create( @@ -135,6 +141,7 @@ def test_method_create_overload_2(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Application], application, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params_overload_2(self, client: Cloudflare) -> None: application = client.zero_trust.access.applications.create( @@ -176,6 +183,7 @@ def test_method_create_with_all_params_overload_2(self, client: Cloudflare) -> N ) assert_matches_type(Optional[Application], application, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create_overload_2(self, client: Cloudflare) -> None: response = client.zero_trust.access.applications.with_raw_response.create( @@ -188,6 +196,7 @@ def test_raw_response_create_overload_2(self, client: Cloudflare) -> None: application = response.parse() assert_matches_type(Optional[Application], application, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create_overload_2(self, client: Cloudflare) -> None: with client.zero_trust.access.applications.with_streaming_response.create( @@ -202,6 +211,7 @@ def test_streaming_response_create_overload_2(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create_overload_2(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -216,6 +226,7 @@ def test_path_params_create_overload_2(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_create_overload_3(self, client: Cloudflare) -> None: application = client.zero_trust.access.applications.create( @@ -226,6 +237,7 @@ def test_method_create_overload_3(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Application], application, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params_overload_3(self, client: Cloudflare) -> None: application = client.zero_trust.access.applications.create( @@ -274,6 +286,7 @@ def test_method_create_with_all_params_overload_3(self, client: Cloudflare) -> N ) assert_matches_type(Optional[Application], application, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create_overload_3(self, client: Cloudflare) -> None: response = client.zero_trust.access.applications.with_raw_response.create( @@ -288,6 +301,7 @@ def test_raw_response_create_overload_3(self, client: Cloudflare) -> None: application = response.parse() assert_matches_type(Optional[Application], application, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create_overload_3(self, client: Cloudflare) -> None: with client.zero_trust.access.applications.with_streaming_response.create( @@ -304,6 +318,7 @@ def test_streaming_response_create_overload_3(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create_overload_3(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -322,6 +337,7 @@ def test_path_params_create_overload_3(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_create_overload_4(self, client: Cloudflare) -> None: application = client.zero_trust.access.applications.create( @@ -332,6 +348,7 @@ def test_method_create_overload_4(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Application], application, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params_overload_4(self, client: Cloudflare) -> None: application = client.zero_trust.access.applications.create( @@ -380,6 +397,7 @@ def test_method_create_with_all_params_overload_4(self, client: Cloudflare) -> N ) assert_matches_type(Optional[Application], application, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create_overload_4(self, client: Cloudflare) -> None: response = client.zero_trust.access.applications.with_raw_response.create( @@ -394,6 +412,7 @@ def test_raw_response_create_overload_4(self, client: Cloudflare) -> None: application = response.parse() assert_matches_type(Optional[Application], application, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create_overload_4(self, client: Cloudflare) -> None: with client.zero_trust.access.applications.with_streaming_response.create( @@ -410,6 +429,7 @@ def test_streaming_response_create_overload_4(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create_overload_4(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -428,6 +448,7 @@ def test_path_params_create_overload_4(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_create_overload_5(self, client: Cloudflare) -> None: application = client.zero_trust.access.applications.create( @@ -437,6 +458,7 @@ def test_method_create_overload_5(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Application], application, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params_overload_5(self, client: Cloudflare) -> None: application = client.zero_trust.access.applications.create( @@ -453,6 +475,7 @@ def test_method_create_with_all_params_overload_5(self, client: Cloudflare) -> N ) assert_matches_type(Optional[Application], application, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create_overload_5(self, client: Cloudflare) -> None: response = client.zero_trust.access.applications.with_raw_response.create( @@ -466,6 +489,7 @@ def test_raw_response_create_overload_5(self, client: Cloudflare) -> None: application = response.parse() assert_matches_type(Optional[Application], application, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create_overload_5(self, client: Cloudflare) -> None: with client.zero_trust.access.applications.with_streaming_response.create( @@ -481,6 +505,7 @@ def test_streaming_response_create_overload_5(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create_overload_5(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -497,6 +522,7 @@ def test_path_params_create_overload_5(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_create_overload_6(self, client: Cloudflare) -> None: application = client.zero_trust.access.applications.create( @@ -506,6 +532,7 @@ def test_method_create_overload_6(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Application], application, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params_overload_6(self, client: Cloudflare) -> None: application = client.zero_trust.access.applications.create( @@ -522,6 +549,7 @@ def test_method_create_with_all_params_overload_6(self, client: Cloudflare) -> N ) assert_matches_type(Optional[Application], application, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create_overload_6(self, client: Cloudflare) -> None: response = client.zero_trust.access.applications.with_raw_response.create( @@ -535,6 +563,7 @@ def test_raw_response_create_overload_6(self, client: Cloudflare) -> None: application = response.parse() assert_matches_type(Optional[Application], application, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create_overload_6(self, client: Cloudflare) -> None: with client.zero_trust.access.applications.with_streaming_response.create( @@ -550,6 +579,7 @@ def test_streaming_response_create_overload_6(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create_overload_6(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -566,6 +596,7 @@ def test_path_params_create_overload_6(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_create_overload_7(self, client: Cloudflare) -> None: application = client.zero_trust.access.applications.create( @@ -575,6 +606,7 @@ def test_method_create_overload_7(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Application], application, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params_overload_7(self, client: Cloudflare) -> None: application = client.zero_trust.access.applications.create( @@ -591,6 +623,7 @@ def test_method_create_with_all_params_overload_7(self, client: Cloudflare) -> N ) assert_matches_type(Optional[Application], application, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create_overload_7(self, client: Cloudflare) -> None: response = client.zero_trust.access.applications.with_raw_response.create( @@ -604,6 +637,7 @@ def test_raw_response_create_overload_7(self, client: Cloudflare) -> None: application = response.parse() assert_matches_type(Optional[Application], application, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create_overload_7(self, client: Cloudflare) -> None: with client.zero_trust.access.applications.with_streaming_response.create( @@ -619,6 +653,7 @@ def test_streaming_response_create_overload_7(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create_overload_7(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -635,6 +670,7 @@ def test_path_params_create_overload_7(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_create_overload_8(self, client: Cloudflare) -> None: application = client.zero_trust.access.applications.create( @@ -643,6 +679,7 @@ def test_method_create_overload_8(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Application], application, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params_overload_8(self, client: Cloudflare) -> None: application = client.zero_trust.access.applications.create( @@ -657,6 +694,7 @@ def test_method_create_with_all_params_overload_8(self, client: Cloudflare) -> N ) assert_matches_type(Optional[Application], application, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create_overload_8(self, client: Cloudflare) -> None: response = client.zero_trust.access.applications.with_raw_response.create( @@ -669,6 +707,7 @@ def test_raw_response_create_overload_8(self, client: Cloudflare) -> None: application = response.parse() assert_matches_type(Optional[Application], application, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create_overload_8(self, client: Cloudflare) -> None: with client.zero_trust.access.applications.with_streaming_response.create( @@ -683,6 +722,7 @@ def test_streaming_response_create_overload_8(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create_overload_8(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -697,6 +737,7 @@ def test_path_params_create_overload_8(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_update_overload_1(self, client: Cloudflare) -> None: application = client.zero_trust.access.applications.update( @@ -708,6 +749,7 @@ def test_method_update_overload_1(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Application], application, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_update_with_all_params_overload_1(self, client: Cloudflare) -> None: application = client.zero_trust.access.applications.update( @@ -757,6 +799,7 @@ def test_method_update_with_all_params_overload_1(self, client: Cloudflare) -> N ) assert_matches_type(Optional[Application], application, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update_overload_1(self, client: Cloudflare) -> None: response = client.zero_trust.access.applications.with_raw_response.update( @@ -772,6 +815,7 @@ def test_raw_response_update_overload_1(self, client: Cloudflare) -> None: application = response.parse() assert_matches_type(Optional[Application], application, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update_overload_1(self, client: Cloudflare) -> None: with client.zero_trust.access.applications.with_streaming_response.update( @@ -789,6 +833,7 @@ def test_streaming_response_update_overload_1(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update_overload_1(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -809,6 +854,7 @@ def test_path_params_update_overload_1(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_update_overload_2(self, client: Cloudflare) -> None: application = client.zero_trust.access.applications.update( @@ -818,6 +864,7 @@ def test_method_update_overload_2(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Application], application, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_update_with_all_params_overload_2(self, client: Cloudflare) -> None: application = client.zero_trust.access.applications.update( @@ -860,6 +907,7 @@ def test_method_update_with_all_params_overload_2(self, client: Cloudflare) -> N ) assert_matches_type(Optional[Application], application, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update_overload_2(self, client: Cloudflare) -> None: response = client.zero_trust.access.applications.with_raw_response.update( @@ -873,6 +921,7 @@ def test_raw_response_update_overload_2(self, client: Cloudflare) -> None: application = response.parse() assert_matches_type(Optional[Application], application, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update_overload_2(self, client: Cloudflare) -> None: with client.zero_trust.access.applications.with_streaming_response.update( @@ -888,6 +937,7 @@ def test_streaming_response_update_overload_2(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update_overload_2(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -904,6 +954,7 @@ def test_path_params_update_overload_2(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_update_overload_3(self, client: Cloudflare) -> None: application = client.zero_trust.access.applications.update( @@ -915,6 +966,7 @@ def test_method_update_overload_3(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Application], application, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_update_with_all_params_overload_3(self, client: Cloudflare) -> None: application = client.zero_trust.access.applications.update( @@ -964,6 +1016,7 @@ def test_method_update_with_all_params_overload_3(self, client: Cloudflare) -> N ) assert_matches_type(Optional[Application], application, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update_overload_3(self, client: Cloudflare) -> None: response = client.zero_trust.access.applications.with_raw_response.update( @@ -979,6 +1032,7 @@ def test_raw_response_update_overload_3(self, client: Cloudflare) -> None: application = response.parse() assert_matches_type(Optional[Application], application, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update_overload_3(self, client: Cloudflare) -> None: with client.zero_trust.access.applications.with_streaming_response.update( @@ -996,6 +1050,7 @@ def test_streaming_response_update_overload_3(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update_overload_3(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -1016,6 +1071,7 @@ def test_path_params_update_overload_3(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_update_overload_4(self, client: Cloudflare) -> None: application = client.zero_trust.access.applications.update( @@ -1027,6 +1083,7 @@ def test_method_update_overload_4(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Application], application, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_update_with_all_params_overload_4(self, client: Cloudflare) -> None: application = client.zero_trust.access.applications.update( @@ -1076,6 +1133,7 @@ def test_method_update_with_all_params_overload_4(self, client: Cloudflare) -> N ) assert_matches_type(Optional[Application], application, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update_overload_4(self, client: Cloudflare) -> None: response = client.zero_trust.access.applications.with_raw_response.update( @@ -1091,6 +1149,7 @@ def test_raw_response_update_overload_4(self, client: Cloudflare) -> None: application = response.parse() assert_matches_type(Optional[Application], application, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update_overload_4(self, client: Cloudflare) -> None: with client.zero_trust.access.applications.with_streaming_response.update( @@ -1108,6 +1167,7 @@ def test_streaming_response_update_overload_4(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update_overload_4(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -1128,6 +1188,7 @@ def test_path_params_update_overload_4(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_update_overload_5(self, client: Cloudflare) -> None: application = client.zero_trust.access.applications.update( @@ -1138,6 +1199,7 @@ def test_method_update_overload_5(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Application], application, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_update_with_all_params_overload_5(self, client: Cloudflare) -> None: application = client.zero_trust.access.applications.update( @@ -1155,6 +1217,7 @@ def test_method_update_with_all_params_overload_5(self, client: Cloudflare) -> N ) assert_matches_type(Optional[Application], application, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update_overload_5(self, client: Cloudflare) -> None: response = client.zero_trust.access.applications.with_raw_response.update( @@ -1169,6 +1232,7 @@ def test_raw_response_update_overload_5(self, client: Cloudflare) -> None: application = response.parse() assert_matches_type(Optional[Application], application, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update_overload_5(self, client: Cloudflare) -> None: with client.zero_trust.access.applications.with_streaming_response.update( @@ -1185,6 +1249,7 @@ def test_streaming_response_update_overload_5(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update_overload_5(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -1203,6 +1268,7 @@ def test_path_params_update_overload_5(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_update_overload_6(self, client: Cloudflare) -> None: application = client.zero_trust.access.applications.update( @@ -1213,6 +1279,7 @@ def test_method_update_overload_6(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Application], application, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_update_with_all_params_overload_6(self, client: Cloudflare) -> None: application = client.zero_trust.access.applications.update( @@ -1230,6 +1297,7 @@ def test_method_update_with_all_params_overload_6(self, client: Cloudflare) -> N ) assert_matches_type(Optional[Application], application, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update_overload_6(self, client: Cloudflare) -> None: response = client.zero_trust.access.applications.with_raw_response.update( @@ -1244,6 +1312,7 @@ def test_raw_response_update_overload_6(self, client: Cloudflare) -> None: application = response.parse() assert_matches_type(Optional[Application], application, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update_overload_6(self, client: Cloudflare) -> None: with client.zero_trust.access.applications.with_streaming_response.update( @@ -1260,6 +1329,7 @@ def test_streaming_response_update_overload_6(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update_overload_6(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -1278,6 +1348,7 @@ def test_path_params_update_overload_6(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_update_overload_7(self, client: Cloudflare) -> None: application = client.zero_trust.access.applications.update( @@ -1288,6 +1359,7 @@ def test_method_update_overload_7(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Application], application, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_update_with_all_params_overload_7(self, client: Cloudflare) -> None: application = client.zero_trust.access.applications.update( @@ -1305,6 +1377,7 @@ def test_method_update_with_all_params_overload_7(self, client: Cloudflare) -> N ) assert_matches_type(Optional[Application], application, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update_overload_7(self, client: Cloudflare) -> None: response = client.zero_trust.access.applications.with_raw_response.update( @@ -1319,6 +1392,7 @@ def test_raw_response_update_overload_7(self, client: Cloudflare) -> None: application = response.parse() assert_matches_type(Optional[Application], application, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update_overload_7(self, client: Cloudflare) -> None: with client.zero_trust.access.applications.with_streaming_response.update( @@ -1335,6 +1409,7 @@ def test_streaming_response_update_overload_7(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update_overload_7(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -1353,6 +1428,7 @@ def test_path_params_update_overload_7(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_update_overload_8(self, client: Cloudflare) -> None: application = client.zero_trust.access.applications.update( @@ -1362,6 +1438,7 @@ def test_method_update_overload_8(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Application], application, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_update_with_all_params_overload_8(self, client: Cloudflare) -> None: application = client.zero_trust.access.applications.update( @@ -1377,6 +1454,7 @@ def test_method_update_with_all_params_overload_8(self, client: Cloudflare) -> N ) assert_matches_type(Optional[Application], application, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update_overload_8(self, client: Cloudflare) -> None: response = client.zero_trust.access.applications.with_raw_response.update( @@ -1390,6 +1468,7 @@ def test_raw_response_update_overload_8(self, client: Cloudflare) -> None: application = response.parse() assert_matches_type(Optional[Application], application, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update_overload_8(self, client: Cloudflare) -> None: with client.zero_trust.access.applications.with_streaming_response.update( @@ -1405,6 +1484,7 @@ def test_streaming_response_update_overload_8(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update_overload_8(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -1421,6 +1501,7 @@ def test_path_params_update_overload_8(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: application = client.zero_trust.access.applications.list( @@ -1429,6 +1510,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[Application], application, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: application = client.zero_trust.access.applications.list( @@ -1437,6 +1519,7 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[Application], application, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.zero_trust.access.applications.with_raw_response.list( @@ -1449,6 +1532,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: application = response.parse() assert_matches_type(SyncSinglePage[Application], application, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.zero_trust.access.applications.with_streaming_response.list( @@ -1463,6 +1547,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -1477,6 +1562,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: application = client.zero_trust.access.applications.delete( @@ -1486,6 +1572,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ApplicationDeleteResponse], application, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_delete_with_all_params(self, client: Cloudflare) -> None: application = client.zero_trust.access.applications.delete( @@ -1495,6 +1582,7 @@ def test_method_delete_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ApplicationDeleteResponse], application, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.zero_trust.access.applications.with_raw_response.delete( @@ -1508,6 +1596,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: application = response.parse() assert_matches_type(Optional[ApplicationDeleteResponse], application, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.zero_trust.access.applications.with_streaming_response.delete( @@ -1523,6 +1612,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -1539,6 +1629,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: application = client.zero_trust.access.applications.get( @@ -1548,6 +1639,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Application], application, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: application = client.zero_trust.access.applications.get( @@ -1557,6 +1649,7 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Application], application, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zero_trust.access.applications.with_raw_response.get( @@ -1570,6 +1663,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: application = response.parse() assert_matches_type(Optional[Application], application, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zero_trust.access.applications.with_streaming_response.get( @@ -1585,6 +1679,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -1601,6 +1696,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_revoke_tokens(self, client: Cloudflare) -> None: application = client.zero_trust.access.applications.revoke_tokens( @@ -1610,6 +1706,7 @@ def test_method_revoke_tokens(self, client: Cloudflare) -> None: ) assert_matches_type(object, application, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_revoke_tokens_with_all_params(self, client: Cloudflare) -> None: application = client.zero_trust.access.applications.revoke_tokens( @@ -1619,6 +1716,7 @@ def test_method_revoke_tokens_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(object, application, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_revoke_tokens(self, client: Cloudflare) -> None: response = client.zero_trust.access.applications.with_raw_response.revoke_tokens( @@ -1632,6 +1730,7 @@ def test_raw_response_revoke_tokens(self, client: Cloudflare) -> None: application = response.parse() assert_matches_type(object, application, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_revoke_tokens(self, client: Cloudflare) -> None: with client.zero_trust.access.applications.with_streaming_response.revoke_tokens( @@ -1647,6 +1746,7 @@ def test_streaming_response_revoke_tokens(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_revoke_tokens(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -1667,6 +1767,7 @@ def test_path_params_revoke_tokens(self, client: Cloudflare) -> None: class TestAsyncApplications: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create_overload_1(self, async_client: AsyncCloudflare) -> None: application = await async_client.zero_trust.access.applications.create( @@ -1677,6 +1778,7 @@ async def test_method_create_overload_1(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[Application], application, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params_overload_1(self, async_client: AsyncCloudflare) -> None: application = await async_client.zero_trust.access.applications.create( @@ -1725,6 +1827,7 @@ async def test_method_create_with_all_params_overload_1(self, async_client: Asyn ) assert_matches_type(Optional[Application], application, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create_overload_1(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.access.applications.with_raw_response.create( @@ -1739,6 +1842,7 @@ async def test_raw_response_create_overload_1(self, async_client: AsyncCloudflar application = await response.parse() assert_matches_type(Optional[Application], application, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create_overload_1(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.access.applications.with_streaming_response.create( @@ -1755,6 +1859,7 @@ async def test_streaming_response_create_overload_1(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create_overload_1(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -1773,6 +1878,7 @@ async def test_path_params_create_overload_1(self, async_client: AsyncCloudflare zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_create_overload_2(self, async_client: AsyncCloudflare) -> None: application = await async_client.zero_trust.access.applications.create( @@ -1781,6 +1887,7 @@ async def test_method_create_overload_2(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[Application], application, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params_overload_2(self, async_client: AsyncCloudflare) -> None: application = await async_client.zero_trust.access.applications.create( @@ -1822,6 +1929,7 @@ async def test_method_create_with_all_params_overload_2(self, async_client: Asyn ) assert_matches_type(Optional[Application], application, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create_overload_2(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.access.applications.with_raw_response.create( @@ -1834,6 +1942,7 @@ async def test_raw_response_create_overload_2(self, async_client: AsyncCloudflar application = await response.parse() assert_matches_type(Optional[Application], application, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create_overload_2(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.access.applications.with_streaming_response.create( @@ -1848,6 +1957,7 @@ async def test_streaming_response_create_overload_2(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create_overload_2(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -1862,6 +1972,7 @@ async def test_path_params_create_overload_2(self, async_client: AsyncCloudflare zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_create_overload_3(self, async_client: AsyncCloudflare) -> None: application = await async_client.zero_trust.access.applications.create( @@ -1872,6 +1983,7 @@ async def test_method_create_overload_3(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[Application], application, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params_overload_3(self, async_client: AsyncCloudflare) -> None: application = await async_client.zero_trust.access.applications.create( @@ -1920,6 +2032,7 @@ async def test_method_create_with_all_params_overload_3(self, async_client: Asyn ) assert_matches_type(Optional[Application], application, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create_overload_3(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.access.applications.with_raw_response.create( @@ -1934,6 +2047,7 @@ async def test_raw_response_create_overload_3(self, async_client: AsyncCloudflar application = await response.parse() assert_matches_type(Optional[Application], application, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create_overload_3(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.access.applications.with_streaming_response.create( @@ -1950,6 +2064,7 @@ async def test_streaming_response_create_overload_3(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create_overload_3(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -1968,6 +2083,7 @@ async def test_path_params_create_overload_3(self, async_client: AsyncCloudflare zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_create_overload_4(self, async_client: AsyncCloudflare) -> None: application = await async_client.zero_trust.access.applications.create( @@ -1978,6 +2094,7 @@ async def test_method_create_overload_4(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[Application], application, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params_overload_4(self, async_client: AsyncCloudflare) -> None: application = await async_client.zero_trust.access.applications.create( @@ -2026,6 +2143,7 @@ async def test_method_create_with_all_params_overload_4(self, async_client: Asyn ) assert_matches_type(Optional[Application], application, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create_overload_4(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.access.applications.with_raw_response.create( @@ -2040,6 +2158,7 @@ async def test_raw_response_create_overload_4(self, async_client: AsyncCloudflar application = await response.parse() assert_matches_type(Optional[Application], application, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create_overload_4(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.access.applications.with_streaming_response.create( @@ -2056,6 +2175,7 @@ async def test_streaming_response_create_overload_4(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create_overload_4(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -2074,6 +2194,7 @@ async def test_path_params_create_overload_4(self, async_client: AsyncCloudflare zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_create_overload_5(self, async_client: AsyncCloudflare) -> None: application = await async_client.zero_trust.access.applications.create( @@ -2083,6 +2204,7 @@ async def test_method_create_overload_5(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[Application], application, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params_overload_5(self, async_client: AsyncCloudflare) -> None: application = await async_client.zero_trust.access.applications.create( @@ -2099,6 +2221,7 @@ async def test_method_create_with_all_params_overload_5(self, async_client: Asyn ) assert_matches_type(Optional[Application], application, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create_overload_5(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.access.applications.with_raw_response.create( @@ -2112,6 +2235,7 @@ async def test_raw_response_create_overload_5(self, async_client: AsyncCloudflar application = await response.parse() assert_matches_type(Optional[Application], application, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create_overload_5(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.access.applications.with_streaming_response.create( @@ -2127,6 +2251,7 @@ async def test_streaming_response_create_overload_5(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create_overload_5(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -2143,6 +2268,7 @@ async def test_path_params_create_overload_5(self, async_client: AsyncCloudflare zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_create_overload_6(self, async_client: AsyncCloudflare) -> None: application = await async_client.zero_trust.access.applications.create( @@ -2152,6 +2278,7 @@ async def test_method_create_overload_6(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[Application], application, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params_overload_6(self, async_client: AsyncCloudflare) -> None: application = await async_client.zero_trust.access.applications.create( @@ -2168,6 +2295,7 @@ async def test_method_create_with_all_params_overload_6(self, async_client: Asyn ) assert_matches_type(Optional[Application], application, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create_overload_6(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.access.applications.with_raw_response.create( @@ -2181,6 +2309,7 @@ async def test_raw_response_create_overload_6(self, async_client: AsyncCloudflar application = await response.parse() assert_matches_type(Optional[Application], application, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create_overload_6(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.access.applications.with_streaming_response.create( @@ -2196,6 +2325,7 @@ async def test_streaming_response_create_overload_6(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create_overload_6(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -2212,6 +2342,7 @@ async def test_path_params_create_overload_6(self, async_client: AsyncCloudflare zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_create_overload_7(self, async_client: AsyncCloudflare) -> None: application = await async_client.zero_trust.access.applications.create( @@ -2221,6 +2352,7 @@ async def test_method_create_overload_7(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[Application], application, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params_overload_7(self, async_client: AsyncCloudflare) -> None: application = await async_client.zero_trust.access.applications.create( @@ -2237,6 +2369,7 @@ async def test_method_create_with_all_params_overload_7(self, async_client: Asyn ) assert_matches_type(Optional[Application], application, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create_overload_7(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.access.applications.with_raw_response.create( @@ -2250,6 +2383,7 @@ async def test_raw_response_create_overload_7(self, async_client: AsyncCloudflar application = await response.parse() assert_matches_type(Optional[Application], application, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create_overload_7(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.access.applications.with_streaming_response.create( @@ -2265,6 +2399,7 @@ async def test_streaming_response_create_overload_7(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create_overload_7(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -2281,6 +2416,7 @@ async def test_path_params_create_overload_7(self, async_client: AsyncCloudflare zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_create_overload_8(self, async_client: AsyncCloudflare) -> None: application = await async_client.zero_trust.access.applications.create( @@ -2289,6 +2425,7 @@ async def test_method_create_overload_8(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[Application], application, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params_overload_8(self, async_client: AsyncCloudflare) -> None: application = await async_client.zero_trust.access.applications.create( @@ -2303,6 +2440,7 @@ async def test_method_create_with_all_params_overload_8(self, async_client: Asyn ) assert_matches_type(Optional[Application], application, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create_overload_8(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.access.applications.with_raw_response.create( @@ -2315,6 +2453,7 @@ async def test_raw_response_create_overload_8(self, async_client: AsyncCloudflar application = await response.parse() assert_matches_type(Optional[Application], application, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create_overload_8(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.access.applications.with_streaming_response.create( @@ -2329,6 +2468,7 @@ async def test_streaming_response_create_overload_8(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create_overload_8(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -2343,6 +2483,7 @@ async def test_path_params_create_overload_8(self, async_client: AsyncCloudflare zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_update_overload_1(self, async_client: AsyncCloudflare) -> None: application = await async_client.zero_trust.access.applications.update( @@ -2354,6 +2495,7 @@ async def test_method_update_overload_1(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[Application], application, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_update_with_all_params_overload_1(self, async_client: AsyncCloudflare) -> None: application = await async_client.zero_trust.access.applications.update( @@ -2403,6 +2545,7 @@ async def test_method_update_with_all_params_overload_1(self, async_client: Asyn ) assert_matches_type(Optional[Application], application, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update_overload_1(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.access.applications.with_raw_response.update( @@ -2418,6 +2561,7 @@ async def test_raw_response_update_overload_1(self, async_client: AsyncCloudflar application = await response.parse() assert_matches_type(Optional[Application], application, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update_overload_1(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.access.applications.with_streaming_response.update( @@ -2435,6 +2579,7 @@ async def test_streaming_response_update_overload_1(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update_overload_1(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -2455,6 +2600,7 @@ async def test_path_params_update_overload_1(self, async_client: AsyncCloudflare zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_update_overload_2(self, async_client: AsyncCloudflare) -> None: application = await async_client.zero_trust.access.applications.update( @@ -2464,6 +2610,7 @@ async def test_method_update_overload_2(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[Application], application, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_update_with_all_params_overload_2(self, async_client: AsyncCloudflare) -> None: application = await async_client.zero_trust.access.applications.update( @@ -2506,6 +2653,7 @@ async def test_method_update_with_all_params_overload_2(self, async_client: Asyn ) assert_matches_type(Optional[Application], application, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update_overload_2(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.access.applications.with_raw_response.update( @@ -2519,6 +2667,7 @@ async def test_raw_response_update_overload_2(self, async_client: AsyncCloudflar application = await response.parse() assert_matches_type(Optional[Application], application, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update_overload_2(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.access.applications.with_streaming_response.update( @@ -2534,6 +2683,7 @@ async def test_streaming_response_update_overload_2(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update_overload_2(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -2550,6 +2700,7 @@ async def test_path_params_update_overload_2(self, async_client: AsyncCloudflare zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_update_overload_3(self, async_client: AsyncCloudflare) -> None: application = await async_client.zero_trust.access.applications.update( @@ -2561,6 +2712,7 @@ async def test_method_update_overload_3(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[Application], application, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_update_with_all_params_overload_3(self, async_client: AsyncCloudflare) -> None: application = await async_client.zero_trust.access.applications.update( @@ -2610,6 +2762,7 @@ async def test_method_update_with_all_params_overload_3(self, async_client: Asyn ) assert_matches_type(Optional[Application], application, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update_overload_3(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.access.applications.with_raw_response.update( @@ -2625,6 +2778,7 @@ async def test_raw_response_update_overload_3(self, async_client: AsyncCloudflar application = await response.parse() assert_matches_type(Optional[Application], application, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update_overload_3(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.access.applications.with_streaming_response.update( @@ -2642,6 +2796,7 @@ async def test_streaming_response_update_overload_3(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update_overload_3(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -2662,6 +2817,7 @@ async def test_path_params_update_overload_3(self, async_client: AsyncCloudflare zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_update_overload_4(self, async_client: AsyncCloudflare) -> None: application = await async_client.zero_trust.access.applications.update( @@ -2673,6 +2829,7 @@ async def test_method_update_overload_4(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[Application], application, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_update_with_all_params_overload_4(self, async_client: AsyncCloudflare) -> None: application = await async_client.zero_trust.access.applications.update( @@ -2722,6 +2879,7 @@ async def test_method_update_with_all_params_overload_4(self, async_client: Asyn ) assert_matches_type(Optional[Application], application, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update_overload_4(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.access.applications.with_raw_response.update( @@ -2737,6 +2895,7 @@ async def test_raw_response_update_overload_4(self, async_client: AsyncCloudflar application = await response.parse() assert_matches_type(Optional[Application], application, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update_overload_4(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.access.applications.with_streaming_response.update( @@ -2754,6 +2913,7 @@ async def test_streaming_response_update_overload_4(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update_overload_4(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -2774,6 +2934,7 @@ async def test_path_params_update_overload_4(self, async_client: AsyncCloudflare zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_update_overload_5(self, async_client: AsyncCloudflare) -> None: application = await async_client.zero_trust.access.applications.update( @@ -2784,6 +2945,7 @@ async def test_method_update_overload_5(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[Application], application, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_update_with_all_params_overload_5(self, async_client: AsyncCloudflare) -> None: application = await async_client.zero_trust.access.applications.update( @@ -2801,6 +2963,7 @@ async def test_method_update_with_all_params_overload_5(self, async_client: Asyn ) assert_matches_type(Optional[Application], application, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update_overload_5(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.access.applications.with_raw_response.update( @@ -2815,6 +2978,7 @@ async def test_raw_response_update_overload_5(self, async_client: AsyncCloudflar application = await response.parse() assert_matches_type(Optional[Application], application, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update_overload_5(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.access.applications.with_streaming_response.update( @@ -2831,6 +2995,7 @@ async def test_streaming_response_update_overload_5(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update_overload_5(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -2849,6 +3014,7 @@ async def test_path_params_update_overload_5(self, async_client: AsyncCloudflare zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_update_overload_6(self, async_client: AsyncCloudflare) -> None: application = await async_client.zero_trust.access.applications.update( @@ -2859,6 +3025,7 @@ async def test_method_update_overload_6(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[Application], application, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_update_with_all_params_overload_6(self, async_client: AsyncCloudflare) -> None: application = await async_client.zero_trust.access.applications.update( @@ -2876,6 +3043,7 @@ async def test_method_update_with_all_params_overload_6(self, async_client: Asyn ) assert_matches_type(Optional[Application], application, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update_overload_6(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.access.applications.with_raw_response.update( @@ -2890,6 +3058,7 @@ async def test_raw_response_update_overload_6(self, async_client: AsyncCloudflar application = await response.parse() assert_matches_type(Optional[Application], application, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update_overload_6(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.access.applications.with_streaming_response.update( @@ -2906,6 +3075,7 @@ async def test_streaming_response_update_overload_6(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update_overload_6(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -2924,6 +3094,7 @@ async def test_path_params_update_overload_6(self, async_client: AsyncCloudflare zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_update_overload_7(self, async_client: AsyncCloudflare) -> None: application = await async_client.zero_trust.access.applications.update( @@ -2934,6 +3105,7 @@ async def test_method_update_overload_7(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[Application], application, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_update_with_all_params_overload_7(self, async_client: AsyncCloudflare) -> None: application = await async_client.zero_trust.access.applications.update( @@ -2951,6 +3123,7 @@ async def test_method_update_with_all_params_overload_7(self, async_client: Asyn ) assert_matches_type(Optional[Application], application, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update_overload_7(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.access.applications.with_raw_response.update( @@ -2965,6 +3138,7 @@ async def test_raw_response_update_overload_7(self, async_client: AsyncCloudflar application = await response.parse() assert_matches_type(Optional[Application], application, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update_overload_7(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.access.applications.with_streaming_response.update( @@ -2981,6 +3155,7 @@ async def test_streaming_response_update_overload_7(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update_overload_7(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -2999,6 +3174,7 @@ async def test_path_params_update_overload_7(self, async_client: AsyncCloudflare zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_update_overload_8(self, async_client: AsyncCloudflare) -> None: application = await async_client.zero_trust.access.applications.update( @@ -3008,6 +3184,7 @@ async def test_method_update_overload_8(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[Application], application, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_update_with_all_params_overload_8(self, async_client: AsyncCloudflare) -> None: application = await async_client.zero_trust.access.applications.update( @@ -3023,6 +3200,7 @@ async def test_method_update_with_all_params_overload_8(self, async_client: Asyn ) assert_matches_type(Optional[Application], application, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update_overload_8(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.access.applications.with_raw_response.update( @@ -3036,6 +3214,7 @@ async def test_raw_response_update_overload_8(self, async_client: AsyncCloudflar application = await response.parse() assert_matches_type(Optional[Application], application, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update_overload_8(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.access.applications.with_streaming_response.update( @@ -3051,6 +3230,7 @@ async def test_streaming_response_update_overload_8(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update_overload_8(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -3067,6 +3247,7 @@ async def test_path_params_update_overload_8(self, async_client: AsyncCloudflare zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: application = await async_client.zero_trust.access.applications.list( @@ -3075,6 +3256,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[Application], application, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: application = await async_client.zero_trust.access.applications.list( @@ -3083,6 +3265,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncSinglePage[Application], application, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.access.applications.with_raw_response.list( @@ -3095,6 +3278,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: application = await response.parse() assert_matches_type(AsyncSinglePage[Application], application, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.access.applications.with_streaming_response.list( @@ -3109,6 +3293,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -3123,6 +3308,7 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: application = await async_client.zero_trust.access.applications.delete( @@ -3132,6 +3318,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[ApplicationDeleteResponse], application, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_delete_with_all_params(self, async_client: AsyncCloudflare) -> None: application = await async_client.zero_trust.access.applications.delete( @@ -3141,6 +3328,7 @@ async def test_method_delete_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[ApplicationDeleteResponse], application, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.access.applications.with_raw_response.delete( @@ -3154,6 +3342,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: application = await response.parse() assert_matches_type(Optional[ApplicationDeleteResponse], application, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.access.applications.with_streaming_response.delete( @@ -3169,6 +3358,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -3185,6 +3375,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: application = await async_client.zero_trust.access.applications.get( @@ -3194,6 +3385,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Application], application, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: application = await async_client.zero_trust.access.applications.get( @@ -3203,6 +3395,7 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(Optional[Application], application, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.access.applications.with_raw_response.get( @@ -3216,6 +3409,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: application = await response.parse() assert_matches_type(Optional[Application], application, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.access.applications.with_streaming_response.get( @@ -3231,6 +3425,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -3247,6 +3442,7 @@ async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_revoke_tokens(self, async_client: AsyncCloudflare) -> None: application = await async_client.zero_trust.access.applications.revoke_tokens( @@ -3256,6 +3452,7 @@ async def test_method_revoke_tokens(self, async_client: AsyncCloudflare) -> None ) assert_matches_type(object, application, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_revoke_tokens_with_all_params(self, async_client: AsyncCloudflare) -> None: application = await async_client.zero_trust.access.applications.revoke_tokens( @@ -3265,6 +3462,7 @@ async def test_method_revoke_tokens_with_all_params(self, async_client: AsyncClo ) assert_matches_type(object, application, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_revoke_tokens(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.access.applications.with_raw_response.revoke_tokens( @@ -3278,6 +3476,7 @@ async def test_raw_response_revoke_tokens(self, async_client: AsyncCloudflare) - application = await response.parse() assert_matches_type(object, application, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_revoke_tokens(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.access.applications.with_streaming_response.revoke_tokens( @@ -3293,6 +3492,7 @@ async def test_streaming_response_revoke_tokens(self, async_client: AsyncCloudfl assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_revoke_tokens(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/zero_trust/access/test_bookmarks.py b/tests/api_resources/zero_trust/access/test_bookmarks.py index c4f8ca578ad..957fb0357e3 100644 --- a/tests/api_resources/zero_trust/access/test_bookmarks.py +++ b/tests/api_resources/zero_trust/access/test_bookmarks.py @@ -21,6 +21,7 @@ class TestBookmarks: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: bookmark = client.zero_trust.access.bookmarks.create( @@ -30,6 +31,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Bookmark], bookmark, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.zero_trust.access.bookmarks.with_raw_response.create( @@ -43,6 +45,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: bookmark = response.parse() assert_matches_type(Optional[Bookmark], bookmark, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.zero_trust.access.bookmarks.with_streaming_response.create( @@ -58,6 +61,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `identifier` but received ''"): @@ -74,6 +78,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: bookmark = client.zero_trust.access.bookmarks.update( @@ -83,6 +88,7 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Bookmark], bookmark, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.zero_trust.access.bookmarks.with_raw_response.update( @@ -96,6 +102,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: bookmark = response.parse() assert_matches_type(Optional[Bookmark], bookmark, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.zero_trust.access.bookmarks.with_streaming_response.update( @@ -111,6 +118,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `identifier` but received ''"): @@ -127,6 +135,7 @@ def test_path_params_update(self, client: Cloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: bookmark = client.zero_trust.access.bookmarks.list( @@ -134,6 +143,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[Bookmark], bookmark, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.zero_trust.access.bookmarks.with_raw_response.list( @@ -145,6 +155,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: bookmark = response.parse() assert_matches_type(SyncSinglePage[Bookmark], bookmark, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.zero_trust.access.bookmarks.with_streaming_response.list( @@ -158,6 +169,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `identifier` but received ''"): @@ -165,6 +177,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: "", ) + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: bookmark = client.zero_trust.access.bookmarks.delete( @@ -174,6 +187,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[BookmarkDeleteResponse], bookmark, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.zero_trust.access.bookmarks.with_raw_response.delete( @@ -187,6 +201,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: bookmark = response.parse() assert_matches_type(Optional[BookmarkDeleteResponse], bookmark, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.zero_trust.access.bookmarks.with_streaming_response.delete( @@ -202,6 +217,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `identifier` but received ''"): @@ -218,6 +234,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: bookmark = client.zero_trust.access.bookmarks.get( @@ -226,6 +243,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Bookmark], bookmark, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zero_trust.access.bookmarks.with_raw_response.get( @@ -238,6 +256,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: bookmark = response.parse() assert_matches_type(Optional[Bookmark], bookmark, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zero_trust.access.bookmarks.with_streaming_response.get( @@ -252,6 +271,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `identifier` but received ''"): @@ -270,6 +290,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncBookmarks: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: bookmark = await async_client.zero_trust.access.bookmarks.create( @@ -279,6 +300,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Bookmark], bookmark, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.access.bookmarks.with_raw_response.create( @@ -292,6 +314,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: bookmark = await response.parse() assert_matches_type(Optional[Bookmark], bookmark, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.access.bookmarks.with_streaming_response.create( @@ -307,6 +330,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `identifier` but received ''"): @@ -323,6 +347,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: bookmark = await async_client.zero_trust.access.bookmarks.update( @@ -332,6 +357,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Bookmark], bookmark, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.access.bookmarks.with_raw_response.update( @@ -345,6 +371,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: bookmark = await response.parse() assert_matches_type(Optional[Bookmark], bookmark, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.access.bookmarks.with_streaming_response.update( @@ -360,6 +387,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `identifier` but received ''"): @@ -376,6 +404,7 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: bookmark = await async_client.zero_trust.access.bookmarks.list( @@ -383,6 +412,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[Bookmark], bookmark, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.access.bookmarks.with_raw_response.list( @@ -394,6 +424,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: bookmark = await response.parse() assert_matches_type(AsyncSinglePage[Bookmark], bookmark, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.access.bookmarks.with_streaming_response.list( @@ -407,6 +438,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `identifier` but received ''"): @@ -414,6 +446,7 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: "", ) + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: bookmark = await async_client.zero_trust.access.bookmarks.delete( @@ -423,6 +456,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[BookmarkDeleteResponse], bookmark, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.access.bookmarks.with_raw_response.delete( @@ -436,6 +470,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: bookmark = await response.parse() assert_matches_type(Optional[BookmarkDeleteResponse], bookmark, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.access.bookmarks.with_streaming_response.delete( @@ -451,6 +486,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `identifier` but received ''"): @@ -467,6 +503,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: bookmark = await async_client.zero_trust.access.bookmarks.get( @@ -475,6 +512,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Bookmark], bookmark, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.access.bookmarks.with_raw_response.get( @@ -487,6 +525,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: bookmark = await response.parse() assert_matches_type(Optional[Bookmark], bookmark, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.access.bookmarks.with_streaming_response.get( @@ -501,6 +540,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `identifier` but received ''"): diff --git a/tests/api_resources/zero_trust/access/test_certificates.py b/tests/api_resources/zero_trust/access/test_certificates.py index bf984506f69..c91be3d7a8c 100644 --- a/tests/api_resources/zero_trust/access/test_certificates.py +++ b/tests/api_resources/zero_trust/access/test_certificates.py @@ -21,6 +21,7 @@ class TestCertificates: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: certificate = client.zero_trust.access.certificates.create( @@ -31,6 +32,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Certificate], certificate, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: certificate = client.zero_trust.access.certificates.create( @@ -42,6 +44,7 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Certificate], certificate, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.zero_trust.access.certificates.with_raw_response.create( @@ -56,6 +59,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: certificate = response.parse() assert_matches_type(Optional[Certificate], certificate, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.zero_trust.access.certificates.with_streaming_response.create( @@ -72,6 +76,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -90,6 +95,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: certificate = client.zero_trust.access.certificates.update( @@ -100,6 +106,7 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Certificate], certificate, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: certificate = client.zero_trust.access.certificates.update( @@ -111,6 +118,7 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Certificate], certificate, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.zero_trust.access.certificates.with_raw_response.update( @@ -125,6 +133,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: certificate = response.parse() assert_matches_type(Optional[Certificate], certificate, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.zero_trust.access.certificates.with_streaming_response.update( @@ -141,6 +150,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `uuid` but received ''"): @@ -167,6 +177,7 @@ def test_path_params_update(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: certificate = client.zero_trust.access.certificates.list( @@ -175,6 +186,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[Certificate], certificate, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: certificate = client.zero_trust.access.certificates.list( @@ -183,6 +195,7 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[Certificate], certificate, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.zero_trust.access.certificates.with_raw_response.list( @@ -195,6 +208,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: certificate = response.parse() assert_matches_type(SyncSinglePage[Certificate], certificate, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.zero_trust.access.certificates.with_streaming_response.list( @@ -209,6 +223,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -223,6 +238,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: certificate = client.zero_trust.access.certificates.delete( @@ -232,6 +248,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[CertificateDeleteResponse], certificate, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_delete_with_all_params(self, client: Cloudflare) -> None: certificate = client.zero_trust.access.certificates.delete( @@ -241,6 +258,7 @@ def test_method_delete_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[CertificateDeleteResponse], certificate, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.zero_trust.access.certificates.with_raw_response.delete( @@ -254,6 +272,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: certificate = response.parse() assert_matches_type(Optional[CertificateDeleteResponse], certificate, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.zero_trust.access.certificates.with_streaming_response.delete( @@ -269,6 +288,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `uuid` but received ''"): @@ -292,6 +312,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: certificate = client.zero_trust.access.certificates.get( @@ -301,6 +322,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Certificate], certificate, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: certificate = client.zero_trust.access.certificates.get( @@ -310,6 +332,7 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Certificate], certificate, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zero_trust.access.certificates.with_raw_response.get( @@ -323,6 +346,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: certificate = response.parse() assert_matches_type(Optional[Certificate], certificate, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zero_trust.access.certificates.with_streaming_response.get( @@ -338,6 +362,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `uuid` but received ''"): @@ -365,6 +390,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncCertificates: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: certificate = await async_client.zero_trust.access.certificates.create( @@ -375,6 +401,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Certificate], certificate, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: certificate = await async_client.zero_trust.access.certificates.create( @@ -386,6 +413,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[Certificate], certificate, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.access.certificates.with_raw_response.create( @@ -400,6 +428,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: certificate = await response.parse() assert_matches_type(Optional[Certificate], certificate, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.access.certificates.with_streaming_response.create( @@ -416,6 +445,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -434,6 +464,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: certificate = await async_client.zero_trust.access.certificates.update( @@ -444,6 +475,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Certificate], certificate, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: certificate = await async_client.zero_trust.access.certificates.update( @@ -455,6 +487,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[Certificate], certificate, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.access.certificates.with_raw_response.update( @@ -469,6 +502,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: certificate = await response.parse() assert_matches_type(Optional[Certificate], certificate, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.access.certificates.with_streaming_response.update( @@ -485,6 +519,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `uuid` but received ''"): @@ -511,6 +546,7 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: certificate = await async_client.zero_trust.access.certificates.list( @@ -519,6 +555,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[Certificate], certificate, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: certificate = await async_client.zero_trust.access.certificates.list( @@ -527,6 +564,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncSinglePage[Certificate], certificate, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.access.certificates.with_raw_response.list( @@ -539,6 +577,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: certificate = await response.parse() assert_matches_type(AsyncSinglePage[Certificate], certificate, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.access.certificates.with_streaming_response.list( @@ -553,6 +592,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -567,6 +607,7 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: certificate = await async_client.zero_trust.access.certificates.delete( @@ -576,6 +617,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[CertificateDeleteResponse], certificate, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_delete_with_all_params(self, async_client: AsyncCloudflare) -> None: certificate = await async_client.zero_trust.access.certificates.delete( @@ -585,6 +627,7 @@ async def test_method_delete_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[CertificateDeleteResponse], certificate, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.access.certificates.with_raw_response.delete( @@ -598,6 +641,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: certificate = await response.parse() assert_matches_type(Optional[CertificateDeleteResponse], certificate, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.access.certificates.with_streaming_response.delete( @@ -613,6 +657,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `uuid` but received ''"): @@ -636,6 +681,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: certificate = await async_client.zero_trust.access.certificates.get( @@ -645,6 +691,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Certificate], certificate, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: certificate = await async_client.zero_trust.access.certificates.get( @@ -654,6 +701,7 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(Optional[Certificate], certificate, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.access.certificates.with_raw_response.get( @@ -667,6 +715,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: certificate = await response.parse() assert_matches_type(Optional[Certificate], certificate, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.access.certificates.with_streaming_response.get( @@ -682,6 +731,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `uuid` but received ''"): diff --git a/tests/api_resources/zero_trust/access/test_custom_pages.py b/tests/api_resources/zero_trust/access/test_custom_pages.py index 7c84edab1bc..e308329aad0 100644 --- a/tests/api_resources/zero_trust/access/test_custom_pages.py +++ b/tests/api_resources/zero_trust/access/test_custom_pages.py @@ -22,6 +22,7 @@ class TestCustomPages: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: custom_page = client.zero_trust.access.custom_pages.create( @@ -32,6 +33,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[CustomPageWithoutHTML], custom_page, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: custom_page = client.zero_trust.access.custom_pages.create( @@ -43,6 +45,7 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[CustomPageWithoutHTML], custom_page, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.zero_trust.access.custom_pages.with_raw_response.create( @@ -57,6 +60,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: custom_page = response.parse() assert_matches_type(Optional[CustomPageWithoutHTML], custom_page, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.zero_trust.access.custom_pages.with_streaming_response.create( @@ -73,6 +77,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `identifier` but received ''"): @@ -83,6 +88,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: type="identity_denied", ) + @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: custom_page = client.zero_trust.access.custom_pages.update( @@ -94,6 +100,7 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[CustomPageWithoutHTML], custom_page, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: custom_page = client.zero_trust.access.custom_pages.update( @@ -106,6 +113,7 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[CustomPageWithoutHTML], custom_page, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.zero_trust.access.custom_pages.with_raw_response.update( @@ -121,6 +129,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: custom_page = response.parse() assert_matches_type(Optional[CustomPageWithoutHTML], custom_page, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.zero_trust.access.custom_pages.with_streaming_response.update( @@ -138,6 +147,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `identifier` but received ''"): @@ -158,6 +168,7 @@ def test_path_params_update(self, client: Cloudflare) -> None: type="identity_denied", ) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: custom_page = client.zero_trust.access.custom_pages.list( @@ -165,6 +176,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[CustomPageWithoutHTML], custom_page, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.zero_trust.access.custom_pages.with_raw_response.list( @@ -176,6 +188,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: custom_page = response.parse() assert_matches_type(SyncSinglePage[CustomPageWithoutHTML], custom_page, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.zero_trust.access.custom_pages.with_streaming_response.list( @@ -189,6 +202,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `identifier` but received ''"): @@ -196,6 +210,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: "", ) + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: custom_page = client.zero_trust.access.custom_pages.delete( @@ -204,6 +219,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[CustomPageDeleteResponse], custom_page, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.zero_trust.access.custom_pages.with_raw_response.delete( @@ -216,6 +232,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: custom_page = response.parse() assert_matches_type(Optional[CustomPageDeleteResponse], custom_page, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.zero_trust.access.custom_pages.with_streaming_response.delete( @@ -230,6 +247,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `identifier` but received ''"): @@ -244,6 +262,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: identifier="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: custom_page = client.zero_trust.access.custom_pages.get( @@ -252,6 +271,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[CustomPage], custom_page, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zero_trust.access.custom_pages.with_raw_response.get( @@ -264,6 +284,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: custom_page = response.parse() assert_matches_type(Optional[CustomPage], custom_page, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zero_trust.access.custom_pages.with_streaming_response.get( @@ -278,6 +299,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `identifier` but received ''"): @@ -296,6 +318,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncCustomPages: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: custom_page = await async_client.zero_trust.access.custom_pages.create( @@ -306,6 +329,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[CustomPageWithoutHTML], custom_page, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: custom_page = await async_client.zero_trust.access.custom_pages.create( @@ -317,6 +341,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[CustomPageWithoutHTML], custom_page, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.access.custom_pages.with_raw_response.create( @@ -331,6 +356,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: custom_page = await response.parse() assert_matches_type(Optional[CustomPageWithoutHTML], custom_page, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.access.custom_pages.with_streaming_response.create( @@ -347,6 +373,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `identifier` but received ''"): @@ -357,6 +384,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: type="identity_denied", ) + @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: custom_page = await async_client.zero_trust.access.custom_pages.update( @@ -368,6 +396,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[CustomPageWithoutHTML], custom_page, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: custom_page = await async_client.zero_trust.access.custom_pages.update( @@ -380,6 +409,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[CustomPageWithoutHTML], custom_page, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.access.custom_pages.with_raw_response.update( @@ -395,6 +425,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: custom_page = await response.parse() assert_matches_type(Optional[CustomPageWithoutHTML], custom_page, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.access.custom_pages.with_streaming_response.update( @@ -412,6 +443,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `identifier` but received ''"): @@ -432,6 +464,7 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: type="identity_denied", ) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: custom_page = await async_client.zero_trust.access.custom_pages.list( @@ -439,6 +472,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[CustomPageWithoutHTML], custom_page, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.access.custom_pages.with_raw_response.list( @@ -450,6 +484,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: custom_page = await response.parse() assert_matches_type(AsyncSinglePage[CustomPageWithoutHTML], custom_page, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.access.custom_pages.with_streaming_response.list( @@ -463,6 +498,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `identifier` but received ''"): @@ -470,6 +506,7 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: "", ) + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: custom_page = await async_client.zero_trust.access.custom_pages.delete( @@ -478,6 +515,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[CustomPageDeleteResponse], custom_page, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.access.custom_pages.with_raw_response.delete( @@ -490,6 +528,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: custom_page = await response.parse() assert_matches_type(Optional[CustomPageDeleteResponse], custom_page, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.access.custom_pages.with_streaming_response.delete( @@ -504,6 +543,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `identifier` but received ''"): @@ -518,6 +558,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: identifier="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: custom_page = await async_client.zero_trust.access.custom_pages.get( @@ -526,6 +567,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[CustomPage], custom_page, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.access.custom_pages.with_raw_response.get( @@ -538,6 +580,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: custom_page = await response.parse() assert_matches_type(Optional[CustomPage], custom_page, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.access.custom_pages.with_streaming_response.get( @@ -552,6 +595,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `identifier` but received ''"): diff --git a/tests/api_resources/zero_trust/access/test_groups.py b/tests/api_resources/zero_trust/access/test_groups.py index 6a254b580ab..4d3955c56ee 100644 --- a/tests/api_resources/zero_trust/access/test_groups.py +++ b/tests/api_resources/zero_trust/access/test_groups.py @@ -21,6 +21,7 @@ class TestGroups: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: group = client.zero_trust.access.groups.create( @@ -35,6 +36,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ZeroTrustGroup], group, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: group = client.zero_trust.access.groups.create( @@ -60,6 +62,7 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ZeroTrustGroup], group, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.zero_trust.access.groups.with_raw_response.create( @@ -78,6 +81,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: group = response.parse() assert_matches_type(Optional[ZeroTrustGroup], group, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.zero_trust.access.groups.with_streaming_response.create( @@ -98,6 +102,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -124,6 +129,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: group = client.zero_trust.access.groups.update( @@ -139,6 +145,7 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ZeroTrustGroup], group, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: group = client.zero_trust.access.groups.update( @@ -165,6 +172,7 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ZeroTrustGroup], group, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.zero_trust.access.groups.with_raw_response.update( @@ -184,6 +192,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: group = response.parse() assert_matches_type(Optional[ZeroTrustGroup], group, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.zero_trust.access.groups.with_streaming_response.update( @@ -205,6 +214,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `uuid` but received ''"): @@ -246,6 +256,7 @@ def test_path_params_update(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: group = client.zero_trust.access.groups.list( @@ -254,6 +265,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[ZeroTrustGroup], group, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: group = client.zero_trust.access.groups.list( @@ -262,6 +274,7 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[ZeroTrustGroup], group, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.zero_trust.access.groups.with_raw_response.list( @@ -274,6 +287,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: group = response.parse() assert_matches_type(SyncSinglePage[ZeroTrustGroup], group, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.zero_trust.access.groups.with_streaming_response.list( @@ -288,6 +302,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -302,6 +317,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: group = client.zero_trust.access.groups.delete( @@ -311,6 +327,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[GroupDeleteResponse], group, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_delete_with_all_params(self, client: Cloudflare) -> None: group = client.zero_trust.access.groups.delete( @@ -320,6 +337,7 @@ def test_method_delete_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[GroupDeleteResponse], group, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.zero_trust.access.groups.with_raw_response.delete( @@ -333,6 +351,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: group = response.parse() assert_matches_type(Optional[GroupDeleteResponse], group, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.zero_trust.access.groups.with_streaming_response.delete( @@ -348,6 +367,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `uuid` but received ''"): @@ -371,6 +391,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: group = client.zero_trust.access.groups.get( @@ -380,6 +401,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ZeroTrustGroup], group, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: group = client.zero_trust.access.groups.get( @@ -389,6 +411,7 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ZeroTrustGroup], group, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zero_trust.access.groups.with_raw_response.get( @@ -402,6 +425,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: group = response.parse() assert_matches_type(Optional[ZeroTrustGroup], group, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zero_trust.access.groups.with_streaming_response.get( @@ -417,6 +441,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `uuid` but received ''"): @@ -444,6 +469,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncGroups: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: group = await async_client.zero_trust.access.groups.create( @@ -458,6 +484,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[ZeroTrustGroup], group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: group = await async_client.zero_trust.access.groups.create( @@ -483,6 +510,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[ZeroTrustGroup], group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.access.groups.with_raw_response.create( @@ -501,6 +529,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: group = await response.parse() assert_matches_type(Optional[ZeroTrustGroup], group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.access.groups.with_streaming_response.create( @@ -521,6 +550,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -547,6 +577,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: group = await async_client.zero_trust.access.groups.update( @@ -562,6 +593,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[ZeroTrustGroup], group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: group = await async_client.zero_trust.access.groups.update( @@ -588,6 +620,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[ZeroTrustGroup], group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.access.groups.with_raw_response.update( @@ -607,6 +640,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: group = await response.parse() assert_matches_type(Optional[ZeroTrustGroup], group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.access.groups.with_streaming_response.update( @@ -628,6 +662,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `uuid` but received ''"): @@ -669,6 +704,7 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: group = await async_client.zero_trust.access.groups.list( @@ -677,6 +713,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[ZeroTrustGroup], group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: group = await async_client.zero_trust.access.groups.list( @@ -685,6 +722,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncSinglePage[ZeroTrustGroup], group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.access.groups.with_raw_response.list( @@ -697,6 +735,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: group = await response.parse() assert_matches_type(AsyncSinglePage[ZeroTrustGroup], group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.access.groups.with_streaming_response.list( @@ -711,6 +750,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -725,6 +765,7 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: group = await async_client.zero_trust.access.groups.delete( @@ -734,6 +775,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[GroupDeleteResponse], group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_delete_with_all_params(self, async_client: AsyncCloudflare) -> None: group = await async_client.zero_trust.access.groups.delete( @@ -743,6 +785,7 @@ async def test_method_delete_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[GroupDeleteResponse], group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.access.groups.with_raw_response.delete( @@ -756,6 +799,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: group = await response.parse() assert_matches_type(Optional[GroupDeleteResponse], group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.access.groups.with_streaming_response.delete( @@ -771,6 +815,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `uuid` but received ''"): @@ -794,6 +839,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: group = await async_client.zero_trust.access.groups.get( @@ -803,6 +849,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[ZeroTrustGroup], group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: group = await async_client.zero_trust.access.groups.get( @@ -812,6 +859,7 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(Optional[ZeroTrustGroup], group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.access.groups.with_raw_response.get( @@ -825,6 +873,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: group = await response.parse() assert_matches_type(Optional[ZeroTrustGroup], group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.access.groups.with_streaming_response.get( @@ -840,6 +889,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `uuid` but received ''"): diff --git a/tests/api_resources/zero_trust/access/test_keys.py b/tests/api_resources/zero_trust/access/test_keys.py index ccb5129562c..24d3a034147 100644 --- a/tests/api_resources/zero_trust/access/test_keys.py +++ b/tests/api_resources/zero_trust/access/test_keys.py @@ -17,6 +17,7 @@ class TestKeys: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: key = client.zero_trust.access.keys.update( @@ -25,6 +26,7 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[KeyUpdateResponse], key, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.zero_trust.access.keys.with_raw_response.update( @@ -37,6 +39,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: key = response.parse() assert_matches_type(Optional[KeyUpdateResponse], key, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.zero_trust.access.keys.with_streaming_response.update( @@ -51,6 +54,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `identifier` but received ''"): @@ -59,6 +63,7 @@ def test_path_params_update(self, client: Cloudflare) -> None: key_rotation_interval_days=30, ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: key = client.zero_trust.access.keys.get( @@ -66,6 +71,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[KeyGetResponse], key, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zero_trust.access.keys.with_raw_response.get( @@ -77,6 +83,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: key = response.parse() assert_matches_type(Optional[KeyGetResponse], key, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zero_trust.access.keys.with_streaming_response.get( @@ -90,6 +97,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `identifier` but received ''"): @@ -97,6 +105,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: "", ) + @pytest.mark.skip() @parametrize def test_method_rotate(self, client: Cloudflare) -> None: key = client.zero_trust.access.keys.rotate( @@ -104,6 +113,7 @@ def test_method_rotate(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[KeyRotateResponse], key, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_rotate(self, client: Cloudflare) -> None: response = client.zero_trust.access.keys.with_raw_response.rotate( @@ -115,6 +125,7 @@ def test_raw_response_rotate(self, client: Cloudflare) -> None: key = response.parse() assert_matches_type(Optional[KeyRotateResponse], key, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_rotate(self, client: Cloudflare) -> None: with client.zero_trust.access.keys.with_streaming_response.rotate( @@ -128,6 +139,7 @@ def test_streaming_response_rotate(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_rotate(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `identifier` but received ''"): @@ -139,6 +151,7 @@ def test_path_params_rotate(self, client: Cloudflare) -> None: class TestAsyncKeys: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: key = await async_client.zero_trust.access.keys.update( @@ -147,6 +160,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[KeyUpdateResponse], key, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.access.keys.with_raw_response.update( @@ -159,6 +173,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: key = await response.parse() assert_matches_type(Optional[KeyUpdateResponse], key, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.access.keys.with_streaming_response.update( @@ -173,6 +188,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `identifier` but received ''"): @@ -181,6 +197,7 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: key_rotation_interval_days=30, ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: key = await async_client.zero_trust.access.keys.get( @@ -188,6 +205,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[KeyGetResponse], key, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.access.keys.with_raw_response.get( @@ -199,6 +217,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: key = await response.parse() assert_matches_type(Optional[KeyGetResponse], key, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.access.keys.with_streaming_response.get( @@ -212,6 +231,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `identifier` but received ''"): @@ -219,6 +239,7 @@ async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: "", ) + @pytest.mark.skip() @parametrize async def test_method_rotate(self, async_client: AsyncCloudflare) -> None: key = await async_client.zero_trust.access.keys.rotate( @@ -226,6 +247,7 @@ async def test_method_rotate(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[KeyRotateResponse], key, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_rotate(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.access.keys.with_raw_response.rotate( @@ -237,6 +259,7 @@ async def test_raw_response_rotate(self, async_client: AsyncCloudflare) -> None: key = await response.parse() assert_matches_type(Optional[KeyRotateResponse], key, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_rotate(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.access.keys.with_streaming_response.rotate( @@ -250,6 +273,7 @@ async def test_streaming_response_rotate(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_rotate(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `identifier` but received ''"): diff --git a/tests/api_resources/zero_trust/access/test_service_tokens.py b/tests/api_resources/zero_trust/access/test_service_tokens.py index 070736d9bad..ef3affbf96c 100644 --- a/tests/api_resources/zero_trust/access/test_service_tokens.py +++ b/tests/api_resources/zero_trust/access/test_service_tokens.py @@ -22,6 +22,7 @@ class TestServiceTokens: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: service_token = client.zero_trust.access.service_tokens.create( @@ -31,6 +32,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ServiceTokenCreateResponse], service_token, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: service_token = client.zero_trust.access.service_tokens.create( @@ -41,6 +43,7 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ServiceTokenCreateResponse], service_token, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.zero_trust.access.service_tokens.with_raw_response.create( @@ -54,6 +57,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: service_token = response.parse() assert_matches_type(Optional[ServiceTokenCreateResponse], service_token, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.zero_trust.access.service_tokens.with_streaming_response.create( @@ -69,6 +73,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -85,6 +90,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: service_token = client.zero_trust.access.service_tokens.update( @@ -94,6 +100,7 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ServiceToken], service_token, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: service_token = client.zero_trust.access.service_tokens.update( @@ -105,6 +112,7 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ServiceToken], service_token, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.zero_trust.access.service_tokens.with_raw_response.update( @@ -118,6 +126,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: service_token = response.parse() assert_matches_type(Optional[ServiceToken], service_token, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.zero_trust.access.service_tokens.with_streaming_response.update( @@ -133,6 +142,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `uuid` but received ''"): @@ -156,6 +166,7 @@ def test_path_params_update(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: service_token = client.zero_trust.access.service_tokens.list( @@ -164,6 +175,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[ServiceToken], service_token, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: service_token = client.zero_trust.access.service_tokens.list( @@ -172,6 +184,7 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[ServiceToken], service_token, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.zero_trust.access.service_tokens.with_raw_response.list( @@ -184,6 +197,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: service_token = response.parse() assert_matches_type(SyncSinglePage[ServiceToken], service_token, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.zero_trust.access.service_tokens.with_streaming_response.list( @@ -198,6 +212,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -212,6 +227,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: service_token = client.zero_trust.access.service_tokens.delete( @@ -221,6 +237,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ServiceToken], service_token, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_delete_with_all_params(self, client: Cloudflare) -> None: service_token = client.zero_trust.access.service_tokens.delete( @@ -230,6 +247,7 @@ def test_method_delete_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ServiceToken], service_token, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.zero_trust.access.service_tokens.with_raw_response.delete( @@ -243,6 +261,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: service_token = response.parse() assert_matches_type(Optional[ServiceToken], service_token, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.zero_trust.access.service_tokens.with_streaming_response.delete( @@ -258,6 +277,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `uuid` but received ''"): @@ -281,6 +301,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_refresh(self, client: Cloudflare) -> None: service_token = client.zero_trust.access.service_tokens.refresh( @@ -289,6 +310,7 @@ def test_method_refresh(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ServiceToken], service_token, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_refresh(self, client: Cloudflare) -> None: response = client.zero_trust.access.service_tokens.with_raw_response.refresh( @@ -301,6 +323,7 @@ def test_raw_response_refresh(self, client: Cloudflare) -> None: service_token = response.parse() assert_matches_type(Optional[ServiceToken], service_token, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_refresh(self, client: Cloudflare) -> None: with client.zero_trust.access.service_tokens.with_streaming_response.refresh( @@ -315,6 +338,7 @@ def test_streaming_response_refresh(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_refresh(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `identifier` but received ''"): @@ -329,6 +353,7 @@ def test_path_params_refresh(self, client: Cloudflare) -> None: identifier="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize def test_method_rotate(self, client: Cloudflare) -> None: service_token = client.zero_trust.access.service_tokens.rotate( @@ -337,6 +362,7 @@ def test_method_rotate(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ServiceTokenRotateResponse], service_token, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_rotate(self, client: Cloudflare) -> None: response = client.zero_trust.access.service_tokens.with_raw_response.rotate( @@ -349,6 +375,7 @@ def test_raw_response_rotate(self, client: Cloudflare) -> None: service_token = response.parse() assert_matches_type(Optional[ServiceTokenRotateResponse], service_token, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_rotate(self, client: Cloudflare) -> None: with client.zero_trust.access.service_tokens.with_streaming_response.rotate( @@ -363,6 +390,7 @@ def test_streaming_response_rotate(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_rotate(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `identifier` but received ''"): @@ -381,6 +409,7 @@ def test_path_params_rotate(self, client: Cloudflare) -> None: class TestAsyncServiceTokens: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: service_token = await async_client.zero_trust.access.service_tokens.create( @@ -390,6 +419,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[ServiceTokenCreateResponse], service_token, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: service_token = await async_client.zero_trust.access.service_tokens.create( @@ -400,6 +430,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[ServiceTokenCreateResponse], service_token, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.access.service_tokens.with_raw_response.create( @@ -413,6 +444,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: service_token = await response.parse() assert_matches_type(Optional[ServiceTokenCreateResponse], service_token, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.access.service_tokens.with_streaming_response.create( @@ -428,6 +460,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -444,6 +477,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: service_token = await async_client.zero_trust.access.service_tokens.update( @@ -453,6 +487,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[ServiceToken], service_token, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: service_token = await async_client.zero_trust.access.service_tokens.update( @@ -464,6 +499,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[ServiceToken], service_token, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.access.service_tokens.with_raw_response.update( @@ -477,6 +513,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: service_token = await response.parse() assert_matches_type(Optional[ServiceToken], service_token, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.access.service_tokens.with_streaming_response.update( @@ -492,6 +529,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `uuid` but received ''"): @@ -515,6 +553,7 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: service_token = await async_client.zero_trust.access.service_tokens.list( @@ -523,6 +562,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[ServiceToken], service_token, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: service_token = await async_client.zero_trust.access.service_tokens.list( @@ -531,6 +571,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncSinglePage[ServiceToken], service_token, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.access.service_tokens.with_raw_response.list( @@ -543,6 +584,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: service_token = await response.parse() assert_matches_type(AsyncSinglePage[ServiceToken], service_token, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.access.service_tokens.with_streaming_response.list( @@ -557,6 +599,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -571,6 +614,7 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: service_token = await async_client.zero_trust.access.service_tokens.delete( @@ -580,6 +624,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[ServiceToken], service_token, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_delete_with_all_params(self, async_client: AsyncCloudflare) -> None: service_token = await async_client.zero_trust.access.service_tokens.delete( @@ -589,6 +634,7 @@ async def test_method_delete_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[ServiceToken], service_token, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.access.service_tokens.with_raw_response.delete( @@ -602,6 +648,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: service_token = await response.parse() assert_matches_type(Optional[ServiceToken], service_token, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.access.service_tokens.with_streaming_response.delete( @@ -617,6 +664,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `uuid` but received ''"): @@ -640,6 +688,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_refresh(self, async_client: AsyncCloudflare) -> None: service_token = await async_client.zero_trust.access.service_tokens.refresh( @@ -648,6 +697,7 @@ async def test_method_refresh(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[ServiceToken], service_token, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_refresh(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.access.service_tokens.with_raw_response.refresh( @@ -660,6 +710,7 @@ async def test_raw_response_refresh(self, async_client: AsyncCloudflare) -> None service_token = await response.parse() assert_matches_type(Optional[ServiceToken], service_token, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_refresh(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.access.service_tokens.with_streaming_response.refresh( @@ -674,6 +725,7 @@ async def test_streaming_response_refresh(self, async_client: AsyncCloudflare) - assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_refresh(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `identifier` but received ''"): @@ -688,6 +740,7 @@ async def test_path_params_refresh(self, async_client: AsyncCloudflare) -> None: identifier="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize async def test_method_rotate(self, async_client: AsyncCloudflare) -> None: service_token = await async_client.zero_trust.access.service_tokens.rotate( @@ -696,6 +749,7 @@ async def test_method_rotate(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[ServiceTokenRotateResponse], service_token, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_rotate(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.access.service_tokens.with_raw_response.rotate( @@ -708,6 +762,7 @@ async def test_raw_response_rotate(self, async_client: AsyncCloudflare) -> None: service_token = await response.parse() assert_matches_type(Optional[ServiceTokenRotateResponse], service_token, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_rotate(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.access.service_tokens.with_streaming_response.rotate( @@ -722,6 +777,7 @@ async def test_streaming_response_rotate(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_rotate(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `identifier` but received ''"): diff --git a/tests/api_resources/zero_trust/access/test_tags.py b/tests/api_resources/zero_trust/access/test_tags.py index c81e4b77bcb..f2a936811e9 100644 --- a/tests/api_resources/zero_trust/access/test_tags.py +++ b/tests/api_resources/zero_trust/access/test_tags.py @@ -18,6 +18,7 @@ class TestTags: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: tag = client.zero_trust.access.tags.create( @@ -26,6 +27,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Tag], tag, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.zero_trust.access.tags.with_raw_response.create( @@ -38,6 +40,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: tag = response.parse() assert_matches_type(Optional[Tag], tag, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.zero_trust.access.tags.with_streaming_response.create( @@ -52,6 +55,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `identifier` but received ''"): @@ -60,6 +64,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: name="engineers", ) + @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: tag = client.zero_trust.access.tags.update( @@ -69,6 +74,7 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Tag], tag, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.zero_trust.access.tags.with_raw_response.update( @@ -82,6 +88,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: tag = response.parse() assert_matches_type(Optional[Tag], tag, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.zero_trust.access.tags.with_streaming_response.update( @@ -97,6 +104,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `identifier` but received ''"): @@ -113,6 +121,7 @@ def test_path_params_update(self, client: Cloudflare) -> None: name="", ) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: tag = client.zero_trust.access.tags.list( @@ -120,6 +129,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[Tag], tag, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.zero_trust.access.tags.with_raw_response.list( @@ -131,6 +141,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: tag = response.parse() assert_matches_type(SyncSinglePage[Tag], tag, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.zero_trust.access.tags.with_streaming_response.list( @@ -144,6 +155,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `identifier` but received ''"): @@ -151,6 +163,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: "", ) + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: tag = client.zero_trust.access.tags.delete( @@ -159,6 +172,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[TagDeleteResponse], tag, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.zero_trust.access.tags.with_raw_response.delete( @@ -171,6 +185,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: tag = response.parse() assert_matches_type(Optional[TagDeleteResponse], tag, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.zero_trust.access.tags.with_streaming_response.delete( @@ -185,6 +200,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `identifier` but received ''"): @@ -199,6 +215,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: identifier="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: tag = client.zero_trust.access.tags.get( @@ -207,6 +224,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Tag], tag, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zero_trust.access.tags.with_raw_response.get( @@ -219,6 +237,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: tag = response.parse() assert_matches_type(Optional[Tag], tag, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zero_trust.access.tags.with_streaming_response.get( @@ -233,6 +252,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `identifier` but received ''"): @@ -251,6 +271,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncTags: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: tag = await async_client.zero_trust.access.tags.create( @@ -259,6 +280,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Tag], tag, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.access.tags.with_raw_response.create( @@ -271,6 +293,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: tag = await response.parse() assert_matches_type(Optional[Tag], tag, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.access.tags.with_streaming_response.create( @@ -285,6 +308,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `identifier` but received ''"): @@ -293,6 +317,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: name="engineers", ) + @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: tag = await async_client.zero_trust.access.tags.update( @@ -302,6 +327,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Tag], tag, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.access.tags.with_raw_response.update( @@ -315,6 +341,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: tag = await response.parse() assert_matches_type(Optional[Tag], tag, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.access.tags.with_streaming_response.update( @@ -330,6 +357,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `identifier` but received ''"): @@ -346,6 +374,7 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: name="", ) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: tag = await async_client.zero_trust.access.tags.list( @@ -353,6 +382,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[Tag], tag, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.access.tags.with_raw_response.list( @@ -364,6 +394,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: tag = await response.parse() assert_matches_type(AsyncSinglePage[Tag], tag, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.access.tags.with_streaming_response.list( @@ -377,6 +408,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `identifier` but received ''"): @@ -384,6 +416,7 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: "", ) + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: tag = await async_client.zero_trust.access.tags.delete( @@ -392,6 +425,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[TagDeleteResponse], tag, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.access.tags.with_raw_response.delete( @@ -404,6 +438,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: tag = await response.parse() assert_matches_type(Optional[TagDeleteResponse], tag, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.access.tags.with_streaming_response.delete( @@ -418,6 +453,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `identifier` but received ''"): @@ -432,6 +468,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: identifier="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: tag = await async_client.zero_trust.access.tags.get( @@ -440,6 +477,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Tag], tag, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.access.tags.with_raw_response.get( @@ -452,6 +490,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: tag = await response.parse() assert_matches_type(Optional[Tag], tag, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.access.tags.with_streaming_response.get( @@ -466,6 +505,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `identifier` but received ''"): diff --git a/tests/api_resources/zero_trust/access/test_users.py b/tests/api_resources/zero_trust/access/test_users.py index 502300c4919..15052076003 100644 --- a/tests/api_resources/zero_trust/access/test_users.py +++ b/tests/api_resources/zero_trust/access/test_users.py @@ -18,6 +18,7 @@ class TestUsers: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: user = client.zero_trust.access.users.list( @@ -25,6 +26,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[AccessUser], user, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.zero_trust.access.users.with_raw_response.list( @@ -36,6 +38,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: user = response.parse() assert_matches_type(SyncSinglePage[AccessUser], user, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.zero_trust.access.users.with_streaming_response.list( @@ -49,6 +52,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `identifier` but received ''"): @@ -60,6 +64,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: class TestAsyncUsers: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: user = await async_client.zero_trust.access.users.list( @@ -67,6 +72,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[AccessUser], user, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.access.users.with_raw_response.list( @@ -78,6 +84,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: user = await response.parse() assert_matches_type(AsyncSinglePage[AccessUser], user, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.access.users.with_streaming_response.list( @@ -91,6 +98,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `identifier` but received ''"): diff --git a/tests/api_resources/zero_trust/access/users/test_active_sessions.py b/tests/api_resources/zero_trust/access/users/test_active_sessions.py index 257192ec0de..c8013d80274 100644 --- a/tests/api_resources/zero_trust/access/users/test_active_sessions.py +++ b/tests/api_resources/zero_trust/access/users/test_active_sessions.py @@ -18,6 +18,7 @@ class TestActiveSessions: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: active_session = client.zero_trust.access.users.active_sessions.list( @@ -26,6 +27,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[ActiveSessionListResponse], active_session, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.zero_trust.access.users.active_sessions.with_raw_response.list( @@ -38,6 +40,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: active_session = response.parse() assert_matches_type(SyncSinglePage[ActiveSessionListResponse], active_session, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.zero_trust.access.users.active_sessions.with_streaming_response.list( @@ -52,6 +55,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `identifier` but received ''"): @@ -66,6 +70,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: identifier="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: active_session = client.zero_trust.access.users.active_sessions.get( @@ -75,6 +80,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ActiveSessionGetResponse], active_session, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zero_trust.access.users.active_sessions.with_raw_response.get( @@ -88,6 +94,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: active_session = response.parse() assert_matches_type(Optional[ActiveSessionGetResponse], active_session, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zero_trust.access.users.active_sessions.with_streaming_response.get( @@ -103,6 +110,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `identifier` but received ''"): @@ -130,6 +138,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncActiveSessions: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: active_session = await async_client.zero_trust.access.users.active_sessions.list( @@ -138,6 +147,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[ActiveSessionListResponse], active_session, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.access.users.active_sessions.with_raw_response.list( @@ -150,6 +160,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: active_session = await response.parse() assert_matches_type(AsyncSinglePage[ActiveSessionListResponse], active_session, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.access.users.active_sessions.with_streaming_response.list( @@ -164,6 +175,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `identifier` but received ''"): @@ -178,6 +190,7 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: identifier="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: active_session = await async_client.zero_trust.access.users.active_sessions.get( @@ -187,6 +200,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[ActiveSessionGetResponse], active_session, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.access.users.active_sessions.with_raw_response.get( @@ -200,6 +214,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: active_session = await response.parse() assert_matches_type(Optional[ActiveSessionGetResponse], active_session, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.access.users.active_sessions.with_streaming_response.get( @@ -215,6 +230,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `identifier` but received ''"): diff --git a/tests/api_resources/zero_trust/access/users/test_failed_logins.py b/tests/api_resources/zero_trust/access/users/test_failed_logins.py index 466bb95ca07..34259b8225d 100644 --- a/tests/api_resources/zero_trust/access/users/test_failed_logins.py +++ b/tests/api_resources/zero_trust/access/users/test_failed_logins.py @@ -18,6 +18,7 @@ class TestFailedLogins: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: failed_login = client.zero_trust.access.users.failed_logins.list( @@ -26,6 +27,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[FailedLoginListResponse], failed_login, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.zero_trust.access.users.failed_logins.with_raw_response.list( @@ -38,6 +40,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: failed_login = response.parse() assert_matches_type(SyncSinglePage[FailedLoginListResponse], failed_login, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.zero_trust.access.users.failed_logins.with_streaming_response.list( @@ -52,6 +55,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `identifier` but received ''"): @@ -70,6 +74,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: class TestAsyncFailedLogins: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: failed_login = await async_client.zero_trust.access.users.failed_logins.list( @@ -78,6 +83,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[FailedLoginListResponse], failed_login, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.access.users.failed_logins.with_raw_response.list( @@ -90,6 +96,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: failed_login = await response.parse() assert_matches_type(AsyncSinglePage[FailedLoginListResponse], failed_login, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.access.users.failed_logins.with_streaming_response.list( @@ -104,6 +111,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `identifier` but received ''"): diff --git a/tests/api_resources/zero_trust/access/users/test_last_seen_identity.py b/tests/api_resources/zero_trust/access/users/test_last_seen_identity.py index e23146df8d6..9b2f3fa96c4 100644 --- a/tests/api_resources/zero_trust/access/users/test_last_seen_identity.py +++ b/tests/api_resources/zero_trust/access/users/test_last_seen_identity.py @@ -17,6 +17,7 @@ class TestLastSeenIdentity: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: last_seen_identity = client.zero_trust.access.users.last_seen_identity.get( @@ -25,6 +26,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Identity], last_seen_identity, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zero_trust.access.users.last_seen_identity.with_raw_response.get( @@ -37,6 +39,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: last_seen_identity = response.parse() assert_matches_type(Optional[Identity], last_seen_identity, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zero_trust.access.users.last_seen_identity.with_streaming_response.get( @@ -51,6 +54,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `identifier` but received ''"): @@ -69,6 +73,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncLastSeenIdentity: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: last_seen_identity = await async_client.zero_trust.access.users.last_seen_identity.get( @@ -77,6 +82,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Identity], last_seen_identity, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.access.users.last_seen_identity.with_raw_response.get( @@ -89,6 +95,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: last_seen_identity = await response.parse() assert_matches_type(Optional[Identity], last_seen_identity, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.access.users.last_seen_identity.with_streaming_response.get( @@ -103,6 +110,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `identifier` but received ''"): diff --git a/tests/api_resources/zero_trust/devices/policies/test_default_policy.py b/tests/api_resources/zero_trust/devices/policies/test_default_policy.py index 51bc7a1bf6c..2257cd23f41 100644 --- a/tests/api_resources/zero_trust/devices/policies/test_default_policy.py +++ b/tests/api_resources/zero_trust/devices/policies/test_default_policy.py @@ -17,6 +17,7 @@ class TestDefaultPolicy: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: default_policy = client.zero_trust.devices.policies.default_policy.get( @@ -24,6 +25,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[DefaultPolicyGetResponse], default_policy, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zero_trust.devices.policies.default_policy.with_raw_response.get( @@ -35,6 +37,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: default_policy = response.parse() assert_matches_type(Optional[DefaultPolicyGetResponse], default_policy, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zero_trust.devices.policies.default_policy.with_streaming_response.get( @@ -48,6 +51,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -59,6 +63,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncDefaultPolicy: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: default_policy = await async_client.zero_trust.devices.policies.default_policy.get( @@ -66,6 +71,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[DefaultPolicyGetResponse], default_policy, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.devices.policies.default_policy.with_raw_response.get( @@ -77,6 +83,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: default_policy = await response.parse() assert_matches_type(Optional[DefaultPolicyGetResponse], default_policy, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.devices.policies.default_policy.with_streaming_response.get( @@ -90,6 +97,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/zero_trust/devices/policies/test_excludes.py b/tests/api_resources/zero_trust/devices/policies/test_excludes.py index b1a2f9aa2eb..fbdb2969e2c 100644 --- a/tests/api_resources/zero_trust/devices/policies/test_excludes.py +++ b/tests/api_resources/zero_trust/devices/policies/test_excludes.py @@ -22,6 +22,7 @@ class TestExcludes: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: exclude = client.zero_trust.devices.policies.excludes.update( @@ -43,6 +44,7 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ExcludeUpdateResponse], exclude, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.zero_trust.devices.policies.excludes.with_raw_response.update( @@ -68,6 +70,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: exclude = response.parse() assert_matches_type(Optional[ExcludeUpdateResponse], exclude, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.zero_trust.devices.policies.excludes.with_streaming_response.update( @@ -95,6 +98,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -116,6 +120,7 @@ def test_path_params_update(self, client: Cloudflare) -> None: ], ) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: exclude = client.zero_trust.devices.policies.excludes.list( @@ -123,6 +128,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[SplitTunnelExclude], exclude, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.zero_trust.devices.policies.excludes.with_raw_response.list( @@ -134,6 +140,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: exclude = response.parse() assert_matches_type(SyncSinglePage[SplitTunnelExclude], exclude, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.zero_trust.devices.policies.excludes.with_streaming_response.list( @@ -147,6 +154,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -154,6 +162,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: exclude = client.zero_trust.devices.policies.excludes.get( @@ -162,6 +171,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ExcludeGetResponse], exclude, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zero_trust.devices.policies.excludes.with_raw_response.get( @@ -174,6 +184,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: exclude = response.parse() assert_matches_type(Optional[ExcludeGetResponse], exclude, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zero_trust.devices.policies.excludes.with_streaming_response.get( @@ -188,6 +199,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -206,6 +218,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncExcludes: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: exclude = await async_client.zero_trust.devices.policies.excludes.update( @@ -227,6 +240,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[ExcludeUpdateResponse], exclude, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.devices.policies.excludes.with_raw_response.update( @@ -252,6 +266,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: exclude = await response.parse() assert_matches_type(Optional[ExcludeUpdateResponse], exclude, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.devices.policies.excludes.with_streaming_response.update( @@ -279,6 +294,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -300,6 +316,7 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: ], ) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: exclude = await async_client.zero_trust.devices.policies.excludes.list( @@ -307,6 +324,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[SplitTunnelExclude], exclude, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.devices.policies.excludes.with_raw_response.list( @@ -318,6 +336,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: exclude = await response.parse() assert_matches_type(AsyncSinglePage[SplitTunnelExclude], exclude, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.devices.policies.excludes.with_streaming_response.list( @@ -331,6 +350,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -338,6 +358,7 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: exclude = await async_client.zero_trust.devices.policies.excludes.get( @@ -346,6 +367,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[ExcludeGetResponse], exclude, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.devices.policies.excludes.with_raw_response.get( @@ -358,6 +380,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: exclude = await response.parse() assert_matches_type(Optional[ExcludeGetResponse], exclude, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.devices.policies.excludes.with_streaming_response.get( @@ -372,6 +395,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/zero_trust/devices/policies/test_fallback_domains.py b/tests/api_resources/zero_trust/devices/policies/test_fallback_domains.py index 353bee364cd..c23935cc023 100644 --- a/tests/api_resources/zero_trust/devices/policies/test_fallback_domains.py +++ b/tests/api_resources/zero_trust/devices/policies/test_fallback_domains.py @@ -22,6 +22,7 @@ class TestFallbackDomains: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: fallback_domain = client.zero_trust.devices.policies.fallback_domains.update( @@ -31,6 +32,7 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[FallbackDomainUpdateResponse], fallback_domain, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.zero_trust.devices.policies.fallback_domains.with_raw_response.update( @@ -44,6 +46,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: fallback_domain = response.parse() assert_matches_type(Optional[FallbackDomainUpdateResponse], fallback_domain, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.zero_trust.devices.policies.fallback_domains.with_streaming_response.update( @@ -59,6 +62,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -75,6 +79,7 @@ def test_path_params_update(self, client: Cloudflare) -> None: body=[{"suffix": "example.com"}, {"suffix": "example.com"}, {"suffix": "example.com"}], ) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: fallback_domain = client.zero_trust.devices.policies.fallback_domains.list( @@ -82,6 +87,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[FallbackDomain], fallback_domain, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.zero_trust.devices.policies.fallback_domains.with_raw_response.list( @@ -93,6 +99,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: fallback_domain = response.parse() assert_matches_type(SyncSinglePage[FallbackDomain], fallback_domain, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.zero_trust.devices.policies.fallback_domains.with_streaming_response.list( @@ -106,6 +113,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -113,6 +121,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: fallback_domain = client.zero_trust.devices.policies.fallback_domains.get( @@ -121,6 +130,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[FallbackDomainGetResponse], fallback_domain, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zero_trust.devices.policies.fallback_domains.with_raw_response.get( @@ -133,6 +143,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: fallback_domain = response.parse() assert_matches_type(Optional[FallbackDomainGetResponse], fallback_domain, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zero_trust.devices.policies.fallback_domains.with_streaming_response.get( @@ -147,6 +158,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -165,6 +177,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncFallbackDomains: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: fallback_domain = await async_client.zero_trust.devices.policies.fallback_domains.update( @@ -174,6 +187,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[FallbackDomainUpdateResponse], fallback_domain, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.devices.policies.fallback_domains.with_raw_response.update( @@ -187,6 +201,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: fallback_domain = await response.parse() assert_matches_type(Optional[FallbackDomainUpdateResponse], fallback_domain, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.devices.policies.fallback_domains.with_streaming_response.update( @@ -202,6 +217,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -218,6 +234,7 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: body=[{"suffix": "example.com"}, {"suffix": "example.com"}, {"suffix": "example.com"}], ) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: fallback_domain = await async_client.zero_trust.devices.policies.fallback_domains.list( @@ -225,6 +242,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[FallbackDomain], fallback_domain, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.devices.policies.fallback_domains.with_raw_response.list( @@ -236,6 +254,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: fallback_domain = await response.parse() assert_matches_type(AsyncSinglePage[FallbackDomain], fallback_domain, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.devices.policies.fallback_domains.with_streaming_response.list( @@ -249,6 +268,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -256,6 +276,7 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: fallback_domain = await async_client.zero_trust.devices.policies.fallback_domains.get( @@ -264,6 +285,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[FallbackDomainGetResponse], fallback_domain, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.devices.policies.fallback_domains.with_raw_response.get( @@ -276,6 +298,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: fallback_domain = await response.parse() assert_matches_type(Optional[FallbackDomainGetResponse], fallback_domain, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.devices.policies.fallback_domains.with_streaming_response.get( @@ -290,6 +313,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/zero_trust/devices/policies/test_includes.py b/tests/api_resources/zero_trust/devices/policies/test_includes.py index 76833b163c9..d17008e0558 100644 --- a/tests/api_resources/zero_trust/devices/policies/test_includes.py +++ b/tests/api_resources/zero_trust/devices/policies/test_includes.py @@ -22,6 +22,7 @@ class TestIncludes: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: include = client.zero_trust.devices.policies.includes.update( @@ -43,6 +44,7 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[IncludeUpdateResponse], include, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.zero_trust.devices.policies.includes.with_raw_response.update( @@ -68,6 +70,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: include = response.parse() assert_matches_type(Optional[IncludeUpdateResponse], include, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.zero_trust.devices.policies.includes.with_streaming_response.update( @@ -95,6 +98,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -116,6 +120,7 @@ def test_path_params_update(self, client: Cloudflare) -> None: ], ) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: include = client.zero_trust.devices.policies.includes.list( @@ -123,6 +128,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[SplitTunnelInclude], include, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.zero_trust.devices.policies.includes.with_raw_response.list( @@ -134,6 +140,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: include = response.parse() assert_matches_type(SyncSinglePage[SplitTunnelInclude], include, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.zero_trust.devices.policies.includes.with_streaming_response.list( @@ -147,6 +154,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -154,6 +162,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: include = client.zero_trust.devices.policies.includes.get( @@ -162,6 +171,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[IncludeGetResponse], include, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zero_trust.devices.policies.includes.with_raw_response.get( @@ -174,6 +184,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: include = response.parse() assert_matches_type(Optional[IncludeGetResponse], include, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zero_trust.devices.policies.includes.with_streaming_response.get( @@ -188,6 +199,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -206,6 +218,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncIncludes: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: include = await async_client.zero_trust.devices.policies.includes.update( @@ -227,6 +240,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[IncludeUpdateResponse], include, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.devices.policies.includes.with_raw_response.update( @@ -252,6 +266,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: include = await response.parse() assert_matches_type(Optional[IncludeUpdateResponse], include, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.devices.policies.includes.with_streaming_response.update( @@ -279,6 +294,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -300,6 +316,7 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: ], ) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: include = await async_client.zero_trust.devices.policies.includes.list( @@ -307,6 +324,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[SplitTunnelInclude], include, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.devices.policies.includes.with_raw_response.list( @@ -318,6 +336,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: include = await response.parse() assert_matches_type(AsyncSinglePage[SplitTunnelInclude], include, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.devices.policies.includes.with_streaming_response.list( @@ -331,6 +350,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -338,6 +358,7 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: include = await async_client.zero_trust.devices.policies.includes.get( @@ -346,6 +367,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[IncludeGetResponse], include, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.devices.policies.includes.with_raw_response.get( @@ -358,6 +380,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: include = await response.parse() assert_matches_type(Optional[IncludeGetResponse], include, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.devices.policies.includes.with_streaming_response.get( @@ -372,6 +395,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/zero_trust/devices/posture/test_integrations.py b/tests/api_resources/zero_trust/devices/posture/test_integrations.py index 5f09b583367..febee75d18a 100644 --- a/tests/api_resources/zero_trust/devices/posture/test_integrations.py +++ b/tests/api_resources/zero_trust/devices/posture/test_integrations.py @@ -21,6 +21,7 @@ class TestIntegrations: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: integration = client.zero_trust.devices.posture.integrations.create( @@ -37,6 +38,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Integration], integration, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: integration = client.zero_trust.devices.posture.integrations.create( @@ -53,6 +55,7 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Integration], integration, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.zero_trust.devices.posture.integrations.with_raw_response.create( @@ -73,6 +76,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: integration = response.parse() assert_matches_type(Optional[Integration], integration, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.zero_trust.devices.posture.integrations.with_streaming_response.create( @@ -95,6 +99,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -111,6 +116,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: type="workspace_one", ) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: integration = client.zero_trust.devices.posture.integrations.list( @@ -118,6 +124,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[Integration], integration, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.zero_trust.devices.posture.integrations.with_raw_response.list( @@ -129,6 +136,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: integration = response.parse() assert_matches_type(SyncSinglePage[Integration], integration, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.zero_trust.devices.posture.integrations.with_streaming_response.list( @@ -142,6 +150,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -149,6 +158,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: integration = client.zero_trust.devices.posture.integrations.delete( @@ -158,6 +168,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(IntegrationDeleteResponse, integration, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.zero_trust.devices.posture.integrations.with_raw_response.delete( @@ -171,6 +182,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: integration = response.parse() assert_matches_type(IntegrationDeleteResponse, integration, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.zero_trust.devices.posture.integrations.with_streaming_response.delete( @@ -186,6 +198,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -202,6 +215,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: integration = client.zero_trust.devices.posture.integrations.edit( @@ -210,6 +224,7 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Integration], integration, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_edit_with_all_params(self, client: Cloudflare) -> None: integration = client.zero_trust.devices.posture.integrations.edit( @@ -227,6 +242,7 @@ def test_method_edit_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Integration], integration, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.zero_trust.devices.posture.integrations.with_raw_response.edit( @@ -239,6 +255,7 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: integration = response.parse() assert_matches_type(Optional[Integration], integration, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.zero_trust.devices.posture.integrations.with_streaming_response.edit( @@ -253,6 +270,7 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -267,6 +285,7 @@ def test_path_params_edit(self, client: Cloudflare) -> None: account_id="699d98642c564d2e855e9661899b7252", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: integration = client.zero_trust.devices.posture.integrations.get( @@ -275,6 +294,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Integration], integration, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zero_trust.devices.posture.integrations.with_raw_response.get( @@ -287,6 +307,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: integration = response.parse() assert_matches_type(Optional[Integration], integration, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zero_trust.devices.posture.integrations.with_streaming_response.get( @@ -301,6 +322,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -319,6 +341,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncIntegrations: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: integration = await async_client.zero_trust.devices.posture.integrations.create( @@ -335,6 +358,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Integration], integration, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: integration = await async_client.zero_trust.devices.posture.integrations.create( @@ -351,6 +375,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[Integration], integration, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.devices.posture.integrations.with_raw_response.create( @@ -371,6 +396,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: integration = await response.parse() assert_matches_type(Optional[Integration], integration, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.devices.posture.integrations.with_streaming_response.create( @@ -393,6 +419,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -409,6 +436,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: type="workspace_one", ) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: integration = await async_client.zero_trust.devices.posture.integrations.list( @@ -416,6 +444,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[Integration], integration, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.devices.posture.integrations.with_raw_response.list( @@ -427,6 +456,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: integration = await response.parse() assert_matches_type(AsyncSinglePage[Integration], integration, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.devices.posture.integrations.with_streaming_response.list( @@ -440,6 +470,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -447,6 +478,7 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: integration = await async_client.zero_trust.devices.posture.integrations.delete( @@ -456,6 +488,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(IntegrationDeleteResponse, integration, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.devices.posture.integrations.with_raw_response.delete( @@ -469,6 +502,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: integration = await response.parse() assert_matches_type(IntegrationDeleteResponse, integration, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.devices.posture.integrations.with_streaming_response.delete( @@ -484,6 +518,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -500,6 +535,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: integration = await async_client.zero_trust.devices.posture.integrations.edit( @@ -508,6 +544,7 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Integration], integration, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) -> None: integration = await async_client.zero_trust.devices.posture.integrations.edit( @@ -525,6 +562,7 @@ async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(Optional[Integration], integration, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.devices.posture.integrations.with_raw_response.edit( @@ -537,6 +575,7 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: integration = await response.parse() assert_matches_type(Optional[Integration], integration, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.devices.posture.integrations.with_streaming_response.edit( @@ -551,6 +590,7 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -565,6 +605,7 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: account_id="699d98642c564d2e855e9661899b7252", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: integration = await async_client.zero_trust.devices.posture.integrations.get( @@ -573,6 +614,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Integration], integration, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.devices.posture.integrations.with_raw_response.get( @@ -585,6 +627,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: integration = await response.parse() assert_matches_type(Optional[Integration], integration, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.devices.posture.integrations.with_streaming_response.get( @@ -599,6 +642,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/zero_trust/devices/test_dex_tests.py b/tests/api_resources/zero_trust/devices/test_dex_tests.py index 314ea6a8316..67f1de6d899 100644 --- a/tests/api_resources/zero_trust/devices/test_dex_tests.py +++ b/tests/api_resources/zero_trust/devices/test_dex_tests.py @@ -21,6 +21,7 @@ class TestDEXTests: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: dex_test = client.zero_trust.devices.dex_tests.create( @@ -32,6 +33,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[SchemaHTTP], dex_test, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: dex_test = client.zero_trust.devices.dex_tests.create( @@ -66,6 +68,7 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[SchemaHTTP], dex_test, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.zero_trust.devices.dex_tests.with_raw_response.create( @@ -81,6 +84,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: dex_test = response.parse() assert_matches_type(Optional[SchemaHTTP], dex_test, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.zero_trust.devices.dex_tests.with_streaming_response.create( @@ -98,6 +102,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -109,6 +114,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: name="HTTP dash health check", ) + @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: dex_test = client.zero_trust.devices.dex_tests.update( @@ -121,6 +127,7 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[SchemaHTTP], dex_test, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: dex_test = client.zero_trust.devices.dex_tests.update( @@ -156,6 +163,7 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[SchemaHTTP], dex_test, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.zero_trust.devices.dex_tests.with_raw_response.update( @@ -172,6 +180,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: dex_test = response.parse() assert_matches_type(Optional[SchemaHTTP], dex_test, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.zero_trust.devices.dex_tests.with_streaming_response.update( @@ -190,6 +199,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -212,6 +222,7 @@ def test_path_params_update(self, client: Cloudflare) -> None: name="HTTP dash health check", ) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: dex_test = client.zero_trust.devices.dex_tests.list( @@ -219,6 +230,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[SchemaHTTP], dex_test, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.zero_trust.devices.dex_tests.with_raw_response.list( @@ -230,6 +242,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: dex_test = response.parse() assert_matches_type(SyncSinglePage[SchemaHTTP], dex_test, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.zero_trust.devices.dex_tests.with_streaming_response.list( @@ -243,6 +256,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -250,6 +264,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: dex_test = client.zero_trust.devices.dex_tests.delete( @@ -258,6 +273,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[DEXTestDeleteResponse], dex_test, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.zero_trust.devices.dex_tests.with_raw_response.delete( @@ -270,6 +286,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: dex_test = response.parse() assert_matches_type(Optional[DEXTestDeleteResponse], dex_test, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.zero_trust.devices.dex_tests.with_streaming_response.delete( @@ -284,6 +301,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -298,6 +316,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: account_id="699d98642c564d2e855e9661899b7252", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: dex_test = client.zero_trust.devices.dex_tests.get( @@ -306,6 +325,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[SchemaHTTP], dex_test, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zero_trust.devices.dex_tests.with_raw_response.get( @@ -318,6 +338,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: dex_test = response.parse() assert_matches_type(Optional[SchemaHTTP], dex_test, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zero_trust.devices.dex_tests.with_streaming_response.get( @@ -332,6 +353,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -350,6 +372,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncDEXTests: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: dex_test = await async_client.zero_trust.devices.dex_tests.create( @@ -361,6 +384,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[SchemaHTTP], dex_test, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: dex_test = await async_client.zero_trust.devices.dex_tests.create( @@ -395,6 +419,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[SchemaHTTP], dex_test, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.devices.dex_tests.with_raw_response.create( @@ -410,6 +435,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: dex_test = await response.parse() assert_matches_type(Optional[SchemaHTTP], dex_test, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.devices.dex_tests.with_streaming_response.create( @@ -427,6 +453,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -438,6 +465,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: name="HTTP dash health check", ) + @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: dex_test = await async_client.zero_trust.devices.dex_tests.update( @@ -450,6 +478,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[SchemaHTTP], dex_test, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: dex_test = await async_client.zero_trust.devices.dex_tests.update( @@ -485,6 +514,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[SchemaHTTP], dex_test, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.devices.dex_tests.with_raw_response.update( @@ -501,6 +531,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: dex_test = await response.parse() assert_matches_type(Optional[SchemaHTTP], dex_test, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.devices.dex_tests.with_streaming_response.update( @@ -519,6 +550,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -541,6 +573,7 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: name="HTTP dash health check", ) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: dex_test = await async_client.zero_trust.devices.dex_tests.list( @@ -548,6 +581,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[SchemaHTTP], dex_test, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.devices.dex_tests.with_raw_response.list( @@ -559,6 +593,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: dex_test = await response.parse() assert_matches_type(AsyncSinglePage[SchemaHTTP], dex_test, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.devices.dex_tests.with_streaming_response.list( @@ -572,6 +607,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -579,6 +615,7 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: dex_test = await async_client.zero_trust.devices.dex_tests.delete( @@ -587,6 +624,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[DEXTestDeleteResponse], dex_test, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.devices.dex_tests.with_raw_response.delete( @@ -599,6 +637,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: dex_test = await response.parse() assert_matches_type(Optional[DEXTestDeleteResponse], dex_test, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.devices.dex_tests.with_streaming_response.delete( @@ -613,6 +652,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -627,6 +667,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: account_id="699d98642c564d2e855e9661899b7252", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: dex_test = await async_client.zero_trust.devices.dex_tests.get( @@ -635,6 +676,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[SchemaHTTP], dex_test, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.devices.dex_tests.with_raw_response.get( @@ -647,6 +689,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: dex_test = await response.parse() assert_matches_type(Optional[SchemaHTTP], dex_test, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.devices.dex_tests.with_streaming_response.get( @@ -661,6 +704,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/zero_trust/devices/test_networks.py b/tests/api_resources/zero_trust/devices/test_networks.py index ac9b0718df7..945e63aff1f 100644 --- a/tests/api_resources/zero_trust/devices/test_networks.py +++ b/tests/api_resources/zero_trust/devices/test_networks.py @@ -21,6 +21,7 @@ class TestNetworks: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: network = client.zero_trust.devices.networks.create( @@ -31,6 +32,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[DeviceNetwork], network, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: network = client.zero_trust.devices.networks.create( @@ -44,6 +46,7 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[DeviceNetwork], network, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.zero_trust.devices.networks.with_raw_response.create( @@ -58,6 +61,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: network = response.parse() assert_matches_type(Optional[DeviceNetwork], network, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.zero_trust.devices.networks.with_streaming_response.create( @@ -74,6 +78,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -84,6 +89,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: type="tls", ) + @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: network = client.zero_trust.devices.networks.update( @@ -92,6 +98,7 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[DeviceNetwork], network, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: network = client.zero_trust.devices.networks.update( @@ -106,6 +113,7 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[DeviceNetwork], network, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.zero_trust.devices.networks.with_raw_response.update( @@ -118,6 +126,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: network = response.parse() assert_matches_type(Optional[DeviceNetwork], network, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.zero_trust.devices.networks.with_streaming_response.update( @@ -132,6 +141,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -146,6 +156,7 @@ def test_path_params_update(self, client: Cloudflare) -> None: account_id="699d98642c564d2e855e9661899b7252", ) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: network = client.zero_trust.devices.networks.list( @@ -153,6 +164,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[DeviceNetwork], network, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.zero_trust.devices.networks.with_raw_response.list( @@ -164,6 +176,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: network = response.parse() assert_matches_type(SyncSinglePage[DeviceNetwork], network, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.zero_trust.devices.networks.with_streaming_response.list( @@ -177,6 +190,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -184,6 +198,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: network = client.zero_trust.devices.networks.delete( @@ -193,6 +208,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[NetworkDeleteResponse], network, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.zero_trust.devices.networks.with_raw_response.delete( @@ -206,6 +222,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: network = response.parse() assert_matches_type(Optional[NetworkDeleteResponse], network, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.zero_trust.devices.networks.with_streaming_response.delete( @@ -221,6 +238,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -237,6 +255,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: network = client.zero_trust.devices.networks.get( @@ -245,6 +264,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[DeviceNetwork], network, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zero_trust.devices.networks.with_raw_response.get( @@ -257,6 +277,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: network = response.parse() assert_matches_type(Optional[DeviceNetwork], network, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zero_trust.devices.networks.with_streaming_response.get( @@ -271,6 +292,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -289,6 +311,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncNetworks: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: network = await async_client.zero_trust.devices.networks.create( @@ -299,6 +322,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[DeviceNetwork], network, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: network = await async_client.zero_trust.devices.networks.create( @@ -312,6 +336,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[DeviceNetwork], network, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.devices.networks.with_raw_response.create( @@ -326,6 +351,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: network = await response.parse() assert_matches_type(Optional[DeviceNetwork], network, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.devices.networks.with_streaming_response.create( @@ -342,6 +368,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -352,6 +379,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: type="tls", ) + @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: network = await async_client.zero_trust.devices.networks.update( @@ -360,6 +388,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[DeviceNetwork], network, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: network = await async_client.zero_trust.devices.networks.update( @@ -374,6 +403,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[DeviceNetwork], network, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.devices.networks.with_raw_response.update( @@ -386,6 +416,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: network = await response.parse() assert_matches_type(Optional[DeviceNetwork], network, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.devices.networks.with_streaming_response.update( @@ -400,6 +431,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -414,6 +446,7 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: account_id="699d98642c564d2e855e9661899b7252", ) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: network = await async_client.zero_trust.devices.networks.list( @@ -421,6 +454,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[DeviceNetwork], network, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.devices.networks.with_raw_response.list( @@ -432,6 +466,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: network = await response.parse() assert_matches_type(AsyncSinglePage[DeviceNetwork], network, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.devices.networks.with_streaming_response.list( @@ -445,6 +480,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -452,6 +488,7 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: network = await async_client.zero_trust.devices.networks.delete( @@ -461,6 +498,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[NetworkDeleteResponse], network, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.devices.networks.with_raw_response.delete( @@ -474,6 +512,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: network = await response.parse() assert_matches_type(Optional[NetworkDeleteResponse], network, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.devices.networks.with_streaming_response.delete( @@ -489,6 +528,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -505,6 +545,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: network = await async_client.zero_trust.devices.networks.get( @@ -513,6 +554,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[DeviceNetwork], network, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.devices.networks.with_raw_response.get( @@ -525,6 +567,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: network = await response.parse() assert_matches_type(Optional[DeviceNetwork], network, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.devices.networks.with_streaming_response.get( @@ -539,6 +582,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/zero_trust/devices/test_override_codes.py b/tests/api_resources/zero_trust/devices/test_override_codes.py index c7ee58f5b0d..dd12c6a6af2 100644 --- a/tests/api_resources/zero_trust/devices/test_override_codes.py +++ b/tests/api_resources/zero_trust/devices/test_override_codes.py @@ -17,6 +17,7 @@ class TestOverrideCodes: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: override_code = client.zero_trust.devices.override_codes.list( @@ -25,6 +26,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[OverrideCodeListResponse], override_code, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.zero_trust.devices.override_codes.with_raw_response.list( @@ -37,6 +39,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: override_code = response.parse() assert_matches_type(Optional[OverrideCodeListResponse], override_code, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.zero_trust.devices.override_codes.with_streaming_response.list( @@ -51,6 +54,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -69,6 +73,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: class TestAsyncOverrideCodes: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: override_code = await async_client.zero_trust.devices.override_codes.list( @@ -77,6 +82,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[OverrideCodeListResponse], override_code, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.devices.override_codes.with_raw_response.list( @@ -89,6 +95,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: override_code = await response.parse() assert_matches_type(Optional[OverrideCodeListResponse], override_code, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.devices.override_codes.with_streaming_response.list( @@ -103,6 +110,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/zero_trust/devices/test_policies.py b/tests/api_resources/zero_trust/devices/test_policies.py index cd32f10a134..8400c293aa1 100644 --- a/tests/api_resources/zero_trust/devices/test_policies.py +++ b/tests/api_resources/zero_trust/devices/test_policies.py @@ -21,6 +21,7 @@ class TestPolicies: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: policy = client.zero_trust.devices.policies.create( @@ -31,6 +32,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[SettingsPolicy], policy, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: policy = client.zero_trust.devices.policies.create( @@ -58,6 +60,7 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[SettingsPolicy], policy, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.zero_trust.devices.policies.with_raw_response.create( @@ -72,6 +75,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: policy = response.parse() assert_matches_type(Optional[SettingsPolicy], policy, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.zero_trust.devices.policies.with_streaming_response.create( @@ -88,6 +92,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -98,6 +103,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: precedence=100, ) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: policy = client.zero_trust.devices.policies.list( @@ -105,6 +111,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[SettingsPolicy], policy, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.zero_trust.devices.policies.with_raw_response.list( @@ -116,6 +123,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: policy = response.parse() assert_matches_type(SyncSinglePage[SettingsPolicy], policy, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.zero_trust.devices.policies.with_streaming_response.list( @@ -129,6 +137,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -136,6 +145,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: policy = client.zero_trust.devices.policies.delete( @@ -145,6 +155,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[PolicyDeleteResponse], policy, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.zero_trust.devices.policies.with_raw_response.delete( @@ -158,6 +169,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: policy = response.parse() assert_matches_type(Optional[PolicyDeleteResponse], policy, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.zero_trust.devices.policies.with_streaming_response.delete( @@ -173,6 +185,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -189,6 +202,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: policy = client.zero_trust.devices.policies.edit( @@ -197,6 +211,7 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[SettingsPolicy], policy, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_edit_with_all_params(self, client: Cloudflare) -> None: policy = client.zero_trust.devices.policies.edit( @@ -223,6 +238,7 @@ def test_method_edit_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[SettingsPolicy], policy, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.zero_trust.devices.policies.with_raw_response.edit( @@ -235,6 +251,7 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: policy = response.parse() assert_matches_type(Optional[SettingsPolicy], policy, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.zero_trust.devices.policies.with_streaming_response.edit( @@ -249,6 +266,7 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -263,6 +281,7 @@ def test_path_params_edit(self, client: Cloudflare) -> None: account_id="699d98642c564d2e855e9661899b7252", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: policy = client.zero_trust.devices.policies.get( @@ -271,6 +290,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[SettingsPolicy], policy, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zero_trust.devices.policies.with_raw_response.get( @@ -283,6 +303,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: policy = response.parse() assert_matches_type(Optional[SettingsPolicy], policy, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zero_trust.devices.policies.with_streaming_response.get( @@ -297,6 +318,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -315,6 +337,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncPolicies: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: policy = await async_client.zero_trust.devices.policies.create( @@ -325,6 +348,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[SettingsPolicy], policy, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: policy = await async_client.zero_trust.devices.policies.create( @@ -352,6 +376,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[SettingsPolicy], policy, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.devices.policies.with_raw_response.create( @@ -366,6 +391,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: policy = await response.parse() assert_matches_type(Optional[SettingsPolicy], policy, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.devices.policies.with_streaming_response.create( @@ -382,6 +408,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -392,6 +419,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: precedence=100, ) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: policy = await async_client.zero_trust.devices.policies.list( @@ -399,6 +427,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[SettingsPolicy], policy, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.devices.policies.with_raw_response.list( @@ -410,6 +439,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: policy = await response.parse() assert_matches_type(AsyncSinglePage[SettingsPolicy], policy, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.devices.policies.with_streaming_response.list( @@ -423,6 +453,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -430,6 +461,7 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: policy = await async_client.zero_trust.devices.policies.delete( @@ -439,6 +471,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[PolicyDeleteResponse], policy, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.devices.policies.with_raw_response.delete( @@ -452,6 +485,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: policy = await response.parse() assert_matches_type(Optional[PolicyDeleteResponse], policy, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.devices.policies.with_streaming_response.delete( @@ -467,6 +501,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -483,6 +518,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: policy = await async_client.zero_trust.devices.policies.edit( @@ -491,6 +527,7 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[SettingsPolicy], policy, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) -> None: policy = await async_client.zero_trust.devices.policies.edit( @@ -517,6 +554,7 @@ async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(Optional[SettingsPolicy], policy, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.devices.policies.with_raw_response.edit( @@ -529,6 +567,7 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: policy = await response.parse() assert_matches_type(Optional[SettingsPolicy], policy, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.devices.policies.with_streaming_response.edit( @@ -543,6 +582,7 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -557,6 +597,7 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: account_id="699d98642c564d2e855e9661899b7252", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: policy = await async_client.zero_trust.devices.policies.get( @@ -565,6 +606,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[SettingsPolicy], policy, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.devices.policies.with_raw_response.get( @@ -577,6 +619,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: policy = await response.parse() assert_matches_type(Optional[SettingsPolicy], policy, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.devices.policies.with_streaming_response.get( @@ -591,6 +634,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/zero_trust/devices/test_posture.py b/tests/api_resources/zero_trust/devices/test_posture.py index 6fbcb0c95ad..dd5f8e84962 100644 --- a/tests/api_resources/zero_trust/devices/test_posture.py +++ b/tests/api_resources/zero_trust/devices/test_posture.py @@ -21,6 +21,7 @@ class TestPosture: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: posture = client.zero_trust.devices.posture.create( @@ -30,6 +31,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[DevicePostureRule], posture, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: posture = client.zero_trust.devices.posture.create( @@ -50,6 +52,7 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[DevicePostureRule], posture, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.zero_trust.devices.posture.with_raw_response.create( @@ -63,6 +66,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: posture = response.parse() assert_matches_type(Optional[DevicePostureRule], posture, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.zero_trust.devices.posture.with_streaming_response.create( @@ -78,6 +82,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -87,6 +92,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: type="file", ) + @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: posture = client.zero_trust.devices.posture.update( @@ -97,6 +103,7 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[DevicePostureRule], posture, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: posture = client.zero_trust.devices.posture.update( @@ -118,6 +125,7 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[DevicePostureRule], posture, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.zero_trust.devices.posture.with_raw_response.update( @@ -132,6 +140,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: posture = response.parse() assert_matches_type(Optional[DevicePostureRule], posture, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.zero_trust.devices.posture.with_streaming_response.update( @@ -148,6 +157,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -166,6 +176,7 @@ def test_path_params_update(self, client: Cloudflare) -> None: type="file", ) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: posture = client.zero_trust.devices.posture.list( @@ -173,6 +184,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[DevicePostureRule], posture, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.zero_trust.devices.posture.with_raw_response.list( @@ -184,6 +196,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: posture = response.parse() assert_matches_type(SyncSinglePage[DevicePostureRule], posture, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.zero_trust.devices.posture.with_streaming_response.list( @@ -197,6 +210,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -204,6 +218,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: posture = client.zero_trust.devices.posture.delete( @@ -213,6 +228,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[PostureDeleteResponse], posture, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.zero_trust.devices.posture.with_raw_response.delete( @@ -226,6 +242,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: posture = response.parse() assert_matches_type(Optional[PostureDeleteResponse], posture, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.zero_trust.devices.posture.with_streaming_response.delete( @@ -241,6 +258,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -257,6 +275,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: posture = client.zero_trust.devices.posture.get( @@ -265,6 +284,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[DevicePostureRule], posture, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zero_trust.devices.posture.with_raw_response.get( @@ -277,6 +297,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: posture = response.parse() assert_matches_type(Optional[DevicePostureRule], posture, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zero_trust.devices.posture.with_streaming_response.get( @@ -291,6 +312,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -309,6 +331,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncPosture: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: posture = await async_client.zero_trust.devices.posture.create( @@ -318,6 +341,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[DevicePostureRule], posture, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: posture = await async_client.zero_trust.devices.posture.create( @@ -338,6 +362,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[DevicePostureRule], posture, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.devices.posture.with_raw_response.create( @@ -351,6 +376,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: posture = await response.parse() assert_matches_type(Optional[DevicePostureRule], posture, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.devices.posture.with_streaming_response.create( @@ -366,6 +392,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -375,6 +402,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: type="file", ) + @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: posture = await async_client.zero_trust.devices.posture.update( @@ -385,6 +413,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[DevicePostureRule], posture, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: posture = await async_client.zero_trust.devices.posture.update( @@ -406,6 +435,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[DevicePostureRule], posture, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.devices.posture.with_raw_response.update( @@ -420,6 +450,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: posture = await response.parse() assert_matches_type(Optional[DevicePostureRule], posture, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.devices.posture.with_streaming_response.update( @@ -436,6 +467,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -454,6 +486,7 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: type="file", ) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: posture = await async_client.zero_trust.devices.posture.list( @@ -461,6 +494,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[DevicePostureRule], posture, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.devices.posture.with_raw_response.list( @@ -472,6 +506,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: posture = await response.parse() assert_matches_type(AsyncSinglePage[DevicePostureRule], posture, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.devices.posture.with_streaming_response.list( @@ -485,6 +520,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -492,6 +528,7 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: posture = await async_client.zero_trust.devices.posture.delete( @@ -501,6 +538,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[PostureDeleteResponse], posture, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.devices.posture.with_raw_response.delete( @@ -514,6 +552,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: posture = await response.parse() assert_matches_type(Optional[PostureDeleteResponse], posture, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.devices.posture.with_streaming_response.delete( @@ -529,6 +568,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -545,6 +585,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: posture = await async_client.zero_trust.devices.posture.get( @@ -553,6 +594,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[DevicePostureRule], posture, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.devices.posture.with_raw_response.get( @@ -565,6 +607,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: posture = await response.parse() assert_matches_type(Optional[DevicePostureRule], posture, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.devices.posture.with_streaming_response.get( @@ -579,6 +622,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/zero_trust/devices/test_revoke.py b/tests/api_resources/zero_trust/devices/test_revoke.py index 27aa2002b99..450ed115f7a 100644 --- a/tests/api_resources/zero_trust/devices/test_revoke.py +++ b/tests/api_resources/zero_trust/devices/test_revoke.py @@ -17,6 +17,7 @@ class TestRevoke: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: revoke = client.zero_trust.devices.revoke.create( @@ -29,6 +30,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(RevokeCreateResponse, revoke, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.zero_trust.devices.revoke.with_raw_response.create( @@ -45,6 +47,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: revoke = response.parse() assert_matches_type(RevokeCreateResponse, revoke, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.zero_trust.devices.revoke.with_streaming_response.create( @@ -63,6 +66,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -79,6 +83,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: class TestAsyncRevoke: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: revoke = await async_client.zero_trust.devices.revoke.create( @@ -91,6 +96,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(RevokeCreateResponse, revoke, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.devices.revoke.with_raw_response.create( @@ -107,6 +113,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: revoke = await response.parse() assert_matches_type(RevokeCreateResponse, revoke, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.devices.revoke.with_streaming_response.create( @@ -125,6 +132,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/zero_trust/devices/test_settings.py b/tests/api_resources/zero_trust/devices/test_settings.py index 398d23683a3..4223ebeeecb 100644 --- a/tests/api_resources/zero_trust/devices/test_settings.py +++ b/tests/api_resources/zero_trust/devices/test_settings.py @@ -17,6 +17,7 @@ class TestSettings: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: setting = client.zero_trust.devices.settings.update( @@ -24,6 +25,7 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[DeviceSettings], setting, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: setting = client.zero_trust.devices.settings.update( @@ -35,6 +37,7 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[DeviceSettings], setting, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.zero_trust.devices.settings.with_raw_response.update( @@ -46,6 +49,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: setting = response.parse() assert_matches_type(Optional[DeviceSettings], setting, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.zero_trust.devices.settings.with_streaming_response.update( @@ -59,6 +63,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -66,6 +71,7 @@ def test_path_params_update(self, client: Cloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: setting = client.zero_trust.devices.settings.list( @@ -73,6 +79,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[DeviceSettings], setting, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.zero_trust.devices.settings.with_raw_response.list( @@ -84,6 +91,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: setting = response.parse() assert_matches_type(Optional[DeviceSettings], setting, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.zero_trust.devices.settings.with_streaming_response.list( @@ -97,6 +105,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -108,6 +117,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: class TestAsyncSettings: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: setting = await async_client.zero_trust.devices.settings.update( @@ -115,6 +125,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[DeviceSettings], setting, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: setting = await async_client.zero_trust.devices.settings.update( @@ -126,6 +137,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[DeviceSettings], setting, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.devices.settings.with_raw_response.update( @@ -137,6 +149,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: setting = await response.parse() assert_matches_type(Optional[DeviceSettings], setting, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.devices.settings.with_streaming_response.update( @@ -150,6 +163,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -157,6 +171,7 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: setting = await async_client.zero_trust.devices.settings.list( @@ -164,6 +179,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[DeviceSettings], setting, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.devices.settings.with_raw_response.list( @@ -175,6 +191,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: setting = await response.parse() assert_matches_type(Optional[DeviceSettings], setting, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.devices.settings.with_streaming_response.list( @@ -188,6 +205,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/zero_trust/devices/test_unrevoke.py b/tests/api_resources/zero_trust/devices/test_unrevoke.py index f3b7f43a733..1734c9f55fd 100644 --- a/tests/api_resources/zero_trust/devices/test_unrevoke.py +++ b/tests/api_resources/zero_trust/devices/test_unrevoke.py @@ -17,6 +17,7 @@ class TestUnrevoke: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: unrevoke = client.zero_trust.devices.unrevoke.create( @@ -29,6 +30,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(UnrevokeCreateResponse, unrevoke, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.zero_trust.devices.unrevoke.with_raw_response.create( @@ -45,6 +47,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: unrevoke = response.parse() assert_matches_type(UnrevokeCreateResponse, unrevoke, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.zero_trust.devices.unrevoke.with_streaming_response.create( @@ -63,6 +66,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -79,6 +83,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: class TestAsyncUnrevoke: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: unrevoke = await async_client.zero_trust.devices.unrevoke.create( @@ -91,6 +96,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(UnrevokeCreateResponse, unrevoke, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.devices.unrevoke.with_raw_response.create( @@ -107,6 +113,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: unrevoke = await response.parse() assert_matches_type(UnrevokeCreateResponse, unrevoke, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.devices.unrevoke.with_streaming_response.create( @@ -125,6 +132,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/zero_trust/dex/fleet_status/test_devices.py b/tests/api_resources/zero_trust/dex/fleet_status/test_devices.py index dedc10273be..6c300ed53f7 100644 --- a/tests/api_resources/zero_trust/dex/fleet_status/test_devices.py +++ b/tests/api_resources/zero_trust/dex/fleet_status/test_devices.py @@ -18,6 +18,7 @@ class TestDevices: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: device = client.zero_trust.dex.fleet_status.devices.list( @@ -29,6 +30,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePaginationArray[DeviceListResponse], device, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: device = client.zero_trust.dex.fleet_status.devices.list( @@ -47,6 +49,7 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePaginationArray[DeviceListResponse], device, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.zero_trust.dex.fleet_status.devices.with_raw_response.list( @@ -62,6 +65,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: device = response.parse() assert_matches_type(SyncV4PagePaginationArray[DeviceListResponse], device, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.zero_trust.dex.fleet_status.devices.with_streaming_response.list( @@ -79,6 +83,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -94,6 +99,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: class TestAsyncDevices: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: device = await async_client.zero_trust.dex.fleet_status.devices.list( @@ -105,6 +111,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncV4PagePaginationArray[DeviceListResponse], device, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: device = await async_client.zero_trust.dex.fleet_status.devices.list( @@ -123,6 +130,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncV4PagePaginationArray[DeviceListResponse], device, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.dex.fleet_status.devices.with_raw_response.list( @@ -138,6 +146,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: device = await response.parse() assert_matches_type(AsyncV4PagePaginationArray[DeviceListResponse], device, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.dex.fleet_status.devices.with_streaming_response.list( @@ -155,6 +164,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/zero_trust/dex/http_tests/test_percentiles.py b/tests/api_resources/zero_trust/dex/http_tests/test_percentiles.py index 417e9fe4ec4..44f1f6f210b 100644 --- a/tests/api_resources/zero_trust/dex/http_tests/test_percentiles.py +++ b/tests/api_resources/zero_trust/dex/http_tests/test_percentiles.py @@ -17,6 +17,7 @@ class TestPercentiles: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: percentile = client.zero_trust.dex.http_tests.percentiles.get( @@ -27,6 +28,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[HTTPDetailsPercentiles], percentile, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: percentile = client.zero_trust.dex.http_tests.percentiles.get( @@ -39,6 +41,7 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[HTTPDetailsPercentiles], percentile, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zero_trust.dex.http_tests.percentiles.with_raw_response.get( @@ -53,6 +56,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: percentile = response.parse() assert_matches_type(Optional[HTTPDetailsPercentiles], percentile, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zero_trust.dex.http_tests.percentiles.with_streaming_response.get( @@ -69,6 +73,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -91,6 +96,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncPercentiles: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: percentile = await async_client.zero_trust.dex.http_tests.percentiles.get( @@ -101,6 +107,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[HTTPDetailsPercentiles], percentile, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: percentile = await async_client.zero_trust.dex.http_tests.percentiles.get( @@ -113,6 +120,7 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(Optional[HTTPDetailsPercentiles], percentile, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.dex.http_tests.percentiles.with_raw_response.get( @@ -127,6 +135,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: percentile = await response.parse() assert_matches_type(Optional[HTTPDetailsPercentiles], percentile, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.dex.http_tests.percentiles.with_streaming_response.get( @@ -143,6 +152,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/zero_trust/dex/test_colos.py b/tests/api_resources/zero_trust/dex/test_colos.py index ea3b48d65ae..2a700707496 100644 --- a/tests/api_resources/zero_trust/dex/test_colos.py +++ b/tests/api_resources/zero_trust/dex/test_colos.py @@ -17,6 +17,7 @@ class TestColos: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: colo = client.zero_trust.dex.colos.list( @@ -26,6 +27,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[object], colo, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: colo = client.zero_trust.dex.colos.list( @@ -36,6 +38,7 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[object], colo, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.zero_trust.dex.colos.with_raw_response.list( @@ -49,6 +52,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: colo = response.parse() assert_matches_type(SyncSinglePage[object], colo, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.zero_trust.dex.colos.with_streaming_response.list( @@ -64,6 +68,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -77,6 +82,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: class TestAsyncColos: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: colo = await async_client.zero_trust.dex.colos.list( @@ -86,6 +92,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[object], colo, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: colo = await async_client.zero_trust.dex.colos.list( @@ -96,6 +103,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncSinglePage[object], colo, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.dex.colos.with_raw_response.list( @@ -109,6 +117,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: colo = await response.parse() assert_matches_type(AsyncSinglePage[object], colo, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.dex.colos.with_streaming_response.list( @@ -124,6 +133,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/zero_trust/dex/test_fleet_status.py b/tests/api_resources/zero_trust/dex/test_fleet_status.py index c8810f5404b..0a360ca83d5 100644 --- a/tests/api_resources/zero_trust/dex/test_fleet_status.py +++ b/tests/api_resources/zero_trust/dex/test_fleet_status.py @@ -19,6 +19,7 @@ class TestFleetStatus: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_live(self, client: Cloudflare) -> None: fleet_status = client.zero_trust.dex.fleet_status.live( @@ -27,6 +28,7 @@ def test_method_live(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[FleetStatusLiveResponse], fleet_status, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_live(self, client: Cloudflare) -> None: response = client.zero_trust.dex.fleet_status.with_raw_response.live( @@ -39,6 +41,7 @@ def test_raw_response_live(self, client: Cloudflare) -> None: fleet_status = response.parse() assert_matches_type(Optional[FleetStatusLiveResponse], fleet_status, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_live(self, client: Cloudflare) -> None: with client.zero_trust.dex.fleet_status.with_streaming_response.live( @@ -53,6 +56,7 @@ def test_streaming_response_live(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_live(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -61,6 +65,7 @@ def test_path_params_live(self, client: Cloudflare) -> None: since_minutes=10, ) + @pytest.mark.skip() @parametrize def test_method_over_time(self, client: Cloudflare) -> None: fleet_status = client.zero_trust.dex.fleet_status.over_time( @@ -70,6 +75,7 @@ def test_method_over_time(self, client: Cloudflare) -> None: ) assert fleet_status is None + @pytest.mark.skip() @parametrize def test_method_over_time_with_all_params(self, client: Cloudflare) -> None: fleet_status = client.zero_trust.dex.fleet_status.over_time( @@ -81,6 +87,7 @@ def test_method_over_time_with_all_params(self, client: Cloudflare) -> None: ) assert fleet_status is None + @pytest.mark.skip() @parametrize def test_raw_response_over_time(self, client: Cloudflare) -> None: response = client.zero_trust.dex.fleet_status.with_raw_response.over_time( @@ -94,6 +101,7 @@ def test_raw_response_over_time(self, client: Cloudflare) -> None: fleet_status = response.parse() assert fleet_status is None + @pytest.mark.skip() @parametrize def test_streaming_response_over_time(self, client: Cloudflare) -> None: with client.zero_trust.dex.fleet_status.with_streaming_response.over_time( @@ -109,6 +117,7 @@ def test_streaming_response_over_time(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_over_time(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -122,6 +131,7 @@ def test_path_params_over_time(self, client: Cloudflare) -> None: class TestAsyncFleetStatus: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_live(self, async_client: AsyncCloudflare) -> None: fleet_status = await async_client.zero_trust.dex.fleet_status.live( @@ -130,6 +140,7 @@ async def test_method_live(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[FleetStatusLiveResponse], fleet_status, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_live(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.dex.fleet_status.with_raw_response.live( @@ -142,6 +153,7 @@ async def test_raw_response_live(self, async_client: AsyncCloudflare) -> None: fleet_status = await response.parse() assert_matches_type(Optional[FleetStatusLiveResponse], fleet_status, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_live(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.dex.fleet_status.with_streaming_response.live( @@ -156,6 +168,7 @@ async def test_streaming_response_live(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_live(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -164,6 +177,7 @@ async def test_path_params_live(self, async_client: AsyncCloudflare) -> None: since_minutes=10, ) + @pytest.mark.skip() @parametrize async def test_method_over_time(self, async_client: AsyncCloudflare) -> None: fleet_status = await async_client.zero_trust.dex.fleet_status.over_time( @@ -173,6 +187,7 @@ async def test_method_over_time(self, async_client: AsyncCloudflare) -> None: ) assert fleet_status is None + @pytest.mark.skip() @parametrize async def test_method_over_time_with_all_params(self, async_client: AsyncCloudflare) -> None: fleet_status = await async_client.zero_trust.dex.fleet_status.over_time( @@ -184,6 +199,7 @@ async def test_method_over_time_with_all_params(self, async_client: AsyncCloudfl ) assert fleet_status is None + @pytest.mark.skip() @parametrize async def test_raw_response_over_time(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.dex.fleet_status.with_raw_response.over_time( @@ -197,6 +213,7 @@ async def test_raw_response_over_time(self, async_client: AsyncCloudflare) -> No fleet_status = await response.parse() assert fleet_status is None + @pytest.mark.skip() @parametrize async def test_streaming_response_over_time(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.dex.fleet_status.with_streaming_response.over_time( @@ -212,6 +229,7 @@ async def test_streaming_response_over_time(self, async_client: AsyncCloudflare) assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_over_time(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/zero_trust/dex/test_http_tests.py b/tests/api_resources/zero_trust/dex/test_http_tests.py index d0779995517..1bee3b8453a 100644 --- a/tests/api_resources/zero_trust/dex/test_http_tests.py +++ b/tests/api_resources/zero_trust/dex/test_http_tests.py @@ -17,6 +17,7 @@ class TestHTTPTests: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: http_test = client.zero_trust.dex.http_tests.get( @@ -28,6 +29,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[HTTPDetails], http_test, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: http_test = client.zero_trust.dex.http_tests.get( @@ -41,6 +43,7 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[HTTPDetails], http_test, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zero_trust.dex.http_tests.with_raw_response.get( @@ -56,6 +59,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: http_test = response.parse() assert_matches_type(Optional[HTTPDetails], http_test, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zero_trust.dex.http_tests.with_streaming_response.get( @@ -73,6 +77,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -97,6 +102,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncHTTPTests: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: http_test = await async_client.zero_trust.dex.http_tests.get( @@ -108,6 +114,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[HTTPDetails], http_test, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: http_test = await async_client.zero_trust.dex.http_tests.get( @@ -121,6 +128,7 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(Optional[HTTPDetails], http_test, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.dex.http_tests.with_raw_response.get( @@ -136,6 +144,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: http_test = await response.parse() assert_matches_type(Optional[HTTPDetails], http_test, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.dex.http_tests.with_streaming_response.get( @@ -153,6 +162,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/zero_trust/dex/test_tests.py b/tests/api_resources/zero_trust/dex/test_tests.py index 71f56cc7e84..654803068c2 100644 --- a/tests/api_resources/zero_trust/dex/test_tests.py +++ b/tests/api_resources/zero_trust/dex/test_tests.py @@ -18,6 +18,7 @@ class TestTests: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: test = client.zero_trust.dex.tests.list( @@ -25,6 +26,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePagination[TestListResponse], test, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: test = client.zero_trust.dex.tests.list( @@ -37,6 +39,7 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePagination[TestListResponse], test, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.zero_trust.dex.tests.with_raw_response.list( @@ -48,6 +51,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: test = response.parse() assert_matches_type(SyncV4PagePagination[TestListResponse], test, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.zero_trust.dex.tests.with_streaming_response.list( @@ -61,6 +65,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -72,6 +77,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: class TestAsyncTests: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: test = await async_client.zero_trust.dex.tests.list( @@ -79,6 +85,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncV4PagePagination[TestListResponse], test, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: test = await async_client.zero_trust.dex.tests.list( @@ -91,6 +98,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncV4PagePagination[TestListResponse], test, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.dex.tests.with_raw_response.list( @@ -102,6 +110,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: test = await response.parse() assert_matches_type(AsyncV4PagePagination[TestListResponse], test, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.dex.tests.with_streaming_response.list( @@ -115,6 +124,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/zero_trust/dex/test_traceroute_tests.py b/tests/api_resources/zero_trust/dex/test_traceroute_tests.py index 4c7602f485f..ee3c35fe683 100644 --- a/tests/api_resources/zero_trust/dex/test_traceroute_tests.py +++ b/tests/api_resources/zero_trust/dex/test_traceroute_tests.py @@ -21,6 +21,7 @@ class TestTracerouteTests: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: traceroute_test = client.zero_trust.dex.traceroute_tests.get( @@ -32,6 +33,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Traceroute], traceroute_test, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: traceroute_test = client.zero_trust.dex.traceroute_tests.get( @@ -45,6 +47,7 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Traceroute], traceroute_test, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zero_trust.dex.traceroute_tests.with_raw_response.get( @@ -60,6 +63,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: traceroute_test = response.parse() assert_matches_type(Optional[Traceroute], traceroute_test, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zero_trust.dex.traceroute_tests.with_streaming_response.get( @@ -77,6 +81,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -97,6 +102,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: time_start="string", ) + @pytest.mark.skip() @parametrize def test_method_network_path(self, client: Cloudflare) -> None: traceroute_test = client.zero_trust.dex.traceroute_tests.network_path( @@ -109,6 +115,7 @@ def test_method_network_path(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[NetworkPathResponse], traceroute_test, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_network_path(self, client: Cloudflare) -> None: response = client.zero_trust.dex.traceroute_tests.with_raw_response.network_path( @@ -125,6 +132,7 @@ def test_raw_response_network_path(self, client: Cloudflare) -> None: traceroute_test = response.parse() assert_matches_type(Optional[NetworkPathResponse], traceroute_test, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_network_path(self, client: Cloudflare) -> None: with client.zero_trust.dex.traceroute_tests.with_streaming_response.network_path( @@ -143,6 +151,7 @@ def test_streaming_response_network_path(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_network_path(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -165,6 +174,7 @@ def test_path_params_network_path(self, client: Cloudflare) -> None: time_start="string", ) + @pytest.mark.skip() @parametrize def test_method_percentiles(self, client: Cloudflare) -> None: traceroute_test = client.zero_trust.dex.traceroute_tests.percentiles( @@ -175,6 +185,7 @@ def test_method_percentiles(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[TracerouteTestPercentilesResponse], traceroute_test, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_percentiles_with_all_params(self, client: Cloudflare) -> None: traceroute_test = client.zero_trust.dex.traceroute_tests.percentiles( @@ -187,6 +198,7 @@ def test_method_percentiles_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[TracerouteTestPercentilesResponse], traceroute_test, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_percentiles(self, client: Cloudflare) -> None: response = client.zero_trust.dex.traceroute_tests.with_raw_response.percentiles( @@ -201,6 +213,7 @@ def test_raw_response_percentiles(self, client: Cloudflare) -> None: traceroute_test = response.parse() assert_matches_type(Optional[TracerouteTestPercentilesResponse], traceroute_test, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_percentiles(self, client: Cloudflare) -> None: with client.zero_trust.dex.traceroute_tests.with_streaming_response.percentiles( @@ -217,6 +230,7 @@ def test_streaming_response_percentiles(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_percentiles(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -239,6 +253,7 @@ def test_path_params_percentiles(self, client: Cloudflare) -> None: class TestAsyncTracerouteTests: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: traceroute_test = await async_client.zero_trust.dex.traceroute_tests.get( @@ -250,6 +265,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Traceroute], traceroute_test, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: traceroute_test = await async_client.zero_trust.dex.traceroute_tests.get( @@ -263,6 +279,7 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(Optional[Traceroute], traceroute_test, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.dex.traceroute_tests.with_raw_response.get( @@ -278,6 +295,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: traceroute_test = await response.parse() assert_matches_type(Optional[Traceroute], traceroute_test, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.dex.traceroute_tests.with_streaming_response.get( @@ -295,6 +313,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -315,6 +334,7 @@ async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: time_start="string", ) + @pytest.mark.skip() @parametrize async def test_method_network_path(self, async_client: AsyncCloudflare) -> None: traceroute_test = await async_client.zero_trust.dex.traceroute_tests.network_path( @@ -327,6 +347,7 @@ async def test_method_network_path(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[NetworkPathResponse], traceroute_test, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_network_path(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.dex.traceroute_tests.with_raw_response.network_path( @@ -343,6 +364,7 @@ async def test_raw_response_network_path(self, async_client: AsyncCloudflare) -> traceroute_test = await response.parse() assert_matches_type(Optional[NetworkPathResponse], traceroute_test, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_network_path(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.dex.traceroute_tests.with_streaming_response.network_path( @@ -361,6 +383,7 @@ async def test_streaming_response_network_path(self, async_client: AsyncCloudfla assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_network_path(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -383,6 +406,7 @@ async def test_path_params_network_path(self, async_client: AsyncCloudflare) -> time_start="string", ) + @pytest.mark.skip() @parametrize async def test_method_percentiles(self, async_client: AsyncCloudflare) -> None: traceroute_test = await async_client.zero_trust.dex.traceroute_tests.percentiles( @@ -393,6 +417,7 @@ async def test_method_percentiles(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[TracerouteTestPercentilesResponse], traceroute_test, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_percentiles_with_all_params(self, async_client: AsyncCloudflare) -> None: traceroute_test = await async_client.zero_trust.dex.traceroute_tests.percentiles( @@ -405,6 +430,7 @@ async def test_method_percentiles_with_all_params(self, async_client: AsyncCloud ) assert_matches_type(Optional[TracerouteTestPercentilesResponse], traceroute_test, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_percentiles(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.dex.traceroute_tests.with_raw_response.percentiles( @@ -419,6 +445,7 @@ async def test_raw_response_percentiles(self, async_client: AsyncCloudflare) -> traceroute_test = await response.parse() assert_matches_type(Optional[TracerouteTestPercentilesResponse], traceroute_test, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_percentiles(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.dex.traceroute_tests.with_streaming_response.percentiles( @@ -435,6 +462,7 @@ async def test_streaming_response_percentiles(self, async_client: AsyncCloudflar assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_percentiles(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/zero_trust/dex/tests/test_unique_devices.py b/tests/api_resources/zero_trust/dex/tests/test_unique_devices.py index 849b8c5cc07..219371cebd9 100644 --- a/tests/api_resources/zero_trust/dex/tests/test_unique_devices.py +++ b/tests/api_resources/zero_trust/dex/tests/test_unique_devices.py @@ -17,6 +17,7 @@ class TestUniqueDevices: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: unique_device = client.zero_trust.dex.tests.unique_devices.list( @@ -24,6 +25,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[UniqueDevices], unique_device, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: unique_device = client.zero_trust.dex.tests.unique_devices.list( @@ -33,6 +35,7 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[UniqueDevices], unique_device, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.zero_trust.dex.tests.unique_devices.with_raw_response.list( @@ -44,6 +47,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: unique_device = response.parse() assert_matches_type(Optional[UniqueDevices], unique_device, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.zero_trust.dex.tests.unique_devices.with_streaming_response.list( @@ -57,6 +61,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -68,6 +73,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: class TestAsyncUniqueDevices: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: unique_device = await async_client.zero_trust.dex.tests.unique_devices.list( @@ -75,6 +81,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[UniqueDevices], unique_device, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: unique_device = await async_client.zero_trust.dex.tests.unique_devices.list( @@ -84,6 +91,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(Optional[UniqueDevices], unique_device, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.dex.tests.unique_devices.with_raw_response.list( @@ -95,6 +103,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: unique_device = await response.parse() assert_matches_type(Optional[UniqueDevices], unique_device, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.dex.tests.unique_devices.with_streaming_response.list( @@ -108,6 +117,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/zero_trust/dex/traceroute_test_results/test_network_path.py b/tests/api_resources/zero_trust/dex/traceroute_test_results/test_network_path.py index 0a12a7ccea1..a0b19f6c881 100644 --- a/tests/api_resources/zero_trust/dex/traceroute_test_results/test_network_path.py +++ b/tests/api_resources/zero_trust/dex/traceroute_test_results/test_network_path.py @@ -17,6 +17,7 @@ class TestNetworkPath: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: network_path = client.zero_trust.dex.traceroute_test_results.network_path.get( @@ -25,6 +26,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[NetworkPathGetResponse], network_path, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zero_trust.dex.traceroute_test_results.network_path.with_raw_response.get( @@ -37,6 +39,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: network_path = response.parse() assert_matches_type(Optional[NetworkPathGetResponse], network_path, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zero_trust.dex.traceroute_test_results.network_path.with_streaming_response.get( @@ -51,6 +54,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -69,6 +73,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncNetworkPath: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: network_path = await async_client.zero_trust.dex.traceroute_test_results.network_path.get( @@ -77,6 +82,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[NetworkPathGetResponse], network_path, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.dex.traceroute_test_results.network_path.with_raw_response.get( @@ -89,6 +95,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: network_path = await response.parse() assert_matches_type(Optional[NetworkPathGetResponse], network_path, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.dex.traceroute_test_results.network_path.with_streaming_response.get( @@ -103,6 +110,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/zero_trust/dlp/datasets/test_upload.py b/tests/api_resources/zero_trust/dlp/datasets/test_upload.py index d146f2376d9..073f054e469 100644 --- a/tests/api_resources/zero_trust/dlp/datasets/test_upload.py +++ b/tests/api_resources/zero_trust/dlp/datasets/test_upload.py @@ -18,6 +18,7 @@ class TestUpload: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: upload = client.zero_trust.dlp.datasets.upload.create( @@ -26,6 +27,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[NewVersion], upload, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.zero_trust.dlp.datasets.upload.with_raw_response.create( @@ -38,6 +40,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: upload = response.parse() assert_matches_type(Optional[NewVersion], upload, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.zero_trust.dlp.datasets.upload.with_streaming_response.create( @@ -52,6 +55,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -66,6 +70,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: account_id="string", ) + @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: upload = client.zero_trust.dlp.datasets.upload.edit( @@ -76,6 +81,7 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Dataset], upload, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.zero_trust.dlp.datasets.upload.with_raw_response.edit( @@ -90,6 +96,7 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: upload = response.parse() assert_matches_type(Optional[Dataset], upload, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.zero_trust.dlp.datasets.upload.with_streaming_response.edit( @@ -106,6 +113,7 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -128,6 +136,7 @@ def test_path_params_edit(self, client: Cloudflare) -> None: class TestAsyncUpload: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: upload = await async_client.zero_trust.dlp.datasets.upload.create( @@ -136,6 +145,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[NewVersion], upload, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.dlp.datasets.upload.with_raw_response.create( @@ -148,6 +158,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: upload = await response.parse() assert_matches_type(Optional[NewVersion], upload, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.dlp.datasets.upload.with_streaming_response.create( @@ -162,6 +173,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -176,6 +188,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: account_id="string", ) + @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: upload = await async_client.zero_trust.dlp.datasets.upload.edit( @@ -186,6 +199,7 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Dataset], upload, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.dlp.datasets.upload.with_raw_response.edit( @@ -200,6 +214,7 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: upload = await response.parse() assert_matches_type(Optional[Dataset], upload, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.dlp.datasets.upload.with_streaming_response.edit( @@ -216,6 +231,7 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/zero_trust/dlp/profiles/test_custom.py b/tests/api_resources/zero_trust/dlp/profiles/test_custom.py index 42b7b8129df..7645cc81700 100644 --- a/tests/api_resources/zero_trust/dlp/profiles/test_custom.py +++ b/tests/api_resources/zero_trust/dlp/profiles/test_custom.py @@ -21,6 +21,7 @@ class TestCustom: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: custom = client.zero_trust.dlp.profiles.custom.create( @@ -29,6 +30,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[CustomCreateResponse], custom, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.zero_trust.dlp.profiles.custom.with_raw_response.create( @@ -41,6 +43,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: custom = response.parse() assert_matches_type(Optional[CustomCreateResponse], custom, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.zero_trust.dlp.profiles.custom.with_streaming_response.create( @@ -55,6 +58,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -63,6 +67,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: profiles=[{}, {}, {}], ) + @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: custom = client.zero_trust.dlp.profiles.custom.update( @@ -71,6 +76,7 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(CustomProfile, custom, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: custom = client.zero_trust.dlp.profiles.custom.update( @@ -117,6 +123,7 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(CustomProfile, custom, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.zero_trust.dlp.profiles.custom.with_raw_response.update( @@ -129,6 +136,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: custom = response.parse() assert_matches_type(CustomProfile, custom, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.zero_trust.dlp.profiles.custom.with_streaming_response.update( @@ -143,6 +151,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -157,6 +166,7 @@ def test_path_params_update(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: custom = client.zero_trust.dlp.profiles.custom.delete( @@ -166,6 +176,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(CustomDeleteResponse, custom, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.zero_trust.dlp.profiles.custom.with_raw_response.delete( @@ -179,6 +190,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: custom = response.parse() assert_matches_type(CustomDeleteResponse, custom, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.zero_trust.dlp.profiles.custom.with_streaming_response.delete( @@ -194,6 +206,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -210,6 +223,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: custom = client.zero_trust.dlp.profiles.custom.get( @@ -218,6 +232,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(CustomProfile, custom, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zero_trust.dlp.profiles.custom.with_raw_response.get( @@ -230,6 +245,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: custom = response.parse() assert_matches_type(CustomProfile, custom, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zero_trust.dlp.profiles.custom.with_streaming_response.get( @@ -244,6 +260,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -262,6 +279,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncCustom: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: custom = await async_client.zero_trust.dlp.profiles.custom.create( @@ -270,6 +288,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[CustomCreateResponse], custom, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.dlp.profiles.custom.with_raw_response.create( @@ -282,6 +301,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: custom = await response.parse() assert_matches_type(Optional[CustomCreateResponse], custom, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.dlp.profiles.custom.with_streaming_response.create( @@ -296,6 +316,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -304,6 +325,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: profiles=[{}, {}, {}], ) + @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: custom = await async_client.zero_trust.dlp.profiles.custom.update( @@ -312,6 +334,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(CustomProfile, custom, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: custom = await async_client.zero_trust.dlp.profiles.custom.update( @@ -358,6 +381,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(CustomProfile, custom, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.dlp.profiles.custom.with_raw_response.update( @@ -370,6 +394,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: custom = await response.parse() assert_matches_type(CustomProfile, custom, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.dlp.profiles.custom.with_streaming_response.update( @@ -384,6 +409,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -398,6 +424,7 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: custom = await async_client.zero_trust.dlp.profiles.custom.delete( @@ -407,6 +434,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(CustomDeleteResponse, custom, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.dlp.profiles.custom.with_raw_response.delete( @@ -420,6 +448,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: custom = await response.parse() assert_matches_type(CustomDeleteResponse, custom, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.dlp.profiles.custom.with_streaming_response.delete( @@ -435,6 +464,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -451,6 +481,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: custom = await async_client.zero_trust.dlp.profiles.custom.get( @@ -459,6 +490,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(CustomProfile, custom, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.dlp.profiles.custom.with_raw_response.get( @@ -471,6 +503,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: custom = await response.parse() assert_matches_type(CustomProfile, custom, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.dlp.profiles.custom.with_streaming_response.get( @@ -485,6 +518,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/zero_trust/dlp/profiles/test_predefined.py b/tests/api_resources/zero_trust/dlp/profiles/test_predefined.py index b8209257160..42c8f7812ac 100644 --- a/tests/api_resources/zero_trust/dlp/profiles/test_predefined.py +++ b/tests/api_resources/zero_trust/dlp/profiles/test_predefined.py @@ -17,6 +17,7 @@ class TestPredefined: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: predefined = client.zero_trust.dlp.profiles.predefined.update( @@ -25,6 +26,7 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(PredefinedProfile, predefined, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: predefined = client.zero_trust.dlp.profiles.predefined.update( @@ -40,6 +42,7 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(PredefinedProfile, predefined, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.zero_trust.dlp.profiles.predefined.with_raw_response.update( @@ -52,6 +55,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: predefined = response.parse() assert_matches_type(PredefinedProfile, predefined, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.zero_trust.dlp.profiles.predefined.with_streaming_response.update( @@ -66,6 +70,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -80,6 +85,7 @@ def test_path_params_update(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: predefined = client.zero_trust.dlp.profiles.predefined.get( @@ -88,6 +94,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(PredefinedProfile, predefined, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zero_trust.dlp.profiles.predefined.with_raw_response.get( @@ -100,6 +107,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: predefined = response.parse() assert_matches_type(PredefinedProfile, predefined, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zero_trust.dlp.profiles.predefined.with_streaming_response.get( @@ -114,6 +122,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -132,6 +141,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncPredefined: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: predefined = await async_client.zero_trust.dlp.profiles.predefined.update( @@ -140,6 +150,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(PredefinedProfile, predefined, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: predefined = await async_client.zero_trust.dlp.profiles.predefined.update( @@ -155,6 +166,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(PredefinedProfile, predefined, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.dlp.profiles.predefined.with_raw_response.update( @@ -167,6 +179,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: predefined = await response.parse() assert_matches_type(PredefinedProfile, predefined, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.dlp.profiles.predefined.with_streaming_response.update( @@ -181,6 +194,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -195,6 +209,7 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: predefined = await async_client.zero_trust.dlp.profiles.predefined.get( @@ -203,6 +218,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(PredefinedProfile, predefined, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.dlp.profiles.predefined.with_raw_response.get( @@ -215,6 +231,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: predefined = await response.parse() assert_matches_type(PredefinedProfile, predefined, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.dlp.profiles.predefined.with_streaming_response.get( @@ -229,6 +246,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/zero_trust/dlp/test_datasets.py b/tests/api_resources/zero_trust/dlp/test_datasets.py index 1e41d7f1260..c6a79798a4d 100644 --- a/tests/api_resources/zero_trust/dlp/test_datasets.py +++ b/tests/api_resources/zero_trust/dlp/test_datasets.py @@ -18,6 +18,7 @@ class TestDatasets: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: dataset = client.zero_trust.dlp.datasets.create( @@ -26,6 +27,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[DatasetCreation], dataset, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: dataset = client.zero_trust.dlp.datasets.create( @@ -36,6 +38,7 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[DatasetCreation], dataset, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.zero_trust.dlp.datasets.with_raw_response.create( @@ -48,6 +51,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: dataset = response.parse() assert_matches_type(Optional[DatasetCreation], dataset, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.zero_trust.dlp.datasets.with_streaming_response.create( @@ -62,6 +66,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -70,6 +75,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: name="string", ) + @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: dataset = client.zero_trust.dlp.datasets.update( @@ -78,6 +84,7 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Dataset], dataset, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: dataset = client.zero_trust.dlp.datasets.update( @@ -88,6 +95,7 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Dataset], dataset, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.zero_trust.dlp.datasets.with_raw_response.update( @@ -100,6 +108,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: dataset = response.parse() assert_matches_type(Optional[Dataset], dataset, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.zero_trust.dlp.datasets.with_streaming_response.update( @@ -114,6 +123,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -128,6 +138,7 @@ def test_path_params_update(self, client: Cloudflare) -> None: account_id="string", ) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: dataset = client.zero_trust.dlp.datasets.list( @@ -135,6 +146,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[Dataset], dataset, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.zero_trust.dlp.datasets.with_raw_response.list( @@ -146,6 +158,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: dataset = response.parse() assert_matches_type(SyncSinglePage[Dataset], dataset, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.zero_trust.dlp.datasets.with_streaming_response.list( @@ -159,6 +172,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -166,6 +180,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: dataset = client.zero_trust.dlp.datasets.delete( @@ -174,6 +189,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert dataset is None + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.zero_trust.dlp.datasets.with_raw_response.delete( @@ -186,6 +202,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: dataset = response.parse() assert dataset is None + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.zero_trust.dlp.datasets.with_streaming_response.delete( @@ -200,6 +217,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -214,6 +232,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: account_id="string", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: dataset = client.zero_trust.dlp.datasets.get( @@ -222,6 +241,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Dataset], dataset, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zero_trust.dlp.datasets.with_raw_response.get( @@ -234,6 +254,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: dataset = response.parse() assert_matches_type(Optional[Dataset], dataset, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zero_trust.dlp.datasets.with_streaming_response.get( @@ -248,6 +269,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -266,6 +288,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncDatasets: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: dataset = await async_client.zero_trust.dlp.datasets.create( @@ -274,6 +297,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[DatasetCreation], dataset, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: dataset = await async_client.zero_trust.dlp.datasets.create( @@ -284,6 +308,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[DatasetCreation], dataset, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.dlp.datasets.with_raw_response.create( @@ -296,6 +321,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: dataset = await response.parse() assert_matches_type(Optional[DatasetCreation], dataset, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.dlp.datasets.with_streaming_response.create( @@ -310,6 +336,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -318,6 +345,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: name="string", ) + @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: dataset = await async_client.zero_trust.dlp.datasets.update( @@ -326,6 +354,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Dataset], dataset, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: dataset = await async_client.zero_trust.dlp.datasets.update( @@ -336,6 +365,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[Dataset], dataset, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.dlp.datasets.with_raw_response.update( @@ -348,6 +378,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: dataset = await response.parse() assert_matches_type(Optional[Dataset], dataset, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.dlp.datasets.with_streaming_response.update( @@ -362,6 +393,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -376,6 +408,7 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: account_id="string", ) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: dataset = await async_client.zero_trust.dlp.datasets.list( @@ -383,6 +416,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[Dataset], dataset, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.dlp.datasets.with_raw_response.list( @@ -394,6 +428,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: dataset = await response.parse() assert_matches_type(AsyncSinglePage[Dataset], dataset, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.dlp.datasets.with_streaming_response.list( @@ -407,6 +442,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -414,6 +450,7 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: dataset = await async_client.zero_trust.dlp.datasets.delete( @@ -422,6 +459,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert dataset is None + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.dlp.datasets.with_raw_response.delete( @@ -434,6 +472,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: dataset = await response.parse() assert dataset is None + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.dlp.datasets.with_streaming_response.delete( @@ -448,6 +487,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -462,6 +502,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: account_id="string", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: dataset = await async_client.zero_trust.dlp.datasets.get( @@ -470,6 +511,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Dataset], dataset, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.dlp.datasets.with_raw_response.get( @@ -482,6 +524,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: dataset = await response.parse() assert_matches_type(Optional[Dataset], dataset, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.dlp.datasets.with_streaming_response.get( @@ -496,6 +539,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/zero_trust/dlp/test_patterns.py b/tests/api_resources/zero_trust/dlp/test_patterns.py index 1455ec80499..4f3c0ded98d 100644 --- a/tests/api_resources/zero_trust/dlp/test_patterns.py +++ b/tests/api_resources/zero_trust/dlp/test_patterns.py @@ -17,6 +17,7 @@ class TestPatterns: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_validate(self, client: Cloudflare) -> None: pattern = client.zero_trust.dlp.patterns.validate( @@ -25,6 +26,7 @@ def test_method_validate(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[OwnershipValidation], pattern, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_validate(self, client: Cloudflare) -> None: response = client.zero_trust.dlp.patterns.with_raw_response.validate( @@ -37,6 +39,7 @@ def test_raw_response_validate(self, client: Cloudflare) -> None: pattern = response.parse() assert_matches_type(Optional[OwnershipValidation], pattern, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_validate(self, client: Cloudflare) -> None: with client.zero_trust.dlp.patterns.with_streaming_response.validate( @@ -51,6 +54,7 @@ def test_streaming_response_validate(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_validate(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -63,6 +67,7 @@ def test_path_params_validate(self, client: Cloudflare) -> None: class TestAsyncPatterns: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_validate(self, async_client: AsyncCloudflare) -> None: pattern = await async_client.zero_trust.dlp.patterns.validate( @@ -71,6 +76,7 @@ async def test_method_validate(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[OwnershipValidation], pattern, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_validate(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.dlp.patterns.with_raw_response.validate( @@ -83,6 +89,7 @@ async def test_raw_response_validate(self, async_client: AsyncCloudflare) -> Non pattern = await response.parse() assert_matches_type(Optional[OwnershipValidation], pattern, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_validate(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.dlp.patterns.with_streaming_response.validate( @@ -97,6 +104,7 @@ async def test_streaming_response_validate(self, async_client: AsyncCloudflare) assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_validate(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/zero_trust/dlp/test_payload_logs.py b/tests/api_resources/zero_trust/dlp/test_payload_logs.py index cdc88d7f84d..0f18a2aa45e 100644 --- a/tests/api_resources/zero_trust/dlp/test_payload_logs.py +++ b/tests/api_resources/zero_trust/dlp/test_payload_logs.py @@ -17,6 +17,7 @@ class TestPayloadLogs: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: payload_log = client.zero_trust.dlp.payload_logs.update( @@ -25,6 +26,7 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(PayloadLogUpdateResponse, payload_log, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.zero_trust.dlp.payload_logs.with_raw_response.update( @@ -37,6 +39,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: payload_log = response.parse() assert_matches_type(PayloadLogUpdateResponse, payload_log, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.zero_trust.dlp.payload_logs.with_streaming_response.update( @@ -51,6 +54,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -59,6 +63,7 @@ def test_path_params_update(self, client: Cloudflare) -> None: public_key="EmpOvSXw8BfbrGCi0fhGiD/3yXk2SiV1Nzg2lru3oj0=", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: payload_log = client.zero_trust.dlp.payload_logs.get( @@ -66,6 +71,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(PayloadLogGetResponse, payload_log, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zero_trust.dlp.payload_logs.with_raw_response.get( @@ -77,6 +83,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: payload_log = response.parse() assert_matches_type(PayloadLogGetResponse, payload_log, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zero_trust.dlp.payload_logs.with_streaming_response.get( @@ -90,6 +97,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -101,6 +109,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncPayloadLogs: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: payload_log = await async_client.zero_trust.dlp.payload_logs.update( @@ -109,6 +118,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(PayloadLogUpdateResponse, payload_log, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.dlp.payload_logs.with_raw_response.update( @@ -121,6 +131,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: payload_log = await response.parse() assert_matches_type(PayloadLogUpdateResponse, payload_log, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.dlp.payload_logs.with_streaming_response.update( @@ -135,6 +146,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -143,6 +155,7 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: public_key="EmpOvSXw8BfbrGCi0fhGiD/3yXk2SiV1Nzg2lru3oj0=", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: payload_log = await async_client.zero_trust.dlp.payload_logs.get( @@ -150,6 +163,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(PayloadLogGetResponse, payload_log, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.dlp.payload_logs.with_raw_response.get( @@ -161,6 +175,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: payload_log = await response.parse() assert_matches_type(PayloadLogGetResponse, payload_log, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.dlp.payload_logs.with_streaming_response.get( @@ -174,6 +189,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/zero_trust/dlp/test_profiles.py b/tests/api_resources/zero_trust/dlp/test_profiles.py index 5984f84df7c..c373f9035ff 100644 --- a/tests/api_resources/zero_trust/dlp/test_profiles.py +++ b/tests/api_resources/zero_trust/dlp/test_profiles.py @@ -18,6 +18,7 @@ class TestProfiles: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: profile = client.zero_trust.dlp.profiles.list( @@ -25,6 +26,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[Profile], profile, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.zero_trust.dlp.profiles.with_raw_response.list( @@ -36,6 +38,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: profile = response.parse() assert_matches_type(SyncSinglePage[Profile], profile, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.zero_trust.dlp.profiles.with_streaming_response.list( @@ -49,6 +52,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -56,6 +60,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: profile = client.zero_trust.dlp.profiles.get( @@ -64,6 +69,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(ProfileGetResponse, profile, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zero_trust.dlp.profiles.with_raw_response.get( @@ -76,6 +82,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: profile = response.parse() assert_matches_type(ProfileGetResponse, profile, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zero_trust.dlp.profiles.with_streaming_response.get( @@ -90,6 +97,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -108,6 +116,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncProfiles: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: profile = await async_client.zero_trust.dlp.profiles.list( @@ -115,6 +124,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[Profile], profile, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.dlp.profiles.with_raw_response.list( @@ -126,6 +136,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: profile = await response.parse() assert_matches_type(AsyncSinglePage[Profile], profile, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.dlp.profiles.with_streaming_response.list( @@ -139,6 +150,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -146,6 +158,7 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: profile = await async_client.zero_trust.dlp.profiles.get( @@ -154,6 +167,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(ProfileGetResponse, profile, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.dlp.profiles.with_raw_response.get( @@ -166,6 +180,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: profile = await response.parse() assert_matches_type(ProfileGetResponse, profile, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.dlp.profiles.with_streaming_response.get( @@ -180,6 +195,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/zero_trust/gateway/lists/test_items.py b/tests/api_resources/zero_trust/gateway/lists/test_items.py index 776794c88f4..e16f44bd1ce 100644 --- a/tests/api_resources/zero_trust/gateway/lists/test_items.py +++ b/tests/api_resources/zero_trust/gateway/lists/test_items.py @@ -18,6 +18,7 @@ class TestItems: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: item = client.zero_trust.gateway.lists.items.list( @@ -26,6 +27,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[ItemListResponse], item, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.zero_trust.gateway.lists.items.with_raw_response.list( @@ -38,6 +40,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: item = response.parse() assert_matches_type(SyncSinglePage[ItemListResponse], item, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.zero_trust.gateway.lists.items.with_streaming_response.list( @@ -52,6 +55,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -70,6 +74,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: class TestAsyncItems: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: item = await async_client.zero_trust.gateway.lists.items.list( @@ -78,6 +83,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[ItemListResponse], item, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.gateway.lists.items.with_raw_response.list( @@ -90,6 +96,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: item = await response.parse() assert_matches_type(AsyncSinglePage[ItemListResponse], item, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.gateway.lists.items.with_streaming_response.list( @@ -104,6 +111,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/zero_trust/gateway/test_app_types.py b/tests/api_resources/zero_trust/gateway/test_app_types.py index 166d36defcd..73e3cc10608 100644 --- a/tests/api_resources/zero_trust/gateway/test_app_types.py +++ b/tests/api_resources/zero_trust/gateway/test_app_types.py @@ -18,6 +18,7 @@ class TestAppTypes: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: app_type = client.zero_trust.gateway.app_types.list( @@ -25,6 +26,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[AppType], app_type, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.zero_trust.gateway.app_types.with_raw_response.list( @@ -36,6 +38,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: app_type = response.parse() assert_matches_type(SyncSinglePage[AppType], app_type, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.zero_trust.gateway.app_types.with_streaming_response.list( @@ -49,6 +52,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -60,6 +64,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: class TestAsyncAppTypes: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: app_type = await async_client.zero_trust.gateway.app_types.list( @@ -67,6 +72,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[AppType], app_type, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.gateway.app_types.with_raw_response.list( @@ -78,6 +84,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: app_type = await response.parse() assert_matches_type(AsyncSinglePage[AppType], app_type, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.gateway.app_types.with_streaming_response.list( @@ -91,6 +98,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/zero_trust/gateway/test_audit_ssh_settings.py b/tests/api_resources/zero_trust/gateway/test_audit_ssh_settings.py index a25bf37430d..46d1d9b060b 100644 --- a/tests/api_resources/zero_trust/gateway/test_audit_ssh_settings.py +++ b/tests/api_resources/zero_trust/gateway/test_audit_ssh_settings.py @@ -17,6 +17,7 @@ class TestAuditSSHSettings: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: audit_ssh_setting = client.zero_trust.gateway.audit_ssh_settings.update( @@ -25,6 +26,7 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[GatewaySettings], audit_ssh_setting, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: audit_ssh_setting = client.zero_trust.gateway.audit_ssh_settings.update( @@ -34,6 +36,7 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[GatewaySettings], audit_ssh_setting, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.zero_trust.gateway.audit_ssh_settings.with_raw_response.update( @@ -46,6 +49,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: audit_ssh_setting = response.parse() assert_matches_type(Optional[GatewaySettings], audit_ssh_setting, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.zero_trust.gateway.audit_ssh_settings.with_streaming_response.update( @@ -60,6 +64,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -68,6 +73,7 @@ def test_path_params_update(self, client: Cloudflare) -> None: public_key="1pyl6I1tL7xfJuFYVzXlUW8uXXlpxegHXBzGCBKaSFA=", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: audit_ssh_setting = client.zero_trust.gateway.audit_ssh_settings.get( @@ -75,6 +81,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[GatewaySettings], audit_ssh_setting, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zero_trust.gateway.audit_ssh_settings.with_raw_response.get( @@ -86,6 +93,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: audit_ssh_setting = response.parse() assert_matches_type(Optional[GatewaySettings], audit_ssh_setting, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zero_trust.gateway.audit_ssh_settings.with_streaming_response.get( @@ -99,6 +107,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -110,6 +119,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncAuditSSHSettings: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: audit_ssh_setting = await async_client.zero_trust.gateway.audit_ssh_settings.update( @@ -118,6 +128,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[GatewaySettings], audit_ssh_setting, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: audit_ssh_setting = await async_client.zero_trust.gateway.audit_ssh_settings.update( @@ -127,6 +138,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[GatewaySettings], audit_ssh_setting, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.gateway.audit_ssh_settings.with_raw_response.update( @@ -139,6 +151,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: audit_ssh_setting = await response.parse() assert_matches_type(Optional[GatewaySettings], audit_ssh_setting, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.gateway.audit_ssh_settings.with_streaming_response.update( @@ -153,6 +166,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -161,6 +175,7 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: public_key="1pyl6I1tL7xfJuFYVzXlUW8uXXlpxegHXBzGCBKaSFA=", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: audit_ssh_setting = await async_client.zero_trust.gateway.audit_ssh_settings.get( @@ -168,6 +183,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[GatewaySettings], audit_ssh_setting, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.gateway.audit_ssh_settings.with_raw_response.get( @@ -179,6 +195,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: audit_ssh_setting = await response.parse() assert_matches_type(Optional[GatewaySettings], audit_ssh_setting, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.gateway.audit_ssh_settings.with_streaming_response.get( @@ -192,6 +209,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/zero_trust/gateway/test_categories.py b/tests/api_resources/zero_trust/gateway/test_categories.py index 42d6ae3b4db..1ec3c2e3886 100644 --- a/tests/api_resources/zero_trust/gateway/test_categories.py +++ b/tests/api_resources/zero_trust/gateway/test_categories.py @@ -18,6 +18,7 @@ class TestCategories: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: category = client.zero_trust.gateway.categories.list( @@ -25,6 +26,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[Category], category, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.zero_trust.gateway.categories.with_raw_response.list( @@ -36,6 +38,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: category = response.parse() assert_matches_type(SyncSinglePage[Category], category, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.zero_trust.gateway.categories.with_streaming_response.list( @@ -49,6 +52,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -60,6 +64,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: class TestAsyncCategories: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: category = await async_client.zero_trust.gateway.categories.list( @@ -67,6 +72,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[Category], category, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.gateway.categories.with_raw_response.list( @@ -78,6 +84,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: category = await response.parse() assert_matches_type(AsyncSinglePage[Category], category, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.gateway.categories.with_streaming_response.list( @@ -91,6 +98,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/zero_trust/gateway/test_configurations.py b/tests/api_resources/zero_trust/gateway/test_configurations.py index 62f30e964a0..49df85907e5 100644 --- a/tests/api_resources/zero_trust/gateway/test_configurations.py +++ b/tests/api_resources/zero_trust/gateway/test_configurations.py @@ -21,6 +21,7 @@ class TestConfigurations: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: configuration = client.zero_trust.gateway.configurations.update( @@ -28,6 +29,7 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ConfigurationUpdateResponse], configuration, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: configuration = client.zero_trust.gateway.configurations.update( @@ -72,6 +74,7 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ConfigurationUpdateResponse], configuration, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.zero_trust.gateway.configurations.with_raw_response.update( @@ -83,6 +86,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: configuration = response.parse() assert_matches_type(Optional[ConfigurationUpdateResponse], configuration, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.zero_trust.gateway.configurations.with_streaming_response.update( @@ -96,6 +100,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -103,6 +108,7 @@ def test_path_params_update(self, client: Cloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: configuration = client.zero_trust.gateway.configurations.edit( @@ -110,6 +116,7 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ConfigurationEditResponse], configuration, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_edit_with_all_params(self, client: Cloudflare) -> None: configuration = client.zero_trust.gateway.configurations.edit( @@ -154,6 +161,7 @@ def test_method_edit_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ConfigurationEditResponse], configuration, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.zero_trust.gateway.configurations.with_raw_response.edit( @@ -165,6 +173,7 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: configuration = response.parse() assert_matches_type(Optional[ConfigurationEditResponse], configuration, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.zero_trust.gateway.configurations.with_streaming_response.edit( @@ -178,6 +187,7 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -185,6 +195,7 @@ def test_path_params_edit(self, client: Cloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: configuration = client.zero_trust.gateway.configurations.get( @@ -192,6 +203,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ConfigurationGetResponse], configuration, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zero_trust.gateway.configurations.with_raw_response.get( @@ -203,6 +215,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: configuration = response.parse() assert_matches_type(Optional[ConfigurationGetResponse], configuration, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zero_trust.gateway.configurations.with_streaming_response.get( @@ -216,6 +229,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -227,6 +241,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncConfigurations: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: configuration = await async_client.zero_trust.gateway.configurations.update( @@ -234,6 +249,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[ConfigurationUpdateResponse], configuration, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: configuration = await async_client.zero_trust.gateway.configurations.update( @@ -278,6 +294,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[ConfigurationUpdateResponse], configuration, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.gateway.configurations.with_raw_response.update( @@ -289,6 +306,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: configuration = await response.parse() assert_matches_type(Optional[ConfigurationUpdateResponse], configuration, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.gateway.configurations.with_streaming_response.update( @@ -302,6 +320,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -309,6 +328,7 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: configuration = await async_client.zero_trust.gateway.configurations.edit( @@ -316,6 +336,7 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[ConfigurationEditResponse], configuration, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) -> None: configuration = await async_client.zero_trust.gateway.configurations.edit( @@ -360,6 +381,7 @@ async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(Optional[ConfigurationEditResponse], configuration, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.gateway.configurations.with_raw_response.edit( @@ -371,6 +393,7 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: configuration = await response.parse() assert_matches_type(Optional[ConfigurationEditResponse], configuration, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.gateway.configurations.with_streaming_response.edit( @@ -384,6 +407,7 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -391,6 +415,7 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: configuration = await async_client.zero_trust.gateway.configurations.get( @@ -398,6 +423,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[ConfigurationGetResponse], configuration, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.gateway.configurations.with_raw_response.get( @@ -409,6 +435,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: configuration = await response.parse() assert_matches_type(Optional[ConfigurationGetResponse], configuration, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.gateway.configurations.with_streaming_response.get( @@ -422,6 +449,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/zero_trust/gateway/test_lists.py b/tests/api_resources/zero_trust/gateway/test_lists.py index 4980f85b348..1170b57052c 100644 --- a/tests/api_resources/zero_trust/gateway/test_lists.py +++ b/tests/api_resources/zero_trust/gateway/test_lists.py @@ -22,6 +22,7 @@ class TestLists: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: list = client.zero_trust.gateway.lists.create( @@ -31,6 +32,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ListCreateResponse], list, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: list = client.zero_trust.gateway.lists.create( @@ -42,6 +44,7 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ListCreateResponse], list, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.zero_trust.gateway.lists.with_raw_response.create( @@ -55,6 +58,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: list = response.parse() assert_matches_type(Optional[ListCreateResponse], list, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.zero_trust.gateway.lists.with_streaming_response.create( @@ -70,6 +74,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -79,6 +84,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: type="SERIAL", ) + @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: list = client.zero_trust.gateway.lists.update( @@ -88,6 +94,7 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[GatewayList], list, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: list = client.zero_trust.gateway.lists.update( @@ -98,6 +105,7 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[GatewayList], list, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.zero_trust.gateway.lists.with_raw_response.update( @@ -111,6 +119,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: list = response.parse() assert_matches_type(Optional[GatewayList], list, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.zero_trust.gateway.lists.with_streaming_response.update( @@ -126,6 +135,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -142,6 +152,7 @@ def test_path_params_update(self, client: Cloudflare) -> None: name="Admin Serial Numbers", ) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: list = client.zero_trust.gateway.lists.list( @@ -149,6 +160,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[GatewayList], list, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.zero_trust.gateway.lists.with_raw_response.list( @@ -160,6 +172,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: list = response.parse() assert_matches_type(SyncSinglePage[GatewayList], list, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.zero_trust.gateway.lists.with_streaming_response.list( @@ -173,6 +186,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -180,6 +194,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: list = client.zero_trust.gateway.lists.delete( @@ -189,6 +204,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ListDeleteResponse], list, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.zero_trust.gateway.lists.with_raw_response.delete( @@ -202,6 +218,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: list = response.parse() assert_matches_type(Optional[ListDeleteResponse], list, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.zero_trust.gateway.lists.with_streaming_response.delete( @@ -217,6 +234,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -233,6 +251,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: list = client.zero_trust.gateway.lists.edit( @@ -241,6 +260,7 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[GatewayList], list, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_edit_with_all_params(self, client: Cloudflare) -> None: list = client.zero_trust.gateway.lists.edit( @@ -251,6 +271,7 @@ def test_method_edit_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[GatewayList], list, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.zero_trust.gateway.lists.with_raw_response.edit( @@ -263,6 +284,7 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: list = response.parse() assert_matches_type(Optional[GatewayList], list, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.zero_trust.gateway.lists.with_streaming_response.edit( @@ -277,6 +299,7 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -291,6 +314,7 @@ def test_path_params_edit(self, client: Cloudflare) -> None: account_id="699d98642c564d2e855e9661899b7252", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: list = client.zero_trust.gateway.lists.get( @@ -299,6 +323,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[GatewayList], list, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zero_trust.gateway.lists.with_raw_response.get( @@ -311,6 +336,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: list = response.parse() assert_matches_type(Optional[GatewayList], list, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zero_trust.gateway.lists.with_streaming_response.get( @@ -325,6 +351,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -343,6 +370,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncLists: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: list = await async_client.zero_trust.gateway.lists.create( @@ -352,6 +380,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[ListCreateResponse], list, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: list = await async_client.zero_trust.gateway.lists.create( @@ -363,6 +392,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[ListCreateResponse], list, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.gateway.lists.with_raw_response.create( @@ -376,6 +406,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: list = await response.parse() assert_matches_type(Optional[ListCreateResponse], list, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.gateway.lists.with_streaming_response.create( @@ -391,6 +422,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -400,6 +432,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: type="SERIAL", ) + @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: list = await async_client.zero_trust.gateway.lists.update( @@ -409,6 +442,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[GatewayList], list, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: list = await async_client.zero_trust.gateway.lists.update( @@ -419,6 +453,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[GatewayList], list, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.gateway.lists.with_raw_response.update( @@ -432,6 +467,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: list = await response.parse() assert_matches_type(Optional[GatewayList], list, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.gateway.lists.with_streaming_response.update( @@ -447,6 +483,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -463,6 +500,7 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: name="Admin Serial Numbers", ) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: list = await async_client.zero_trust.gateway.lists.list( @@ -470,6 +508,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[GatewayList], list, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.gateway.lists.with_raw_response.list( @@ -481,6 +520,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: list = await response.parse() assert_matches_type(AsyncSinglePage[GatewayList], list, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.gateway.lists.with_streaming_response.list( @@ -494,6 +534,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -501,6 +542,7 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: list = await async_client.zero_trust.gateway.lists.delete( @@ -510,6 +552,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[ListDeleteResponse], list, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.gateway.lists.with_raw_response.delete( @@ -523,6 +566,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: list = await response.parse() assert_matches_type(Optional[ListDeleteResponse], list, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.gateway.lists.with_streaming_response.delete( @@ -538,6 +582,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -554,6 +599,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: list = await async_client.zero_trust.gateway.lists.edit( @@ -562,6 +608,7 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[GatewayList], list, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) -> None: list = await async_client.zero_trust.gateway.lists.edit( @@ -572,6 +619,7 @@ async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(Optional[GatewayList], list, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.gateway.lists.with_raw_response.edit( @@ -584,6 +632,7 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: list = await response.parse() assert_matches_type(Optional[GatewayList], list, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.gateway.lists.with_streaming_response.edit( @@ -598,6 +647,7 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -612,6 +662,7 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: account_id="699d98642c564d2e855e9661899b7252", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: list = await async_client.zero_trust.gateway.lists.get( @@ -620,6 +671,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[GatewayList], list, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.gateway.lists.with_raw_response.get( @@ -632,6 +684,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: list = await response.parse() assert_matches_type(Optional[GatewayList], list, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.gateway.lists.with_streaming_response.get( @@ -646,6 +699,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/zero_trust/gateway/test_locations.py b/tests/api_resources/zero_trust/gateway/test_locations.py index 06d287ba9e9..e7aec2ed604 100644 --- a/tests/api_resources/zero_trust/gateway/test_locations.py +++ b/tests/api_resources/zero_trust/gateway/test_locations.py @@ -21,6 +21,7 @@ class TestLocations: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: location = client.zero_trust.gateway.locations.create( @@ -29,6 +30,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Location], location, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: location = client.zero_trust.gateway.locations.create( @@ -40,6 +42,7 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Location], location, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.zero_trust.gateway.locations.with_raw_response.create( @@ -52,6 +55,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: location = response.parse() assert_matches_type(Optional[Location], location, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.zero_trust.gateway.locations.with_streaming_response.create( @@ -66,6 +70,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -74,6 +79,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: name="Austin Office Location", ) + @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: location = client.zero_trust.gateway.locations.update( @@ -83,6 +89,7 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Location], location, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: location = client.zero_trust.gateway.locations.update( @@ -95,6 +102,7 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Location], location, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.zero_trust.gateway.locations.with_raw_response.update( @@ -108,6 +116,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: location = response.parse() assert_matches_type(Optional[Location], location, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.zero_trust.gateway.locations.with_streaming_response.update( @@ -123,6 +132,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -139,6 +149,7 @@ def test_path_params_update(self, client: Cloudflare) -> None: name="Austin Office Location", ) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: location = client.zero_trust.gateway.locations.list( @@ -146,6 +157,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[Location], location, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.zero_trust.gateway.locations.with_raw_response.list( @@ -157,6 +169,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: location = response.parse() assert_matches_type(SyncSinglePage[Location], location, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.zero_trust.gateway.locations.with_streaming_response.list( @@ -170,6 +183,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -177,6 +191,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: location = client.zero_trust.gateway.locations.delete( @@ -186,6 +201,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[LocationDeleteResponse], location, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.zero_trust.gateway.locations.with_raw_response.delete( @@ -199,6 +215,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: location = response.parse() assert_matches_type(Optional[LocationDeleteResponse], location, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.zero_trust.gateway.locations.with_streaming_response.delete( @@ -214,6 +231,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -230,6 +248,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: location = client.zero_trust.gateway.locations.get( @@ -238,6 +257,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Location], location, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zero_trust.gateway.locations.with_raw_response.get( @@ -250,6 +270,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: location = response.parse() assert_matches_type(Optional[Location], location, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zero_trust.gateway.locations.with_streaming_response.get( @@ -264,6 +285,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -282,6 +304,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncLocations: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: location = await async_client.zero_trust.gateway.locations.create( @@ -290,6 +313,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Location], location, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: location = await async_client.zero_trust.gateway.locations.create( @@ -301,6 +325,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[Location], location, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.gateway.locations.with_raw_response.create( @@ -313,6 +338,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: location = await response.parse() assert_matches_type(Optional[Location], location, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.gateway.locations.with_streaming_response.create( @@ -327,6 +353,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -335,6 +362,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: name="Austin Office Location", ) + @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: location = await async_client.zero_trust.gateway.locations.update( @@ -344,6 +372,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Location], location, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: location = await async_client.zero_trust.gateway.locations.update( @@ -356,6 +385,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[Location], location, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.gateway.locations.with_raw_response.update( @@ -369,6 +399,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: location = await response.parse() assert_matches_type(Optional[Location], location, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.gateway.locations.with_streaming_response.update( @@ -384,6 +415,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -400,6 +432,7 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: name="Austin Office Location", ) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: location = await async_client.zero_trust.gateway.locations.list( @@ -407,6 +440,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[Location], location, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.gateway.locations.with_raw_response.list( @@ -418,6 +452,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: location = await response.parse() assert_matches_type(AsyncSinglePage[Location], location, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.gateway.locations.with_streaming_response.list( @@ -431,6 +466,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -438,6 +474,7 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: location = await async_client.zero_trust.gateway.locations.delete( @@ -447,6 +484,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[LocationDeleteResponse], location, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.gateway.locations.with_raw_response.delete( @@ -460,6 +498,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: location = await response.parse() assert_matches_type(Optional[LocationDeleteResponse], location, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.gateway.locations.with_streaming_response.delete( @@ -475,6 +514,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -491,6 +531,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: location = await async_client.zero_trust.gateway.locations.get( @@ -499,6 +540,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Location], location, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.gateway.locations.with_raw_response.get( @@ -511,6 +553,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: location = await response.parse() assert_matches_type(Optional[Location], location, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.gateway.locations.with_streaming_response.get( @@ -525,6 +568,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/zero_trust/gateway/test_logging.py b/tests/api_resources/zero_trust/gateway/test_logging.py index a157696ec07..3fb8cdc6e28 100644 --- a/tests/api_resources/zero_trust/gateway/test_logging.py +++ b/tests/api_resources/zero_trust/gateway/test_logging.py @@ -17,6 +17,7 @@ class TestLogging: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: logging = client.zero_trust.gateway.logging.update( @@ -24,6 +25,7 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[LoggingSetting], logging, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: logging = client.zero_trust.gateway.logging.update( @@ -37,6 +39,7 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[LoggingSetting], logging, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.zero_trust.gateway.logging.with_raw_response.update( @@ -48,6 +51,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: logging = response.parse() assert_matches_type(Optional[LoggingSetting], logging, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.zero_trust.gateway.logging.with_streaming_response.update( @@ -61,6 +65,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -68,6 +73,7 @@ def test_path_params_update(self, client: Cloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: logging = client.zero_trust.gateway.logging.get( @@ -75,6 +81,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[LoggingSetting], logging, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zero_trust.gateway.logging.with_raw_response.get( @@ -86,6 +93,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: logging = response.parse() assert_matches_type(Optional[LoggingSetting], logging, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zero_trust.gateway.logging.with_streaming_response.get( @@ -99,6 +107,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -110,6 +119,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncLogging: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: logging = await async_client.zero_trust.gateway.logging.update( @@ -117,6 +127,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[LoggingSetting], logging, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: logging = await async_client.zero_trust.gateway.logging.update( @@ -130,6 +141,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[LoggingSetting], logging, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.gateway.logging.with_raw_response.update( @@ -141,6 +153,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: logging = await response.parse() assert_matches_type(Optional[LoggingSetting], logging, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.gateway.logging.with_streaming_response.update( @@ -154,6 +167,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -161,6 +175,7 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: logging = await async_client.zero_trust.gateway.logging.get( @@ -168,6 +183,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[LoggingSetting], logging, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.gateway.logging.with_raw_response.get( @@ -179,6 +195,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: logging = await response.parse() assert_matches_type(Optional[LoggingSetting], logging, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.gateway.logging.with_streaming_response.get( @@ -192,6 +209,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/zero_trust/gateway/test_proxy_endpoints.py b/tests/api_resources/zero_trust/gateway/test_proxy_endpoints.py index 0e309618137..8637beea073 100644 --- a/tests/api_resources/zero_trust/gateway/test_proxy_endpoints.py +++ b/tests/api_resources/zero_trust/gateway/test_proxy_endpoints.py @@ -21,6 +21,7 @@ class TestProxyEndpoints: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: proxy_endpoint = client.zero_trust.gateway.proxy_endpoints.create( @@ -30,6 +31,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ProxyEndpoint], proxy_endpoint, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.zero_trust.gateway.proxy_endpoints.with_raw_response.create( @@ -43,6 +45,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: proxy_endpoint = response.parse() assert_matches_type(Optional[ProxyEndpoint], proxy_endpoint, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.zero_trust.gateway.proxy_endpoints.with_streaming_response.create( @@ -58,6 +61,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -67,6 +71,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: name="Devops team", ) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: proxy_endpoint = client.zero_trust.gateway.proxy_endpoints.list( @@ -74,6 +79,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[ProxyEndpoint], proxy_endpoint, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.zero_trust.gateway.proxy_endpoints.with_raw_response.list( @@ -85,6 +91,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: proxy_endpoint = response.parse() assert_matches_type(SyncSinglePage[ProxyEndpoint], proxy_endpoint, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.zero_trust.gateway.proxy_endpoints.with_streaming_response.list( @@ -98,6 +105,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -105,6 +113,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: proxy_endpoint = client.zero_trust.gateway.proxy_endpoints.delete( @@ -114,6 +123,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ProxyEndpointDeleteResponse], proxy_endpoint, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.zero_trust.gateway.proxy_endpoints.with_raw_response.delete( @@ -127,6 +137,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: proxy_endpoint = response.parse() assert_matches_type(Optional[ProxyEndpointDeleteResponse], proxy_endpoint, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.zero_trust.gateway.proxy_endpoints.with_streaming_response.delete( @@ -142,6 +153,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -158,6 +170,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: proxy_endpoint = client.zero_trust.gateway.proxy_endpoints.edit( @@ -166,6 +179,7 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ProxyEndpoint], proxy_endpoint, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_edit_with_all_params(self, client: Cloudflare) -> None: proxy_endpoint = client.zero_trust.gateway.proxy_endpoints.edit( @@ -176,6 +190,7 @@ def test_method_edit_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ProxyEndpoint], proxy_endpoint, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.zero_trust.gateway.proxy_endpoints.with_raw_response.edit( @@ -188,6 +203,7 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: proxy_endpoint = response.parse() assert_matches_type(Optional[ProxyEndpoint], proxy_endpoint, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.zero_trust.gateway.proxy_endpoints.with_streaming_response.edit( @@ -202,6 +218,7 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -216,6 +233,7 @@ def test_path_params_edit(self, client: Cloudflare) -> None: account_id="699d98642c564d2e855e9661899b7252", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: proxy_endpoint = client.zero_trust.gateway.proxy_endpoints.get( @@ -224,6 +242,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ProxyEndpoint], proxy_endpoint, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zero_trust.gateway.proxy_endpoints.with_raw_response.get( @@ -236,6 +255,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: proxy_endpoint = response.parse() assert_matches_type(Optional[ProxyEndpoint], proxy_endpoint, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zero_trust.gateway.proxy_endpoints.with_streaming_response.get( @@ -250,6 +270,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -268,6 +289,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncProxyEndpoints: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: proxy_endpoint = await async_client.zero_trust.gateway.proxy_endpoints.create( @@ -277,6 +299,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[ProxyEndpoint], proxy_endpoint, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.gateway.proxy_endpoints.with_raw_response.create( @@ -290,6 +313,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: proxy_endpoint = await response.parse() assert_matches_type(Optional[ProxyEndpoint], proxy_endpoint, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.gateway.proxy_endpoints.with_streaming_response.create( @@ -305,6 +329,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -314,6 +339,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: name="Devops team", ) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: proxy_endpoint = await async_client.zero_trust.gateway.proxy_endpoints.list( @@ -321,6 +347,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[ProxyEndpoint], proxy_endpoint, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.gateway.proxy_endpoints.with_raw_response.list( @@ -332,6 +359,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: proxy_endpoint = await response.parse() assert_matches_type(AsyncSinglePage[ProxyEndpoint], proxy_endpoint, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.gateway.proxy_endpoints.with_streaming_response.list( @@ -345,6 +373,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -352,6 +381,7 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: proxy_endpoint = await async_client.zero_trust.gateway.proxy_endpoints.delete( @@ -361,6 +391,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[ProxyEndpointDeleteResponse], proxy_endpoint, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.gateway.proxy_endpoints.with_raw_response.delete( @@ -374,6 +405,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: proxy_endpoint = await response.parse() assert_matches_type(Optional[ProxyEndpointDeleteResponse], proxy_endpoint, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.gateway.proxy_endpoints.with_streaming_response.delete( @@ -389,6 +421,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -405,6 +438,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: proxy_endpoint = await async_client.zero_trust.gateway.proxy_endpoints.edit( @@ -413,6 +447,7 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[ProxyEndpoint], proxy_endpoint, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) -> None: proxy_endpoint = await async_client.zero_trust.gateway.proxy_endpoints.edit( @@ -423,6 +458,7 @@ async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(Optional[ProxyEndpoint], proxy_endpoint, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.gateway.proxy_endpoints.with_raw_response.edit( @@ -435,6 +471,7 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: proxy_endpoint = await response.parse() assert_matches_type(Optional[ProxyEndpoint], proxy_endpoint, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.gateway.proxy_endpoints.with_streaming_response.edit( @@ -449,6 +486,7 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -463,6 +501,7 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: account_id="699d98642c564d2e855e9661899b7252", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: proxy_endpoint = await async_client.zero_trust.gateway.proxy_endpoints.get( @@ -471,6 +510,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[ProxyEndpoint], proxy_endpoint, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.gateway.proxy_endpoints.with_raw_response.get( @@ -483,6 +523,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: proxy_endpoint = await response.parse() assert_matches_type(Optional[ProxyEndpoint], proxy_endpoint, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.gateway.proxy_endpoints.with_streaming_response.get( @@ -497,6 +538,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/zero_trust/gateway/test_rules.py b/tests/api_resources/zero_trust/gateway/test_rules.py index 0dac7e74899..b74eda41ab4 100644 --- a/tests/api_resources/zero_trust/gateway/test_rules.py +++ b/tests/api_resources/zero_trust/gateway/test_rules.py @@ -21,6 +21,7 @@ class TestRules: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: rule = client.zero_trust.gateway.rules.create( @@ -30,6 +31,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[GatewayRule], rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: rule = client.zero_trust.gateway.rules.create( @@ -142,6 +144,7 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[GatewayRule], rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.zero_trust.gateway.rules.with_raw_response.create( @@ -155,6 +158,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: rule = response.parse() assert_matches_type(Optional[GatewayRule], rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.zero_trust.gateway.rules.with_streaming_response.create( @@ -170,6 +174,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -179,6 +184,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: name="block bad websites", ) + @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: rule = client.zero_trust.gateway.rules.update( @@ -189,6 +195,7 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[GatewayRule], rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: rule = client.zero_trust.gateway.rules.update( @@ -302,6 +309,7 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[GatewayRule], rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.zero_trust.gateway.rules.with_raw_response.update( @@ -316,6 +324,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: rule = response.parse() assert_matches_type(Optional[GatewayRule], rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.zero_trust.gateway.rules.with_streaming_response.update( @@ -332,6 +341,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -350,6 +360,7 @@ def test_path_params_update(self, client: Cloudflare) -> None: name="block bad websites", ) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: rule = client.zero_trust.gateway.rules.list( @@ -357,6 +368,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[GatewayRule], rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.zero_trust.gateway.rules.with_raw_response.list( @@ -368,6 +380,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: rule = response.parse() assert_matches_type(SyncSinglePage[GatewayRule], rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.zero_trust.gateway.rules.with_streaming_response.list( @@ -381,6 +394,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -388,6 +402,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: rule = client.zero_trust.gateway.rules.delete( @@ -397,6 +412,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[RuleDeleteResponse], rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.zero_trust.gateway.rules.with_raw_response.delete( @@ -410,6 +426,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: rule = response.parse() assert_matches_type(Optional[RuleDeleteResponse], rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.zero_trust.gateway.rules.with_streaming_response.delete( @@ -425,6 +442,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -441,6 +459,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: rule = client.zero_trust.gateway.rules.get( @@ -449,6 +468,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[GatewayRule], rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zero_trust.gateway.rules.with_raw_response.get( @@ -461,6 +481,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: rule = response.parse() assert_matches_type(Optional[GatewayRule], rule, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zero_trust.gateway.rules.with_streaming_response.get( @@ -475,6 +496,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -493,6 +515,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncRules: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: rule = await async_client.zero_trust.gateway.rules.create( @@ -502,6 +525,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[GatewayRule], rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: rule = await async_client.zero_trust.gateway.rules.create( @@ -614,6 +638,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[GatewayRule], rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.gateway.rules.with_raw_response.create( @@ -627,6 +652,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: rule = await response.parse() assert_matches_type(Optional[GatewayRule], rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.gateway.rules.with_streaming_response.create( @@ -642,6 +668,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -651,6 +678,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: name="block bad websites", ) + @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: rule = await async_client.zero_trust.gateway.rules.update( @@ -661,6 +689,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[GatewayRule], rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: rule = await async_client.zero_trust.gateway.rules.update( @@ -774,6 +803,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[GatewayRule], rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.gateway.rules.with_raw_response.update( @@ -788,6 +818,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: rule = await response.parse() assert_matches_type(Optional[GatewayRule], rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.gateway.rules.with_streaming_response.update( @@ -804,6 +835,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -822,6 +854,7 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: name="block bad websites", ) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: rule = await async_client.zero_trust.gateway.rules.list( @@ -829,6 +862,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[GatewayRule], rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.gateway.rules.with_raw_response.list( @@ -840,6 +874,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: rule = await response.parse() assert_matches_type(AsyncSinglePage[GatewayRule], rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.gateway.rules.with_streaming_response.list( @@ -853,6 +888,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -860,6 +896,7 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: rule = await async_client.zero_trust.gateway.rules.delete( @@ -869,6 +906,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[RuleDeleteResponse], rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.gateway.rules.with_raw_response.delete( @@ -882,6 +920,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: rule = await response.parse() assert_matches_type(Optional[RuleDeleteResponse], rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.gateway.rules.with_streaming_response.delete( @@ -897,6 +936,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -913,6 +953,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: rule = await async_client.zero_trust.gateway.rules.get( @@ -921,6 +962,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[GatewayRule], rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.gateway.rules.with_raw_response.get( @@ -933,6 +975,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: rule = await response.parse() assert_matches_type(Optional[GatewayRule], rule, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.gateway.rules.with_streaming_response.get( @@ -947,6 +990,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/zero_trust/networks/routes/test_ips.py b/tests/api_resources/zero_trust/networks/routes/test_ips.py index 154223efc5f..a7017c04eb0 100644 --- a/tests/api_resources/zero_trust/networks/routes/test_ips.py +++ b/tests/api_resources/zero_trust/networks/routes/test_ips.py @@ -17,6 +17,7 @@ class TestIPs: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: ip = client.zero_trust.networks.routes.ips.get( @@ -25,6 +26,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Teamnet, ip, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: ip = client.zero_trust.networks.routes.ips.get( @@ -34,6 +36,7 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Teamnet, ip, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zero_trust.networks.routes.ips.with_raw_response.get( @@ -46,6 +49,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: ip = response.parse() assert_matches_type(Teamnet, ip, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zero_trust.networks.routes.ips.with_streaming_response.get( @@ -60,6 +64,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -78,6 +83,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncIPs: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: ip = await async_client.zero_trust.networks.routes.ips.get( @@ -86,6 +92,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Teamnet, ip, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: ip = await async_client.zero_trust.networks.routes.ips.get( @@ -95,6 +102,7 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(Teamnet, ip, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.networks.routes.ips.with_raw_response.get( @@ -107,6 +115,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: ip = await response.parse() assert_matches_type(Teamnet, ip, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.networks.routes.ips.with_streaming_response.get( @@ -121,6 +130,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/zero_trust/networks/routes/test_networks.py b/tests/api_resources/zero_trust/networks/routes/test_networks.py index d2b44c907a3..b441734789b 100644 --- a/tests/api_resources/zero_trust/networks/routes/test_networks.py +++ b/tests/api_resources/zero_trust/networks/routes/test_networks.py @@ -17,6 +17,7 @@ class TestNetworks: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: network = client.zero_trust.networks.routes.networks.create( @@ -25,6 +26,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Route, network, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: network = client.zero_trust.networks.routes.networks.create( @@ -35,6 +37,7 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Route, network, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.zero_trust.networks.routes.networks.with_raw_response.create( @@ -47,6 +50,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: network = response.parse() assert_matches_type(Route, network, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.zero_trust.networks.routes.networks.with_streaming_response.create( @@ -61,6 +65,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -75,6 +80,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: account_id="699d98642c564d2e855e9661899b7252", ) + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: network = client.zero_trust.networks.routes.networks.delete( @@ -83,6 +89,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(Route, network, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_delete_with_all_params(self, client: Cloudflare) -> None: network = client.zero_trust.networks.routes.networks.delete( @@ -94,6 +101,7 @@ def test_method_delete_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Route, network, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.zero_trust.networks.routes.networks.with_raw_response.delete( @@ -106,6 +114,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: network = response.parse() assert_matches_type(Route, network, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.zero_trust.networks.routes.networks.with_streaming_response.delete( @@ -120,6 +129,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -134,6 +144,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: account_id="699d98642c564d2e855e9661899b7252", ) + @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: network = client.zero_trust.networks.routes.networks.edit( @@ -142,6 +153,7 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Route, network, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.zero_trust.networks.routes.networks.with_raw_response.edit( @@ -154,6 +166,7 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: network = response.parse() assert_matches_type(Route, network, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.zero_trust.networks.routes.networks.with_streaming_response.edit( @@ -168,6 +181,7 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -186,6 +200,7 @@ def test_path_params_edit(self, client: Cloudflare) -> None: class TestAsyncNetworks: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: network = await async_client.zero_trust.networks.routes.networks.create( @@ -194,6 +209,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Route, network, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: network = await async_client.zero_trust.networks.routes.networks.create( @@ -204,6 +220,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Route, network, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.networks.routes.networks.with_raw_response.create( @@ -216,6 +233,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: network = await response.parse() assert_matches_type(Route, network, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.networks.routes.networks.with_streaming_response.create( @@ -230,6 +248,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -244,6 +263,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: account_id="699d98642c564d2e855e9661899b7252", ) + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: network = await async_client.zero_trust.networks.routes.networks.delete( @@ -252,6 +272,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Route, network, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_delete_with_all_params(self, async_client: AsyncCloudflare) -> None: network = await async_client.zero_trust.networks.routes.networks.delete( @@ -263,6 +284,7 @@ async def test_method_delete_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Route, network, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.networks.routes.networks.with_raw_response.delete( @@ -275,6 +297,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: network = await response.parse() assert_matches_type(Route, network, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.networks.routes.networks.with_streaming_response.delete( @@ -289,6 +312,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -303,6 +327,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: account_id="699d98642c564d2e855e9661899b7252", ) + @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: network = await async_client.zero_trust.networks.routes.networks.edit( @@ -311,6 +336,7 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Route, network, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.networks.routes.networks.with_raw_response.edit( @@ -323,6 +349,7 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: network = await response.parse() assert_matches_type(Route, network, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.networks.routes.networks.with_streaming_response.edit( @@ -337,6 +364,7 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/zero_trust/networks/test_routes.py b/tests/api_resources/zero_trust/networks/test_routes.py index cc66a2897dd..851dd4ec855 100644 --- a/tests/api_resources/zero_trust/networks/test_routes.py +++ b/tests/api_resources/zero_trust/networks/test_routes.py @@ -21,6 +21,7 @@ class TestRoutes: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: route = client.zero_trust.networks.routes.create( @@ -29,6 +30,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Route, route, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: route = client.zero_trust.networks.routes.create( @@ -39,6 +41,7 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Route, route, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.zero_trust.networks.routes.with_raw_response.create( @@ -51,6 +54,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: route = response.parse() assert_matches_type(Route, route, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.zero_trust.networks.routes.with_streaming_response.create( @@ -65,6 +69,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -73,6 +78,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: ip_network="172.16.0.0/16", ) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: route = client.zero_trust.networks.routes.list( @@ -80,6 +86,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePaginationArray[Teamnet], route, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: route = client.zero_trust.networks.routes.list( @@ -98,6 +105,7 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePaginationArray[Teamnet], route, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.zero_trust.networks.routes.with_raw_response.list( @@ -109,6 +117,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: route = response.parse() assert_matches_type(SyncV4PagePaginationArray[Teamnet], route, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.zero_trust.networks.routes.with_streaming_response.list( @@ -122,6 +131,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -129,6 +139,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: route = client.zero_trust.networks.routes.delete( @@ -137,6 +148,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(Route, route, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.zero_trust.networks.routes.with_raw_response.delete( @@ -149,6 +161,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: route = response.parse() assert_matches_type(Route, route, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.zero_trust.networks.routes.with_streaming_response.delete( @@ -163,6 +176,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -177,6 +191,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: account_id="699d98642c564d2e855e9661899b7252", ) + @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: route = client.zero_trust.networks.routes.edit( @@ -185,6 +200,7 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Route, route, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_edit_with_all_params(self, client: Cloudflare) -> None: route = client.zero_trust.networks.routes.edit( @@ -198,6 +214,7 @@ def test_method_edit_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Route, route, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.zero_trust.networks.routes.with_raw_response.edit( @@ -210,6 +227,7 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: route = response.parse() assert_matches_type(Route, route, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.zero_trust.networks.routes.with_streaming_response.edit( @@ -224,6 +242,7 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -242,6 +261,7 @@ def test_path_params_edit(self, client: Cloudflare) -> None: class TestAsyncRoutes: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: route = await async_client.zero_trust.networks.routes.create( @@ -250,6 +270,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Route, route, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: route = await async_client.zero_trust.networks.routes.create( @@ -260,6 +281,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Route, route, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.networks.routes.with_raw_response.create( @@ -272,6 +294,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: route = await response.parse() assert_matches_type(Route, route, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.networks.routes.with_streaming_response.create( @@ -286,6 +309,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -294,6 +318,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: ip_network="172.16.0.0/16", ) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: route = await async_client.zero_trust.networks.routes.list( @@ -301,6 +326,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncV4PagePaginationArray[Teamnet], route, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: route = await async_client.zero_trust.networks.routes.list( @@ -319,6 +345,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncV4PagePaginationArray[Teamnet], route, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.networks.routes.with_raw_response.list( @@ -330,6 +357,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: route = await response.parse() assert_matches_type(AsyncV4PagePaginationArray[Teamnet], route, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.networks.routes.with_streaming_response.list( @@ -343,6 +371,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -350,6 +379,7 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: route = await async_client.zero_trust.networks.routes.delete( @@ -358,6 +388,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Route, route, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.networks.routes.with_raw_response.delete( @@ -370,6 +401,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: route = await response.parse() assert_matches_type(Route, route, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.networks.routes.with_streaming_response.delete( @@ -384,6 +416,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -398,6 +431,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: account_id="699d98642c564d2e855e9661899b7252", ) + @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: route = await async_client.zero_trust.networks.routes.edit( @@ -406,6 +440,7 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Route, route, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) -> None: route = await async_client.zero_trust.networks.routes.edit( @@ -419,6 +454,7 @@ async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(Route, route, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.networks.routes.with_raw_response.edit( @@ -431,6 +467,7 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: route = await response.parse() assert_matches_type(Route, route, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.networks.routes.with_streaming_response.edit( @@ -445,6 +482,7 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/zero_trust/networks/test_virtual_networks.py b/tests/api_resources/zero_trust/networks/test_virtual_networks.py index 1fcb3137168..c785cf1fb63 100644 --- a/tests/api_resources/zero_trust/networks/test_virtual_networks.py +++ b/tests/api_resources/zero_trust/networks/test_virtual_networks.py @@ -23,6 +23,7 @@ class TestVirtualNetworks: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: virtual_network = client.zero_trust.networks.virtual_networks.create( @@ -31,6 +32,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(VirtualNetworkCreateResponse, virtual_network, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: virtual_network = client.zero_trust.networks.virtual_networks.create( @@ -41,6 +43,7 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(VirtualNetworkCreateResponse, virtual_network, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.zero_trust.networks.virtual_networks.with_raw_response.create( @@ -53,6 +56,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: virtual_network = response.parse() assert_matches_type(VirtualNetworkCreateResponse, virtual_network, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.zero_trust.networks.virtual_networks.with_streaming_response.create( @@ -67,6 +71,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -75,6 +80,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: name="us-east-1-vpc", ) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: virtual_network = client.zero_trust.networks.virtual_networks.list( @@ -82,6 +88,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[VirtualNetwork], virtual_network, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: virtual_network = client.zero_trust.networks.virtual_networks.list( @@ -94,6 +101,7 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[VirtualNetwork], virtual_network, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.zero_trust.networks.virtual_networks.with_raw_response.list( @@ -105,6 +113,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: virtual_network = response.parse() assert_matches_type(SyncSinglePage[VirtualNetwork], virtual_network, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.zero_trust.networks.virtual_networks.with_streaming_response.list( @@ -118,6 +127,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -125,6 +135,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: virtual_network = client.zero_trust.networks.virtual_networks.delete( @@ -134,6 +145,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(VirtualNetworkDeleteResponse, virtual_network, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.zero_trust.networks.virtual_networks.with_raw_response.delete( @@ -147,6 +159,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: virtual_network = response.parse() assert_matches_type(VirtualNetworkDeleteResponse, virtual_network, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.zero_trust.networks.virtual_networks.with_streaming_response.delete( @@ -162,6 +175,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -178,6 +192,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: virtual_network = client.zero_trust.networks.virtual_networks.edit( @@ -186,6 +201,7 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(VirtualNetworkEditResponse, virtual_network, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_edit_with_all_params(self, client: Cloudflare) -> None: virtual_network = client.zero_trust.networks.virtual_networks.edit( @@ -197,6 +213,7 @@ def test_method_edit_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(VirtualNetworkEditResponse, virtual_network, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.zero_trust.networks.virtual_networks.with_raw_response.edit( @@ -209,6 +226,7 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: virtual_network = response.parse() assert_matches_type(VirtualNetworkEditResponse, virtual_network, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.zero_trust.networks.virtual_networks.with_streaming_response.edit( @@ -223,6 +241,7 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -241,6 +260,7 @@ def test_path_params_edit(self, client: Cloudflare) -> None: class TestAsyncVirtualNetworks: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: virtual_network = await async_client.zero_trust.networks.virtual_networks.create( @@ -249,6 +269,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(VirtualNetworkCreateResponse, virtual_network, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: virtual_network = await async_client.zero_trust.networks.virtual_networks.create( @@ -259,6 +280,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(VirtualNetworkCreateResponse, virtual_network, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.networks.virtual_networks.with_raw_response.create( @@ -271,6 +293,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: virtual_network = await response.parse() assert_matches_type(VirtualNetworkCreateResponse, virtual_network, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.networks.virtual_networks.with_streaming_response.create( @@ -285,6 +308,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -293,6 +317,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: name="us-east-1-vpc", ) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: virtual_network = await async_client.zero_trust.networks.virtual_networks.list( @@ -300,6 +325,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[VirtualNetwork], virtual_network, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: virtual_network = await async_client.zero_trust.networks.virtual_networks.list( @@ -312,6 +338,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncSinglePage[VirtualNetwork], virtual_network, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.networks.virtual_networks.with_raw_response.list( @@ -323,6 +350,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: virtual_network = await response.parse() assert_matches_type(AsyncSinglePage[VirtualNetwork], virtual_network, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.networks.virtual_networks.with_streaming_response.list( @@ -336,6 +364,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -343,6 +372,7 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: virtual_network = await async_client.zero_trust.networks.virtual_networks.delete( @@ -352,6 +382,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(VirtualNetworkDeleteResponse, virtual_network, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.networks.virtual_networks.with_raw_response.delete( @@ -365,6 +396,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: virtual_network = await response.parse() assert_matches_type(VirtualNetworkDeleteResponse, virtual_network, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.networks.virtual_networks.with_streaming_response.delete( @@ -380,6 +412,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -396,6 +429,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: virtual_network = await async_client.zero_trust.networks.virtual_networks.edit( @@ -404,6 +438,7 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(VirtualNetworkEditResponse, virtual_network, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) -> None: virtual_network = await async_client.zero_trust.networks.virtual_networks.edit( @@ -415,6 +450,7 @@ async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(VirtualNetworkEditResponse, virtual_network, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.networks.virtual_networks.with_raw_response.edit( @@ -427,6 +463,7 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: virtual_network = await response.parse() assert_matches_type(VirtualNetworkEditResponse, virtual_network, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.networks.virtual_networks.with_streaming_response.edit( @@ -441,6 +478,7 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/zero_trust/risk_scoring/test_behaviours.py b/tests/api_resources/zero_trust/risk_scoring/test_behaviours.py index f9d0bf7503f..274bc9a39d4 100644 --- a/tests/api_resources/zero_trust/risk_scoring/test_behaviours.py +++ b/tests/api_resources/zero_trust/risk_scoring/test_behaviours.py @@ -20,6 +20,7 @@ class TestBehaviours: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: behaviour = client.zero_trust.risk_scoring.behaviours.update( @@ -27,6 +28,7 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(BehaviourUpdateResponse, behaviour, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: behaviour = client.zero_trust.risk_scoring.behaviours.update( @@ -40,6 +42,7 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(BehaviourUpdateResponse, behaviour, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.zero_trust.risk_scoring.behaviours.with_raw_response.update( @@ -51,6 +54,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: behaviour = response.parse() assert_matches_type(BehaviourUpdateResponse, behaviour, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.zero_trust.risk_scoring.behaviours.with_streaming_response.update( @@ -64,6 +68,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_identifier` but received ''"): @@ -71,6 +76,7 @@ def test_path_params_update(self, client: Cloudflare) -> None: "", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: behaviour = client.zero_trust.risk_scoring.behaviours.get( @@ -78,6 +84,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(BehaviourGetResponse, behaviour, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zero_trust.risk_scoring.behaviours.with_raw_response.get( @@ -89,6 +96,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: behaviour = response.parse() assert_matches_type(BehaviourGetResponse, behaviour, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zero_trust.risk_scoring.behaviours.with_streaming_response.get( @@ -102,6 +110,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_identifier` but received ''"): @@ -113,6 +122,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncBehaviours: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: behaviour = await async_client.zero_trust.risk_scoring.behaviours.update( @@ -120,6 +130,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(BehaviourUpdateResponse, behaviour, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: behaviour = await async_client.zero_trust.risk_scoring.behaviours.update( @@ -133,6 +144,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(BehaviourUpdateResponse, behaviour, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.risk_scoring.behaviours.with_raw_response.update( @@ -144,6 +156,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: behaviour = await response.parse() assert_matches_type(BehaviourUpdateResponse, behaviour, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.risk_scoring.behaviours.with_streaming_response.update( @@ -157,6 +170,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_identifier` but received ''"): @@ -164,6 +178,7 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: "", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: behaviour = await async_client.zero_trust.risk_scoring.behaviours.get( @@ -171,6 +186,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(BehaviourGetResponse, behaviour, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.risk_scoring.behaviours.with_raw_response.get( @@ -182,6 +198,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: behaviour = await response.parse() assert_matches_type(BehaviourGetResponse, behaviour, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.risk_scoring.behaviours.with_streaming_response.get( @@ -195,6 +212,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_identifier` but received ''"): diff --git a/tests/api_resources/zero_trust/risk_scoring/test_summary.py b/tests/api_resources/zero_trust/risk_scoring/test_summary.py index 1ae273a5a8c..37e56ed2449 100644 --- a/tests/api_resources/zero_trust/risk_scoring/test_summary.py +++ b/tests/api_resources/zero_trust/risk_scoring/test_summary.py @@ -17,6 +17,7 @@ class TestSummary: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: summary = client.zero_trust.risk_scoring.summary.get( @@ -24,6 +25,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(SummaryGetResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: summary = client.zero_trust.risk_scoring.summary.get( @@ -35,6 +37,7 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SummaryGetResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zero_trust.risk_scoring.summary.with_raw_response.get( @@ -46,6 +49,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: summary = response.parse() assert_matches_type(SummaryGetResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zero_trust.risk_scoring.summary.with_streaming_response.get( @@ -59,6 +63,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_identifier` but received ''"): @@ -70,6 +75,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncSummary: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: summary = await async_client.zero_trust.risk_scoring.summary.get( @@ -77,6 +83,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(SummaryGetResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: summary = await async_client.zero_trust.risk_scoring.summary.get( @@ -88,6 +95,7 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(SummaryGetResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.risk_scoring.summary.with_raw_response.get( @@ -99,6 +107,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: summary = await response.parse() assert_matches_type(SummaryGetResponse, summary, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.risk_scoring.summary.with_streaming_response.get( @@ -112,6 +121,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_identifier` but received ''"): diff --git a/tests/api_resources/zero_trust/test_connectivity_settings.py b/tests/api_resources/zero_trust/test_connectivity_settings.py index 310f4319091..001080cf070 100644 --- a/tests/api_resources/zero_trust/test_connectivity_settings.py +++ b/tests/api_resources/zero_trust/test_connectivity_settings.py @@ -20,6 +20,7 @@ class TestConnectivitySettings: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: connectivity_setting = client.zero_trust.connectivity_settings.edit( @@ -27,6 +28,7 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(ConnectivitySettingEditResponse, connectivity_setting, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_edit_with_all_params(self, client: Cloudflare) -> None: connectivity_setting = client.zero_trust.connectivity_settings.edit( @@ -36,6 +38,7 @@ def test_method_edit_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(ConnectivitySettingEditResponse, connectivity_setting, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.zero_trust.connectivity_settings.with_raw_response.edit( @@ -47,6 +50,7 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: connectivity_setting = response.parse() assert_matches_type(ConnectivitySettingEditResponse, connectivity_setting, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.zero_trust.connectivity_settings.with_streaming_response.edit( @@ -60,6 +64,7 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -67,6 +72,7 @@ def test_path_params_edit(self, client: Cloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: connectivity_setting = client.zero_trust.connectivity_settings.get( @@ -74,6 +80,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(ConnectivitySettingGetResponse, connectivity_setting, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zero_trust.connectivity_settings.with_raw_response.get( @@ -85,6 +92,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: connectivity_setting = response.parse() assert_matches_type(ConnectivitySettingGetResponse, connectivity_setting, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zero_trust.connectivity_settings.with_streaming_response.get( @@ -98,6 +106,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -109,6 +118,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncConnectivitySettings: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: connectivity_setting = await async_client.zero_trust.connectivity_settings.edit( @@ -116,6 +126,7 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(ConnectivitySettingEditResponse, connectivity_setting, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) -> None: connectivity_setting = await async_client.zero_trust.connectivity_settings.edit( @@ -125,6 +136,7 @@ async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(ConnectivitySettingEditResponse, connectivity_setting, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.connectivity_settings.with_raw_response.edit( @@ -136,6 +148,7 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: connectivity_setting = await response.parse() assert_matches_type(ConnectivitySettingEditResponse, connectivity_setting, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.connectivity_settings.with_streaming_response.edit( @@ -149,6 +162,7 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -156,6 +170,7 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: connectivity_setting = await async_client.zero_trust.connectivity_settings.get( @@ -163,6 +178,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(ConnectivitySettingGetResponse, connectivity_setting, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.connectivity_settings.with_raw_response.get( @@ -174,6 +190,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: connectivity_setting = await response.parse() assert_matches_type(ConnectivitySettingGetResponse, connectivity_setting, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.connectivity_settings.with_streaming_response.get( @@ -187,6 +204,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/zero_trust/test_devices.py b/tests/api_resources/zero_trust/test_devices.py index 6b0adb03848..1beef070418 100644 --- a/tests/api_resources/zero_trust/test_devices.py +++ b/tests/api_resources/zero_trust/test_devices.py @@ -18,6 +18,7 @@ class TestDevices: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: device = client.zero_trust.devices.list( @@ -25,6 +26,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[Device], device, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.zero_trust.devices.with_raw_response.list( @@ -36,6 +38,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: device = response.parse() assert_matches_type(SyncSinglePage[Device], device, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.zero_trust.devices.with_streaming_response.list( @@ -49,6 +52,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -56,6 +60,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: device = client.zero_trust.devices.get( @@ -64,6 +69,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(DeviceGetResponse, device, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zero_trust.devices.with_raw_response.get( @@ -76,6 +82,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: device = response.parse() assert_matches_type(DeviceGetResponse, device, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zero_trust.devices.with_streaming_response.get( @@ -90,6 +97,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -108,6 +116,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncDevices: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: device = await async_client.zero_trust.devices.list( @@ -115,6 +124,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[Device], device, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.devices.with_raw_response.list( @@ -126,6 +136,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: device = await response.parse() assert_matches_type(AsyncSinglePage[Device], device, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.devices.with_streaming_response.list( @@ -139,6 +150,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -146,6 +158,7 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: device = await async_client.zero_trust.devices.get( @@ -154,6 +167,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(DeviceGetResponse, device, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.devices.with_raw_response.get( @@ -166,6 +180,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: device = await response.parse() assert_matches_type(DeviceGetResponse, device, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.devices.with_streaming_response.get( @@ -180,6 +195,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/zero_trust/test_gateway.py b/tests/api_resources/zero_trust/test_gateway.py index 4f68a4f6c2c..27d4193e48e 100644 --- a/tests/api_resources/zero_trust/test_gateway.py +++ b/tests/api_resources/zero_trust/test_gateway.py @@ -17,6 +17,7 @@ class TestGateway: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: gateway = client.zero_trust.gateway.create( @@ -24,6 +25,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[GatewayCreateResponse], gateway, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.zero_trust.gateway.with_raw_response.create( @@ -35,6 +37,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: gateway = response.parse() assert_matches_type(Optional[GatewayCreateResponse], gateway, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.zero_trust.gateway.with_streaming_response.create( @@ -48,6 +51,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -55,6 +59,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: gateway = client.zero_trust.gateway.list( @@ -62,6 +67,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[GatewayListResponse], gateway, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.zero_trust.gateway.with_raw_response.list( @@ -73,6 +79,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: gateway = response.parse() assert_matches_type(Optional[GatewayListResponse], gateway, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.zero_trust.gateway.with_streaming_response.list( @@ -86,6 +93,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -97,6 +105,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: class TestAsyncGateway: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: gateway = await async_client.zero_trust.gateway.create( @@ -104,6 +113,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[GatewayCreateResponse], gateway, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.gateway.with_raw_response.create( @@ -115,6 +125,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: gateway = await response.parse() assert_matches_type(Optional[GatewayCreateResponse], gateway, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.gateway.with_streaming_response.create( @@ -128,6 +139,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -135,6 +147,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: gateway = await async_client.zero_trust.gateway.list( @@ -142,6 +155,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[GatewayListResponse], gateway, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.gateway.with_raw_response.list( @@ -153,6 +167,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: gateway = await response.parse() assert_matches_type(Optional[GatewayListResponse], gateway, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.gateway.with_streaming_response.list( @@ -166,6 +181,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/zero_trust/test_identity_providers.py b/tests/api_resources/zero_trust/test_identity_providers.py index 04f710c97e2..f9df9404dd2 100644 --- a/tests/api_resources/zero_trust/test_identity_providers.py +++ b/tests/api_resources/zero_trust/test_identity_providers.py @@ -22,6 +22,7 @@ class TestIdentityProviders: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create_overload_1(self, client: Cloudflare) -> None: identity_provider = client.zero_trust.identity_providers.create( @@ -33,6 +34,7 @@ def test_method_create_overload_1(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params_overload_1(self, client: Cloudflare) -> None: identity_provider = client.zero_trust.identity_providers.create( @@ -60,6 +62,7 @@ def test_method_create_with_all_params_overload_1(self, client: Cloudflare) -> N ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create_overload_1(self, client: Cloudflare) -> None: response = client.zero_trust.identity_providers.with_raw_response.create( @@ -75,6 +78,7 @@ def test_raw_response_create_overload_1(self, client: Cloudflare) -> None: identity_provider = response.parse() assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create_overload_1(self, client: Cloudflare) -> None: with client.zero_trust.identity_providers.with_streaming_response.create( @@ -92,6 +96,7 @@ def test_streaming_response_create_overload_1(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create_overload_1(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -112,6 +117,7 @@ def test_path_params_create_overload_1(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_create_overload_2(self, client: Cloudflare) -> None: identity_provider = client.zero_trust.identity_providers.create( @@ -123,6 +129,7 @@ def test_method_create_overload_2(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params_overload_2(self, client: Cloudflare) -> None: identity_provider = client.zero_trust.identity_providers.create( @@ -148,6 +155,7 @@ def test_method_create_with_all_params_overload_2(self, client: Cloudflare) -> N ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create_overload_2(self, client: Cloudflare) -> None: response = client.zero_trust.identity_providers.with_raw_response.create( @@ -163,6 +171,7 @@ def test_raw_response_create_overload_2(self, client: Cloudflare) -> None: identity_provider = response.parse() assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create_overload_2(self, client: Cloudflare) -> None: with client.zero_trust.identity_providers.with_streaming_response.create( @@ -180,6 +189,7 @@ def test_streaming_response_create_overload_2(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create_overload_2(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -200,6 +210,7 @@ def test_path_params_create_overload_2(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_create_overload_3(self, client: Cloudflare) -> None: identity_provider = client.zero_trust.identity_providers.create( @@ -211,6 +222,7 @@ def test_method_create_overload_3(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params_overload_3(self, client: Cloudflare) -> None: identity_provider = client.zero_trust.identity_providers.create( @@ -232,6 +244,7 @@ def test_method_create_with_all_params_overload_3(self, client: Cloudflare) -> N ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create_overload_3(self, client: Cloudflare) -> None: response = client.zero_trust.identity_providers.with_raw_response.create( @@ -247,6 +260,7 @@ def test_raw_response_create_overload_3(self, client: Cloudflare) -> None: identity_provider = response.parse() assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create_overload_3(self, client: Cloudflare) -> None: with client.zero_trust.identity_providers.with_streaming_response.create( @@ -264,6 +278,7 @@ def test_streaming_response_create_overload_3(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create_overload_3(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -284,6 +299,7 @@ def test_path_params_create_overload_3(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_create_overload_4(self, client: Cloudflare) -> None: identity_provider = client.zero_trust.identity_providers.create( @@ -295,6 +311,7 @@ def test_method_create_overload_4(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params_overload_4(self, client: Cloudflare) -> None: identity_provider = client.zero_trust.identity_providers.create( @@ -316,6 +333,7 @@ def test_method_create_with_all_params_overload_4(self, client: Cloudflare) -> N ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create_overload_4(self, client: Cloudflare) -> None: response = client.zero_trust.identity_providers.with_raw_response.create( @@ -331,6 +349,7 @@ def test_raw_response_create_overload_4(self, client: Cloudflare) -> None: identity_provider = response.parse() assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create_overload_4(self, client: Cloudflare) -> None: with client.zero_trust.identity_providers.with_streaming_response.create( @@ -348,6 +367,7 @@ def test_streaming_response_create_overload_4(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create_overload_4(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -368,6 +388,7 @@ def test_path_params_create_overload_4(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_create_overload_5(self, client: Cloudflare) -> None: identity_provider = client.zero_trust.identity_providers.create( @@ -379,6 +400,7 @@ def test_method_create_overload_5(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params_overload_5(self, client: Cloudflare) -> None: identity_provider = client.zero_trust.identity_providers.create( @@ -402,6 +424,7 @@ def test_method_create_with_all_params_overload_5(self, client: Cloudflare) -> N ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create_overload_5(self, client: Cloudflare) -> None: response = client.zero_trust.identity_providers.with_raw_response.create( @@ -417,6 +440,7 @@ def test_raw_response_create_overload_5(self, client: Cloudflare) -> None: identity_provider = response.parse() assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create_overload_5(self, client: Cloudflare) -> None: with client.zero_trust.identity_providers.with_streaming_response.create( @@ -434,6 +458,7 @@ def test_streaming_response_create_overload_5(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create_overload_5(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -454,6 +479,7 @@ def test_path_params_create_overload_5(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_create_overload_6(self, client: Cloudflare) -> None: identity_provider = client.zero_trust.identity_providers.create( @@ -465,6 +491,7 @@ def test_method_create_overload_6(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params_overload_6(self, client: Cloudflare) -> None: identity_provider = client.zero_trust.identity_providers.create( @@ -489,6 +516,7 @@ def test_method_create_with_all_params_overload_6(self, client: Cloudflare) -> N ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create_overload_6(self, client: Cloudflare) -> None: response = client.zero_trust.identity_providers.with_raw_response.create( @@ -504,6 +532,7 @@ def test_raw_response_create_overload_6(self, client: Cloudflare) -> None: identity_provider = response.parse() assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create_overload_6(self, client: Cloudflare) -> None: with client.zero_trust.identity_providers.with_streaming_response.create( @@ -521,6 +550,7 @@ def test_streaming_response_create_overload_6(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create_overload_6(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -541,6 +571,7 @@ def test_path_params_create_overload_6(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_create_overload_7(self, client: Cloudflare) -> None: identity_provider = client.zero_trust.identity_providers.create( @@ -552,6 +583,7 @@ def test_method_create_overload_7(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params_overload_7(self, client: Cloudflare) -> None: identity_provider = client.zero_trust.identity_providers.create( @@ -573,6 +605,7 @@ def test_method_create_with_all_params_overload_7(self, client: Cloudflare) -> N ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create_overload_7(self, client: Cloudflare) -> None: response = client.zero_trust.identity_providers.with_raw_response.create( @@ -588,6 +621,7 @@ def test_raw_response_create_overload_7(self, client: Cloudflare) -> None: identity_provider = response.parse() assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create_overload_7(self, client: Cloudflare) -> None: with client.zero_trust.identity_providers.with_streaming_response.create( @@ -605,6 +639,7 @@ def test_streaming_response_create_overload_7(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create_overload_7(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -625,6 +660,7 @@ def test_path_params_create_overload_7(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_create_overload_8(self, client: Cloudflare) -> None: identity_provider = client.zero_trust.identity_providers.create( @@ -636,6 +672,7 @@ def test_method_create_overload_8(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params_overload_8(self, client: Cloudflare) -> None: identity_provider = client.zero_trust.identity_providers.create( @@ -663,6 +700,7 @@ def test_method_create_with_all_params_overload_8(self, client: Cloudflare) -> N ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create_overload_8(self, client: Cloudflare) -> None: response = client.zero_trust.identity_providers.with_raw_response.create( @@ -678,6 +716,7 @@ def test_raw_response_create_overload_8(self, client: Cloudflare) -> None: identity_provider = response.parse() assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create_overload_8(self, client: Cloudflare) -> None: with client.zero_trust.identity_providers.with_streaming_response.create( @@ -695,6 +734,7 @@ def test_streaming_response_create_overload_8(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create_overload_8(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -715,6 +755,7 @@ def test_path_params_create_overload_8(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_create_overload_9(self, client: Cloudflare) -> None: identity_provider = client.zero_trust.identity_providers.create( @@ -726,6 +767,7 @@ def test_method_create_overload_9(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params_overload_9(self, client: Cloudflare) -> None: identity_provider = client.zero_trust.identity_providers.create( @@ -751,6 +793,7 @@ def test_method_create_with_all_params_overload_9(self, client: Cloudflare) -> N ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create_overload_9(self, client: Cloudflare) -> None: response = client.zero_trust.identity_providers.with_raw_response.create( @@ -766,6 +809,7 @@ def test_raw_response_create_overload_9(self, client: Cloudflare) -> None: identity_provider = response.parse() assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create_overload_9(self, client: Cloudflare) -> None: with client.zero_trust.identity_providers.with_streaming_response.create( @@ -783,6 +827,7 @@ def test_streaming_response_create_overload_9(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create_overload_9(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -803,6 +848,7 @@ def test_path_params_create_overload_9(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_create_overload_10(self, client: Cloudflare) -> None: identity_provider = client.zero_trust.identity_providers.create( @@ -814,6 +860,7 @@ def test_method_create_overload_10(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params_overload_10(self, client: Cloudflare) -> None: identity_provider = client.zero_trust.identity_providers.create( @@ -838,6 +885,7 @@ def test_method_create_with_all_params_overload_10(self, client: Cloudflare) -> ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create_overload_10(self, client: Cloudflare) -> None: response = client.zero_trust.identity_providers.with_raw_response.create( @@ -853,6 +901,7 @@ def test_raw_response_create_overload_10(self, client: Cloudflare) -> None: identity_provider = response.parse() assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create_overload_10(self, client: Cloudflare) -> None: with client.zero_trust.identity_providers.with_streaming_response.create( @@ -870,6 +919,7 @@ def test_streaming_response_create_overload_10(self, client: Cloudflare) -> None assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create_overload_10(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -890,6 +940,7 @@ def test_path_params_create_overload_10(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_create_overload_11(self, client: Cloudflare) -> None: identity_provider = client.zero_trust.identity_providers.create( @@ -901,6 +952,7 @@ def test_method_create_overload_11(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params_overload_11(self, client: Cloudflare) -> None: identity_provider = client.zero_trust.identity_providers.create( @@ -925,6 +977,7 @@ def test_method_create_with_all_params_overload_11(self, client: Cloudflare) -> ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create_overload_11(self, client: Cloudflare) -> None: response = client.zero_trust.identity_providers.with_raw_response.create( @@ -940,6 +993,7 @@ def test_raw_response_create_overload_11(self, client: Cloudflare) -> None: identity_provider = response.parse() assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create_overload_11(self, client: Cloudflare) -> None: with client.zero_trust.identity_providers.with_streaming_response.create( @@ -957,6 +1011,7 @@ def test_streaming_response_create_overload_11(self, client: Cloudflare) -> None assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create_overload_11(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -977,6 +1032,7 @@ def test_path_params_create_overload_11(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_create_overload_12(self, client: Cloudflare) -> None: identity_provider = client.zero_trust.identity_providers.create( @@ -988,6 +1044,7 @@ def test_method_create_overload_12(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params_overload_12(self, client: Cloudflare) -> None: identity_provider = client.zero_trust.identity_providers.create( @@ -1027,6 +1084,7 @@ def test_method_create_with_all_params_overload_12(self, client: Cloudflare) -> ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create_overload_12(self, client: Cloudflare) -> None: response = client.zero_trust.identity_providers.with_raw_response.create( @@ -1042,6 +1100,7 @@ def test_raw_response_create_overload_12(self, client: Cloudflare) -> None: identity_provider = response.parse() assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create_overload_12(self, client: Cloudflare) -> None: with client.zero_trust.identity_providers.with_streaming_response.create( @@ -1059,6 +1118,7 @@ def test_streaming_response_create_overload_12(self, client: Cloudflare) -> None assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create_overload_12(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -1079,6 +1139,7 @@ def test_path_params_create_overload_12(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_create_overload_13(self, client: Cloudflare) -> None: identity_provider = client.zero_trust.identity_providers.create( @@ -1090,6 +1151,7 @@ def test_method_create_overload_13(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params_overload_13(self, client: Cloudflare) -> None: identity_provider = client.zero_trust.identity_providers.create( @@ -1111,6 +1173,7 @@ def test_method_create_with_all_params_overload_13(self, client: Cloudflare) -> ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create_overload_13(self, client: Cloudflare) -> None: response = client.zero_trust.identity_providers.with_raw_response.create( @@ -1126,6 +1189,7 @@ def test_raw_response_create_overload_13(self, client: Cloudflare) -> None: identity_provider = response.parse() assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create_overload_13(self, client: Cloudflare) -> None: with client.zero_trust.identity_providers.with_streaming_response.create( @@ -1143,6 +1207,7 @@ def test_streaming_response_create_overload_13(self, client: Cloudflare) -> None assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create_overload_13(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -1163,6 +1228,7 @@ def test_path_params_create_overload_13(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_create_overload_14(self, client: Cloudflare) -> None: identity_provider = client.zero_trust.identity_providers.create( @@ -1174,6 +1240,7 @@ def test_method_create_overload_14(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params_overload_14(self, client: Cloudflare) -> None: identity_provider = client.zero_trust.identity_providers.create( @@ -1192,6 +1259,7 @@ def test_method_create_with_all_params_overload_14(self, client: Cloudflare) -> ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create_overload_14(self, client: Cloudflare) -> None: response = client.zero_trust.identity_providers.with_raw_response.create( @@ -1207,6 +1275,7 @@ def test_raw_response_create_overload_14(self, client: Cloudflare) -> None: identity_provider = response.parse() assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create_overload_14(self, client: Cloudflare) -> None: with client.zero_trust.identity_providers.with_streaming_response.create( @@ -1224,6 +1293,7 @@ def test_streaming_response_create_overload_14(self, client: Cloudflare) -> None assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create_overload_14(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -1244,6 +1314,7 @@ def test_path_params_create_overload_14(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_update_overload_1(self, client: Cloudflare) -> None: identity_provider = client.zero_trust.identity_providers.update( @@ -1256,6 +1327,7 @@ def test_method_update_overload_1(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_update_with_all_params_overload_1(self, client: Cloudflare) -> None: identity_provider = client.zero_trust.identity_providers.update( @@ -1284,6 +1356,7 @@ def test_method_update_with_all_params_overload_1(self, client: Cloudflare) -> N ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update_overload_1(self, client: Cloudflare) -> None: response = client.zero_trust.identity_providers.with_raw_response.update( @@ -1300,6 +1373,7 @@ def test_raw_response_update_overload_1(self, client: Cloudflare) -> None: identity_provider = response.parse() assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update_overload_1(self, client: Cloudflare) -> None: with client.zero_trust.identity_providers.with_streaming_response.update( @@ -1318,6 +1392,7 @@ def test_streaming_response_update_overload_1(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update_overload_1(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `uuid` but received ''"): @@ -1350,6 +1425,7 @@ def test_path_params_update_overload_1(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_update_overload_2(self, client: Cloudflare) -> None: identity_provider = client.zero_trust.identity_providers.update( @@ -1362,6 +1438,7 @@ def test_method_update_overload_2(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_update_with_all_params_overload_2(self, client: Cloudflare) -> None: identity_provider = client.zero_trust.identity_providers.update( @@ -1388,6 +1465,7 @@ def test_method_update_with_all_params_overload_2(self, client: Cloudflare) -> N ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update_overload_2(self, client: Cloudflare) -> None: response = client.zero_trust.identity_providers.with_raw_response.update( @@ -1404,6 +1482,7 @@ def test_raw_response_update_overload_2(self, client: Cloudflare) -> None: identity_provider = response.parse() assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update_overload_2(self, client: Cloudflare) -> None: with client.zero_trust.identity_providers.with_streaming_response.update( @@ -1422,6 +1501,7 @@ def test_streaming_response_update_overload_2(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update_overload_2(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `uuid` but received ''"): @@ -1454,6 +1534,7 @@ def test_path_params_update_overload_2(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_update_overload_3(self, client: Cloudflare) -> None: identity_provider = client.zero_trust.identity_providers.update( @@ -1466,6 +1547,7 @@ def test_method_update_overload_3(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_update_with_all_params_overload_3(self, client: Cloudflare) -> None: identity_provider = client.zero_trust.identity_providers.update( @@ -1488,6 +1570,7 @@ def test_method_update_with_all_params_overload_3(self, client: Cloudflare) -> N ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update_overload_3(self, client: Cloudflare) -> None: response = client.zero_trust.identity_providers.with_raw_response.update( @@ -1504,6 +1587,7 @@ def test_raw_response_update_overload_3(self, client: Cloudflare) -> None: identity_provider = response.parse() assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update_overload_3(self, client: Cloudflare) -> None: with client.zero_trust.identity_providers.with_streaming_response.update( @@ -1522,6 +1606,7 @@ def test_streaming_response_update_overload_3(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update_overload_3(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `uuid` but received ''"): @@ -1554,6 +1639,7 @@ def test_path_params_update_overload_3(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_update_overload_4(self, client: Cloudflare) -> None: identity_provider = client.zero_trust.identity_providers.update( @@ -1566,6 +1652,7 @@ def test_method_update_overload_4(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_update_with_all_params_overload_4(self, client: Cloudflare) -> None: identity_provider = client.zero_trust.identity_providers.update( @@ -1588,6 +1675,7 @@ def test_method_update_with_all_params_overload_4(self, client: Cloudflare) -> N ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update_overload_4(self, client: Cloudflare) -> None: response = client.zero_trust.identity_providers.with_raw_response.update( @@ -1604,6 +1692,7 @@ def test_raw_response_update_overload_4(self, client: Cloudflare) -> None: identity_provider = response.parse() assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update_overload_4(self, client: Cloudflare) -> None: with client.zero_trust.identity_providers.with_streaming_response.update( @@ -1622,6 +1711,7 @@ def test_streaming_response_update_overload_4(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update_overload_4(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `uuid` but received ''"): @@ -1654,6 +1744,7 @@ def test_path_params_update_overload_4(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_update_overload_5(self, client: Cloudflare) -> None: identity_provider = client.zero_trust.identity_providers.update( @@ -1666,6 +1757,7 @@ def test_method_update_overload_5(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_update_with_all_params_overload_5(self, client: Cloudflare) -> None: identity_provider = client.zero_trust.identity_providers.update( @@ -1690,6 +1782,7 @@ def test_method_update_with_all_params_overload_5(self, client: Cloudflare) -> N ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update_overload_5(self, client: Cloudflare) -> None: response = client.zero_trust.identity_providers.with_raw_response.update( @@ -1706,6 +1799,7 @@ def test_raw_response_update_overload_5(self, client: Cloudflare) -> None: identity_provider = response.parse() assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update_overload_5(self, client: Cloudflare) -> None: with client.zero_trust.identity_providers.with_streaming_response.update( @@ -1724,6 +1818,7 @@ def test_streaming_response_update_overload_5(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update_overload_5(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `uuid` but received ''"): @@ -1756,6 +1851,7 @@ def test_path_params_update_overload_5(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_update_overload_6(self, client: Cloudflare) -> None: identity_provider = client.zero_trust.identity_providers.update( @@ -1768,6 +1864,7 @@ def test_method_update_overload_6(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_update_with_all_params_overload_6(self, client: Cloudflare) -> None: identity_provider = client.zero_trust.identity_providers.update( @@ -1793,6 +1890,7 @@ def test_method_update_with_all_params_overload_6(self, client: Cloudflare) -> N ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update_overload_6(self, client: Cloudflare) -> None: response = client.zero_trust.identity_providers.with_raw_response.update( @@ -1809,6 +1907,7 @@ def test_raw_response_update_overload_6(self, client: Cloudflare) -> None: identity_provider = response.parse() assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update_overload_6(self, client: Cloudflare) -> None: with client.zero_trust.identity_providers.with_streaming_response.update( @@ -1827,6 +1926,7 @@ def test_streaming_response_update_overload_6(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update_overload_6(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `uuid` but received ''"): @@ -1859,6 +1959,7 @@ def test_path_params_update_overload_6(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_update_overload_7(self, client: Cloudflare) -> None: identity_provider = client.zero_trust.identity_providers.update( @@ -1871,6 +1972,7 @@ def test_method_update_overload_7(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_update_with_all_params_overload_7(self, client: Cloudflare) -> None: identity_provider = client.zero_trust.identity_providers.update( @@ -1893,6 +1995,7 @@ def test_method_update_with_all_params_overload_7(self, client: Cloudflare) -> N ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update_overload_7(self, client: Cloudflare) -> None: response = client.zero_trust.identity_providers.with_raw_response.update( @@ -1909,6 +2012,7 @@ def test_raw_response_update_overload_7(self, client: Cloudflare) -> None: identity_provider = response.parse() assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update_overload_7(self, client: Cloudflare) -> None: with client.zero_trust.identity_providers.with_streaming_response.update( @@ -1927,6 +2031,7 @@ def test_streaming_response_update_overload_7(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update_overload_7(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `uuid` but received ''"): @@ -1959,6 +2064,7 @@ def test_path_params_update_overload_7(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_update_overload_8(self, client: Cloudflare) -> None: identity_provider = client.zero_trust.identity_providers.update( @@ -1971,6 +2077,7 @@ def test_method_update_overload_8(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_update_with_all_params_overload_8(self, client: Cloudflare) -> None: identity_provider = client.zero_trust.identity_providers.update( @@ -1999,6 +2106,7 @@ def test_method_update_with_all_params_overload_8(self, client: Cloudflare) -> N ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update_overload_8(self, client: Cloudflare) -> None: response = client.zero_trust.identity_providers.with_raw_response.update( @@ -2015,6 +2123,7 @@ def test_raw_response_update_overload_8(self, client: Cloudflare) -> None: identity_provider = response.parse() assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update_overload_8(self, client: Cloudflare) -> None: with client.zero_trust.identity_providers.with_streaming_response.update( @@ -2033,6 +2142,7 @@ def test_streaming_response_update_overload_8(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update_overload_8(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `uuid` but received ''"): @@ -2065,6 +2175,7 @@ def test_path_params_update_overload_8(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_update_overload_9(self, client: Cloudflare) -> None: identity_provider = client.zero_trust.identity_providers.update( @@ -2077,6 +2188,7 @@ def test_method_update_overload_9(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_update_with_all_params_overload_9(self, client: Cloudflare) -> None: identity_provider = client.zero_trust.identity_providers.update( @@ -2103,6 +2215,7 @@ def test_method_update_with_all_params_overload_9(self, client: Cloudflare) -> N ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update_overload_9(self, client: Cloudflare) -> None: response = client.zero_trust.identity_providers.with_raw_response.update( @@ -2119,6 +2232,7 @@ def test_raw_response_update_overload_9(self, client: Cloudflare) -> None: identity_provider = response.parse() assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update_overload_9(self, client: Cloudflare) -> None: with client.zero_trust.identity_providers.with_streaming_response.update( @@ -2137,6 +2251,7 @@ def test_streaming_response_update_overload_9(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update_overload_9(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `uuid` but received ''"): @@ -2169,6 +2284,7 @@ def test_path_params_update_overload_9(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_update_overload_10(self, client: Cloudflare) -> None: identity_provider = client.zero_trust.identity_providers.update( @@ -2181,6 +2297,7 @@ def test_method_update_overload_10(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_update_with_all_params_overload_10(self, client: Cloudflare) -> None: identity_provider = client.zero_trust.identity_providers.update( @@ -2206,6 +2323,7 @@ def test_method_update_with_all_params_overload_10(self, client: Cloudflare) -> ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update_overload_10(self, client: Cloudflare) -> None: response = client.zero_trust.identity_providers.with_raw_response.update( @@ -2222,6 +2340,7 @@ def test_raw_response_update_overload_10(self, client: Cloudflare) -> None: identity_provider = response.parse() assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update_overload_10(self, client: Cloudflare) -> None: with client.zero_trust.identity_providers.with_streaming_response.update( @@ -2240,6 +2359,7 @@ def test_streaming_response_update_overload_10(self, client: Cloudflare) -> None assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update_overload_10(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `uuid` but received ''"): @@ -2272,6 +2392,7 @@ def test_path_params_update_overload_10(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_update_overload_11(self, client: Cloudflare) -> None: identity_provider = client.zero_trust.identity_providers.update( @@ -2284,6 +2405,7 @@ def test_method_update_overload_11(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_update_with_all_params_overload_11(self, client: Cloudflare) -> None: identity_provider = client.zero_trust.identity_providers.update( @@ -2309,6 +2431,7 @@ def test_method_update_with_all_params_overload_11(self, client: Cloudflare) -> ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update_overload_11(self, client: Cloudflare) -> None: response = client.zero_trust.identity_providers.with_raw_response.update( @@ -2325,6 +2448,7 @@ def test_raw_response_update_overload_11(self, client: Cloudflare) -> None: identity_provider = response.parse() assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update_overload_11(self, client: Cloudflare) -> None: with client.zero_trust.identity_providers.with_streaming_response.update( @@ -2343,6 +2467,7 @@ def test_streaming_response_update_overload_11(self, client: Cloudflare) -> None assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update_overload_11(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `uuid` but received ''"): @@ -2375,6 +2500,7 @@ def test_path_params_update_overload_11(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_update_overload_12(self, client: Cloudflare) -> None: identity_provider = client.zero_trust.identity_providers.update( @@ -2387,6 +2513,7 @@ def test_method_update_overload_12(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_update_with_all_params_overload_12(self, client: Cloudflare) -> None: identity_provider = client.zero_trust.identity_providers.update( @@ -2427,6 +2554,7 @@ def test_method_update_with_all_params_overload_12(self, client: Cloudflare) -> ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update_overload_12(self, client: Cloudflare) -> None: response = client.zero_trust.identity_providers.with_raw_response.update( @@ -2443,6 +2571,7 @@ def test_raw_response_update_overload_12(self, client: Cloudflare) -> None: identity_provider = response.parse() assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update_overload_12(self, client: Cloudflare) -> None: with client.zero_trust.identity_providers.with_streaming_response.update( @@ -2461,6 +2590,7 @@ def test_streaming_response_update_overload_12(self, client: Cloudflare) -> None assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update_overload_12(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `uuid` but received ''"): @@ -2493,6 +2623,7 @@ def test_path_params_update_overload_12(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_update_overload_13(self, client: Cloudflare) -> None: identity_provider = client.zero_trust.identity_providers.update( @@ -2505,6 +2636,7 @@ def test_method_update_overload_13(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_update_with_all_params_overload_13(self, client: Cloudflare) -> None: identity_provider = client.zero_trust.identity_providers.update( @@ -2527,6 +2659,7 @@ def test_method_update_with_all_params_overload_13(self, client: Cloudflare) -> ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update_overload_13(self, client: Cloudflare) -> None: response = client.zero_trust.identity_providers.with_raw_response.update( @@ -2543,6 +2676,7 @@ def test_raw_response_update_overload_13(self, client: Cloudflare) -> None: identity_provider = response.parse() assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update_overload_13(self, client: Cloudflare) -> None: with client.zero_trust.identity_providers.with_streaming_response.update( @@ -2561,6 +2695,7 @@ def test_streaming_response_update_overload_13(self, client: Cloudflare) -> None assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update_overload_13(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `uuid` but received ''"): @@ -2593,6 +2728,7 @@ def test_path_params_update_overload_13(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_update_overload_14(self, client: Cloudflare) -> None: identity_provider = client.zero_trust.identity_providers.update( @@ -2605,6 +2741,7 @@ def test_method_update_overload_14(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_update_with_all_params_overload_14(self, client: Cloudflare) -> None: identity_provider = client.zero_trust.identity_providers.update( @@ -2624,6 +2761,7 @@ def test_method_update_with_all_params_overload_14(self, client: Cloudflare) -> ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update_overload_14(self, client: Cloudflare) -> None: response = client.zero_trust.identity_providers.with_raw_response.update( @@ -2640,6 +2778,7 @@ def test_raw_response_update_overload_14(self, client: Cloudflare) -> None: identity_provider = response.parse() assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update_overload_14(self, client: Cloudflare) -> None: with client.zero_trust.identity_providers.with_streaming_response.update( @@ -2658,6 +2797,7 @@ def test_streaming_response_update_overload_14(self, client: Cloudflare) -> None assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update_overload_14(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `uuid` but received ''"): @@ -2690,6 +2830,7 @@ def test_path_params_update_overload_14(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: identity_provider = client.zero_trust.identity_providers.list( @@ -2698,6 +2839,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[IdentityProviderListResponse], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: identity_provider = client.zero_trust.identity_providers.list( @@ -2706,6 +2848,7 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[IdentityProviderListResponse], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.zero_trust.identity_providers.with_raw_response.list( @@ -2718,6 +2861,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: identity_provider = response.parse() assert_matches_type(SyncSinglePage[IdentityProviderListResponse], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.zero_trust.identity_providers.with_streaming_response.list( @@ -2732,6 +2876,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -2746,6 +2891,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: identity_provider = client.zero_trust.identity_providers.delete( @@ -2755,6 +2901,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[IdentityProviderDeleteResponse], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_delete_with_all_params(self, client: Cloudflare) -> None: identity_provider = client.zero_trust.identity_providers.delete( @@ -2764,6 +2911,7 @@ def test_method_delete_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[IdentityProviderDeleteResponse], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.zero_trust.identity_providers.with_raw_response.delete( @@ -2777,6 +2925,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: identity_provider = response.parse() assert_matches_type(Optional[IdentityProviderDeleteResponse], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.zero_trust.identity_providers.with_streaming_response.delete( @@ -2792,6 +2941,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `uuid` but received ''"): @@ -2815,6 +2965,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: identity_provider = client.zero_trust.identity_providers.get( @@ -2824,6 +2975,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: identity_provider = client.zero_trust.identity_providers.get( @@ -2833,6 +2985,7 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zero_trust.identity_providers.with_raw_response.get( @@ -2846,6 +2999,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: identity_provider = response.parse() assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zero_trust.identity_providers.with_streaming_response.get( @@ -2861,6 +3015,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `uuid` but received ''"): @@ -2888,6 +3043,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncIdentityProviders: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create_overload_1(self, async_client: AsyncCloudflare) -> None: identity_provider = await async_client.zero_trust.identity_providers.create( @@ -2899,6 +3055,7 @@ async def test_method_create_overload_1(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params_overload_1(self, async_client: AsyncCloudflare) -> None: identity_provider = await async_client.zero_trust.identity_providers.create( @@ -2926,6 +3083,7 @@ async def test_method_create_with_all_params_overload_1(self, async_client: Asyn ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create_overload_1(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.identity_providers.with_raw_response.create( @@ -2941,6 +3099,7 @@ async def test_raw_response_create_overload_1(self, async_client: AsyncCloudflar identity_provider = await response.parse() assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create_overload_1(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.identity_providers.with_streaming_response.create( @@ -2958,6 +3117,7 @@ async def test_streaming_response_create_overload_1(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create_overload_1(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -2978,6 +3138,7 @@ async def test_path_params_create_overload_1(self, async_client: AsyncCloudflare zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_create_overload_2(self, async_client: AsyncCloudflare) -> None: identity_provider = await async_client.zero_trust.identity_providers.create( @@ -2989,6 +3150,7 @@ async def test_method_create_overload_2(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params_overload_2(self, async_client: AsyncCloudflare) -> None: identity_provider = await async_client.zero_trust.identity_providers.create( @@ -3014,6 +3176,7 @@ async def test_method_create_with_all_params_overload_2(self, async_client: Asyn ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create_overload_2(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.identity_providers.with_raw_response.create( @@ -3029,6 +3192,7 @@ async def test_raw_response_create_overload_2(self, async_client: AsyncCloudflar identity_provider = await response.parse() assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create_overload_2(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.identity_providers.with_streaming_response.create( @@ -3046,6 +3210,7 @@ async def test_streaming_response_create_overload_2(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create_overload_2(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -3066,6 +3231,7 @@ async def test_path_params_create_overload_2(self, async_client: AsyncCloudflare zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_create_overload_3(self, async_client: AsyncCloudflare) -> None: identity_provider = await async_client.zero_trust.identity_providers.create( @@ -3077,6 +3243,7 @@ async def test_method_create_overload_3(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params_overload_3(self, async_client: AsyncCloudflare) -> None: identity_provider = await async_client.zero_trust.identity_providers.create( @@ -3098,6 +3265,7 @@ async def test_method_create_with_all_params_overload_3(self, async_client: Asyn ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create_overload_3(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.identity_providers.with_raw_response.create( @@ -3113,6 +3281,7 @@ async def test_raw_response_create_overload_3(self, async_client: AsyncCloudflar identity_provider = await response.parse() assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create_overload_3(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.identity_providers.with_streaming_response.create( @@ -3130,6 +3299,7 @@ async def test_streaming_response_create_overload_3(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create_overload_3(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -3150,6 +3320,7 @@ async def test_path_params_create_overload_3(self, async_client: AsyncCloudflare zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_create_overload_4(self, async_client: AsyncCloudflare) -> None: identity_provider = await async_client.zero_trust.identity_providers.create( @@ -3161,6 +3332,7 @@ async def test_method_create_overload_4(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params_overload_4(self, async_client: AsyncCloudflare) -> None: identity_provider = await async_client.zero_trust.identity_providers.create( @@ -3182,6 +3354,7 @@ async def test_method_create_with_all_params_overload_4(self, async_client: Asyn ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create_overload_4(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.identity_providers.with_raw_response.create( @@ -3197,6 +3370,7 @@ async def test_raw_response_create_overload_4(self, async_client: AsyncCloudflar identity_provider = await response.parse() assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create_overload_4(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.identity_providers.with_streaming_response.create( @@ -3214,6 +3388,7 @@ async def test_streaming_response_create_overload_4(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create_overload_4(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -3234,6 +3409,7 @@ async def test_path_params_create_overload_4(self, async_client: AsyncCloudflare zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_create_overload_5(self, async_client: AsyncCloudflare) -> None: identity_provider = await async_client.zero_trust.identity_providers.create( @@ -3245,6 +3421,7 @@ async def test_method_create_overload_5(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params_overload_5(self, async_client: AsyncCloudflare) -> None: identity_provider = await async_client.zero_trust.identity_providers.create( @@ -3268,6 +3445,7 @@ async def test_method_create_with_all_params_overload_5(self, async_client: Asyn ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create_overload_5(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.identity_providers.with_raw_response.create( @@ -3283,6 +3461,7 @@ async def test_raw_response_create_overload_5(self, async_client: AsyncCloudflar identity_provider = await response.parse() assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create_overload_5(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.identity_providers.with_streaming_response.create( @@ -3300,6 +3479,7 @@ async def test_streaming_response_create_overload_5(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create_overload_5(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -3320,6 +3500,7 @@ async def test_path_params_create_overload_5(self, async_client: AsyncCloudflare zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_create_overload_6(self, async_client: AsyncCloudflare) -> None: identity_provider = await async_client.zero_trust.identity_providers.create( @@ -3331,6 +3512,7 @@ async def test_method_create_overload_6(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params_overload_6(self, async_client: AsyncCloudflare) -> None: identity_provider = await async_client.zero_trust.identity_providers.create( @@ -3355,6 +3537,7 @@ async def test_method_create_with_all_params_overload_6(self, async_client: Asyn ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create_overload_6(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.identity_providers.with_raw_response.create( @@ -3370,6 +3553,7 @@ async def test_raw_response_create_overload_6(self, async_client: AsyncCloudflar identity_provider = await response.parse() assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create_overload_6(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.identity_providers.with_streaming_response.create( @@ -3387,6 +3571,7 @@ async def test_streaming_response_create_overload_6(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create_overload_6(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -3407,6 +3592,7 @@ async def test_path_params_create_overload_6(self, async_client: AsyncCloudflare zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_create_overload_7(self, async_client: AsyncCloudflare) -> None: identity_provider = await async_client.zero_trust.identity_providers.create( @@ -3418,6 +3604,7 @@ async def test_method_create_overload_7(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params_overload_7(self, async_client: AsyncCloudflare) -> None: identity_provider = await async_client.zero_trust.identity_providers.create( @@ -3439,6 +3626,7 @@ async def test_method_create_with_all_params_overload_7(self, async_client: Asyn ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create_overload_7(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.identity_providers.with_raw_response.create( @@ -3454,6 +3642,7 @@ async def test_raw_response_create_overload_7(self, async_client: AsyncCloudflar identity_provider = await response.parse() assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create_overload_7(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.identity_providers.with_streaming_response.create( @@ -3471,6 +3660,7 @@ async def test_streaming_response_create_overload_7(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create_overload_7(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -3491,6 +3681,7 @@ async def test_path_params_create_overload_7(self, async_client: AsyncCloudflare zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_create_overload_8(self, async_client: AsyncCloudflare) -> None: identity_provider = await async_client.zero_trust.identity_providers.create( @@ -3502,6 +3693,7 @@ async def test_method_create_overload_8(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params_overload_8(self, async_client: AsyncCloudflare) -> None: identity_provider = await async_client.zero_trust.identity_providers.create( @@ -3529,6 +3721,7 @@ async def test_method_create_with_all_params_overload_8(self, async_client: Asyn ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create_overload_8(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.identity_providers.with_raw_response.create( @@ -3544,6 +3737,7 @@ async def test_raw_response_create_overload_8(self, async_client: AsyncCloudflar identity_provider = await response.parse() assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create_overload_8(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.identity_providers.with_streaming_response.create( @@ -3561,6 +3755,7 @@ async def test_streaming_response_create_overload_8(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create_overload_8(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -3581,6 +3776,7 @@ async def test_path_params_create_overload_8(self, async_client: AsyncCloudflare zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_create_overload_9(self, async_client: AsyncCloudflare) -> None: identity_provider = await async_client.zero_trust.identity_providers.create( @@ -3592,6 +3788,7 @@ async def test_method_create_overload_9(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params_overload_9(self, async_client: AsyncCloudflare) -> None: identity_provider = await async_client.zero_trust.identity_providers.create( @@ -3617,6 +3814,7 @@ async def test_method_create_with_all_params_overload_9(self, async_client: Asyn ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create_overload_9(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.identity_providers.with_raw_response.create( @@ -3632,6 +3830,7 @@ async def test_raw_response_create_overload_9(self, async_client: AsyncCloudflar identity_provider = await response.parse() assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create_overload_9(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.identity_providers.with_streaming_response.create( @@ -3649,6 +3848,7 @@ async def test_streaming_response_create_overload_9(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create_overload_9(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -3669,6 +3869,7 @@ async def test_path_params_create_overload_9(self, async_client: AsyncCloudflare zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_create_overload_10(self, async_client: AsyncCloudflare) -> None: identity_provider = await async_client.zero_trust.identity_providers.create( @@ -3680,6 +3881,7 @@ async def test_method_create_overload_10(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params_overload_10(self, async_client: AsyncCloudflare) -> None: identity_provider = await async_client.zero_trust.identity_providers.create( @@ -3704,6 +3906,7 @@ async def test_method_create_with_all_params_overload_10(self, async_client: Asy ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create_overload_10(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.identity_providers.with_raw_response.create( @@ -3719,6 +3922,7 @@ async def test_raw_response_create_overload_10(self, async_client: AsyncCloudfla identity_provider = await response.parse() assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create_overload_10(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.identity_providers.with_streaming_response.create( @@ -3736,6 +3940,7 @@ async def test_streaming_response_create_overload_10(self, async_client: AsyncCl assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create_overload_10(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -3756,6 +3961,7 @@ async def test_path_params_create_overload_10(self, async_client: AsyncCloudflar zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_create_overload_11(self, async_client: AsyncCloudflare) -> None: identity_provider = await async_client.zero_trust.identity_providers.create( @@ -3767,6 +3973,7 @@ async def test_method_create_overload_11(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params_overload_11(self, async_client: AsyncCloudflare) -> None: identity_provider = await async_client.zero_trust.identity_providers.create( @@ -3791,6 +3998,7 @@ async def test_method_create_with_all_params_overload_11(self, async_client: Asy ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create_overload_11(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.identity_providers.with_raw_response.create( @@ -3806,6 +4014,7 @@ async def test_raw_response_create_overload_11(self, async_client: AsyncCloudfla identity_provider = await response.parse() assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create_overload_11(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.identity_providers.with_streaming_response.create( @@ -3823,6 +4032,7 @@ async def test_streaming_response_create_overload_11(self, async_client: AsyncCl assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create_overload_11(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -3843,6 +4053,7 @@ async def test_path_params_create_overload_11(self, async_client: AsyncCloudflar zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_create_overload_12(self, async_client: AsyncCloudflare) -> None: identity_provider = await async_client.zero_trust.identity_providers.create( @@ -3854,6 +4065,7 @@ async def test_method_create_overload_12(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params_overload_12(self, async_client: AsyncCloudflare) -> None: identity_provider = await async_client.zero_trust.identity_providers.create( @@ -3893,6 +4105,7 @@ async def test_method_create_with_all_params_overload_12(self, async_client: Asy ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create_overload_12(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.identity_providers.with_raw_response.create( @@ -3908,6 +4121,7 @@ async def test_raw_response_create_overload_12(self, async_client: AsyncCloudfla identity_provider = await response.parse() assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create_overload_12(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.identity_providers.with_streaming_response.create( @@ -3925,6 +4139,7 @@ async def test_streaming_response_create_overload_12(self, async_client: AsyncCl assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create_overload_12(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -3945,6 +4160,7 @@ async def test_path_params_create_overload_12(self, async_client: AsyncCloudflar zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_create_overload_13(self, async_client: AsyncCloudflare) -> None: identity_provider = await async_client.zero_trust.identity_providers.create( @@ -3956,6 +4172,7 @@ async def test_method_create_overload_13(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params_overload_13(self, async_client: AsyncCloudflare) -> None: identity_provider = await async_client.zero_trust.identity_providers.create( @@ -3977,6 +4194,7 @@ async def test_method_create_with_all_params_overload_13(self, async_client: Asy ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create_overload_13(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.identity_providers.with_raw_response.create( @@ -3992,6 +4210,7 @@ async def test_raw_response_create_overload_13(self, async_client: AsyncCloudfla identity_provider = await response.parse() assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create_overload_13(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.identity_providers.with_streaming_response.create( @@ -4009,6 +4228,7 @@ async def test_streaming_response_create_overload_13(self, async_client: AsyncCl assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create_overload_13(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -4029,6 +4249,7 @@ async def test_path_params_create_overload_13(self, async_client: AsyncCloudflar zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_create_overload_14(self, async_client: AsyncCloudflare) -> None: identity_provider = await async_client.zero_trust.identity_providers.create( @@ -4040,6 +4261,7 @@ async def test_method_create_overload_14(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params_overload_14(self, async_client: AsyncCloudflare) -> None: identity_provider = await async_client.zero_trust.identity_providers.create( @@ -4058,6 +4280,7 @@ async def test_method_create_with_all_params_overload_14(self, async_client: Asy ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create_overload_14(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.identity_providers.with_raw_response.create( @@ -4073,6 +4296,7 @@ async def test_raw_response_create_overload_14(self, async_client: AsyncCloudfla identity_provider = await response.parse() assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create_overload_14(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.identity_providers.with_streaming_response.create( @@ -4090,6 +4314,7 @@ async def test_streaming_response_create_overload_14(self, async_client: AsyncCl assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create_overload_14(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -4110,6 +4335,7 @@ async def test_path_params_create_overload_14(self, async_client: AsyncCloudflar zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_update_overload_1(self, async_client: AsyncCloudflare) -> None: identity_provider = await async_client.zero_trust.identity_providers.update( @@ -4122,6 +4348,7 @@ async def test_method_update_overload_1(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_update_with_all_params_overload_1(self, async_client: AsyncCloudflare) -> None: identity_provider = await async_client.zero_trust.identity_providers.update( @@ -4150,6 +4377,7 @@ async def test_method_update_with_all_params_overload_1(self, async_client: Asyn ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update_overload_1(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.identity_providers.with_raw_response.update( @@ -4166,6 +4394,7 @@ async def test_raw_response_update_overload_1(self, async_client: AsyncCloudflar identity_provider = await response.parse() assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update_overload_1(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.identity_providers.with_streaming_response.update( @@ -4184,6 +4413,7 @@ async def test_streaming_response_update_overload_1(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update_overload_1(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `uuid` but received ''"): @@ -4216,6 +4446,7 @@ async def test_path_params_update_overload_1(self, async_client: AsyncCloudflare zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_update_overload_2(self, async_client: AsyncCloudflare) -> None: identity_provider = await async_client.zero_trust.identity_providers.update( @@ -4228,6 +4459,7 @@ async def test_method_update_overload_2(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_update_with_all_params_overload_2(self, async_client: AsyncCloudflare) -> None: identity_provider = await async_client.zero_trust.identity_providers.update( @@ -4254,6 +4486,7 @@ async def test_method_update_with_all_params_overload_2(self, async_client: Asyn ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update_overload_2(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.identity_providers.with_raw_response.update( @@ -4270,6 +4503,7 @@ async def test_raw_response_update_overload_2(self, async_client: AsyncCloudflar identity_provider = await response.parse() assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update_overload_2(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.identity_providers.with_streaming_response.update( @@ -4288,6 +4522,7 @@ async def test_streaming_response_update_overload_2(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update_overload_2(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `uuid` but received ''"): @@ -4320,6 +4555,7 @@ async def test_path_params_update_overload_2(self, async_client: AsyncCloudflare zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_update_overload_3(self, async_client: AsyncCloudflare) -> None: identity_provider = await async_client.zero_trust.identity_providers.update( @@ -4332,6 +4568,7 @@ async def test_method_update_overload_3(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_update_with_all_params_overload_3(self, async_client: AsyncCloudflare) -> None: identity_provider = await async_client.zero_trust.identity_providers.update( @@ -4354,6 +4591,7 @@ async def test_method_update_with_all_params_overload_3(self, async_client: Asyn ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update_overload_3(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.identity_providers.with_raw_response.update( @@ -4370,6 +4608,7 @@ async def test_raw_response_update_overload_3(self, async_client: AsyncCloudflar identity_provider = await response.parse() assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update_overload_3(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.identity_providers.with_streaming_response.update( @@ -4388,6 +4627,7 @@ async def test_streaming_response_update_overload_3(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update_overload_3(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `uuid` but received ''"): @@ -4420,6 +4660,7 @@ async def test_path_params_update_overload_3(self, async_client: AsyncCloudflare zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_update_overload_4(self, async_client: AsyncCloudflare) -> None: identity_provider = await async_client.zero_trust.identity_providers.update( @@ -4432,6 +4673,7 @@ async def test_method_update_overload_4(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_update_with_all_params_overload_4(self, async_client: AsyncCloudflare) -> None: identity_provider = await async_client.zero_trust.identity_providers.update( @@ -4454,6 +4696,7 @@ async def test_method_update_with_all_params_overload_4(self, async_client: Asyn ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update_overload_4(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.identity_providers.with_raw_response.update( @@ -4470,6 +4713,7 @@ async def test_raw_response_update_overload_4(self, async_client: AsyncCloudflar identity_provider = await response.parse() assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update_overload_4(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.identity_providers.with_streaming_response.update( @@ -4488,6 +4732,7 @@ async def test_streaming_response_update_overload_4(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update_overload_4(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `uuid` but received ''"): @@ -4520,6 +4765,7 @@ async def test_path_params_update_overload_4(self, async_client: AsyncCloudflare zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_update_overload_5(self, async_client: AsyncCloudflare) -> None: identity_provider = await async_client.zero_trust.identity_providers.update( @@ -4532,6 +4778,7 @@ async def test_method_update_overload_5(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_update_with_all_params_overload_5(self, async_client: AsyncCloudflare) -> None: identity_provider = await async_client.zero_trust.identity_providers.update( @@ -4556,6 +4803,7 @@ async def test_method_update_with_all_params_overload_5(self, async_client: Asyn ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update_overload_5(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.identity_providers.with_raw_response.update( @@ -4572,6 +4820,7 @@ async def test_raw_response_update_overload_5(self, async_client: AsyncCloudflar identity_provider = await response.parse() assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update_overload_5(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.identity_providers.with_streaming_response.update( @@ -4590,6 +4839,7 @@ async def test_streaming_response_update_overload_5(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update_overload_5(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `uuid` but received ''"): @@ -4622,6 +4872,7 @@ async def test_path_params_update_overload_5(self, async_client: AsyncCloudflare zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_update_overload_6(self, async_client: AsyncCloudflare) -> None: identity_provider = await async_client.zero_trust.identity_providers.update( @@ -4634,6 +4885,7 @@ async def test_method_update_overload_6(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_update_with_all_params_overload_6(self, async_client: AsyncCloudflare) -> None: identity_provider = await async_client.zero_trust.identity_providers.update( @@ -4659,6 +4911,7 @@ async def test_method_update_with_all_params_overload_6(self, async_client: Asyn ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update_overload_6(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.identity_providers.with_raw_response.update( @@ -4675,6 +4928,7 @@ async def test_raw_response_update_overload_6(self, async_client: AsyncCloudflar identity_provider = await response.parse() assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update_overload_6(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.identity_providers.with_streaming_response.update( @@ -4693,6 +4947,7 @@ async def test_streaming_response_update_overload_6(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update_overload_6(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `uuid` but received ''"): @@ -4725,6 +4980,7 @@ async def test_path_params_update_overload_6(self, async_client: AsyncCloudflare zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_update_overload_7(self, async_client: AsyncCloudflare) -> None: identity_provider = await async_client.zero_trust.identity_providers.update( @@ -4737,6 +4993,7 @@ async def test_method_update_overload_7(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_update_with_all_params_overload_7(self, async_client: AsyncCloudflare) -> None: identity_provider = await async_client.zero_trust.identity_providers.update( @@ -4759,6 +5016,7 @@ async def test_method_update_with_all_params_overload_7(self, async_client: Asyn ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update_overload_7(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.identity_providers.with_raw_response.update( @@ -4775,6 +5033,7 @@ async def test_raw_response_update_overload_7(self, async_client: AsyncCloudflar identity_provider = await response.parse() assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update_overload_7(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.identity_providers.with_streaming_response.update( @@ -4793,6 +5052,7 @@ async def test_streaming_response_update_overload_7(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update_overload_7(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `uuid` but received ''"): @@ -4825,6 +5085,7 @@ async def test_path_params_update_overload_7(self, async_client: AsyncCloudflare zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_update_overload_8(self, async_client: AsyncCloudflare) -> None: identity_provider = await async_client.zero_trust.identity_providers.update( @@ -4837,6 +5098,7 @@ async def test_method_update_overload_8(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_update_with_all_params_overload_8(self, async_client: AsyncCloudflare) -> None: identity_provider = await async_client.zero_trust.identity_providers.update( @@ -4865,6 +5127,7 @@ async def test_method_update_with_all_params_overload_8(self, async_client: Asyn ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update_overload_8(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.identity_providers.with_raw_response.update( @@ -4881,6 +5144,7 @@ async def test_raw_response_update_overload_8(self, async_client: AsyncCloudflar identity_provider = await response.parse() assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update_overload_8(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.identity_providers.with_streaming_response.update( @@ -4899,6 +5163,7 @@ async def test_streaming_response_update_overload_8(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update_overload_8(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `uuid` but received ''"): @@ -4931,6 +5196,7 @@ async def test_path_params_update_overload_8(self, async_client: AsyncCloudflare zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_update_overload_9(self, async_client: AsyncCloudflare) -> None: identity_provider = await async_client.zero_trust.identity_providers.update( @@ -4943,6 +5209,7 @@ async def test_method_update_overload_9(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_update_with_all_params_overload_9(self, async_client: AsyncCloudflare) -> None: identity_provider = await async_client.zero_trust.identity_providers.update( @@ -4969,6 +5236,7 @@ async def test_method_update_with_all_params_overload_9(self, async_client: Asyn ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update_overload_9(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.identity_providers.with_raw_response.update( @@ -4985,6 +5253,7 @@ async def test_raw_response_update_overload_9(self, async_client: AsyncCloudflar identity_provider = await response.parse() assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update_overload_9(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.identity_providers.with_streaming_response.update( @@ -5003,6 +5272,7 @@ async def test_streaming_response_update_overload_9(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update_overload_9(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `uuid` but received ''"): @@ -5035,6 +5305,7 @@ async def test_path_params_update_overload_9(self, async_client: AsyncCloudflare zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_update_overload_10(self, async_client: AsyncCloudflare) -> None: identity_provider = await async_client.zero_trust.identity_providers.update( @@ -5047,6 +5318,7 @@ async def test_method_update_overload_10(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_update_with_all_params_overload_10(self, async_client: AsyncCloudflare) -> None: identity_provider = await async_client.zero_trust.identity_providers.update( @@ -5072,6 +5344,7 @@ async def test_method_update_with_all_params_overload_10(self, async_client: Asy ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update_overload_10(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.identity_providers.with_raw_response.update( @@ -5088,6 +5361,7 @@ async def test_raw_response_update_overload_10(self, async_client: AsyncCloudfla identity_provider = await response.parse() assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update_overload_10(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.identity_providers.with_streaming_response.update( @@ -5106,6 +5380,7 @@ async def test_streaming_response_update_overload_10(self, async_client: AsyncCl assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update_overload_10(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `uuid` but received ''"): @@ -5138,6 +5413,7 @@ async def test_path_params_update_overload_10(self, async_client: AsyncCloudflar zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_update_overload_11(self, async_client: AsyncCloudflare) -> None: identity_provider = await async_client.zero_trust.identity_providers.update( @@ -5150,6 +5426,7 @@ async def test_method_update_overload_11(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_update_with_all_params_overload_11(self, async_client: AsyncCloudflare) -> None: identity_provider = await async_client.zero_trust.identity_providers.update( @@ -5175,6 +5452,7 @@ async def test_method_update_with_all_params_overload_11(self, async_client: Asy ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update_overload_11(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.identity_providers.with_raw_response.update( @@ -5191,6 +5469,7 @@ async def test_raw_response_update_overload_11(self, async_client: AsyncCloudfla identity_provider = await response.parse() assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update_overload_11(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.identity_providers.with_streaming_response.update( @@ -5209,6 +5488,7 @@ async def test_streaming_response_update_overload_11(self, async_client: AsyncCl assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update_overload_11(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `uuid` but received ''"): @@ -5241,6 +5521,7 @@ async def test_path_params_update_overload_11(self, async_client: AsyncCloudflar zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_update_overload_12(self, async_client: AsyncCloudflare) -> None: identity_provider = await async_client.zero_trust.identity_providers.update( @@ -5253,6 +5534,7 @@ async def test_method_update_overload_12(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_update_with_all_params_overload_12(self, async_client: AsyncCloudflare) -> None: identity_provider = await async_client.zero_trust.identity_providers.update( @@ -5293,6 +5575,7 @@ async def test_method_update_with_all_params_overload_12(self, async_client: Asy ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update_overload_12(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.identity_providers.with_raw_response.update( @@ -5309,6 +5592,7 @@ async def test_raw_response_update_overload_12(self, async_client: AsyncCloudfla identity_provider = await response.parse() assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update_overload_12(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.identity_providers.with_streaming_response.update( @@ -5327,6 +5611,7 @@ async def test_streaming_response_update_overload_12(self, async_client: AsyncCl assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update_overload_12(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `uuid` but received ''"): @@ -5359,6 +5644,7 @@ async def test_path_params_update_overload_12(self, async_client: AsyncCloudflar zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_update_overload_13(self, async_client: AsyncCloudflare) -> None: identity_provider = await async_client.zero_trust.identity_providers.update( @@ -5371,6 +5657,7 @@ async def test_method_update_overload_13(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_update_with_all_params_overload_13(self, async_client: AsyncCloudflare) -> None: identity_provider = await async_client.zero_trust.identity_providers.update( @@ -5393,6 +5680,7 @@ async def test_method_update_with_all_params_overload_13(self, async_client: Asy ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update_overload_13(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.identity_providers.with_raw_response.update( @@ -5409,6 +5697,7 @@ async def test_raw_response_update_overload_13(self, async_client: AsyncCloudfla identity_provider = await response.parse() assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update_overload_13(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.identity_providers.with_streaming_response.update( @@ -5427,6 +5716,7 @@ async def test_streaming_response_update_overload_13(self, async_client: AsyncCl assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update_overload_13(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `uuid` but received ''"): @@ -5459,6 +5749,7 @@ async def test_path_params_update_overload_13(self, async_client: AsyncCloudflar zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_update_overload_14(self, async_client: AsyncCloudflare) -> None: identity_provider = await async_client.zero_trust.identity_providers.update( @@ -5471,6 +5762,7 @@ async def test_method_update_overload_14(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_update_with_all_params_overload_14(self, async_client: AsyncCloudflare) -> None: identity_provider = await async_client.zero_trust.identity_providers.update( @@ -5490,6 +5782,7 @@ async def test_method_update_with_all_params_overload_14(self, async_client: Asy ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update_overload_14(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.identity_providers.with_raw_response.update( @@ -5506,6 +5799,7 @@ async def test_raw_response_update_overload_14(self, async_client: AsyncCloudfla identity_provider = await response.parse() assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update_overload_14(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.identity_providers.with_streaming_response.update( @@ -5524,6 +5818,7 @@ async def test_streaming_response_update_overload_14(self, async_client: AsyncCl assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update_overload_14(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `uuid` but received ''"): @@ -5556,6 +5851,7 @@ async def test_path_params_update_overload_14(self, async_client: AsyncCloudflar zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: identity_provider = await async_client.zero_trust.identity_providers.list( @@ -5564,6 +5860,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[IdentityProviderListResponse], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: identity_provider = await async_client.zero_trust.identity_providers.list( @@ -5572,6 +5869,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncSinglePage[IdentityProviderListResponse], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.identity_providers.with_raw_response.list( @@ -5584,6 +5882,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: identity_provider = await response.parse() assert_matches_type(AsyncSinglePage[IdentityProviderListResponse], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.identity_providers.with_streaming_response.list( @@ -5598,6 +5897,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -5612,6 +5912,7 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: identity_provider = await async_client.zero_trust.identity_providers.delete( @@ -5621,6 +5922,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[IdentityProviderDeleteResponse], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_delete_with_all_params(self, async_client: AsyncCloudflare) -> None: identity_provider = await async_client.zero_trust.identity_providers.delete( @@ -5630,6 +5932,7 @@ async def test_method_delete_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[IdentityProviderDeleteResponse], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.identity_providers.with_raw_response.delete( @@ -5643,6 +5946,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: identity_provider = await response.parse() assert_matches_type(Optional[IdentityProviderDeleteResponse], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.identity_providers.with_streaming_response.delete( @@ -5658,6 +5962,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `uuid` but received ''"): @@ -5681,6 +5986,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: identity_provider = await async_client.zero_trust.identity_providers.get( @@ -5690,6 +5996,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: identity_provider = await async_client.zero_trust.identity_providers.get( @@ -5699,6 +6006,7 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.identity_providers.with_raw_response.get( @@ -5712,6 +6020,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: identity_provider = await response.parse() assert_matches_type(Optional[IdentityProvider], identity_provider, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.identity_providers.with_streaming_response.get( @@ -5727,6 +6036,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `uuid` but received ''"): diff --git a/tests/api_resources/zero_trust/test_organizations.py b/tests/api_resources/zero_trust/test_organizations.py index cf7ad343538..c8bcc6bb4eb 100644 --- a/tests/api_resources/zero_trust/test_organizations.py +++ b/tests/api_resources/zero_trust/test_organizations.py @@ -20,6 +20,7 @@ class TestOrganizations: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: organization = client.zero_trust.organizations.create( @@ -30,6 +31,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Organization], organization, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: organization = client.zero_trust.organizations.create( @@ -54,6 +56,7 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Organization], organization, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.zero_trust.organizations.with_raw_response.create( @@ -68,6 +71,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: organization = response.parse() assert_matches_type(Optional[Organization], organization, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.zero_trust.organizations.with_streaming_response.create( @@ -84,6 +88,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -102,6 +107,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: organization = client.zero_trust.organizations.update( @@ -110,6 +116,7 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Organization], organization, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: organization = client.zero_trust.organizations.update( @@ -138,6 +145,7 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Organization], organization, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.zero_trust.organizations.with_raw_response.update( @@ -150,6 +158,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: organization = response.parse() assert_matches_type(Optional[Organization], organization, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.zero_trust.organizations.with_streaming_response.update( @@ -164,6 +173,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -178,6 +188,7 @@ def test_path_params_update(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: organization = client.zero_trust.organizations.list( @@ -186,6 +197,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Organization], organization, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: organization = client.zero_trust.organizations.list( @@ -194,6 +206,7 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Organization], organization, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.zero_trust.organizations.with_raw_response.list( @@ -206,6 +219,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: organization = response.parse() assert_matches_type(Optional[Organization], organization, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.zero_trust.organizations.with_streaming_response.list( @@ -220,6 +234,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -234,6 +249,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_revoke_users(self, client: Cloudflare) -> None: organization = client.zero_trust.organizations.revoke_users( @@ -243,6 +259,7 @@ def test_method_revoke_users(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[OrganizationRevokeUsersResponse], organization, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_revoke_users_with_all_params(self, client: Cloudflare) -> None: organization = client.zero_trust.organizations.revoke_users( @@ -252,6 +269,7 @@ def test_method_revoke_users_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[OrganizationRevokeUsersResponse], organization, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_revoke_users(self, client: Cloudflare) -> None: response = client.zero_trust.organizations.with_raw_response.revoke_users( @@ -265,6 +283,7 @@ def test_raw_response_revoke_users(self, client: Cloudflare) -> None: organization = response.parse() assert_matches_type(Optional[OrganizationRevokeUsersResponse], organization, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_revoke_users(self, client: Cloudflare) -> None: with client.zero_trust.organizations.with_streaming_response.revoke_users( @@ -280,6 +299,7 @@ def test_streaming_response_revoke_users(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_revoke_users(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -300,6 +320,7 @@ def test_path_params_revoke_users(self, client: Cloudflare) -> None: class TestAsyncOrganizations: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: organization = await async_client.zero_trust.organizations.create( @@ -310,6 +331,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Organization], organization, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: organization = await async_client.zero_trust.organizations.create( @@ -334,6 +356,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[Organization], organization, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.organizations.with_raw_response.create( @@ -348,6 +371,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: organization = await response.parse() assert_matches_type(Optional[Organization], organization, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.organizations.with_streaming_response.create( @@ -364,6 +388,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -382,6 +407,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: organization = await async_client.zero_trust.organizations.update( @@ -390,6 +416,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Organization], organization, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: organization = await async_client.zero_trust.organizations.update( @@ -418,6 +445,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[Organization], organization, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.organizations.with_raw_response.update( @@ -430,6 +458,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: organization = await response.parse() assert_matches_type(Optional[Organization], organization, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.organizations.with_streaming_response.update( @@ -444,6 +473,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -458,6 +488,7 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: organization = await async_client.zero_trust.organizations.list( @@ -466,6 +497,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Organization], organization, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: organization = await async_client.zero_trust.organizations.list( @@ -474,6 +506,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(Optional[Organization], organization, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.organizations.with_raw_response.list( @@ -486,6 +519,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: organization = await response.parse() assert_matches_type(Optional[Organization], organization, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.organizations.with_streaming_response.list( @@ -500,6 +534,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -514,6 +549,7 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_revoke_users(self, async_client: AsyncCloudflare) -> None: organization = await async_client.zero_trust.organizations.revoke_users( @@ -523,6 +559,7 @@ async def test_method_revoke_users(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[OrganizationRevokeUsersResponse], organization, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_revoke_users_with_all_params(self, async_client: AsyncCloudflare) -> None: organization = await async_client.zero_trust.organizations.revoke_users( @@ -532,6 +569,7 @@ async def test_method_revoke_users_with_all_params(self, async_client: AsyncClou ) assert_matches_type(Optional[OrganizationRevokeUsersResponse], organization, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_revoke_users(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.organizations.with_raw_response.revoke_users( @@ -545,6 +583,7 @@ async def test_raw_response_revoke_users(self, async_client: AsyncCloudflare) -> organization = await response.parse() assert_matches_type(Optional[OrganizationRevokeUsersResponse], organization, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_revoke_users(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.organizations.with_streaming_response.revoke_users( @@ -560,6 +599,7 @@ async def test_streaming_response_revoke_users(self, async_client: AsyncCloudfla assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_revoke_users(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/zero_trust/test_risk_scoring.py b/tests/api_resources/zero_trust/test_risk_scoring.py index 7e5ce3f6646..a6b124a3dc7 100644 --- a/tests/api_resources/zero_trust/test_risk_scoring.py +++ b/tests/api_resources/zero_trust/test_risk_scoring.py @@ -17,6 +17,7 @@ class TestRiskScoring: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: risk_scoring = client.zero_trust.risk_scoring.get( @@ -25,6 +26,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(RiskScoringGetResponse, risk_scoring, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_get_with_all_params(self, client: Cloudflare) -> None: risk_scoring = client.zero_trust.risk_scoring.get( @@ -37,6 +39,7 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(RiskScoringGetResponse, risk_scoring, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zero_trust.risk_scoring.with_raw_response.get( @@ -49,6 +52,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: risk_scoring = response.parse() assert_matches_type(RiskScoringGetResponse, risk_scoring, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zero_trust.risk_scoring.with_streaming_response.get( @@ -63,6 +67,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_identifier` but received ''"): @@ -77,6 +82,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: account_identifier="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize def test_method_reset(self, client: Cloudflare) -> None: risk_scoring = client.zero_trust.risk_scoring.reset( @@ -85,6 +91,7 @@ def test_method_reset(self, client: Cloudflare) -> None: ) assert_matches_type(RiskScoringResetResponse, risk_scoring, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_reset(self, client: Cloudflare) -> None: response = client.zero_trust.risk_scoring.with_raw_response.reset( @@ -97,6 +104,7 @@ def test_raw_response_reset(self, client: Cloudflare) -> None: risk_scoring = response.parse() assert_matches_type(RiskScoringResetResponse, risk_scoring, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_reset(self, client: Cloudflare) -> None: with client.zero_trust.risk_scoring.with_streaming_response.reset( @@ -111,6 +119,7 @@ def test_streaming_response_reset(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_reset(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_identifier` but received ''"): @@ -129,6 +138,7 @@ def test_path_params_reset(self, client: Cloudflare) -> None: class TestAsyncRiskScoring: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: risk_scoring = await async_client.zero_trust.risk_scoring.get( @@ -137,6 +147,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(RiskScoringGetResponse, risk_scoring, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: risk_scoring = await async_client.zero_trust.risk_scoring.get( @@ -149,6 +160,7 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - ) assert_matches_type(RiskScoringGetResponse, risk_scoring, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.risk_scoring.with_raw_response.get( @@ -161,6 +173,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: risk_scoring = await response.parse() assert_matches_type(RiskScoringGetResponse, risk_scoring, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.risk_scoring.with_streaming_response.get( @@ -175,6 +188,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_identifier` but received ''"): @@ -189,6 +203,7 @@ async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: account_identifier="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize async def test_method_reset(self, async_client: AsyncCloudflare) -> None: risk_scoring = await async_client.zero_trust.risk_scoring.reset( @@ -197,6 +212,7 @@ async def test_method_reset(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(RiskScoringResetResponse, risk_scoring, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_reset(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.risk_scoring.with_raw_response.reset( @@ -209,6 +225,7 @@ async def test_raw_response_reset(self, async_client: AsyncCloudflare) -> None: risk_scoring = await response.parse() assert_matches_type(RiskScoringResetResponse, risk_scoring, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_reset(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.risk_scoring.with_streaming_response.reset( @@ -223,6 +240,7 @@ async def test_streaming_response_reset(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_reset(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_identifier` but received ''"): diff --git a/tests/api_resources/zero_trust/test_seats.py b/tests/api_resources/zero_trust/test_seats.py index bf2f97e5ec6..f1b797fd45a 100644 --- a/tests/api_resources/zero_trust/test_seats.py +++ b/tests/api_resources/zero_trust/test_seats.py @@ -17,6 +17,7 @@ class TestSeats: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: seat = client.zero_trust.seats.edit( @@ -38,6 +39,7 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[SeatEditResponse], seat, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.zero_trust.seats.with_raw_response.edit( @@ -63,6 +65,7 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: seat = response.parse() assert_matches_type(Optional[SeatEditResponse], seat, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.zero_trust.seats.with_streaming_response.edit( @@ -90,6 +93,7 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `identifier` but received ''"): @@ -115,6 +119,7 @@ def test_path_params_edit(self, client: Cloudflare) -> None: class TestAsyncSeats: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: seat = await async_client.zero_trust.seats.edit( @@ -136,6 +141,7 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[SeatEditResponse], seat, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.seats.with_raw_response.edit( @@ -161,6 +167,7 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: seat = await response.parse() assert_matches_type(Optional[SeatEditResponse], seat, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.seats.with_streaming_response.edit( @@ -188,6 +195,7 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `identifier` but received ''"): diff --git a/tests/api_resources/zero_trust/test_tunnels.py b/tests/api_resources/zero_trust/test_tunnels.py index 66667ab0583..57a9292c8fc 100644 --- a/tests/api_resources/zero_trust/test_tunnels.py +++ b/tests/api_resources/zero_trust/test_tunnels.py @@ -25,6 +25,7 @@ class TestTunnels: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: tunnel = client.zero_trust.tunnels.create( @@ -34,6 +35,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(TunnelCreateResponse, tunnel, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.zero_trust.tunnels.with_raw_response.create( @@ -47,6 +49,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: tunnel = response.parse() assert_matches_type(TunnelCreateResponse, tunnel, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.zero_trust.tunnels.with_streaming_response.create( @@ -62,6 +65,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -71,6 +75,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: tunnel_secret={}, ) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: tunnel = client.zero_trust.tunnels.list( @@ -78,6 +83,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePaginationArray[TunnelListResponse], tunnel, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Cloudflare) -> None: tunnel = client.zero_trust.tunnels.list( @@ -96,6 +102,7 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SyncV4PagePaginationArray[TunnelListResponse], tunnel, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.zero_trust.tunnels.with_raw_response.list( @@ -107,6 +114,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: tunnel = response.parse() assert_matches_type(SyncV4PagePaginationArray[TunnelListResponse], tunnel, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.zero_trust.tunnels.with_streaming_response.list( @@ -120,6 +128,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -127,6 +136,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: tunnel = client.zero_trust.tunnels.delete( @@ -136,6 +146,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(TunnelDeleteResponse, tunnel, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.zero_trust.tunnels.with_raw_response.delete( @@ -149,6 +160,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: tunnel = response.parse() assert_matches_type(TunnelDeleteResponse, tunnel, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.zero_trust.tunnels.with_streaming_response.delete( @@ -164,6 +176,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -180,6 +193,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: tunnel = client.zero_trust.tunnels.edit( @@ -188,6 +202,7 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(TunnelEditResponse, tunnel, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_edit_with_all_params(self, client: Cloudflare) -> None: tunnel = client.zero_trust.tunnels.edit( @@ -198,6 +213,7 @@ def test_method_edit_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(TunnelEditResponse, tunnel, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.zero_trust.tunnels.with_raw_response.edit( @@ -210,6 +226,7 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: tunnel = response.parse() assert_matches_type(TunnelEditResponse, tunnel, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.zero_trust.tunnels.with_streaming_response.edit( @@ -224,6 +241,7 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -238,6 +256,7 @@ def test_path_params_edit(self, client: Cloudflare) -> None: account_id="699d98642c564d2e855e9661899b7252", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: tunnel = client.zero_trust.tunnels.get( @@ -246,6 +265,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(TunnelGetResponse, tunnel, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zero_trust.tunnels.with_raw_response.get( @@ -258,6 +278,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: tunnel = response.parse() assert_matches_type(TunnelGetResponse, tunnel, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zero_trust.tunnels.with_streaming_response.get( @@ -272,6 +293,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -290,6 +312,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncTunnels: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: tunnel = await async_client.zero_trust.tunnels.create( @@ -299,6 +322,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(TunnelCreateResponse, tunnel, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.tunnels.with_raw_response.create( @@ -312,6 +336,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: tunnel = await response.parse() assert_matches_type(TunnelCreateResponse, tunnel, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.tunnels.with_streaming_response.create( @@ -327,6 +352,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -336,6 +362,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: tunnel_secret={}, ) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: tunnel = await async_client.zero_trust.tunnels.list( @@ -343,6 +370,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncV4PagePaginationArray[TunnelListResponse], tunnel, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None: tunnel = await async_client.zero_trust.tunnels.list( @@ -361,6 +389,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(AsyncV4PagePaginationArray[TunnelListResponse], tunnel, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.tunnels.with_raw_response.list( @@ -372,6 +401,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: tunnel = await response.parse() assert_matches_type(AsyncV4PagePaginationArray[TunnelListResponse], tunnel, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.tunnels.with_streaming_response.list( @@ -385,6 +415,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -392,6 +423,7 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: account_id="", ) + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: tunnel = await async_client.zero_trust.tunnels.delete( @@ -401,6 +433,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(TunnelDeleteResponse, tunnel, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.tunnels.with_raw_response.delete( @@ -414,6 +447,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: tunnel = await response.parse() assert_matches_type(TunnelDeleteResponse, tunnel, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.tunnels.with_streaming_response.delete( @@ -429,6 +463,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -445,6 +480,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: tunnel = await async_client.zero_trust.tunnels.edit( @@ -453,6 +489,7 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(TunnelEditResponse, tunnel, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) -> None: tunnel = await async_client.zero_trust.tunnels.edit( @@ -463,6 +500,7 @@ async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(TunnelEditResponse, tunnel, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.tunnels.with_raw_response.edit( @@ -475,6 +513,7 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: tunnel = await response.parse() assert_matches_type(TunnelEditResponse, tunnel, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.tunnels.with_streaming_response.edit( @@ -489,6 +528,7 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -503,6 +543,7 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: account_id="699d98642c564d2e855e9661899b7252", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: tunnel = await async_client.zero_trust.tunnels.get( @@ -511,6 +552,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(TunnelGetResponse, tunnel, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.tunnels.with_raw_response.get( @@ -523,6 +565,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: tunnel = await response.parse() assert_matches_type(TunnelGetResponse, tunnel, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.tunnels.with_streaming_response.get( @@ -537,6 +580,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/zero_trust/tunnels/test_configurations.py b/tests/api_resources/zero_trust/tunnels/test_configurations.py index a261eef2aad..3b66ce60c1d 100644 --- a/tests/api_resources/zero_trust/tunnels/test_configurations.py +++ b/tests/api_resources/zero_trust/tunnels/test_configurations.py @@ -20,6 +20,7 @@ class TestConfigurations: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: configuration = client.zero_trust.tunnels.configurations.update( @@ -28,6 +29,7 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(ConfigurationUpdateResponse, configuration, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: configuration = client.zero_trust.tunnels.configurations.update( @@ -136,6 +138,7 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(ConfigurationUpdateResponse, configuration, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.zero_trust.tunnels.configurations.with_raw_response.update( @@ -148,6 +151,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: configuration = response.parse() assert_matches_type(ConfigurationUpdateResponse, configuration, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.zero_trust.tunnels.configurations.with_streaming_response.update( @@ -162,6 +166,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -176,6 +181,7 @@ def test_path_params_update(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: configuration = client.zero_trust.tunnels.configurations.get( @@ -184,6 +190,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(ConfigurationGetResponse, configuration, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zero_trust.tunnels.configurations.with_raw_response.get( @@ -196,6 +203,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: configuration = response.parse() assert_matches_type(ConfigurationGetResponse, configuration, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zero_trust.tunnels.configurations.with_streaming_response.get( @@ -210,6 +218,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -228,6 +237,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncConfigurations: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: configuration = await async_client.zero_trust.tunnels.configurations.update( @@ -236,6 +246,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(ConfigurationUpdateResponse, configuration, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: configuration = await async_client.zero_trust.tunnels.configurations.update( @@ -344,6 +355,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(ConfigurationUpdateResponse, configuration, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.tunnels.configurations.with_raw_response.update( @@ -356,6 +368,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: configuration = await response.parse() assert_matches_type(ConfigurationUpdateResponse, configuration, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.tunnels.configurations.with_streaming_response.update( @@ -370,6 +383,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -384,6 +398,7 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: configuration = await async_client.zero_trust.tunnels.configurations.get( @@ -392,6 +407,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(ConfigurationGetResponse, configuration, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.tunnels.configurations.with_raw_response.get( @@ -404,6 +420,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: configuration = await response.parse() assert_matches_type(ConfigurationGetResponse, configuration, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.tunnels.configurations.with_streaming_response.get( @@ -418,6 +435,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/zero_trust/tunnels/test_connections.py b/tests/api_resources/zero_trust/tunnels/test_connections.py index 8eaf3e9a1ae..d7d2ec576f3 100644 --- a/tests/api_resources/zero_trust/tunnels/test_connections.py +++ b/tests/api_resources/zero_trust/tunnels/test_connections.py @@ -20,6 +20,7 @@ class TestConnections: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: connection = client.zero_trust.tunnels.connections.delete( @@ -29,6 +30,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(ConnectionDeleteResponse, connection, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.zero_trust.tunnels.connections.with_raw_response.delete( @@ -42,6 +44,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: connection = response.parse() assert_matches_type(ConnectionDeleteResponse, connection, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.zero_trust.tunnels.connections.with_streaming_response.delete( @@ -57,6 +60,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -73,6 +77,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: connection = client.zero_trust.tunnels.connections.get( @@ -81,6 +86,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ConnectionGetResponse], connection, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zero_trust.tunnels.connections.with_raw_response.get( @@ -93,6 +99,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: connection = response.parse() assert_matches_type(Optional[ConnectionGetResponse], connection, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zero_trust.tunnels.connections.with_streaming_response.get( @@ -107,6 +114,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -125,6 +133,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncConnections: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: connection = await async_client.zero_trust.tunnels.connections.delete( @@ -134,6 +143,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(ConnectionDeleteResponse, connection, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.tunnels.connections.with_raw_response.delete( @@ -147,6 +157,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: connection = await response.parse() assert_matches_type(ConnectionDeleteResponse, connection, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.tunnels.connections.with_streaming_response.delete( @@ -162,6 +173,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -178,6 +190,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: body={}, ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: connection = await async_client.zero_trust.tunnels.connections.get( @@ -186,6 +199,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[ConnectionGetResponse], connection, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.tunnels.connections.with_raw_response.get( @@ -198,6 +212,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: connection = await response.parse() assert_matches_type(Optional[ConnectionGetResponse], connection, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.tunnels.connections.with_streaming_response.get( @@ -212,6 +227,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/zero_trust/tunnels/test_connectors.py b/tests/api_resources/zero_trust/tunnels/test_connectors.py index ffd3b01b23b..6c9843d9e52 100644 --- a/tests/api_resources/zero_trust/tunnels/test_connectors.py +++ b/tests/api_resources/zero_trust/tunnels/test_connectors.py @@ -17,6 +17,7 @@ class TestConnectors: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: connector = client.zero_trust.tunnels.connectors.get( @@ -26,6 +27,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Client, connector, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zero_trust.tunnels.connectors.with_raw_response.get( @@ -39,6 +41,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: connector = response.parse() assert_matches_type(Client, connector, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zero_trust.tunnels.connectors.with_streaming_response.get( @@ -54,6 +57,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -81,6 +85,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncConnectors: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: connector = await async_client.zero_trust.tunnels.connectors.get( @@ -90,6 +95,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Client, connector, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.tunnels.connectors.with_raw_response.get( @@ -103,6 +109,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: connector = await response.parse() assert_matches_type(Client, connector, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.tunnels.connectors.with_streaming_response.get( @@ -118,6 +125,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/zero_trust/tunnels/test_management.py b/tests/api_resources/zero_trust/tunnels/test_management.py index 7679e42dcb8..4fe9fafa2bf 100644 --- a/tests/api_resources/zero_trust/tunnels/test_management.py +++ b/tests/api_resources/zero_trust/tunnels/test_management.py @@ -17,6 +17,7 @@ class TestManagement: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: management = client.zero_trust.tunnels.management.create( @@ -26,6 +27,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(ManagementCreateResponse, management, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.zero_trust.tunnels.management.with_raw_response.create( @@ -39,6 +41,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: management = response.parse() assert_matches_type(ManagementCreateResponse, management, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.zero_trust.tunnels.management.with_streaming_response.create( @@ -54,6 +57,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -74,6 +78,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: class TestAsyncManagement: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: management = await async_client.zero_trust.tunnels.management.create( @@ -83,6 +88,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(ManagementCreateResponse, management, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.tunnels.management.with_raw_response.create( @@ -96,6 +102,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: management = await response.parse() assert_matches_type(ManagementCreateResponse, management, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.tunnels.management.with_streaming_response.create( @@ -111,6 +118,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/zero_trust/tunnels/test_token.py b/tests/api_resources/zero_trust/tunnels/test_token.py index 4a4ecd88189..c4535952c3f 100644 --- a/tests/api_resources/zero_trust/tunnels/test_token.py +++ b/tests/api_resources/zero_trust/tunnels/test_token.py @@ -17,6 +17,7 @@ class TestToken: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: token = client.zero_trust.tunnels.token.get( @@ -25,6 +26,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(TokenGetResponse, token, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zero_trust.tunnels.token.with_raw_response.get( @@ -37,6 +39,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: token = response.parse() assert_matches_type(TokenGetResponse, token, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zero_trust.tunnels.token.with_streaming_response.get( @@ -51,6 +54,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -69,6 +73,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncToken: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: token = await async_client.zero_trust.tunnels.token.get( @@ -77,6 +82,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(TokenGetResponse, token, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zero_trust.tunnels.token.with_raw_response.get( @@ -89,6 +95,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: token = await response.parse() assert_matches_type(TokenGetResponse, token, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zero_trust.tunnels.token.with_streaming_response.get( @@ -103,6 +110,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/zones/settings/test_advanced_ddos.py b/tests/api_resources/zones/settings/test_advanced_ddos.py index 0a02d5d3923..6866ae5e9fc 100644 --- a/tests/api_resources/zones/settings/test_advanced_ddos.py +++ b/tests/api_resources/zones/settings/test_advanced_ddos.py @@ -17,6 +17,7 @@ class TestAdvancedDDoS: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: advanced_ddos = client.zones.settings.advanced_ddos.get( @@ -24,6 +25,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[AdvancedDDoS], advanced_ddos, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zones.settings.advanced_ddos.with_raw_response.get( @@ -35,6 +37,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: advanced_ddos = response.parse() assert_matches_type(Optional[AdvancedDDoS], advanced_ddos, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zones.settings.advanced_ddos.with_streaming_response.get( @@ -48,6 +51,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -59,6 +63,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncAdvancedDDoS: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: advanced_ddos = await async_client.zones.settings.advanced_ddos.get( @@ -66,6 +71,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[AdvancedDDoS], advanced_ddos, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.advanced_ddos.with_raw_response.get( @@ -77,6 +83,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: advanced_ddos = await response.parse() assert_matches_type(Optional[AdvancedDDoS], advanced_ddos, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.advanced_ddos.with_streaming_response.get( @@ -90,6 +97,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): diff --git a/tests/api_resources/zones/settings/test_always_online.py b/tests/api_resources/zones/settings/test_always_online.py index 3f2165813c2..8773d50c892 100644 --- a/tests/api_resources/zones/settings/test_always_online.py +++ b/tests/api_resources/zones/settings/test_always_online.py @@ -17,6 +17,7 @@ class TestAlwaysOnline: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: always_online = client.zones.settings.always_online.edit( @@ -25,6 +26,7 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[AlwaysOnline], always_online, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.zones.settings.always_online.with_raw_response.edit( @@ -37,6 +39,7 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: always_online = response.parse() assert_matches_type(Optional[AlwaysOnline], always_online, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.zones.settings.always_online.with_streaming_response.edit( @@ -51,6 +54,7 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -59,6 +63,7 @@ def test_path_params_edit(self, client: Cloudflare) -> None: value="on", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: always_online = client.zones.settings.always_online.get( @@ -66,6 +71,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[AlwaysOnline], always_online, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zones.settings.always_online.with_raw_response.get( @@ -77,6 +83,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: always_online = response.parse() assert_matches_type(Optional[AlwaysOnline], always_online, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zones.settings.always_online.with_streaming_response.get( @@ -90,6 +97,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -101,6 +109,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncAlwaysOnline: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: always_online = await async_client.zones.settings.always_online.edit( @@ -109,6 +118,7 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[AlwaysOnline], always_online, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.always_online.with_raw_response.edit( @@ -121,6 +131,7 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: always_online = await response.parse() assert_matches_type(Optional[AlwaysOnline], always_online, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.always_online.with_streaming_response.edit( @@ -135,6 +146,7 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -143,6 +155,7 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: value="on", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: always_online = await async_client.zones.settings.always_online.get( @@ -150,6 +163,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[AlwaysOnline], always_online, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.always_online.with_raw_response.get( @@ -161,6 +175,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: always_online = await response.parse() assert_matches_type(Optional[AlwaysOnline], always_online, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.always_online.with_streaming_response.get( @@ -174,6 +189,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): diff --git a/tests/api_resources/zones/settings/test_always_use_https.py b/tests/api_resources/zones/settings/test_always_use_https.py index 3f800f69e91..31a42cb7de7 100644 --- a/tests/api_resources/zones/settings/test_always_use_https.py +++ b/tests/api_resources/zones/settings/test_always_use_https.py @@ -17,6 +17,7 @@ class TestAlwaysUseHTTPS: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: always_use_https = client.zones.settings.always_use_https.edit( @@ -25,6 +26,7 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[AlwaysUseHTTPS], always_use_https, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.zones.settings.always_use_https.with_raw_response.edit( @@ -37,6 +39,7 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: always_use_https = response.parse() assert_matches_type(Optional[AlwaysUseHTTPS], always_use_https, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.zones.settings.always_use_https.with_streaming_response.edit( @@ -51,6 +54,7 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -59,6 +63,7 @@ def test_path_params_edit(self, client: Cloudflare) -> None: value="on", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: always_use_https = client.zones.settings.always_use_https.get( @@ -66,6 +71,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[AlwaysUseHTTPS], always_use_https, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zones.settings.always_use_https.with_raw_response.get( @@ -77,6 +83,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: always_use_https = response.parse() assert_matches_type(Optional[AlwaysUseHTTPS], always_use_https, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zones.settings.always_use_https.with_streaming_response.get( @@ -90,6 +97,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -101,6 +109,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncAlwaysUseHTTPS: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: always_use_https = await async_client.zones.settings.always_use_https.edit( @@ -109,6 +118,7 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[AlwaysUseHTTPS], always_use_https, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.always_use_https.with_raw_response.edit( @@ -121,6 +131,7 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: always_use_https = await response.parse() assert_matches_type(Optional[AlwaysUseHTTPS], always_use_https, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.always_use_https.with_streaming_response.edit( @@ -135,6 +146,7 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -143,6 +155,7 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: value="on", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: always_use_https = await async_client.zones.settings.always_use_https.get( @@ -150,6 +163,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[AlwaysUseHTTPS], always_use_https, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.always_use_https.with_raw_response.get( @@ -161,6 +175,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: always_use_https = await response.parse() assert_matches_type(Optional[AlwaysUseHTTPS], always_use_https, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.always_use_https.with_streaming_response.get( @@ -174,6 +189,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): diff --git a/tests/api_resources/zones/settings/test_automatic_https_rewrites.py b/tests/api_resources/zones/settings/test_automatic_https_rewrites.py index 727e05ba67a..4601468bab3 100644 --- a/tests/api_resources/zones/settings/test_automatic_https_rewrites.py +++ b/tests/api_resources/zones/settings/test_automatic_https_rewrites.py @@ -17,6 +17,7 @@ class TestAutomaticHTTPSRewrites: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: automatic_https_rewrite = client.zones.settings.automatic_https_rewrites.edit( @@ -25,6 +26,7 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[AutomaticHTTPSRewrites], automatic_https_rewrite, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.zones.settings.automatic_https_rewrites.with_raw_response.edit( @@ -37,6 +39,7 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: automatic_https_rewrite = response.parse() assert_matches_type(Optional[AutomaticHTTPSRewrites], automatic_https_rewrite, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.zones.settings.automatic_https_rewrites.with_streaming_response.edit( @@ -51,6 +54,7 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -59,6 +63,7 @@ def test_path_params_edit(self, client: Cloudflare) -> None: value="on", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: automatic_https_rewrite = client.zones.settings.automatic_https_rewrites.get( @@ -66,6 +71,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[AutomaticHTTPSRewrites], automatic_https_rewrite, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zones.settings.automatic_https_rewrites.with_raw_response.get( @@ -77,6 +83,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: automatic_https_rewrite = response.parse() assert_matches_type(Optional[AutomaticHTTPSRewrites], automatic_https_rewrite, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zones.settings.automatic_https_rewrites.with_streaming_response.get( @@ -90,6 +97,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -101,6 +109,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncAutomaticHTTPSRewrites: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: automatic_https_rewrite = await async_client.zones.settings.automatic_https_rewrites.edit( @@ -109,6 +118,7 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[AutomaticHTTPSRewrites], automatic_https_rewrite, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.automatic_https_rewrites.with_raw_response.edit( @@ -121,6 +131,7 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: automatic_https_rewrite = await response.parse() assert_matches_type(Optional[AutomaticHTTPSRewrites], automatic_https_rewrite, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.automatic_https_rewrites.with_streaming_response.edit( @@ -135,6 +146,7 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -143,6 +155,7 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: value="on", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: automatic_https_rewrite = await async_client.zones.settings.automatic_https_rewrites.get( @@ -150,6 +163,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[AutomaticHTTPSRewrites], automatic_https_rewrite, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.automatic_https_rewrites.with_raw_response.get( @@ -161,6 +175,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: automatic_https_rewrite = await response.parse() assert_matches_type(Optional[AutomaticHTTPSRewrites], automatic_https_rewrite, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.automatic_https_rewrites.with_streaming_response.get( @@ -174,6 +189,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): diff --git a/tests/api_resources/zones/settings/test_automatic_platform_optimization.py b/tests/api_resources/zones/settings/test_automatic_platform_optimization.py index f642c020a35..d9b945e5762 100644 --- a/tests/api_resources/zones/settings/test_automatic_platform_optimization.py +++ b/tests/api_resources/zones/settings/test_automatic_platform_optimization.py @@ -17,6 +17,7 @@ class TestAutomaticPlatformOptimization: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: automatic_platform_optimization = client.zones.settings.automatic_platform_optimization.edit( @@ -32,6 +33,7 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[AutomaticPlatformOptimization], automatic_platform_optimization, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.zones.settings.automatic_platform_optimization.with_raw_response.edit( @@ -51,6 +53,7 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: automatic_platform_optimization = response.parse() assert_matches_type(Optional[AutomaticPlatformOptimization], automatic_platform_optimization, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.zones.settings.automatic_platform_optimization.with_streaming_response.edit( @@ -74,6 +77,7 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -89,6 +93,7 @@ def test_path_params_edit(self, client: Cloudflare) -> None: }, ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: automatic_platform_optimization = client.zones.settings.automatic_platform_optimization.get( @@ -96,6 +101,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[AutomaticPlatformOptimization], automatic_platform_optimization, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zones.settings.automatic_platform_optimization.with_raw_response.get( @@ -107,6 +113,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: automatic_platform_optimization = response.parse() assert_matches_type(Optional[AutomaticPlatformOptimization], automatic_platform_optimization, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zones.settings.automatic_platform_optimization.with_streaming_response.get( @@ -122,6 +129,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -133,6 +141,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncAutomaticPlatformOptimization: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: automatic_platform_optimization = await async_client.zones.settings.automatic_platform_optimization.edit( @@ -148,6 +157,7 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[AutomaticPlatformOptimization], automatic_platform_optimization, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.automatic_platform_optimization.with_raw_response.edit( @@ -167,6 +177,7 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: automatic_platform_optimization = await response.parse() assert_matches_type(Optional[AutomaticPlatformOptimization], automatic_platform_optimization, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.automatic_platform_optimization.with_streaming_response.edit( @@ -190,6 +201,7 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -205,6 +217,7 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: }, ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: automatic_platform_optimization = await async_client.zones.settings.automatic_platform_optimization.get( @@ -212,6 +225,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[AutomaticPlatformOptimization], automatic_platform_optimization, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.automatic_platform_optimization.with_raw_response.get( @@ -223,6 +237,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: automatic_platform_optimization = await response.parse() assert_matches_type(Optional[AutomaticPlatformOptimization], automatic_platform_optimization, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.automatic_platform_optimization.with_streaming_response.get( @@ -238,6 +253,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): diff --git a/tests/api_resources/zones/settings/test_brotli.py b/tests/api_resources/zones/settings/test_brotli.py index 692acd2ff7f..98ac6368896 100644 --- a/tests/api_resources/zones/settings/test_brotli.py +++ b/tests/api_resources/zones/settings/test_brotli.py @@ -17,6 +17,7 @@ class TestBrotli: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: brotli = client.zones.settings.brotli.edit( @@ -25,6 +26,7 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Brotli], brotli, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.zones.settings.brotli.with_raw_response.edit( @@ -37,6 +39,7 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: brotli = response.parse() assert_matches_type(Optional[Brotli], brotli, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.zones.settings.brotli.with_streaming_response.edit( @@ -51,6 +54,7 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -59,6 +63,7 @@ def test_path_params_edit(self, client: Cloudflare) -> None: value="off", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: brotli = client.zones.settings.brotli.get( @@ -66,6 +71,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Brotli], brotli, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zones.settings.brotli.with_raw_response.get( @@ -77,6 +83,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: brotli = response.parse() assert_matches_type(Optional[Brotli], brotli, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zones.settings.brotli.with_streaming_response.get( @@ -90,6 +97,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -101,6 +109,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncBrotli: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: brotli = await async_client.zones.settings.brotli.edit( @@ -109,6 +118,7 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Brotli], brotli, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.brotli.with_raw_response.edit( @@ -121,6 +131,7 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: brotli = await response.parse() assert_matches_type(Optional[Brotli], brotli, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.brotli.with_streaming_response.edit( @@ -135,6 +146,7 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -143,6 +155,7 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: value="off", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: brotli = await async_client.zones.settings.brotli.get( @@ -150,6 +163,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Brotli], brotli, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.brotli.with_raw_response.get( @@ -161,6 +175,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: brotli = await response.parse() assert_matches_type(Optional[Brotli], brotli, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.brotli.with_streaming_response.get( @@ -174,6 +189,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): diff --git a/tests/api_resources/zones/settings/test_browser_cache_ttl.py b/tests/api_resources/zones/settings/test_browser_cache_ttl.py index b8bdfd7d4f3..c971841241f 100644 --- a/tests/api_resources/zones/settings/test_browser_cache_ttl.py +++ b/tests/api_resources/zones/settings/test_browser_cache_ttl.py @@ -17,6 +17,7 @@ class TestBrowserCacheTTL: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: browser_cache_ttl = client.zones.settings.browser_cache_ttl.edit( @@ -25,6 +26,7 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[BrowserCacheTTL], browser_cache_ttl, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.zones.settings.browser_cache_ttl.with_raw_response.edit( @@ -37,6 +39,7 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: browser_cache_ttl = response.parse() assert_matches_type(Optional[BrowserCacheTTL], browser_cache_ttl, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.zones.settings.browser_cache_ttl.with_streaming_response.edit( @@ -51,6 +54,7 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -59,6 +63,7 @@ def test_path_params_edit(self, client: Cloudflare) -> None: value=0, ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: browser_cache_ttl = client.zones.settings.browser_cache_ttl.get( @@ -66,6 +71,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[BrowserCacheTTL], browser_cache_ttl, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zones.settings.browser_cache_ttl.with_raw_response.get( @@ -77,6 +83,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: browser_cache_ttl = response.parse() assert_matches_type(Optional[BrowserCacheTTL], browser_cache_ttl, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zones.settings.browser_cache_ttl.with_streaming_response.get( @@ -90,6 +97,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -101,6 +109,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncBrowserCacheTTL: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: browser_cache_ttl = await async_client.zones.settings.browser_cache_ttl.edit( @@ -109,6 +118,7 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[BrowserCacheTTL], browser_cache_ttl, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.browser_cache_ttl.with_raw_response.edit( @@ -121,6 +131,7 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: browser_cache_ttl = await response.parse() assert_matches_type(Optional[BrowserCacheTTL], browser_cache_ttl, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.browser_cache_ttl.with_streaming_response.edit( @@ -135,6 +146,7 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -143,6 +155,7 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: value=0, ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: browser_cache_ttl = await async_client.zones.settings.browser_cache_ttl.get( @@ -150,6 +163,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[BrowserCacheTTL], browser_cache_ttl, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.browser_cache_ttl.with_raw_response.get( @@ -161,6 +175,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: browser_cache_ttl = await response.parse() assert_matches_type(Optional[BrowserCacheTTL], browser_cache_ttl, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.browser_cache_ttl.with_streaming_response.get( @@ -174,6 +189,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): diff --git a/tests/api_resources/zones/settings/test_browser_check.py b/tests/api_resources/zones/settings/test_browser_check.py index 4f783e9ffb4..e025959af30 100644 --- a/tests/api_resources/zones/settings/test_browser_check.py +++ b/tests/api_resources/zones/settings/test_browser_check.py @@ -17,6 +17,7 @@ class TestBrowserCheck: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: browser_check = client.zones.settings.browser_check.edit( @@ -25,6 +26,7 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[BrowserCheck], browser_check, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.zones.settings.browser_check.with_raw_response.edit( @@ -37,6 +39,7 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: browser_check = response.parse() assert_matches_type(Optional[BrowserCheck], browser_check, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.zones.settings.browser_check.with_streaming_response.edit( @@ -51,6 +54,7 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -59,6 +63,7 @@ def test_path_params_edit(self, client: Cloudflare) -> None: value="on", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: browser_check = client.zones.settings.browser_check.get( @@ -66,6 +71,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[BrowserCheck], browser_check, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zones.settings.browser_check.with_raw_response.get( @@ -77,6 +83,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: browser_check = response.parse() assert_matches_type(Optional[BrowserCheck], browser_check, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zones.settings.browser_check.with_streaming_response.get( @@ -90,6 +97,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -101,6 +109,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncBrowserCheck: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: browser_check = await async_client.zones.settings.browser_check.edit( @@ -109,6 +118,7 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[BrowserCheck], browser_check, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.browser_check.with_raw_response.edit( @@ -121,6 +131,7 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: browser_check = await response.parse() assert_matches_type(Optional[BrowserCheck], browser_check, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.browser_check.with_streaming_response.edit( @@ -135,6 +146,7 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -143,6 +155,7 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: value="on", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: browser_check = await async_client.zones.settings.browser_check.get( @@ -150,6 +163,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[BrowserCheck], browser_check, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.browser_check.with_raw_response.get( @@ -161,6 +175,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: browser_check = await response.parse() assert_matches_type(Optional[BrowserCheck], browser_check, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.browser_check.with_streaming_response.get( @@ -174,6 +189,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): diff --git a/tests/api_resources/zones/settings/test_cache_level.py b/tests/api_resources/zones/settings/test_cache_level.py index e9b5c0b6674..cc8808120e4 100644 --- a/tests/api_resources/zones/settings/test_cache_level.py +++ b/tests/api_resources/zones/settings/test_cache_level.py @@ -17,6 +17,7 @@ class TestCacheLevel: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: cache_level = client.zones.settings.cache_level.edit( @@ -25,6 +26,7 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[CacheLevel], cache_level, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.zones.settings.cache_level.with_raw_response.edit( @@ -37,6 +39,7 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: cache_level = response.parse() assert_matches_type(Optional[CacheLevel], cache_level, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.zones.settings.cache_level.with_streaming_response.edit( @@ -51,6 +54,7 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -59,6 +63,7 @@ def test_path_params_edit(self, client: Cloudflare) -> None: value="aggressive", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: cache_level = client.zones.settings.cache_level.get( @@ -66,6 +71,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[CacheLevel], cache_level, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zones.settings.cache_level.with_raw_response.get( @@ -77,6 +83,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: cache_level = response.parse() assert_matches_type(Optional[CacheLevel], cache_level, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zones.settings.cache_level.with_streaming_response.get( @@ -90,6 +97,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -101,6 +109,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncCacheLevel: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: cache_level = await async_client.zones.settings.cache_level.edit( @@ -109,6 +118,7 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[CacheLevel], cache_level, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.cache_level.with_raw_response.edit( @@ -121,6 +131,7 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: cache_level = await response.parse() assert_matches_type(Optional[CacheLevel], cache_level, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.cache_level.with_streaming_response.edit( @@ -135,6 +146,7 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -143,6 +155,7 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: value="aggressive", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: cache_level = await async_client.zones.settings.cache_level.get( @@ -150,6 +163,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[CacheLevel], cache_level, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.cache_level.with_raw_response.get( @@ -161,6 +175,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: cache_level = await response.parse() assert_matches_type(Optional[CacheLevel], cache_level, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.cache_level.with_streaming_response.get( @@ -174,6 +189,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): diff --git a/tests/api_resources/zones/settings/test_challenge_ttl.py b/tests/api_resources/zones/settings/test_challenge_ttl.py index 2a1b284b755..b5074a454b7 100644 --- a/tests/api_resources/zones/settings/test_challenge_ttl.py +++ b/tests/api_resources/zones/settings/test_challenge_ttl.py @@ -17,6 +17,7 @@ class TestChallengeTTL: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: challenge_ttl = client.zones.settings.challenge_ttl.edit( @@ -25,6 +26,7 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ChallengeTTL], challenge_ttl, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.zones.settings.challenge_ttl.with_raw_response.edit( @@ -37,6 +39,7 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: challenge_ttl = response.parse() assert_matches_type(Optional[ChallengeTTL], challenge_ttl, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.zones.settings.challenge_ttl.with_streaming_response.edit( @@ -51,6 +54,7 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -59,6 +63,7 @@ def test_path_params_edit(self, client: Cloudflare) -> None: value=300, ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: challenge_ttl = client.zones.settings.challenge_ttl.get( @@ -66,6 +71,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ChallengeTTL], challenge_ttl, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zones.settings.challenge_ttl.with_raw_response.get( @@ -77,6 +83,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: challenge_ttl = response.parse() assert_matches_type(Optional[ChallengeTTL], challenge_ttl, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zones.settings.challenge_ttl.with_streaming_response.get( @@ -90,6 +97,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -101,6 +109,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncChallengeTTL: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: challenge_ttl = await async_client.zones.settings.challenge_ttl.edit( @@ -109,6 +118,7 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[ChallengeTTL], challenge_ttl, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.challenge_ttl.with_raw_response.edit( @@ -121,6 +131,7 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: challenge_ttl = await response.parse() assert_matches_type(Optional[ChallengeTTL], challenge_ttl, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.challenge_ttl.with_streaming_response.edit( @@ -135,6 +146,7 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -143,6 +155,7 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: value=300, ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: challenge_ttl = await async_client.zones.settings.challenge_ttl.get( @@ -150,6 +163,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[ChallengeTTL], challenge_ttl, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.challenge_ttl.with_raw_response.get( @@ -161,6 +175,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: challenge_ttl = await response.parse() assert_matches_type(Optional[ChallengeTTL], challenge_ttl, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.challenge_ttl.with_streaming_response.get( @@ -174,6 +189,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): diff --git a/tests/api_resources/zones/settings/test_ciphers.py b/tests/api_resources/zones/settings/test_ciphers.py index 369f2870999..5faf738d89c 100644 --- a/tests/api_resources/zones/settings/test_ciphers.py +++ b/tests/api_resources/zones/settings/test_ciphers.py @@ -17,6 +17,7 @@ class TestCiphers: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: cipher = client.zones.settings.ciphers.edit( @@ -25,6 +26,7 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Ciphers], cipher, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.zones.settings.ciphers.with_raw_response.edit( @@ -37,6 +39,7 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: cipher = response.parse() assert_matches_type(Optional[Ciphers], cipher, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.zones.settings.ciphers.with_streaming_response.edit( @@ -51,6 +54,7 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -59,6 +63,7 @@ def test_path_params_edit(self, client: Cloudflare) -> None: value=["ECDHE-RSA-AES128-GCM-SHA256", "AES128-SHA"], ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: cipher = client.zones.settings.ciphers.get( @@ -66,6 +71,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Ciphers], cipher, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zones.settings.ciphers.with_raw_response.get( @@ -77,6 +83,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: cipher = response.parse() assert_matches_type(Optional[Ciphers], cipher, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zones.settings.ciphers.with_streaming_response.get( @@ -90,6 +97,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -101,6 +109,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncCiphers: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: cipher = await async_client.zones.settings.ciphers.edit( @@ -109,6 +118,7 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Ciphers], cipher, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.ciphers.with_raw_response.edit( @@ -121,6 +131,7 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: cipher = await response.parse() assert_matches_type(Optional[Ciphers], cipher, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.ciphers.with_streaming_response.edit( @@ -135,6 +146,7 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -143,6 +155,7 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: value=["ECDHE-RSA-AES128-GCM-SHA256", "AES128-SHA"], ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: cipher = await async_client.zones.settings.ciphers.get( @@ -150,6 +163,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Ciphers], cipher, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.ciphers.with_raw_response.get( @@ -161,6 +175,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: cipher = await response.parse() assert_matches_type(Optional[Ciphers], cipher, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.ciphers.with_streaming_response.get( @@ -174,6 +189,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): diff --git a/tests/api_resources/zones/settings/test_development_mode.py b/tests/api_resources/zones/settings/test_development_mode.py index c0dcd89d40f..3255e5c314b 100644 --- a/tests/api_resources/zones/settings/test_development_mode.py +++ b/tests/api_resources/zones/settings/test_development_mode.py @@ -17,6 +17,7 @@ class TestDevelopmentMode: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: development_mode = client.zones.settings.development_mode.edit( @@ -25,6 +26,7 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[DevelopmentMode], development_mode, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.zones.settings.development_mode.with_raw_response.edit( @@ -37,6 +39,7 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: development_mode = response.parse() assert_matches_type(Optional[DevelopmentMode], development_mode, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.zones.settings.development_mode.with_streaming_response.edit( @@ -51,6 +54,7 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -59,6 +63,7 @@ def test_path_params_edit(self, client: Cloudflare) -> None: value="on", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: development_mode = client.zones.settings.development_mode.get( @@ -66,6 +71,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[DevelopmentMode], development_mode, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zones.settings.development_mode.with_raw_response.get( @@ -77,6 +83,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: development_mode = response.parse() assert_matches_type(Optional[DevelopmentMode], development_mode, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zones.settings.development_mode.with_streaming_response.get( @@ -90,6 +97,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -101,6 +109,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncDevelopmentMode: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: development_mode = await async_client.zones.settings.development_mode.edit( @@ -109,6 +118,7 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[DevelopmentMode], development_mode, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.development_mode.with_raw_response.edit( @@ -121,6 +131,7 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: development_mode = await response.parse() assert_matches_type(Optional[DevelopmentMode], development_mode, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.development_mode.with_streaming_response.edit( @@ -135,6 +146,7 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -143,6 +155,7 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: value="on", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: development_mode = await async_client.zones.settings.development_mode.get( @@ -150,6 +163,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[DevelopmentMode], development_mode, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.development_mode.with_raw_response.get( @@ -161,6 +175,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: development_mode = await response.parse() assert_matches_type(Optional[DevelopmentMode], development_mode, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.development_mode.with_streaming_response.get( @@ -174,6 +189,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): diff --git a/tests/api_resources/zones/settings/test_early_hints.py b/tests/api_resources/zones/settings/test_early_hints.py index a7979ce0e77..201428cdcc3 100644 --- a/tests/api_resources/zones/settings/test_early_hints.py +++ b/tests/api_resources/zones/settings/test_early_hints.py @@ -17,6 +17,7 @@ class TestEarlyHints: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: early_hint = client.zones.settings.early_hints.edit( @@ -25,6 +26,7 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[EarlyHints], early_hint, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.zones.settings.early_hints.with_raw_response.edit( @@ -37,6 +39,7 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: early_hint = response.parse() assert_matches_type(Optional[EarlyHints], early_hint, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.zones.settings.early_hints.with_streaming_response.edit( @@ -51,6 +54,7 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -59,6 +63,7 @@ def test_path_params_edit(self, client: Cloudflare) -> None: value="on", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: early_hint = client.zones.settings.early_hints.get( @@ -66,6 +71,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[EarlyHints], early_hint, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zones.settings.early_hints.with_raw_response.get( @@ -77,6 +83,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: early_hint = response.parse() assert_matches_type(Optional[EarlyHints], early_hint, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zones.settings.early_hints.with_streaming_response.get( @@ -90,6 +97,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -101,6 +109,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncEarlyHints: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: early_hint = await async_client.zones.settings.early_hints.edit( @@ -109,6 +118,7 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[EarlyHints], early_hint, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.early_hints.with_raw_response.edit( @@ -121,6 +131,7 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: early_hint = await response.parse() assert_matches_type(Optional[EarlyHints], early_hint, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.early_hints.with_streaming_response.edit( @@ -135,6 +146,7 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -143,6 +155,7 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: value="on", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: early_hint = await async_client.zones.settings.early_hints.get( @@ -150,6 +163,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[EarlyHints], early_hint, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.early_hints.with_raw_response.get( @@ -161,6 +175,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: early_hint = await response.parse() assert_matches_type(Optional[EarlyHints], early_hint, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.early_hints.with_streaming_response.get( @@ -174,6 +189,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): diff --git a/tests/api_resources/zones/settings/test_email_obfuscation.py b/tests/api_resources/zones/settings/test_email_obfuscation.py index c9ef6769ae1..da0b23d3c3f 100644 --- a/tests/api_resources/zones/settings/test_email_obfuscation.py +++ b/tests/api_resources/zones/settings/test_email_obfuscation.py @@ -17,6 +17,7 @@ class TestEmailObfuscation: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: email_obfuscation = client.zones.settings.email_obfuscation.edit( @@ -25,6 +26,7 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[EmailObfuscation], email_obfuscation, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.zones.settings.email_obfuscation.with_raw_response.edit( @@ -37,6 +39,7 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: email_obfuscation = response.parse() assert_matches_type(Optional[EmailObfuscation], email_obfuscation, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.zones.settings.email_obfuscation.with_streaming_response.edit( @@ -51,6 +54,7 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -59,6 +63,7 @@ def test_path_params_edit(self, client: Cloudflare) -> None: value="on", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: email_obfuscation = client.zones.settings.email_obfuscation.get( @@ -66,6 +71,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[EmailObfuscation], email_obfuscation, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zones.settings.email_obfuscation.with_raw_response.get( @@ -77,6 +83,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: email_obfuscation = response.parse() assert_matches_type(Optional[EmailObfuscation], email_obfuscation, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zones.settings.email_obfuscation.with_streaming_response.get( @@ -90,6 +97,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -101,6 +109,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncEmailObfuscation: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: email_obfuscation = await async_client.zones.settings.email_obfuscation.edit( @@ -109,6 +118,7 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[EmailObfuscation], email_obfuscation, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.email_obfuscation.with_raw_response.edit( @@ -121,6 +131,7 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: email_obfuscation = await response.parse() assert_matches_type(Optional[EmailObfuscation], email_obfuscation, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.email_obfuscation.with_streaming_response.edit( @@ -135,6 +146,7 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -143,6 +155,7 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: value="on", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: email_obfuscation = await async_client.zones.settings.email_obfuscation.get( @@ -150,6 +163,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[EmailObfuscation], email_obfuscation, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.email_obfuscation.with_raw_response.get( @@ -161,6 +175,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: email_obfuscation = await response.parse() assert_matches_type(Optional[EmailObfuscation], email_obfuscation, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.email_obfuscation.with_streaming_response.get( @@ -174,6 +189,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): diff --git a/tests/api_resources/zones/settings/test_font_settings.py b/tests/api_resources/zones/settings/test_font_settings.py index d80ff7b61db..962ef1d1ef2 100644 --- a/tests/api_resources/zones/settings/test_font_settings.py +++ b/tests/api_resources/zones/settings/test_font_settings.py @@ -17,6 +17,7 @@ class TestFontSettings: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: font_setting = client.zones.settings.font_settings.edit( @@ -25,6 +26,7 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[FontSettings], font_setting, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.zones.settings.font_settings.with_raw_response.edit( @@ -37,6 +39,7 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: font_setting = response.parse() assert_matches_type(Optional[FontSettings], font_setting, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.zones.settings.font_settings.with_streaming_response.edit( @@ -51,6 +54,7 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -59,6 +63,7 @@ def test_path_params_edit(self, client: Cloudflare) -> None: value="on", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: font_setting = client.zones.settings.font_settings.get( @@ -66,6 +71,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[FontSettings], font_setting, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zones.settings.font_settings.with_raw_response.get( @@ -77,6 +83,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: font_setting = response.parse() assert_matches_type(Optional[FontSettings], font_setting, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zones.settings.font_settings.with_streaming_response.get( @@ -90,6 +97,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -101,6 +109,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncFontSettings: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: font_setting = await async_client.zones.settings.font_settings.edit( @@ -109,6 +118,7 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[FontSettings], font_setting, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.font_settings.with_raw_response.edit( @@ -121,6 +131,7 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: font_setting = await response.parse() assert_matches_type(Optional[FontSettings], font_setting, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.font_settings.with_streaming_response.edit( @@ -135,6 +146,7 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -143,6 +155,7 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: value="on", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: font_setting = await async_client.zones.settings.font_settings.get( @@ -150,6 +163,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[FontSettings], font_setting, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.font_settings.with_raw_response.get( @@ -161,6 +175,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: font_setting = await response.parse() assert_matches_type(Optional[FontSettings], font_setting, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.font_settings.with_streaming_response.get( @@ -174,6 +189,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): diff --git a/tests/api_resources/zones/settings/test_h2_prioritization.py b/tests/api_resources/zones/settings/test_h2_prioritization.py index 2500447e342..ec70ca9633e 100644 --- a/tests/api_resources/zones/settings/test_h2_prioritization.py +++ b/tests/api_resources/zones/settings/test_h2_prioritization.py @@ -17,6 +17,7 @@ class TestH2Prioritization: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: h2_prioritization = client.zones.settings.h2_prioritization.edit( @@ -28,6 +29,7 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[H2Prioritization], h2_prioritization, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_edit_with_all_params(self, client: Cloudflare) -> None: h2_prioritization = client.zones.settings.h2_prioritization.edit( @@ -39,6 +41,7 @@ def test_method_edit_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[H2Prioritization], h2_prioritization, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.zones.settings.h2_prioritization.with_raw_response.edit( @@ -54,6 +57,7 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: h2_prioritization = response.parse() assert_matches_type(Optional[H2Prioritization], h2_prioritization, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.zones.settings.h2_prioritization.with_streaming_response.edit( @@ -71,6 +75,7 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -82,6 +87,7 @@ def test_path_params_edit(self, client: Cloudflare) -> None: }, ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: h2_prioritization = client.zones.settings.h2_prioritization.get( @@ -89,6 +95,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[H2Prioritization], h2_prioritization, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zones.settings.h2_prioritization.with_raw_response.get( @@ -100,6 +107,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: h2_prioritization = response.parse() assert_matches_type(Optional[H2Prioritization], h2_prioritization, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zones.settings.h2_prioritization.with_streaming_response.get( @@ -113,6 +121,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -124,6 +133,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncH2Prioritization: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: h2_prioritization = await async_client.zones.settings.h2_prioritization.edit( @@ -135,6 +145,7 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[H2Prioritization], h2_prioritization, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) -> None: h2_prioritization = await async_client.zones.settings.h2_prioritization.edit( @@ -146,6 +157,7 @@ async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(Optional[H2Prioritization], h2_prioritization, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.h2_prioritization.with_raw_response.edit( @@ -161,6 +173,7 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: h2_prioritization = await response.parse() assert_matches_type(Optional[H2Prioritization], h2_prioritization, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.h2_prioritization.with_streaming_response.edit( @@ -178,6 +191,7 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -189,6 +203,7 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: }, ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: h2_prioritization = await async_client.zones.settings.h2_prioritization.get( @@ -196,6 +211,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[H2Prioritization], h2_prioritization, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.h2_prioritization.with_raw_response.get( @@ -207,6 +223,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: h2_prioritization = await response.parse() assert_matches_type(Optional[H2Prioritization], h2_prioritization, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.h2_prioritization.with_streaming_response.get( @@ -220,6 +237,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): diff --git a/tests/api_resources/zones/settings/test_hotlink_protection.py b/tests/api_resources/zones/settings/test_hotlink_protection.py index 8c077ae9b8f..59aafb76c7c 100644 --- a/tests/api_resources/zones/settings/test_hotlink_protection.py +++ b/tests/api_resources/zones/settings/test_hotlink_protection.py @@ -17,6 +17,7 @@ class TestHotlinkProtection: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: hotlink_protection = client.zones.settings.hotlink_protection.edit( @@ -25,6 +26,7 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[HotlinkProtection], hotlink_protection, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.zones.settings.hotlink_protection.with_raw_response.edit( @@ -37,6 +39,7 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: hotlink_protection = response.parse() assert_matches_type(Optional[HotlinkProtection], hotlink_protection, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.zones.settings.hotlink_protection.with_streaming_response.edit( @@ -51,6 +54,7 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -59,6 +63,7 @@ def test_path_params_edit(self, client: Cloudflare) -> None: value="on", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: hotlink_protection = client.zones.settings.hotlink_protection.get( @@ -66,6 +71,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[HotlinkProtection], hotlink_protection, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zones.settings.hotlink_protection.with_raw_response.get( @@ -77,6 +83,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: hotlink_protection = response.parse() assert_matches_type(Optional[HotlinkProtection], hotlink_protection, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zones.settings.hotlink_protection.with_streaming_response.get( @@ -90,6 +97,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -101,6 +109,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncHotlinkProtection: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: hotlink_protection = await async_client.zones.settings.hotlink_protection.edit( @@ -109,6 +118,7 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[HotlinkProtection], hotlink_protection, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.hotlink_protection.with_raw_response.edit( @@ -121,6 +131,7 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: hotlink_protection = await response.parse() assert_matches_type(Optional[HotlinkProtection], hotlink_protection, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.hotlink_protection.with_streaming_response.edit( @@ -135,6 +146,7 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -143,6 +155,7 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: value="on", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: hotlink_protection = await async_client.zones.settings.hotlink_protection.get( @@ -150,6 +163,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[HotlinkProtection], hotlink_protection, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.hotlink_protection.with_raw_response.get( @@ -161,6 +175,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: hotlink_protection = await response.parse() assert_matches_type(Optional[HotlinkProtection], hotlink_protection, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.hotlink_protection.with_streaming_response.get( @@ -174,6 +189,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): diff --git a/tests/api_resources/zones/settings/test_http2.py b/tests/api_resources/zones/settings/test_http2.py index 26aa47b9428..6a0f922bd20 100644 --- a/tests/api_resources/zones/settings/test_http2.py +++ b/tests/api_resources/zones/settings/test_http2.py @@ -17,6 +17,7 @@ class TestHTTP2: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: http2 = client.zones.settings.http2.edit( @@ -25,6 +26,7 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[HTTP2], http2, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.zones.settings.http2.with_raw_response.edit( @@ -37,6 +39,7 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: http2 = response.parse() assert_matches_type(Optional[HTTP2], http2, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.zones.settings.http2.with_streaming_response.edit( @@ -51,6 +54,7 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -59,6 +63,7 @@ def test_path_params_edit(self, client: Cloudflare) -> None: value="on", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: http2 = client.zones.settings.http2.get( @@ -66,6 +71,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[HTTP2], http2, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zones.settings.http2.with_raw_response.get( @@ -77,6 +83,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: http2 = response.parse() assert_matches_type(Optional[HTTP2], http2, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zones.settings.http2.with_streaming_response.get( @@ -90,6 +97,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -101,6 +109,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncHTTP2: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: http2 = await async_client.zones.settings.http2.edit( @@ -109,6 +118,7 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[HTTP2], http2, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.http2.with_raw_response.edit( @@ -121,6 +131,7 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: http2 = await response.parse() assert_matches_type(Optional[HTTP2], http2, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.http2.with_streaming_response.edit( @@ -135,6 +146,7 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -143,6 +155,7 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: value="on", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: http2 = await async_client.zones.settings.http2.get( @@ -150,6 +163,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[HTTP2], http2, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.http2.with_raw_response.get( @@ -161,6 +175,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: http2 = await response.parse() assert_matches_type(Optional[HTTP2], http2, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.http2.with_streaming_response.get( @@ -174,6 +189,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): diff --git a/tests/api_resources/zones/settings/test_http3.py b/tests/api_resources/zones/settings/test_http3.py index e30a60a4181..258a55d1365 100644 --- a/tests/api_resources/zones/settings/test_http3.py +++ b/tests/api_resources/zones/settings/test_http3.py @@ -17,6 +17,7 @@ class TestHTTP3: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: http3 = client.zones.settings.http3.edit( @@ -25,6 +26,7 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[HTTP3], http3, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.zones.settings.http3.with_raw_response.edit( @@ -37,6 +39,7 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: http3 = response.parse() assert_matches_type(Optional[HTTP3], http3, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.zones.settings.http3.with_streaming_response.edit( @@ -51,6 +54,7 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -59,6 +63,7 @@ def test_path_params_edit(self, client: Cloudflare) -> None: value="on", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: http3 = client.zones.settings.http3.get( @@ -66,6 +71,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[HTTP3], http3, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zones.settings.http3.with_raw_response.get( @@ -77,6 +83,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: http3 = response.parse() assert_matches_type(Optional[HTTP3], http3, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zones.settings.http3.with_streaming_response.get( @@ -90,6 +97,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -101,6 +109,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncHTTP3: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: http3 = await async_client.zones.settings.http3.edit( @@ -109,6 +118,7 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[HTTP3], http3, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.http3.with_raw_response.edit( @@ -121,6 +131,7 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: http3 = await response.parse() assert_matches_type(Optional[HTTP3], http3, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.http3.with_streaming_response.edit( @@ -135,6 +146,7 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -143,6 +155,7 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: value="on", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: http3 = await async_client.zones.settings.http3.get( @@ -150,6 +163,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[HTTP3], http3, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.http3.with_raw_response.get( @@ -161,6 +175,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: http3 = await response.parse() assert_matches_type(Optional[HTTP3], http3, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.http3.with_streaming_response.get( @@ -174,6 +189,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): diff --git a/tests/api_resources/zones/settings/test_image_resizing.py b/tests/api_resources/zones/settings/test_image_resizing.py index 6d81d767869..c87a4190713 100644 --- a/tests/api_resources/zones/settings/test_image_resizing.py +++ b/tests/api_resources/zones/settings/test_image_resizing.py @@ -17,6 +17,7 @@ class TestImageResizing: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: image_resizing = client.zones.settings.image_resizing.edit( @@ -28,6 +29,7 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ImageResizing], image_resizing, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_edit_with_all_params(self, client: Cloudflare) -> None: image_resizing = client.zones.settings.image_resizing.edit( @@ -39,6 +41,7 @@ def test_method_edit_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ImageResizing], image_resizing, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.zones.settings.image_resizing.with_raw_response.edit( @@ -54,6 +57,7 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: image_resizing = response.parse() assert_matches_type(Optional[ImageResizing], image_resizing, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.zones.settings.image_resizing.with_streaming_response.edit( @@ -71,6 +75,7 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -82,6 +87,7 @@ def test_path_params_edit(self, client: Cloudflare) -> None: }, ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: image_resizing = client.zones.settings.image_resizing.get( @@ -89,6 +95,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ImageResizing], image_resizing, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zones.settings.image_resizing.with_raw_response.get( @@ -100,6 +107,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: image_resizing = response.parse() assert_matches_type(Optional[ImageResizing], image_resizing, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zones.settings.image_resizing.with_streaming_response.get( @@ -113,6 +121,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -124,6 +133,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncImageResizing: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: image_resizing = await async_client.zones.settings.image_resizing.edit( @@ -135,6 +145,7 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[ImageResizing], image_resizing, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) -> None: image_resizing = await async_client.zones.settings.image_resizing.edit( @@ -146,6 +157,7 @@ async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(Optional[ImageResizing], image_resizing, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.image_resizing.with_raw_response.edit( @@ -161,6 +173,7 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: image_resizing = await response.parse() assert_matches_type(Optional[ImageResizing], image_resizing, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.image_resizing.with_streaming_response.edit( @@ -178,6 +191,7 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -189,6 +203,7 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: }, ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: image_resizing = await async_client.zones.settings.image_resizing.get( @@ -196,6 +211,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[ImageResizing], image_resizing, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.image_resizing.with_raw_response.get( @@ -207,6 +223,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: image_resizing = await response.parse() assert_matches_type(Optional[ImageResizing], image_resizing, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.image_resizing.with_streaming_response.get( @@ -220,6 +237,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): diff --git a/tests/api_resources/zones/settings/test_ip_geolocation.py b/tests/api_resources/zones/settings/test_ip_geolocation.py index 20ff1c44111..090494ed084 100644 --- a/tests/api_resources/zones/settings/test_ip_geolocation.py +++ b/tests/api_resources/zones/settings/test_ip_geolocation.py @@ -17,6 +17,7 @@ class TestIPGeolocation: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: ip_geolocation = client.zones.settings.ip_geolocation.edit( @@ -25,6 +26,7 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[IPGeolocation], ip_geolocation, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.zones.settings.ip_geolocation.with_raw_response.edit( @@ -37,6 +39,7 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: ip_geolocation = response.parse() assert_matches_type(Optional[IPGeolocation], ip_geolocation, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.zones.settings.ip_geolocation.with_streaming_response.edit( @@ -51,6 +54,7 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -59,6 +63,7 @@ def test_path_params_edit(self, client: Cloudflare) -> None: value="on", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: ip_geolocation = client.zones.settings.ip_geolocation.get( @@ -66,6 +71,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[IPGeolocation], ip_geolocation, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zones.settings.ip_geolocation.with_raw_response.get( @@ -77,6 +83,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: ip_geolocation = response.parse() assert_matches_type(Optional[IPGeolocation], ip_geolocation, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zones.settings.ip_geolocation.with_streaming_response.get( @@ -90,6 +97,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -101,6 +109,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncIPGeolocation: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ip_geolocation = await async_client.zones.settings.ip_geolocation.edit( @@ -109,6 +118,7 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[IPGeolocation], ip_geolocation, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.ip_geolocation.with_raw_response.edit( @@ -121,6 +131,7 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: ip_geolocation = await response.parse() assert_matches_type(Optional[IPGeolocation], ip_geolocation, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.ip_geolocation.with_streaming_response.edit( @@ -135,6 +146,7 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -143,6 +155,7 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: value="on", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: ip_geolocation = await async_client.zones.settings.ip_geolocation.get( @@ -150,6 +163,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[IPGeolocation], ip_geolocation, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.ip_geolocation.with_raw_response.get( @@ -161,6 +175,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: ip_geolocation = await response.parse() assert_matches_type(Optional[IPGeolocation], ip_geolocation, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.ip_geolocation.with_streaming_response.get( @@ -174,6 +189,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): diff --git a/tests/api_resources/zones/settings/test_ipv6.py b/tests/api_resources/zones/settings/test_ipv6.py index f2733ddfc77..9e5c0651d2c 100644 --- a/tests/api_resources/zones/settings/test_ipv6.py +++ b/tests/api_resources/zones/settings/test_ipv6.py @@ -17,6 +17,7 @@ class TestIPV6: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: ipv6 = client.zones.settings.ipv6.edit( @@ -25,6 +26,7 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[IPV6], ipv6, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.zones.settings.ipv6.with_raw_response.edit( @@ -37,6 +39,7 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: ipv6 = response.parse() assert_matches_type(Optional[IPV6], ipv6, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.zones.settings.ipv6.with_streaming_response.edit( @@ -51,6 +54,7 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -59,6 +63,7 @@ def test_path_params_edit(self, client: Cloudflare) -> None: value="off", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: ipv6 = client.zones.settings.ipv6.get( @@ -66,6 +71,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[IPV6], ipv6, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zones.settings.ipv6.with_raw_response.get( @@ -77,6 +83,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: ipv6 = response.parse() assert_matches_type(Optional[IPV6], ipv6, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zones.settings.ipv6.with_streaming_response.get( @@ -90,6 +97,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -101,6 +109,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncIPV6: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ipv6 = await async_client.zones.settings.ipv6.edit( @@ -109,6 +118,7 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[IPV6], ipv6, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.ipv6.with_raw_response.edit( @@ -121,6 +131,7 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: ipv6 = await response.parse() assert_matches_type(Optional[IPV6], ipv6, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.ipv6.with_streaming_response.edit( @@ -135,6 +146,7 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -143,6 +155,7 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: value="off", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: ipv6 = await async_client.zones.settings.ipv6.get( @@ -150,6 +163,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[IPV6], ipv6, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.ipv6.with_raw_response.get( @@ -161,6 +175,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: ipv6 = await response.parse() assert_matches_type(Optional[IPV6], ipv6, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.ipv6.with_streaming_response.get( @@ -174,6 +189,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): diff --git a/tests/api_resources/zones/settings/test_min_tls_version.py b/tests/api_resources/zones/settings/test_min_tls_version.py index 043a46e0660..e9667e3d696 100644 --- a/tests/api_resources/zones/settings/test_min_tls_version.py +++ b/tests/api_resources/zones/settings/test_min_tls_version.py @@ -17,6 +17,7 @@ class TestMinTLSVersion: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: min_tls_version = client.zones.settings.min_tls_version.edit( @@ -25,6 +26,7 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[MinTLSVersion], min_tls_version, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.zones.settings.min_tls_version.with_raw_response.edit( @@ -37,6 +39,7 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: min_tls_version = response.parse() assert_matches_type(Optional[MinTLSVersion], min_tls_version, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.zones.settings.min_tls_version.with_streaming_response.edit( @@ -51,6 +54,7 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -59,6 +63,7 @@ def test_path_params_edit(self, client: Cloudflare) -> None: value="1.0", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: min_tls_version = client.zones.settings.min_tls_version.get( @@ -66,6 +71,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[MinTLSVersion], min_tls_version, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zones.settings.min_tls_version.with_raw_response.get( @@ -77,6 +83,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: min_tls_version = response.parse() assert_matches_type(Optional[MinTLSVersion], min_tls_version, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zones.settings.min_tls_version.with_streaming_response.get( @@ -90,6 +97,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -101,6 +109,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncMinTLSVersion: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: min_tls_version = await async_client.zones.settings.min_tls_version.edit( @@ -109,6 +118,7 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[MinTLSVersion], min_tls_version, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.min_tls_version.with_raw_response.edit( @@ -121,6 +131,7 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: min_tls_version = await response.parse() assert_matches_type(Optional[MinTLSVersion], min_tls_version, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.min_tls_version.with_streaming_response.edit( @@ -135,6 +146,7 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -143,6 +155,7 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: value="1.0", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: min_tls_version = await async_client.zones.settings.min_tls_version.get( @@ -150,6 +163,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[MinTLSVersion], min_tls_version, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.min_tls_version.with_raw_response.get( @@ -161,6 +175,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: min_tls_version = await response.parse() assert_matches_type(Optional[MinTLSVersion], min_tls_version, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.min_tls_version.with_streaming_response.get( @@ -174,6 +189,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): diff --git a/tests/api_resources/zones/settings/test_minify.py b/tests/api_resources/zones/settings/test_minify.py index fc2feb6e152..fbfdffb16a7 100644 --- a/tests/api_resources/zones/settings/test_minify.py +++ b/tests/api_resources/zones/settings/test_minify.py @@ -17,6 +17,7 @@ class TestMinify: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: minify = client.zones.settings.minify.edit( @@ -25,6 +26,7 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Minify], minify, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_edit_with_all_params(self, client: Cloudflare) -> None: minify = client.zones.settings.minify.edit( @@ -37,6 +39,7 @@ def test_method_edit_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Minify], minify, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.zones.settings.minify.with_raw_response.edit( @@ -49,6 +52,7 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: minify = response.parse() assert_matches_type(Optional[Minify], minify, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.zones.settings.minify.with_streaming_response.edit( @@ -63,6 +67,7 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -71,6 +76,7 @@ def test_path_params_edit(self, client: Cloudflare) -> None: value={}, ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: minify = client.zones.settings.minify.get( @@ -78,6 +84,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Minify], minify, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zones.settings.minify.with_raw_response.get( @@ -89,6 +96,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: minify = response.parse() assert_matches_type(Optional[Minify], minify, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zones.settings.minify.with_streaming_response.get( @@ -102,6 +110,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -113,6 +122,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncMinify: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: minify = await async_client.zones.settings.minify.edit( @@ -121,6 +131,7 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Minify], minify, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) -> None: minify = await async_client.zones.settings.minify.edit( @@ -133,6 +144,7 @@ async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(Optional[Minify], minify, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.minify.with_raw_response.edit( @@ -145,6 +157,7 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: minify = await response.parse() assert_matches_type(Optional[Minify], minify, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.minify.with_streaming_response.edit( @@ -159,6 +172,7 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -167,6 +181,7 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: value={}, ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: minify = await async_client.zones.settings.minify.get( @@ -174,6 +189,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Minify], minify, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.minify.with_raw_response.get( @@ -185,6 +201,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: minify = await response.parse() assert_matches_type(Optional[Minify], minify, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.minify.with_streaming_response.get( @@ -198,6 +215,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): diff --git a/tests/api_resources/zones/settings/test_mirage.py b/tests/api_resources/zones/settings/test_mirage.py index 57f995c5ca0..54af1256547 100644 --- a/tests/api_resources/zones/settings/test_mirage.py +++ b/tests/api_resources/zones/settings/test_mirage.py @@ -17,6 +17,7 @@ class TestMirage: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: mirage = client.zones.settings.mirage.edit( @@ -25,6 +26,7 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Mirage], mirage, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.zones.settings.mirage.with_raw_response.edit( @@ -37,6 +39,7 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: mirage = response.parse() assert_matches_type(Optional[Mirage], mirage, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.zones.settings.mirage.with_streaming_response.edit( @@ -51,6 +54,7 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -59,6 +63,7 @@ def test_path_params_edit(self, client: Cloudflare) -> None: value="on", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: mirage = client.zones.settings.mirage.get( @@ -66,6 +71,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Mirage], mirage, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zones.settings.mirage.with_raw_response.get( @@ -77,6 +83,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: mirage = response.parse() assert_matches_type(Optional[Mirage], mirage, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zones.settings.mirage.with_streaming_response.get( @@ -90,6 +97,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -101,6 +109,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncMirage: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: mirage = await async_client.zones.settings.mirage.edit( @@ -109,6 +118,7 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Mirage], mirage, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.mirage.with_raw_response.edit( @@ -121,6 +131,7 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: mirage = await response.parse() assert_matches_type(Optional[Mirage], mirage, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.mirage.with_streaming_response.edit( @@ -135,6 +146,7 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -143,6 +155,7 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: value="on", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: mirage = await async_client.zones.settings.mirage.get( @@ -150,6 +163,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Mirage], mirage, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.mirage.with_raw_response.get( @@ -161,6 +175,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: mirage = await response.parse() assert_matches_type(Optional[Mirage], mirage, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.mirage.with_streaming_response.get( @@ -174,6 +189,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): diff --git a/tests/api_resources/zones/settings/test_mobile_redirect.py b/tests/api_resources/zones/settings/test_mobile_redirect.py index b405bcd0582..da662f3d23f 100644 --- a/tests/api_resources/zones/settings/test_mobile_redirect.py +++ b/tests/api_resources/zones/settings/test_mobile_redirect.py @@ -17,6 +17,7 @@ class TestMobileRedirect: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: mobile_redirect = client.zones.settings.mobile_redirect.edit( @@ -25,6 +26,7 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[MobileRedirect], mobile_redirect, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_edit_with_all_params(self, client: Cloudflare) -> None: mobile_redirect = client.zones.settings.mobile_redirect.edit( @@ -37,6 +39,7 @@ def test_method_edit_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[MobileRedirect], mobile_redirect, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.zones.settings.mobile_redirect.with_raw_response.edit( @@ -49,6 +52,7 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: mobile_redirect = response.parse() assert_matches_type(Optional[MobileRedirect], mobile_redirect, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.zones.settings.mobile_redirect.with_streaming_response.edit( @@ -63,6 +67,7 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -71,6 +76,7 @@ def test_path_params_edit(self, client: Cloudflare) -> None: value={}, ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: mobile_redirect = client.zones.settings.mobile_redirect.get( @@ -78,6 +84,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[MobileRedirect], mobile_redirect, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zones.settings.mobile_redirect.with_raw_response.get( @@ -89,6 +96,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: mobile_redirect = response.parse() assert_matches_type(Optional[MobileRedirect], mobile_redirect, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zones.settings.mobile_redirect.with_streaming_response.get( @@ -102,6 +110,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -113,6 +122,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncMobileRedirect: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: mobile_redirect = await async_client.zones.settings.mobile_redirect.edit( @@ -121,6 +131,7 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[MobileRedirect], mobile_redirect, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) -> None: mobile_redirect = await async_client.zones.settings.mobile_redirect.edit( @@ -133,6 +144,7 @@ async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(Optional[MobileRedirect], mobile_redirect, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.mobile_redirect.with_raw_response.edit( @@ -145,6 +157,7 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: mobile_redirect = await response.parse() assert_matches_type(Optional[MobileRedirect], mobile_redirect, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.mobile_redirect.with_streaming_response.edit( @@ -159,6 +172,7 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -167,6 +181,7 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: value={}, ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: mobile_redirect = await async_client.zones.settings.mobile_redirect.get( @@ -174,6 +189,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[MobileRedirect], mobile_redirect, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.mobile_redirect.with_raw_response.get( @@ -185,6 +201,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: mobile_redirect = await response.parse() assert_matches_type(Optional[MobileRedirect], mobile_redirect, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.mobile_redirect.with_streaming_response.get( @@ -198,6 +215,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): diff --git a/tests/api_resources/zones/settings/test_nel.py b/tests/api_resources/zones/settings/test_nel.py index e0e5f831a8f..06df1c52474 100644 --- a/tests/api_resources/zones/settings/test_nel.py +++ b/tests/api_resources/zones/settings/test_nel.py @@ -17,6 +17,7 @@ class TestNEL: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: nel = client.zones.settings.nel.edit( @@ -28,6 +29,7 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[NEL], nel, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_edit_with_all_params(self, client: Cloudflare) -> None: nel = client.zones.settings.nel.edit( @@ -39,6 +41,7 @@ def test_method_edit_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[NEL], nel, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.zones.settings.nel.with_raw_response.edit( @@ -54,6 +57,7 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: nel = response.parse() assert_matches_type(Optional[NEL], nel, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.zones.settings.nel.with_streaming_response.edit( @@ -71,6 +75,7 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -82,6 +87,7 @@ def test_path_params_edit(self, client: Cloudflare) -> None: }, ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: nel = client.zones.settings.nel.get( @@ -89,6 +95,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[NEL], nel, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zones.settings.nel.with_raw_response.get( @@ -100,6 +107,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: nel = response.parse() assert_matches_type(Optional[NEL], nel, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zones.settings.nel.with_streaming_response.get( @@ -113,6 +121,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -124,6 +133,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncNEL: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: nel = await async_client.zones.settings.nel.edit( @@ -135,6 +145,7 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[NEL], nel, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) -> None: nel = await async_client.zones.settings.nel.edit( @@ -146,6 +157,7 @@ async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(Optional[NEL], nel, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.nel.with_raw_response.edit( @@ -161,6 +173,7 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: nel = await response.parse() assert_matches_type(Optional[NEL], nel, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.nel.with_streaming_response.edit( @@ -178,6 +191,7 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -189,6 +203,7 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: }, ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: nel = await async_client.zones.settings.nel.get( @@ -196,6 +211,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[NEL], nel, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.nel.with_raw_response.get( @@ -207,6 +223,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: nel = await response.parse() assert_matches_type(Optional[NEL], nel, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.nel.with_streaming_response.get( @@ -220,6 +237,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): diff --git a/tests/api_resources/zones/settings/test_opportunistic_encryption.py b/tests/api_resources/zones/settings/test_opportunistic_encryption.py index 41f4ff13934..de0952f3313 100644 --- a/tests/api_resources/zones/settings/test_opportunistic_encryption.py +++ b/tests/api_resources/zones/settings/test_opportunistic_encryption.py @@ -17,6 +17,7 @@ class TestOpportunisticEncryption: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: opportunistic_encryption = client.zones.settings.opportunistic_encryption.edit( @@ -25,6 +26,7 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[OpportunisticEncryption], opportunistic_encryption, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.zones.settings.opportunistic_encryption.with_raw_response.edit( @@ -37,6 +39,7 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: opportunistic_encryption = response.parse() assert_matches_type(Optional[OpportunisticEncryption], opportunistic_encryption, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.zones.settings.opportunistic_encryption.with_streaming_response.edit( @@ -51,6 +54,7 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -59,6 +63,7 @@ def test_path_params_edit(self, client: Cloudflare) -> None: value="on", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: opportunistic_encryption = client.zones.settings.opportunistic_encryption.get( @@ -66,6 +71,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[OpportunisticEncryption], opportunistic_encryption, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zones.settings.opportunistic_encryption.with_raw_response.get( @@ -77,6 +83,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: opportunistic_encryption = response.parse() assert_matches_type(Optional[OpportunisticEncryption], opportunistic_encryption, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zones.settings.opportunistic_encryption.with_streaming_response.get( @@ -90,6 +97,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -101,6 +109,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncOpportunisticEncryption: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: opportunistic_encryption = await async_client.zones.settings.opportunistic_encryption.edit( @@ -109,6 +118,7 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[OpportunisticEncryption], opportunistic_encryption, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.opportunistic_encryption.with_raw_response.edit( @@ -121,6 +131,7 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: opportunistic_encryption = await response.parse() assert_matches_type(Optional[OpportunisticEncryption], opportunistic_encryption, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.opportunistic_encryption.with_streaming_response.edit( @@ -135,6 +146,7 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -143,6 +155,7 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: value="on", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: opportunistic_encryption = await async_client.zones.settings.opportunistic_encryption.get( @@ -150,6 +163,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[OpportunisticEncryption], opportunistic_encryption, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.opportunistic_encryption.with_raw_response.get( @@ -161,6 +175,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: opportunistic_encryption = await response.parse() assert_matches_type(Optional[OpportunisticEncryption], opportunistic_encryption, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.opportunistic_encryption.with_streaming_response.get( @@ -174,6 +189,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): diff --git a/tests/api_resources/zones/settings/test_opportunistic_onion.py b/tests/api_resources/zones/settings/test_opportunistic_onion.py index 726c7245b59..95d177adbc8 100644 --- a/tests/api_resources/zones/settings/test_opportunistic_onion.py +++ b/tests/api_resources/zones/settings/test_opportunistic_onion.py @@ -17,6 +17,7 @@ class TestOpportunisticOnion: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: opportunistic_onion = client.zones.settings.opportunistic_onion.edit( @@ -25,6 +26,7 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[OpportunisticOnion], opportunistic_onion, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.zones.settings.opportunistic_onion.with_raw_response.edit( @@ -37,6 +39,7 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: opportunistic_onion = response.parse() assert_matches_type(Optional[OpportunisticOnion], opportunistic_onion, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.zones.settings.opportunistic_onion.with_streaming_response.edit( @@ -51,6 +54,7 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -59,6 +63,7 @@ def test_path_params_edit(self, client: Cloudflare) -> None: value="on", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: opportunistic_onion = client.zones.settings.opportunistic_onion.get( @@ -66,6 +71,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[OpportunisticOnion], opportunistic_onion, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zones.settings.opportunistic_onion.with_raw_response.get( @@ -77,6 +83,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: opportunistic_onion = response.parse() assert_matches_type(Optional[OpportunisticOnion], opportunistic_onion, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zones.settings.opportunistic_onion.with_streaming_response.get( @@ -90,6 +97,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -101,6 +109,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncOpportunisticOnion: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: opportunistic_onion = await async_client.zones.settings.opportunistic_onion.edit( @@ -109,6 +118,7 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[OpportunisticOnion], opportunistic_onion, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.opportunistic_onion.with_raw_response.edit( @@ -121,6 +131,7 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: opportunistic_onion = await response.parse() assert_matches_type(Optional[OpportunisticOnion], opportunistic_onion, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.opportunistic_onion.with_streaming_response.edit( @@ -135,6 +146,7 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -143,6 +155,7 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: value="on", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: opportunistic_onion = await async_client.zones.settings.opportunistic_onion.get( @@ -150,6 +163,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[OpportunisticOnion], opportunistic_onion, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.opportunistic_onion.with_raw_response.get( @@ -161,6 +175,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: opportunistic_onion = await response.parse() assert_matches_type(Optional[OpportunisticOnion], opportunistic_onion, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.opportunistic_onion.with_streaming_response.get( @@ -174,6 +189,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): diff --git a/tests/api_resources/zones/settings/test_orange_to_orange.py b/tests/api_resources/zones/settings/test_orange_to_orange.py index c96a6653f98..641ff393897 100644 --- a/tests/api_resources/zones/settings/test_orange_to_orange.py +++ b/tests/api_resources/zones/settings/test_orange_to_orange.py @@ -17,6 +17,7 @@ class TestOrangeToOrange: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: orange_to_orange = client.zones.settings.orange_to_orange.edit( @@ -28,6 +29,7 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[OrangeToOrange], orange_to_orange, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_edit_with_all_params(self, client: Cloudflare) -> None: orange_to_orange = client.zones.settings.orange_to_orange.edit( @@ -39,6 +41,7 @@ def test_method_edit_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[OrangeToOrange], orange_to_orange, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.zones.settings.orange_to_orange.with_raw_response.edit( @@ -54,6 +57,7 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: orange_to_orange = response.parse() assert_matches_type(Optional[OrangeToOrange], orange_to_orange, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.zones.settings.orange_to_orange.with_streaming_response.edit( @@ -71,6 +75,7 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -82,6 +87,7 @@ def test_path_params_edit(self, client: Cloudflare) -> None: }, ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: orange_to_orange = client.zones.settings.orange_to_orange.get( @@ -89,6 +95,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[OrangeToOrange], orange_to_orange, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zones.settings.orange_to_orange.with_raw_response.get( @@ -100,6 +107,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: orange_to_orange = response.parse() assert_matches_type(Optional[OrangeToOrange], orange_to_orange, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zones.settings.orange_to_orange.with_streaming_response.get( @@ -113,6 +121,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -124,6 +133,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncOrangeToOrange: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: orange_to_orange = await async_client.zones.settings.orange_to_orange.edit( @@ -135,6 +145,7 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[OrangeToOrange], orange_to_orange, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) -> None: orange_to_orange = await async_client.zones.settings.orange_to_orange.edit( @@ -146,6 +157,7 @@ async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(Optional[OrangeToOrange], orange_to_orange, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.orange_to_orange.with_raw_response.edit( @@ -161,6 +173,7 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: orange_to_orange = await response.parse() assert_matches_type(Optional[OrangeToOrange], orange_to_orange, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.orange_to_orange.with_streaming_response.edit( @@ -178,6 +191,7 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -189,6 +203,7 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: }, ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: orange_to_orange = await async_client.zones.settings.orange_to_orange.get( @@ -196,6 +211,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[OrangeToOrange], orange_to_orange, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.orange_to_orange.with_raw_response.get( @@ -207,6 +223,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: orange_to_orange = await response.parse() assert_matches_type(Optional[OrangeToOrange], orange_to_orange, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.orange_to_orange.with_streaming_response.get( @@ -220,6 +237,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): diff --git a/tests/api_resources/zones/settings/test_origin_error_page_pass_thru.py b/tests/api_resources/zones/settings/test_origin_error_page_pass_thru.py index 2b239031bc4..0f8db392e89 100644 --- a/tests/api_resources/zones/settings/test_origin_error_page_pass_thru.py +++ b/tests/api_resources/zones/settings/test_origin_error_page_pass_thru.py @@ -17,6 +17,7 @@ class TestOriginErrorPagePassThru: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: origin_error_page_pass_thru = client.zones.settings.origin_error_page_pass_thru.edit( @@ -25,6 +26,7 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[OriginErrorPagePassThru], origin_error_page_pass_thru, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.zones.settings.origin_error_page_pass_thru.with_raw_response.edit( @@ -37,6 +39,7 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: origin_error_page_pass_thru = response.parse() assert_matches_type(Optional[OriginErrorPagePassThru], origin_error_page_pass_thru, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.zones.settings.origin_error_page_pass_thru.with_streaming_response.edit( @@ -51,6 +54,7 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -59,6 +63,7 @@ def test_path_params_edit(self, client: Cloudflare) -> None: value="on", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: origin_error_page_pass_thru = client.zones.settings.origin_error_page_pass_thru.get( @@ -66,6 +71,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[OriginErrorPagePassThru], origin_error_page_pass_thru, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zones.settings.origin_error_page_pass_thru.with_raw_response.get( @@ -77,6 +83,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: origin_error_page_pass_thru = response.parse() assert_matches_type(Optional[OriginErrorPagePassThru], origin_error_page_pass_thru, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zones.settings.origin_error_page_pass_thru.with_streaming_response.get( @@ -90,6 +97,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -101,6 +109,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncOriginErrorPagePassThru: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: origin_error_page_pass_thru = await async_client.zones.settings.origin_error_page_pass_thru.edit( @@ -109,6 +118,7 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[OriginErrorPagePassThru], origin_error_page_pass_thru, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.origin_error_page_pass_thru.with_raw_response.edit( @@ -121,6 +131,7 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: origin_error_page_pass_thru = await response.parse() assert_matches_type(Optional[OriginErrorPagePassThru], origin_error_page_pass_thru, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.origin_error_page_pass_thru.with_streaming_response.edit( @@ -135,6 +146,7 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -143,6 +155,7 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: value="on", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: origin_error_page_pass_thru = await async_client.zones.settings.origin_error_page_pass_thru.get( @@ -150,6 +163,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[OriginErrorPagePassThru], origin_error_page_pass_thru, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.origin_error_page_pass_thru.with_raw_response.get( @@ -161,6 +175,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: origin_error_page_pass_thru = await response.parse() assert_matches_type(Optional[OriginErrorPagePassThru], origin_error_page_pass_thru, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.origin_error_page_pass_thru.with_streaming_response.get( @@ -174,6 +189,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): diff --git a/tests/api_resources/zones/settings/test_origin_max_http_version.py b/tests/api_resources/zones/settings/test_origin_max_http_version.py index d8f14784104..68024c905a6 100644 --- a/tests/api_resources/zones/settings/test_origin_max_http_version.py +++ b/tests/api_resources/zones/settings/test_origin_max_http_version.py @@ -20,6 +20,7 @@ class TestOriginMaxHTTPVersion: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: origin_max_http_version = client.zones.settings.origin_max_http_version.edit( @@ -28,6 +29,7 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(OriginMaxHTTPVersionEditResponse, origin_max_http_version, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.zones.settings.origin_max_http_version.with_raw_response.edit( @@ -40,6 +42,7 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: origin_max_http_version = response.parse() assert_matches_type(OriginMaxHTTPVersionEditResponse, origin_max_http_version, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.zones.settings.origin_max_http_version.with_streaming_response.edit( @@ -54,6 +57,7 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -62,6 +66,7 @@ def test_path_params_edit(self, client: Cloudflare) -> None: value="2", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: origin_max_http_version = client.zones.settings.origin_max_http_version.get( @@ -69,6 +74,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(OriginMaxHTTPVersionGetResponse, origin_max_http_version, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zones.settings.origin_max_http_version.with_raw_response.get( @@ -80,6 +86,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: origin_max_http_version = response.parse() assert_matches_type(OriginMaxHTTPVersionGetResponse, origin_max_http_version, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zones.settings.origin_max_http_version.with_streaming_response.get( @@ -93,6 +100,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -104,6 +112,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncOriginMaxHTTPVersion: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: origin_max_http_version = await async_client.zones.settings.origin_max_http_version.edit( @@ -112,6 +121,7 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(OriginMaxHTTPVersionEditResponse, origin_max_http_version, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.origin_max_http_version.with_raw_response.edit( @@ -124,6 +134,7 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: origin_max_http_version = await response.parse() assert_matches_type(OriginMaxHTTPVersionEditResponse, origin_max_http_version, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.origin_max_http_version.with_streaming_response.edit( @@ -138,6 +149,7 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -146,6 +158,7 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: value="2", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: origin_max_http_version = await async_client.zones.settings.origin_max_http_version.get( @@ -153,6 +166,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(OriginMaxHTTPVersionGetResponse, origin_max_http_version, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.origin_max_http_version.with_raw_response.get( @@ -164,6 +178,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: origin_max_http_version = await response.parse() assert_matches_type(OriginMaxHTTPVersionGetResponse, origin_max_http_version, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.origin_max_http_version.with_streaming_response.get( @@ -177,6 +192,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): diff --git a/tests/api_resources/zones/settings/test_polish.py b/tests/api_resources/zones/settings/test_polish.py index 8b465821171..e2fc5942cb9 100644 --- a/tests/api_resources/zones/settings/test_polish.py +++ b/tests/api_resources/zones/settings/test_polish.py @@ -17,6 +17,7 @@ class TestPolish: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: polish = client.zones.settings.polish.edit( @@ -28,6 +29,7 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Polish], polish, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_edit_with_all_params(self, client: Cloudflare) -> None: polish = client.zones.settings.polish.edit( @@ -39,6 +41,7 @@ def test_method_edit_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Polish], polish, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.zones.settings.polish.with_raw_response.edit( @@ -54,6 +57,7 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: polish = response.parse() assert_matches_type(Optional[Polish], polish, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.zones.settings.polish.with_streaming_response.edit( @@ -71,6 +75,7 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -82,6 +87,7 @@ def test_path_params_edit(self, client: Cloudflare) -> None: }, ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: polish = client.zones.settings.polish.get( @@ -89,6 +95,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Polish], polish, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zones.settings.polish.with_raw_response.get( @@ -100,6 +107,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: polish = response.parse() assert_matches_type(Optional[Polish], polish, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zones.settings.polish.with_streaming_response.get( @@ -113,6 +121,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -124,6 +133,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncPolish: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: polish = await async_client.zones.settings.polish.edit( @@ -135,6 +145,7 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Polish], polish, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) -> None: polish = await async_client.zones.settings.polish.edit( @@ -146,6 +157,7 @@ async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(Optional[Polish], polish, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.polish.with_raw_response.edit( @@ -161,6 +173,7 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: polish = await response.parse() assert_matches_type(Optional[Polish], polish, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.polish.with_streaming_response.edit( @@ -178,6 +191,7 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -189,6 +203,7 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: }, ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: polish = await async_client.zones.settings.polish.get( @@ -196,6 +211,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Polish], polish, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.polish.with_raw_response.get( @@ -207,6 +223,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: polish = await response.parse() assert_matches_type(Optional[Polish], polish, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.polish.with_streaming_response.get( @@ -220,6 +237,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): diff --git a/tests/api_resources/zones/settings/test_prefetch_preload.py b/tests/api_resources/zones/settings/test_prefetch_preload.py index 274077451cc..ad818f62ba6 100644 --- a/tests/api_resources/zones/settings/test_prefetch_preload.py +++ b/tests/api_resources/zones/settings/test_prefetch_preload.py @@ -17,6 +17,7 @@ class TestPrefetchPreload: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: prefetch_preload = client.zones.settings.prefetch_preload.edit( @@ -25,6 +26,7 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[PrefetchPreload], prefetch_preload, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.zones.settings.prefetch_preload.with_raw_response.edit( @@ -37,6 +39,7 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: prefetch_preload = response.parse() assert_matches_type(Optional[PrefetchPreload], prefetch_preload, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.zones.settings.prefetch_preload.with_streaming_response.edit( @@ -51,6 +54,7 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -59,6 +63,7 @@ def test_path_params_edit(self, client: Cloudflare) -> None: value="on", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: prefetch_preload = client.zones.settings.prefetch_preload.get( @@ -66,6 +71,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[PrefetchPreload], prefetch_preload, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zones.settings.prefetch_preload.with_raw_response.get( @@ -77,6 +83,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: prefetch_preload = response.parse() assert_matches_type(Optional[PrefetchPreload], prefetch_preload, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zones.settings.prefetch_preload.with_streaming_response.get( @@ -90,6 +97,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -101,6 +109,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncPrefetchPreload: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: prefetch_preload = await async_client.zones.settings.prefetch_preload.edit( @@ -109,6 +118,7 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[PrefetchPreload], prefetch_preload, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.prefetch_preload.with_raw_response.edit( @@ -121,6 +131,7 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: prefetch_preload = await response.parse() assert_matches_type(Optional[PrefetchPreload], prefetch_preload, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.prefetch_preload.with_streaming_response.edit( @@ -135,6 +146,7 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -143,6 +155,7 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: value="on", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: prefetch_preload = await async_client.zones.settings.prefetch_preload.get( @@ -150,6 +163,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[PrefetchPreload], prefetch_preload, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.prefetch_preload.with_raw_response.get( @@ -161,6 +175,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: prefetch_preload = await response.parse() assert_matches_type(Optional[PrefetchPreload], prefetch_preload, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.prefetch_preload.with_streaming_response.get( @@ -174,6 +189,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): diff --git a/tests/api_resources/zones/settings/test_proxy_read_timeout.py b/tests/api_resources/zones/settings/test_proxy_read_timeout.py index 0d77c45109d..04f4c151d2e 100644 --- a/tests/api_resources/zones/settings/test_proxy_read_timeout.py +++ b/tests/api_resources/zones/settings/test_proxy_read_timeout.py @@ -17,6 +17,7 @@ class TestProxyReadTimeout: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: proxy_read_timeout = client.zones.settings.proxy_read_timeout.edit( @@ -28,6 +29,7 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ProxyReadTimeout], proxy_read_timeout, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_edit_with_all_params(self, client: Cloudflare) -> None: proxy_read_timeout = client.zones.settings.proxy_read_timeout.edit( @@ -39,6 +41,7 @@ def test_method_edit_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ProxyReadTimeout], proxy_read_timeout, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.zones.settings.proxy_read_timeout.with_raw_response.edit( @@ -54,6 +57,7 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: proxy_read_timeout = response.parse() assert_matches_type(Optional[ProxyReadTimeout], proxy_read_timeout, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.zones.settings.proxy_read_timeout.with_streaming_response.edit( @@ -71,6 +75,7 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -82,6 +87,7 @@ def test_path_params_edit(self, client: Cloudflare) -> None: }, ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: proxy_read_timeout = client.zones.settings.proxy_read_timeout.get( @@ -89,6 +95,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ProxyReadTimeout], proxy_read_timeout, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zones.settings.proxy_read_timeout.with_raw_response.get( @@ -100,6 +107,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: proxy_read_timeout = response.parse() assert_matches_type(Optional[ProxyReadTimeout], proxy_read_timeout, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zones.settings.proxy_read_timeout.with_streaming_response.get( @@ -113,6 +121,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -124,6 +133,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncProxyReadTimeout: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: proxy_read_timeout = await async_client.zones.settings.proxy_read_timeout.edit( @@ -135,6 +145,7 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[ProxyReadTimeout], proxy_read_timeout, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) -> None: proxy_read_timeout = await async_client.zones.settings.proxy_read_timeout.edit( @@ -146,6 +157,7 @@ async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(Optional[ProxyReadTimeout], proxy_read_timeout, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.proxy_read_timeout.with_raw_response.edit( @@ -161,6 +173,7 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: proxy_read_timeout = await response.parse() assert_matches_type(Optional[ProxyReadTimeout], proxy_read_timeout, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.proxy_read_timeout.with_streaming_response.edit( @@ -178,6 +191,7 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -189,6 +203,7 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: }, ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: proxy_read_timeout = await async_client.zones.settings.proxy_read_timeout.get( @@ -196,6 +211,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[ProxyReadTimeout], proxy_read_timeout, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.proxy_read_timeout.with_raw_response.get( @@ -207,6 +223,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: proxy_read_timeout = await response.parse() assert_matches_type(Optional[ProxyReadTimeout], proxy_read_timeout, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.proxy_read_timeout.with_streaming_response.get( @@ -220,6 +237,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): diff --git a/tests/api_resources/zones/settings/test_pseudo_ipv4.py b/tests/api_resources/zones/settings/test_pseudo_ipv4.py index cec2b5def7d..a777c5c3bd7 100644 --- a/tests/api_resources/zones/settings/test_pseudo_ipv4.py +++ b/tests/api_resources/zones/settings/test_pseudo_ipv4.py @@ -17,6 +17,7 @@ class TestPseudoIPV4: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: pseudo_ipv4 = client.zones.settings.pseudo_ipv4.edit( @@ -25,6 +26,7 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[PseudoIPV4], pseudo_ipv4, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.zones.settings.pseudo_ipv4.with_raw_response.edit( @@ -37,6 +39,7 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: pseudo_ipv4 = response.parse() assert_matches_type(Optional[PseudoIPV4], pseudo_ipv4, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.zones.settings.pseudo_ipv4.with_streaming_response.edit( @@ -51,6 +54,7 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -59,6 +63,7 @@ def test_path_params_edit(self, client: Cloudflare) -> None: value="off", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: pseudo_ipv4 = client.zones.settings.pseudo_ipv4.get( @@ -66,6 +71,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[PseudoIPV4], pseudo_ipv4, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zones.settings.pseudo_ipv4.with_raw_response.get( @@ -77,6 +83,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: pseudo_ipv4 = response.parse() assert_matches_type(Optional[PseudoIPV4], pseudo_ipv4, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zones.settings.pseudo_ipv4.with_streaming_response.get( @@ -90,6 +97,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -101,6 +109,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncPseudoIPV4: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: pseudo_ipv4 = await async_client.zones.settings.pseudo_ipv4.edit( @@ -109,6 +118,7 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[PseudoIPV4], pseudo_ipv4, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.pseudo_ipv4.with_raw_response.edit( @@ -121,6 +131,7 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: pseudo_ipv4 = await response.parse() assert_matches_type(Optional[PseudoIPV4], pseudo_ipv4, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.pseudo_ipv4.with_streaming_response.edit( @@ -135,6 +146,7 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -143,6 +155,7 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: value="off", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: pseudo_ipv4 = await async_client.zones.settings.pseudo_ipv4.get( @@ -150,6 +163,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[PseudoIPV4], pseudo_ipv4, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.pseudo_ipv4.with_raw_response.get( @@ -161,6 +175,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: pseudo_ipv4 = await response.parse() assert_matches_type(Optional[PseudoIPV4], pseudo_ipv4, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.pseudo_ipv4.with_streaming_response.get( @@ -174,6 +189,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): diff --git a/tests/api_resources/zones/settings/test_response_buffering.py b/tests/api_resources/zones/settings/test_response_buffering.py index 9fd7a863594..c41a364275a 100644 --- a/tests/api_resources/zones/settings/test_response_buffering.py +++ b/tests/api_resources/zones/settings/test_response_buffering.py @@ -17,6 +17,7 @@ class TestResponseBuffering: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: response_buffering = client.zones.settings.response_buffering.edit( @@ -25,6 +26,7 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ResponseBuffering], response_buffering, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.zones.settings.response_buffering.with_raw_response.edit( @@ -37,6 +39,7 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: response_buffering = response.parse() assert_matches_type(Optional[ResponseBuffering], response_buffering, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.zones.settings.response_buffering.with_streaming_response.edit( @@ -51,6 +54,7 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -59,6 +63,7 @@ def test_path_params_edit(self, client: Cloudflare) -> None: value="on", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: response_buffering = client.zones.settings.response_buffering.get( @@ -66,6 +71,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ResponseBuffering], response_buffering, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zones.settings.response_buffering.with_raw_response.get( @@ -77,6 +83,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: response_buffering = response.parse() assert_matches_type(Optional[ResponseBuffering], response_buffering, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zones.settings.response_buffering.with_streaming_response.get( @@ -90,6 +97,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -101,6 +109,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncResponseBuffering: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: response_buffering = await async_client.zones.settings.response_buffering.edit( @@ -109,6 +118,7 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[ResponseBuffering], response_buffering, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.response_buffering.with_raw_response.edit( @@ -121,6 +131,7 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response_buffering = await response.parse() assert_matches_type(Optional[ResponseBuffering], response_buffering, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.response_buffering.with_streaming_response.edit( @@ -135,6 +146,7 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -143,6 +155,7 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: value="on", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: response_buffering = await async_client.zones.settings.response_buffering.get( @@ -150,6 +163,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[ResponseBuffering], response_buffering, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.response_buffering.with_raw_response.get( @@ -161,6 +175,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response_buffering = await response.parse() assert_matches_type(Optional[ResponseBuffering], response_buffering, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.response_buffering.with_streaming_response.get( @@ -174,6 +189,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): diff --git a/tests/api_resources/zones/settings/test_rocket_loader.py b/tests/api_resources/zones/settings/test_rocket_loader.py index 1cf85e80da2..353098a9e62 100644 --- a/tests/api_resources/zones/settings/test_rocket_loader.py +++ b/tests/api_resources/zones/settings/test_rocket_loader.py @@ -17,6 +17,7 @@ class TestRocketLoader: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: rocket_loader = client.zones.settings.rocket_loader.edit( @@ -28,6 +29,7 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[RocketLoader], rocket_loader, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_edit_with_all_params(self, client: Cloudflare) -> None: rocket_loader = client.zones.settings.rocket_loader.edit( @@ -39,6 +41,7 @@ def test_method_edit_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[RocketLoader], rocket_loader, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.zones.settings.rocket_loader.with_raw_response.edit( @@ -54,6 +57,7 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: rocket_loader = response.parse() assert_matches_type(Optional[RocketLoader], rocket_loader, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.zones.settings.rocket_loader.with_streaming_response.edit( @@ -71,6 +75,7 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -82,6 +87,7 @@ def test_path_params_edit(self, client: Cloudflare) -> None: }, ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: rocket_loader = client.zones.settings.rocket_loader.get( @@ -89,6 +95,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[RocketLoader], rocket_loader, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zones.settings.rocket_loader.with_raw_response.get( @@ -100,6 +107,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: rocket_loader = response.parse() assert_matches_type(Optional[RocketLoader], rocket_loader, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zones.settings.rocket_loader.with_streaming_response.get( @@ -113,6 +121,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -124,6 +133,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncRocketLoader: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: rocket_loader = await async_client.zones.settings.rocket_loader.edit( @@ -135,6 +145,7 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[RocketLoader], rocket_loader, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) -> None: rocket_loader = await async_client.zones.settings.rocket_loader.edit( @@ -146,6 +157,7 @@ async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(Optional[RocketLoader], rocket_loader, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.rocket_loader.with_raw_response.edit( @@ -161,6 +173,7 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: rocket_loader = await response.parse() assert_matches_type(Optional[RocketLoader], rocket_loader, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.rocket_loader.with_streaming_response.edit( @@ -178,6 +191,7 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -189,6 +203,7 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: }, ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: rocket_loader = await async_client.zones.settings.rocket_loader.get( @@ -196,6 +211,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[RocketLoader], rocket_loader, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.rocket_loader.with_raw_response.get( @@ -207,6 +223,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: rocket_loader = await response.parse() assert_matches_type(Optional[RocketLoader], rocket_loader, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.rocket_loader.with_streaming_response.get( @@ -220,6 +237,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): diff --git a/tests/api_resources/zones/settings/test_security_headers.py b/tests/api_resources/zones/settings/test_security_headers.py index c6b2a4ca32d..48477c873b9 100644 --- a/tests/api_resources/zones/settings/test_security_headers.py +++ b/tests/api_resources/zones/settings/test_security_headers.py @@ -17,6 +17,7 @@ class TestSecurityHeaders: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: security_header = client.zones.settings.security_headers.edit( @@ -25,6 +26,7 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[SecurityHeaders], security_header, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_edit_with_all_params(self, client: Cloudflare) -> None: security_header = client.zones.settings.security_headers.edit( @@ -40,6 +42,7 @@ def test_method_edit_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[SecurityHeaders], security_header, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.zones.settings.security_headers.with_raw_response.edit( @@ -52,6 +55,7 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: security_header = response.parse() assert_matches_type(Optional[SecurityHeaders], security_header, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.zones.settings.security_headers.with_streaming_response.edit( @@ -66,6 +70,7 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -74,6 +79,7 @@ def test_path_params_edit(self, client: Cloudflare) -> None: value={}, ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: security_header = client.zones.settings.security_headers.get( @@ -81,6 +87,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[SecurityHeaders], security_header, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zones.settings.security_headers.with_raw_response.get( @@ -92,6 +99,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: security_header = response.parse() assert_matches_type(Optional[SecurityHeaders], security_header, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zones.settings.security_headers.with_streaming_response.get( @@ -105,6 +113,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -116,6 +125,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncSecurityHeaders: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: security_header = await async_client.zones.settings.security_headers.edit( @@ -124,6 +134,7 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[SecurityHeaders], security_header, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) -> None: security_header = await async_client.zones.settings.security_headers.edit( @@ -139,6 +150,7 @@ async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(Optional[SecurityHeaders], security_header, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.security_headers.with_raw_response.edit( @@ -151,6 +163,7 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: security_header = await response.parse() assert_matches_type(Optional[SecurityHeaders], security_header, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.security_headers.with_streaming_response.edit( @@ -165,6 +178,7 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -173,6 +187,7 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: value={}, ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: security_header = await async_client.zones.settings.security_headers.get( @@ -180,6 +195,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[SecurityHeaders], security_header, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.security_headers.with_raw_response.get( @@ -191,6 +207,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: security_header = await response.parse() assert_matches_type(Optional[SecurityHeaders], security_header, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.security_headers.with_streaming_response.get( @@ -204,6 +221,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): diff --git a/tests/api_resources/zones/settings/test_security_level.py b/tests/api_resources/zones/settings/test_security_level.py index 4fcd8c7f760..2ea94451ba1 100644 --- a/tests/api_resources/zones/settings/test_security_level.py +++ b/tests/api_resources/zones/settings/test_security_level.py @@ -17,6 +17,7 @@ class TestSecurityLevel: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: security_level = client.zones.settings.security_level.edit( @@ -25,6 +26,7 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[SecurityLevel], security_level, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.zones.settings.security_level.with_raw_response.edit( @@ -37,6 +39,7 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: security_level = response.parse() assert_matches_type(Optional[SecurityLevel], security_level, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.zones.settings.security_level.with_streaming_response.edit( @@ -51,6 +54,7 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -59,6 +63,7 @@ def test_path_params_edit(self, client: Cloudflare) -> None: value="off", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: security_level = client.zones.settings.security_level.get( @@ -66,6 +71,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[SecurityLevel], security_level, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zones.settings.security_level.with_raw_response.get( @@ -77,6 +83,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: security_level = response.parse() assert_matches_type(Optional[SecurityLevel], security_level, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zones.settings.security_level.with_streaming_response.get( @@ -90,6 +97,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -101,6 +109,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncSecurityLevel: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: security_level = await async_client.zones.settings.security_level.edit( @@ -109,6 +118,7 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[SecurityLevel], security_level, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.security_level.with_raw_response.edit( @@ -121,6 +131,7 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: security_level = await response.parse() assert_matches_type(Optional[SecurityLevel], security_level, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.security_level.with_streaming_response.edit( @@ -135,6 +146,7 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -143,6 +155,7 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: value="off", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: security_level = await async_client.zones.settings.security_level.get( @@ -150,6 +163,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[SecurityLevel], security_level, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.security_level.with_raw_response.get( @@ -161,6 +175,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: security_level = await response.parse() assert_matches_type(Optional[SecurityLevel], security_level, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.security_level.with_streaming_response.get( @@ -174,6 +189,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): diff --git a/tests/api_resources/zones/settings/test_server_side_excludes.py b/tests/api_resources/zones/settings/test_server_side_excludes.py index f57a4aa6685..ee818f4662b 100644 --- a/tests/api_resources/zones/settings/test_server_side_excludes.py +++ b/tests/api_resources/zones/settings/test_server_side_excludes.py @@ -17,6 +17,7 @@ class TestServerSideExcludes: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: server_side_exclude = client.zones.settings.server_side_excludes.edit( @@ -25,6 +26,7 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ServerSideExcludes], server_side_exclude, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.zones.settings.server_side_excludes.with_raw_response.edit( @@ -37,6 +39,7 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: server_side_exclude = response.parse() assert_matches_type(Optional[ServerSideExcludes], server_side_exclude, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.zones.settings.server_side_excludes.with_streaming_response.edit( @@ -51,6 +54,7 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -59,6 +63,7 @@ def test_path_params_edit(self, client: Cloudflare) -> None: value="on", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: server_side_exclude = client.zones.settings.server_side_excludes.get( @@ -66,6 +71,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ServerSideExcludes], server_side_exclude, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zones.settings.server_side_excludes.with_raw_response.get( @@ -77,6 +83,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: server_side_exclude = response.parse() assert_matches_type(Optional[ServerSideExcludes], server_side_exclude, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zones.settings.server_side_excludes.with_streaming_response.get( @@ -90,6 +97,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -101,6 +109,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncServerSideExcludes: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: server_side_exclude = await async_client.zones.settings.server_side_excludes.edit( @@ -109,6 +118,7 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[ServerSideExcludes], server_side_exclude, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.server_side_excludes.with_raw_response.edit( @@ -121,6 +131,7 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: server_side_exclude = await response.parse() assert_matches_type(Optional[ServerSideExcludes], server_side_exclude, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.server_side_excludes.with_streaming_response.edit( @@ -135,6 +146,7 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -143,6 +155,7 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: value="on", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: server_side_exclude = await async_client.zones.settings.server_side_excludes.get( @@ -150,6 +163,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[ServerSideExcludes], server_side_exclude, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.server_side_excludes.with_raw_response.get( @@ -161,6 +175,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: server_side_exclude = await response.parse() assert_matches_type(Optional[ServerSideExcludes], server_side_exclude, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.server_side_excludes.with_streaming_response.get( @@ -174,6 +189,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): diff --git a/tests/api_resources/zones/settings/test_sort_query_string_for_cache.py b/tests/api_resources/zones/settings/test_sort_query_string_for_cache.py index 99e3d2e9bcf..b91c19c9e30 100644 --- a/tests/api_resources/zones/settings/test_sort_query_string_for_cache.py +++ b/tests/api_resources/zones/settings/test_sort_query_string_for_cache.py @@ -17,6 +17,7 @@ class TestSortQueryStringForCache: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: sort_query_string_for_cache = client.zones.settings.sort_query_string_for_cache.edit( @@ -25,6 +26,7 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[SortQueryStringForCache], sort_query_string_for_cache, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.zones.settings.sort_query_string_for_cache.with_raw_response.edit( @@ -37,6 +39,7 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: sort_query_string_for_cache = response.parse() assert_matches_type(Optional[SortQueryStringForCache], sort_query_string_for_cache, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.zones.settings.sort_query_string_for_cache.with_streaming_response.edit( @@ -51,6 +54,7 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -59,6 +63,7 @@ def test_path_params_edit(self, client: Cloudflare) -> None: value="on", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: sort_query_string_for_cache = client.zones.settings.sort_query_string_for_cache.get( @@ -66,6 +71,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[SortQueryStringForCache], sort_query_string_for_cache, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zones.settings.sort_query_string_for_cache.with_raw_response.get( @@ -77,6 +83,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: sort_query_string_for_cache = response.parse() assert_matches_type(Optional[SortQueryStringForCache], sort_query_string_for_cache, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zones.settings.sort_query_string_for_cache.with_streaming_response.get( @@ -90,6 +97,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -101,6 +109,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncSortQueryStringForCache: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: sort_query_string_for_cache = await async_client.zones.settings.sort_query_string_for_cache.edit( @@ -109,6 +118,7 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[SortQueryStringForCache], sort_query_string_for_cache, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.sort_query_string_for_cache.with_raw_response.edit( @@ -121,6 +131,7 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: sort_query_string_for_cache = await response.parse() assert_matches_type(Optional[SortQueryStringForCache], sort_query_string_for_cache, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.sort_query_string_for_cache.with_streaming_response.edit( @@ -135,6 +146,7 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -143,6 +155,7 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: value="on", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: sort_query_string_for_cache = await async_client.zones.settings.sort_query_string_for_cache.get( @@ -150,6 +163,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[SortQueryStringForCache], sort_query_string_for_cache, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.sort_query_string_for_cache.with_raw_response.get( @@ -161,6 +175,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: sort_query_string_for_cache = await response.parse() assert_matches_type(Optional[SortQueryStringForCache], sort_query_string_for_cache, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.sort_query_string_for_cache.with_streaming_response.get( @@ -174,6 +189,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): diff --git a/tests/api_resources/zones/settings/test_ssl.py b/tests/api_resources/zones/settings/test_ssl.py index 812f91087f4..e749d573b71 100644 --- a/tests/api_resources/zones/settings/test_ssl.py +++ b/tests/api_resources/zones/settings/test_ssl.py @@ -17,6 +17,7 @@ class TestSSL: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: ssl = client.zones.settings.ssl.edit( @@ -25,6 +26,7 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[SSL], ssl, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.zones.settings.ssl.with_raw_response.edit( @@ -37,6 +39,7 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: ssl = response.parse() assert_matches_type(Optional[SSL], ssl, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.zones.settings.ssl.with_streaming_response.edit( @@ -51,6 +54,7 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -59,6 +63,7 @@ def test_path_params_edit(self, client: Cloudflare) -> None: value="off", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: ssl = client.zones.settings.ssl.get( @@ -66,6 +71,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[SSL], ssl, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zones.settings.ssl.with_raw_response.get( @@ -77,6 +83,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: ssl = response.parse() assert_matches_type(Optional[SSL], ssl, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zones.settings.ssl.with_streaming_response.get( @@ -90,6 +97,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -101,6 +109,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncSSL: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ssl = await async_client.zones.settings.ssl.edit( @@ -109,6 +118,7 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[SSL], ssl, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.ssl.with_raw_response.edit( @@ -121,6 +131,7 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: ssl = await response.parse() assert_matches_type(Optional[SSL], ssl, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.ssl.with_streaming_response.edit( @@ -135,6 +146,7 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -143,6 +155,7 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: value="off", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: ssl = await async_client.zones.settings.ssl.get( @@ -150,6 +163,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[SSL], ssl, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.ssl.with_raw_response.get( @@ -161,6 +175,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: ssl = await response.parse() assert_matches_type(Optional[SSL], ssl, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.ssl.with_streaming_response.get( @@ -174,6 +189,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): diff --git a/tests/api_resources/zones/settings/test_ssl_recommender.py b/tests/api_resources/zones/settings/test_ssl_recommender.py index ecda7d7ddff..908b7e922cc 100644 --- a/tests/api_resources/zones/settings/test_ssl_recommender.py +++ b/tests/api_resources/zones/settings/test_ssl_recommender.py @@ -17,6 +17,7 @@ class TestSSLRecommender: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: ssl_recommender = client.zones.settings.ssl_recommender.edit( @@ -25,6 +26,7 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[SSLRecommender], ssl_recommender, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_edit_with_all_params(self, client: Cloudflare) -> None: ssl_recommender = client.zones.settings.ssl_recommender.edit( @@ -36,6 +38,7 @@ def test_method_edit_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[SSLRecommender], ssl_recommender, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.zones.settings.ssl_recommender.with_raw_response.edit( @@ -48,6 +51,7 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: ssl_recommender = response.parse() assert_matches_type(Optional[SSLRecommender], ssl_recommender, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.zones.settings.ssl_recommender.with_streaming_response.edit( @@ -62,6 +66,7 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -70,6 +75,7 @@ def test_path_params_edit(self, client: Cloudflare) -> None: value={}, ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: ssl_recommender = client.zones.settings.ssl_recommender.get( @@ -77,6 +83,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[SSLRecommender], ssl_recommender, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zones.settings.ssl_recommender.with_raw_response.get( @@ -88,6 +95,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: ssl_recommender = response.parse() assert_matches_type(Optional[SSLRecommender], ssl_recommender, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zones.settings.ssl_recommender.with_streaming_response.get( @@ -101,6 +109,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -112,6 +121,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncSSLRecommender: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ssl_recommender = await async_client.zones.settings.ssl_recommender.edit( @@ -120,6 +130,7 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[SSLRecommender], ssl_recommender, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) -> None: ssl_recommender = await async_client.zones.settings.ssl_recommender.edit( @@ -131,6 +142,7 @@ async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(Optional[SSLRecommender], ssl_recommender, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.ssl_recommender.with_raw_response.edit( @@ -143,6 +155,7 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: ssl_recommender = await response.parse() assert_matches_type(Optional[SSLRecommender], ssl_recommender, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.ssl_recommender.with_streaming_response.edit( @@ -157,6 +170,7 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -165,6 +179,7 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: value={}, ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: ssl_recommender = await async_client.zones.settings.ssl_recommender.get( @@ -172,6 +187,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[SSLRecommender], ssl_recommender, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.ssl_recommender.with_raw_response.get( @@ -183,6 +199,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: ssl_recommender = await response.parse() assert_matches_type(Optional[SSLRecommender], ssl_recommender, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.ssl_recommender.with_streaming_response.get( @@ -196,6 +213,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): diff --git a/tests/api_resources/zones/settings/test_tls_1_3.py b/tests/api_resources/zones/settings/test_tls_1_3.py index 1b0d4be49cf..439a0d44ddb 100644 --- a/tests/api_resources/zones/settings/test_tls_1_3.py +++ b/tests/api_resources/zones/settings/test_tls_1_3.py @@ -17,6 +17,7 @@ class TestTLS1_3: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: tls_1_3 = client.zones.settings.tls_1_3.edit( @@ -25,6 +26,7 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[TLS1_3], tls_1_3, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.zones.settings.tls_1_3.with_raw_response.edit( @@ -37,6 +39,7 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: tls_1_3 = response.parse() assert_matches_type(Optional[TLS1_3], tls_1_3, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.zones.settings.tls_1_3.with_streaming_response.edit( @@ -51,6 +54,7 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -59,6 +63,7 @@ def test_path_params_edit(self, client: Cloudflare) -> None: value="on", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: tls_1_3 = client.zones.settings.tls_1_3.get( @@ -66,6 +71,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[TLS1_3], tls_1_3, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zones.settings.tls_1_3.with_raw_response.get( @@ -77,6 +83,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: tls_1_3 = response.parse() assert_matches_type(Optional[TLS1_3], tls_1_3, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zones.settings.tls_1_3.with_streaming_response.get( @@ -90,6 +97,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -101,6 +109,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncTLS1_3: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: tls_1_3 = await async_client.zones.settings.tls_1_3.edit( @@ -109,6 +118,7 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[TLS1_3], tls_1_3, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.tls_1_3.with_raw_response.edit( @@ -121,6 +131,7 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: tls_1_3 = await response.parse() assert_matches_type(Optional[TLS1_3], tls_1_3, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.tls_1_3.with_streaming_response.edit( @@ -135,6 +146,7 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -143,6 +155,7 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: value="on", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: tls_1_3 = await async_client.zones.settings.tls_1_3.get( @@ -150,6 +163,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[TLS1_3], tls_1_3, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.tls_1_3.with_raw_response.get( @@ -161,6 +175,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: tls_1_3 = await response.parse() assert_matches_type(Optional[TLS1_3], tls_1_3, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.tls_1_3.with_streaming_response.get( @@ -174,6 +189,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): diff --git a/tests/api_resources/zones/settings/test_tls_client_auth.py b/tests/api_resources/zones/settings/test_tls_client_auth.py index bb46f15a6cb..6f8c2f04967 100644 --- a/tests/api_resources/zones/settings/test_tls_client_auth.py +++ b/tests/api_resources/zones/settings/test_tls_client_auth.py @@ -17,6 +17,7 @@ class TestTLSClientAuth: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: tls_client_auth = client.zones.settings.tls_client_auth.edit( @@ -25,6 +26,7 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[TLSClientAuth], tls_client_auth, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.zones.settings.tls_client_auth.with_raw_response.edit( @@ -37,6 +39,7 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: tls_client_auth = response.parse() assert_matches_type(Optional[TLSClientAuth], tls_client_auth, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.zones.settings.tls_client_auth.with_streaming_response.edit( @@ -51,6 +54,7 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -59,6 +63,7 @@ def test_path_params_edit(self, client: Cloudflare) -> None: value="on", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: tls_client_auth = client.zones.settings.tls_client_auth.get( @@ -66,6 +71,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[TLSClientAuth], tls_client_auth, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zones.settings.tls_client_auth.with_raw_response.get( @@ -77,6 +83,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: tls_client_auth = response.parse() assert_matches_type(Optional[TLSClientAuth], tls_client_auth, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zones.settings.tls_client_auth.with_streaming_response.get( @@ -90,6 +97,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -101,6 +109,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncTLSClientAuth: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: tls_client_auth = await async_client.zones.settings.tls_client_auth.edit( @@ -109,6 +118,7 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[TLSClientAuth], tls_client_auth, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.tls_client_auth.with_raw_response.edit( @@ -121,6 +131,7 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: tls_client_auth = await response.parse() assert_matches_type(Optional[TLSClientAuth], tls_client_auth, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.tls_client_auth.with_streaming_response.edit( @@ -135,6 +146,7 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -143,6 +155,7 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: value="on", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: tls_client_auth = await async_client.zones.settings.tls_client_auth.get( @@ -150,6 +163,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[TLSClientAuth], tls_client_auth, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.tls_client_auth.with_raw_response.get( @@ -161,6 +175,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: tls_client_auth = await response.parse() assert_matches_type(Optional[TLSClientAuth], tls_client_auth, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.tls_client_auth.with_streaming_response.get( @@ -174,6 +189,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): diff --git a/tests/api_resources/zones/settings/test_true_client_ip_header.py b/tests/api_resources/zones/settings/test_true_client_ip_header.py index 0f412bb997c..ea3d3532e9c 100644 --- a/tests/api_resources/zones/settings/test_true_client_ip_header.py +++ b/tests/api_resources/zones/settings/test_true_client_ip_header.py @@ -17,6 +17,7 @@ class TestTrueClientIPHeader: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: true_client_ip_header = client.zones.settings.true_client_ip_header.edit( @@ -25,6 +26,7 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[TrueClientIPHeader], true_client_ip_header, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.zones.settings.true_client_ip_header.with_raw_response.edit( @@ -37,6 +39,7 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: true_client_ip_header = response.parse() assert_matches_type(Optional[TrueClientIPHeader], true_client_ip_header, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.zones.settings.true_client_ip_header.with_streaming_response.edit( @@ -51,6 +54,7 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -59,6 +63,7 @@ def test_path_params_edit(self, client: Cloudflare) -> None: value="on", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: true_client_ip_header = client.zones.settings.true_client_ip_header.get( @@ -66,6 +71,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[TrueClientIPHeader], true_client_ip_header, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zones.settings.true_client_ip_header.with_raw_response.get( @@ -77,6 +83,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: true_client_ip_header = response.parse() assert_matches_type(Optional[TrueClientIPHeader], true_client_ip_header, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zones.settings.true_client_ip_header.with_streaming_response.get( @@ -90,6 +97,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -101,6 +109,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncTrueClientIPHeader: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: true_client_ip_header = await async_client.zones.settings.true_client_ip_header.edit( @@ -109,6 +118,7 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[TrueClientIPHeader], true_client_ip_header, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.true_client_ip_header.with_raw_response.edit( @@ -121,6 +131,7 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: true_client_ip_header = await response.parse() assert_matches_type(Optional[TrueClientIPHeader], true_client_ip_header, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.true_client_ip_header.with_streaming_response.edit( @@ -135,6 +146,7 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -143,6 +155,7 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: value="on", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: true_client_ip_header = await async_client.zones.settings.true_client_ip_header.get( @@ -150,6 +163,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[TrueClientIPHeader], true_client_ip_header, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.true_client_ip_header.with_raw_response.get( @@ -161,6 +175,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: true_client_ip_header = await response.parse() assert_matches_type(Optional[TrueClientIPHeader], true_client_ip_header, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.true_client_ip_header.with_streaming_response.get( @@ -174,6 +189,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): diff --git a/tests/api_resources/zones/settings/test_waf.py b/tests/api_resources/zones/settings/test_waf.py index 954a0f04228..16008e3b625 100644 --- a/tests/api_resources/zones/settings/test_waf.py +++ b/tests/api_resources/zones/settings/test_waf.py @@ -17,6 +17,7 @@ class TestWAF: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: waf = client.zones.settings.waf.edit( @@ -25,6 +26,7 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[WAF], waf, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.zones.settings.waf.with_raw_response.edit( @@ -37,6 +39,7 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: waf = response.parse() assert_matches_type(Optional[WAF], waf, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.zones.settings.waf.with_streaming_response.edit( @@ -51,6 +54,7 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -59,6 +63,7 @@ def test_path_params_edit(self, client: Cloudflare) -> None: value="on", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: waf = client.zones.settings.waf.get( @@ -66,6 +71,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[WAF], waf, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zones.settings.waf.with_raw_response.get( @@ -77,6 +83,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: waf = response.parse() assert_matches_type(Optional[WAF], waf, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zones.settings.waf.with_streaming_response.get( @@ -90,6 +97,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -101,6 +109,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncWAF: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: waf = await async_client.zones.settings.waf.edit( @@ -109,6 +118,7 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[WAF], waf, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.waf.with_raw_response.edit( @@ -121,6 +131,7 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: waf = await response.parse() assert_matches_type(Optional[WAF], waf, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.waf.with_streaming_response.edit( @@ -135,6 +146,7 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -143,6 +155,7 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: value="on", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: waf = await async_client.zones.settings.waf.get( @@ -150,6 +163,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[WAF], waf, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.waf.with_raw_response.get( @@ -161,6 +175,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: waf = await response.parse() assert_matches_type(Optional[WAF], waf, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.waf.with_streaming_response.get( @@ -174,6 +189,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): diff --git a/tests/api_resources/zones/settings/test_webp.py b/tests/api_resources/zones/settings/test_webp.py index 9595a35a1d0..dfa41054305 100644 --- a/tests/api_resources/zones/settings/test_webp.py +++ b/tests/api_resources/zones/settings/test_webp.py @@ -17,6 +17,7 @@ class TestWebP: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: webp = client.zones.settings.webp.edit( @@ -25,6 +26,7 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[WebP], webp, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.zones.settings.webp.with_raw_response.edit( @@ -37,6 +39,7 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: webp = response.parse() assert_matches_type(Optional[WebP], webp, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.zones.settings.webp.with_streaming_response.edit( @@ -51,6 +54,7 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -59,6 +63,7 @@ def test_path_params_edit(self, client: Cloudflare) -> None: value="off", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: webp = client.zones.settings.webp.get( @@ -66,6 +71,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[WebP], webp, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zones.settings.webp.with_raw_response.get( @@ -77,6 +83,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: webp = response.parse() assert_matches_type(Optional[WebP], webp, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zones.settings.webp.with_streaming_response.get( @@ -90,6 +97,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -101,6 +109,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncWebP: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: webp = await async_client.zones.settings.webp.edit( @@ -109,6 +118,7 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[WebP], webp, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.webp.with_raw_response.edit( @@ -121,6 +131,7 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: webp = await response.parse() assert_matches_type(Optional[WebP], webp, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.webp.with_streaming_response.edit( @@ -135,6 +146,7 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -143,6 +155,7 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: value="off", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: webp = await async_client.zones.settings.webp.get( @@ -150,6 +163,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[WebP], webp, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.webp.with_raw_response.get( @@ -161,6 +175,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: webp = await response.parse() assert_matches_type(Optional[WebP], webp, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.webp.with_streaming_response.get( @@ -174,6 +189,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): diff --git a/tests/api_resources/zones/settings/test_websocket.py b/tests/api_resources/zones/settings/test_websocket.py index 6d51c9b1673..69d4236b897 100644 --- a/tests/api_resources/zones/settings/test_websocket.py +++ b/tests/api_resources/zones/settings/test_websocket.py @@ -17,6 +17,7 @@ class TestWebsocket: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: websocket = client.zones.settings.websocket.edit( @@ -25,6 +26,7 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Websocket], websocket, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.zones.settings.websocket.with_raw_response.edit( @@ -37,6 +39,7 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: websocket = response.parse() assert_matches_type(Optional[Websocket], websocket, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.zones.settings.websocket.with_streaming_response.edit( @@ -51,6 +54,7 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -59,6 +63,7 @@ def test_path_params_edit(self, client: Cloudflare) -> None: value="off", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: websocket = client.zones.settings.websocket.get( @@ -66,6 +71,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Websocket], websocket, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zones.settings.websocket.with_raw_response.get( @@ -77,6 +83,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: websocket = response.parse() assert_matches_type(Optional[Websocket], websocket, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zones.settings.websocket.with_streaming_response.get( @@ -90,6 +97,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -101,6 +109,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncWebsocket: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: websocket = await async_client.zones.settings.websocket.edit( @@ -109,6 +118,7 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Websocket], websocket, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.websocket.with_raw_response.edit( @@ -121,6 +131,7 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: websocket = await response.parse() assert_matches_type(Optional[Websocket], websocket, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.websocket.with_streaming_response.edit( @@ -135,6 +146,7 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -143,6 +155,7 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: value="off", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: websocket = await async_client.zones.settings.websocket.get( @@ -150,6 +163,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Websocket], websocket, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.websocket.with_raw_response.get( @@ -161,6 +175,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: websocket = await response.parse() assert_matches_type(Optional[Websocket], websocket, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.websocket.with_streaming_response.get( @@ -174,6 +189,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): diff --git a/tests/api_resources/zones/settings/test_zero_rtt.py b/tests/api_resources/zones/settings/test_zero_rtt.py index 2901897e0d8..e2f1c0decff 100644 --- a/tests/api_resources/zones/settings/test_zero_rtt.py +++ b/tests/api_resources/zones/settings/test_zero_rtt.py @@ -17,6 +17,7 @@ class TestZeroRTT: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: zero_rtt = client.zones.settings.zero_rtt.edit( @@ -25,6 +26,7 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ZeroRTT], zero_rtt, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.zones.settings.zero_rtt.with_raw_response.edit( @@ -37,6 +39,7 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: zero_rtt = response.parse() assert_matches_type(Optional[ZeroRTT], zero_rtt, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.zones.settings.zero_rtt.with_streaming_response.edit( @@ -51,6 +54,7 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -59,6 +63,7 @@ def test_path_params_edit(self, client: Cloudflare) -> None: value="on", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: zero_rtt = client.zones.settings.zero_rtt.get( @@ -66,6 +71,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ZeroRTT], zero_rtt, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zones.settings.zero_rtt.with_raw_response.get( @@ -77,6 +83,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: zero_rtt = response.parse() assert_matches_type(Optional[ZeroRTT], zero_rtt, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zones.settings.zero_rtt.with_streaming_response.get( @@ -90,6 +97,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -101,6 +109,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncZeroRTT: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: zero_rtt = await async_client.zones.settings.zero_rtt.edit( @@ -109,6 +118,7 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[ZeroRTT], zero_rtt, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.zero_rtt.with_raw_response.edit( @@ -121,6 +131,7 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: zero_rtt = await response.parse() assert_matches_type(Optional[ZeroRTT], zero_rtt, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.zero_rtt.with_streaming_response.edit( @@ -135,6 +146,7 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -143,6 +155,7 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: value="on", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: zero_rtt = await async_client.zones.settings.zero_rtt.get( @@ -150,6 +163,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[ZeroRTT], zero_rtt, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.settings.zero_rtt.with_raw_response.get( @@ -161,6 +175,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: zero_rtt = await response.parse() assert_matches_type(Optional[ZeroRTT], zero_rtt, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.settings.zero_rtt.with_streaming_response.get( @@ -174,6 +189,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): diff --git a/tests/api_resources/zones/test_activation_check.py b/tests/api_resources/zones/test_activation_check.py index 62535af7696..56199bb58be 100644 --- a/tests/api_resources/zones/test_activation_check.py +++ b/tests/api_resources/zones/test_activation_check.py @@ -17,6 +17,7 @@ class TestActivationCheck: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_trigger(self, client: Cloudflare) -> None: activation_check = client.zones.activation_check.trigger( @@ -24,6 +25,7 @@ def test_method_trigger(self, client: Cloudflare) -> None: ) assert_matches_type(ActivationCheckTriggerResponse, activation_check, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_trigger(self, client: Cloudflare) -> None: response = client.zones.activation_check.with_raw_response.trigger( @@ -35,6 +37,7 @@ def test_raw_response_trigger(self, client: Cloudflare) -> None: activation_check = response.parse() assert_matches_type(ActivationCheckTriggerResponse, activation_check, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_trigger(self, client: Cloudflare) -> None: with client.zones.activation_check.with_streaming_response.trigger( @@ -48,6 +51,7 @@ def test_streaming_response_trigger(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_trigger(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -59,6 +63,7 @@ def test_path_params_trigger(self, client: Cloudflare) -> None: class TestAsyncActivationCheck: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_trigger(self, async_client: AsyncCloudflare) -> None: activation_check = await async_client.zones.activation_check.trigger( @@ -66,6 +71,7 @@ async def test_method_trigger(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(ActivationCheckTriggerResponse, activation_check, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_trigger(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.activation_check.with_raw_response.trigger( @@ -77,6 +83,7 @@ async def test_raw_response_trigger(self, async_client: AsyncCloudflare) -> None activation_check = await response.parse() assert_matches_type(ActivationCheckTriggerResponse, activation_check, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_trigger(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.activation_check.with_streaming_response.trigger( @@ -90,6 +97,7 @@ async def test_streaming_response_trigger(self, async_client: AsyncCloudflare) - assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_trigger(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): diff --git a/tests/api_resources/zones/test_custom_nameservers.py b/tests/api_resources/zones/test_custom_nameservers.py index 8e213481da5..0d059a2b75b 100644 --- a/tests/api_resources/zones/test_custom_nameservers.py +++ b/tests/api_resources/zones/test_custom_nameservers.py @@ -20,6 +20,7 @@ class TestCustomNameservers: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_update(self, client: Cloudflare) -> None: custom_nameserver = client.zones.custom_nameservers.update( @@ -27,6 +28,7 @@ def test_method_update(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[CustomNameserverUpdateResponse], custom_nameserver, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_update_with_all_params(self, client: Cloudflare) -> None: custom_nameserver = client.zones.custom_nameservers.update( @@ -36,6 +38,7 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[CustomNameserverUpdateResponse], custom_nameserver, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Cloudflare) -> None: response = client.zones.custom_nameservers.with_raw_response.update( @@ -47,6 +50,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None: custom_nameserver = response.parse() assert_matches_type(Optional[CustomNameserverUpdateResponse], custom_nameserver, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Cloudflare) -> None: with client.zones.custom_nameservers.with_streaming_response.update( @@ -60,6 +64,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_update(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -67,6 +72,7 @@ def test_path_params_update(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: custom_nameserver = client.zones.custom_nameservers.get( @@ -74,6 +80,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[CustomNameserverGetResponse], custom_nameserver, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zones.custom_nameservers.with_raw_response.get( @@ -85,6 +92,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: custom_nameserver = response.parse() assert_matches_type(Optional[CustomNameserverGetResponse], custom_nameserver, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zones.custom_nameservers.with_streaming_response.get( @@ -98,6 +106,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -109,6 +118,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncCustomNameservers: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncCloudflare) -> None: custom_nameserver = await async_client.zones.custom_nameservers.update( @@ -116,6 +126,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[CustomNameserverUpdateResponse], custom_nameserver, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_update_with_all_params(self, async_client: AsyncCloudflare) -> None: custom_nameserver = await async_client.zones.custom_nameservers.update( @@ -125,6 +136,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[CustomNameserverUpdateResponse], custom_nameserver, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.custom_nameservers.with_raw_response.update( @@ -136,6 +148,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None: custom_nameserver = await response.parse() assert_matches_type(Optional[CustomNameserverUpdateResponse], custom_nameserver, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.custom_nameservers.with_streaming_response.update( @@ -149,6 +162,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -156,6 +170,7 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: custom_nameserver = await async_client.zones.custom_nameservers.get( @@ -163,6 +178,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[CustomNameserverGetResponse], custom_nameserver, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.custom_nameservers.with_raw_response.get( @@ -174,6 +190,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: custom_nameserver = await response.parse() assert_matches_type(Optional[CustomNameserverGetResponse], custom_nameserver, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.custom_nameservers.with_streaming_response.get( @@ -187,6 +204,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): diff --git a/tests/api_resources/zones/test_dns_settings.py b/tests/api_resources/zones/test_dns_settings.py index d9df4b018c9..8072f04cc44 100644 --- a/tests/api_resources/zones/test_dns_settings.py +++ b/tests/api_resources/zones/test_dns_settings.py @@ -17,6 +17,7 @@ class TestDNSSettings: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_edit(self, client: Cloudflare) -> None: dns_setting = client.zones.dns_settings.edit( @@ -24,6 +25,7 @@ def test_method_edit(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[DNSSetting], dns_setting, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_edit_with_all_params(self, client: Cloudflare) -> None: dns_setting = client.zones.dns_settings.edit( @@ -35,6 +37,7 @@ def test_method_edit_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[DNSSetting], dns_setting, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_edit(self, client: Cloudflare) -> None: response = client.zones.dns_settings.with_raw_response.edit( @@ -46,6 +49,7 @@ def test_raw_response_edit(self, client: Cloudflare) -> None: dns_setting = response.parse() assert_matches_type(Optional[DNSSetting], dns_setting, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_edit(self, client: Cloudflare) -> None: with client.zones.dns_settings.with_streaming_response.edit( @@ -59,6 +63,7 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_edit(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -66,6 +71,7 @@ def test_path_params_edit(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: dns_setting = client.zones.dns_settings.get( @@ -73,6 +79,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[DNSSetting], dns_setting, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zones.dns_settings.with_raw_response.get( @@ -84,6 +91,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: dns_setting = response.parse() assert_matches_type(Optional[DNSSetting], dns_setting, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zones.dns_settings.with_streaming_response.get( @@ -97,6 +105,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -108,6 +117,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncDNSSettings: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_edit(self, async_client: AsyncCloudflare) -> None: dns_setting = await async_client.zones.dns_settings.edit( @@ -115,6 +125,7 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[DNSSetting], dns_setting, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) -> None: dns_setting = await async_client.zones.dns_settings.edit( @@ -126,6 +137,7 @@ async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare) ) assert_matches_type(Optional[DNSSetting], dns_setting, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.dns_settings.with_raw_response.edit( @@ -137,6 +149,7 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None: dns_setting = await response.parse() assert_matches_type(Optional[DNSSetting], dns_setting, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.dns_settings.with_streaming_response.edit( @@ -150,6 +163,7 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -157,6 +171,7 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: dns_setting = await async_client.zones.dns_settings.get( @@ -164,6 +179,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[DNSSetting], dns_setting, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.dns_settings.with_raw_response.get( @@ -175,6 +191,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: dns_setting = await response.parse() assert_matches_type(Optional[DNSSetting], dns_setting, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.dns_settings.with_streaming_response.get( @@ -188,6 +205,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): diff --git a/tests/api_resources/zones/test_holds.py b/tests/api_resources/zones/test_holds.py index cd4b3671938..5c9c3e04182 100644 --- a/tests/api_resources/zones/test_holds.py +++ b/tests/api_resources/zones/test_holds.py @@ -17,6 +17,7 @@ class TestHolds: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: hold = client.zones.holds.create( @@ -24,6 +25,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(ZoneHold, hold, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: hold = client.zones.holds.create( @@ -32,6 +34,7 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(ZoneHold, hold, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.zones.holds.with_raw_response.create( @@ -43,6 +46,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: hold = response.parse() assert_matches_type(ZoneHold, hold, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.zones.holds.with_streaming_response.create( @@ -56,6 +60,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -63,6 +68,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Cloudflare) -> None: hold = client.zones.holds.delete( @@ -70,6 +76,7 @@ def test_method_delete(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ZoneHold], hold, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_delete_with_all_params(self, client: Cloudflare) -> None: hold = client.zones.holds.delete( @@ -78,6 +85,7 @@ def test_method_delete_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[ZoneHold], hold, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Cloudflare) -> None: response = client.zones.holds.with_raw_response.delete( @@ -89,6 +97,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None: hold = response.parse() assert_matches_type(Optional[ZoneHold], hold, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Cloudflare) -> None: with client.zones.holds.with_streaming_response.delete( @@ -102,6 +111,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_delete(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -109,6 +119,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: hold = client.zones.holds.get( @@ -116,6 +127,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(ZoneHold, hold, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zones.holds.with_raw_response.get( @@ -127,6 +139,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: hold = response.parse() assert_matches_type(ZoneHold, hold, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zones.holds.with_streaming_response.get( @@ -140,6 +153,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -151,6 +165,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncHolds: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: hold = await async_client.zones.holds.create( @@ -158,6 +173,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(ZoneHold, hold, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: hold = await async_client.zones.holds.create( @@ -166,6 +182,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(ZoneHold, hold, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.holds.with_raw_response.create( @@ -177,6 +194,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: hold = await response.parse() assert_matches_type(ZoneHold, hold, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.holds.with_streaming_response.create( @@ -190,6 +208,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -197,6 +216,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncCloudflare) -> None: hold = await async_client.zones.holds.delete( @@ -204,6 +224,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[ZoneHold], hold, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_delete_with_all_params(self, async_client: AsyncCloudflare) -> None: hold = await async_client.zones.holds.delete( @@ -212,6 +233,7 @@ async def test_method_delete_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(Optional[ZoneHold], hold, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.holds.with_raw_response.delete( @@ -223,6 +245,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None: hold = await response.parse() assert_matches_type(Optional[ZoneHold], hold, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.holds.with_streaming_response.delete( @@ -236,6 +259,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): @@ -243,6 +267,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: zone_id="", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: hold = await async_client.zones.holds.get( @@ -250,6 +275,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(ZoneHold, hold, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.holds.with_raw_response.get( @@ -261,6 +287,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: hold = await response.parse() assert_matches_type(ZoneHold, hold, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.holds.with_streaming_response.get( @@ -274,6 +301,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"): diff --git a/tests/api_resources/zones/test_subscriptions.py b/tests/api_resources/zones/test_subscriptions.py index 2c194b3fb30..7a2c16b5aee 100644 --- a/tests/api_resources/zones/test_subscriptions.py +++ b/tests/api_resources/zones/test_subscriptions.py @@ -19,6 +19,7 @@ class TestSubscriptions: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: subscription = client.zones.subscriptions.create( @@ -26,6 +27,7 @@ def test_method_create(self, client: Cloudflare) -> None: ) assert_matches_type(SubscriptionCreateResponse, subscription, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Cloudflare) -> None: subscription = client.zones.subscriptions.create( @@ -65,6 +67,7 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None: ) assert_matches_type(SubscriptionCreateResponse, subscription, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Cloudflare) -> None: response = client.zones.subscriptions.with_raw_response.create( @@ -76,6 +79,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None: subscription = response.parse() assert_matches_type(SubscriptionCreateResponse, subscription, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Cloudflare) -> None: with client.zones.subscriptions.with_streaming_response.create( @@ -89,6 +93,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_create(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `identifier` but received ''"): @@ -96,6 +101,7 @@ def test_path_params_create(self, client: Cloudflare) -> None: "", ) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Cloudflare) -> None: subscription = client.zones.subscriptions.list( @@ -103,6 +109,7 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[Subscription], subscription, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.zones.subscriptions.with_raw_response.list( @@ -114,6 +121,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None: subscription = response.parse() assert_matches_type(SyncSinglePage[Subscription], subscription, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.zones.subscriptions.with_streaming_response.list( @@ -127,6 +135,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_identifier` but received ''"): @@ -134,6 +143,7 @@ def test_path_params_list(self, client: Cloudflare) -> None: "", ) + @pytest.mark.skip() @parametrize def test_method_get(self, client: Cloudflare) -> None: subscription = client.zones.subscriptions.get( @@ -141,6 +151,7 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(SubscriptionGetResponse, subscription, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.zones.subscriptions.with_raw_response.get( @@ -152,6 +163,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None: subscription = response.parse() assert_matches_type(SubscriptionGetResponse, subscription, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.zones.subscriptions.with_streaming_response.get( @@ -165,6 +177,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `identifier` but received ''"): @@ -176,6 +189,7 @@ def test_path_params_get(self, client: Cloudflare) -> None: class TestAsyncSubscriptions: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncCloudflare) -> None: subscription = await async_client.zones.subscriptions.create( @@ -183,6 +197,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(SubscriptionCreateResponse, subscription, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None: subscription = await async_client.zones.subscriptions.create( @@ -222,6 +237,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare ) assert_matches_type(SubscriptionCreateResponse, subscription, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.subscriptions.with_raw_response.create( @@ -233,6 +249,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None: subscription = await response.parse() assert_matches_type(SubscriptionCreateResponse, subscription, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.subscriptions.with_streaming_response.create( @@ -246,6 +263,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `identifier` but received ''"): @@ -253,6 +271,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None: "", ) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: subscription = await async_client.zones.subscriptions.list( @@ -260,6 +279,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[Subscription], subscription, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.subscriptions.with_raw_response.list( @@ -271,6 +291,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: subscription = await response.parse() assert_matches_type(AsyncSinglePage[Subscription], subscription, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.subscriptions.with_streaming_response.list( @@ -284,6 +305,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_identifier` but received ''"): @@ -291,6 +313,7 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: "", ) + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: subscription = await async_client.zones.subscriptions.get( @@ -298,6 +321,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(SubscriptionGetResponse, subscription, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.zones.subscriptions.with_raw_response.get( @@ -309,6 +333,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: subscription = await response.parse() assert_matches_type(SubscriptionGetResponse, subscription, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.zones.subscriptions.with_streaming_response.get( @@ -322,6 +347,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `identifier` but received ''"):