From 3ba27b3a8415e27cde3c0c42c13010f6731b09bc Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 19 Apr 2024 00:27:04 +0000 Subject: [PATCH] feat(api): update via SDK Studio (#344) --- 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 deletions(-) diff --git a/tests/api_resources/accounts/test_members.py b/tests/api_resources/accounts/test_members.py index c687d0cb4e1..30a46db24cc 100644 --- a/tests/api_resources/accounts/test_members.py +++ b/tests/api_resources/accounts/test_members.py @@ -23,7 +23,6 @@ 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( @@ -37,7 +36,6 @@ 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( @@ -52,7 +50,6 @@ 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( @@ -70,7 +67,6 @@ 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( @@ -90,7 +86,6 @@ 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( @@ -104,7 +99,6 @@ 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( @@ -122,7 +116,6 @@ 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( @@ -142,7 +135,6 @@ 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 ''"): @@ -156,7 +148,6 @@ 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( @@ -164,7 +155,6 @@ 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( @@ -177,7 +167,6 @@ 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( @@ -189,7 +178,6 @@ 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( @@ -203,7 +191,6 @@ 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( @@ -213,7 +200,6 @@ 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( @@ -227,7 +213,6 @@ 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( @@ -243,7 +228,6 @@ 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 ''"): @@ -253,7 +237,6 @@ 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( @@ -262,7 +245,6 @@ 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( @@ -275,7 +257,6 @@ 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( @@ -290,7 +271,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -303,7 +283,6 @@ 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( @@ -317,7 +296,6 @@ 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( @@ -332,7 +310,6 @@ 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( @@ -350,7 +327,6 @@ 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( @@ -370,7 +346,6 @@ 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( @@ -384,7 +359,6 @@ 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( @@ -402,7 +376,6 @@ 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( @@ -422,7 +395,6 @@ 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 ''"): @@ -436,7 +408,6 @@ 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( @@ -444,7 +415,6 @@ 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( @@ -457,7 +427,6 @@ 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( @@ -469,7 +438,6 @@ 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( @@ -483,7 +451,6 @@ 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( @@ -493,7 +460,6 @@ 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( @@ -507,7 +473,6 @@ 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( @@ -523,7 +488,6 @@ 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 ''"): @@ -533,7 +497,6 @@ 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( @@ -542,7 +505,6 @@ 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( @@ -555,7 +517,6 @@ 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( @@ -570,7 +531,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 1410249e0d4..c8e6228b1be 100644 --- a/tests/api_resources/accounts/test_roles.py +++ b/tests/api_resources/accounts/test_roles.py @@ -19,7 +19,6 @@ 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( @@ -27,7 +26,6 @@ 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( @@ -39,7 +37,6 @@ 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( @@ -53,7 +50,6 @@ 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( @@ -62,7 +58,6 @@ 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( @@ -75,7 +70,6 @@ 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( @@ -94,7 +88,6 @@ 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( @@ -102,7 +95,6 @@ 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( @@ -114,7 +106,6 @@ 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( @@ -128,7 +119,6 @@ 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( @@ -137,7 +127,6 @@ 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( @@ -150,7 +139,6 @@ 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 1f0db8a87a6..7660fe8b525 100644 --- a/tests/api_resources/acm/test_total_tls.py +++ b/tests/api_resources/acm/test_total_tls.py @@ -17,7 +17,6 @@ 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( @@ -26,7 +25,6 @@ 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( @@ -36,7 +34,6 @@ 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( @@ -49,7 +46,6 @@ 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( @@ -64,7 +60,6 @@ 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 ''"): @@ -73,7 +68,6 @@ 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( @@ -81,7 +75,6 @@ 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( @@ -93,7 +86,6 @@ 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( @@ -107,7 +99,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -119,7 +110,6 @@ 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( @@ -128,7 +118,6 @@ 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( @@ -138,7 +127,6 @@ 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( @@ -151,7 +139,6 @@ 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( @@ -166,7 +153,6 @@ 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 ''"): @@ -175,7 +161,6 @@ 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( @@ -183,7 +168,6 @@ 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( @@ -195,7 +179,6 @@ 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( @@ -209,7 +192,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 873237569e9..3a82650df6c 100644 --- a/tests/api_resources/addressing/address_maps/test_accounts.py +++ b/tests/api_resources/addressing/address_maps/test_accounts.py @@ -20,7 +20,6 @@ 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( @@ -30,7 +29,6 @@ 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( @@ -44,7 +42,6 @@ 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( @@ -60,7 +57,6 @@ 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,7 +73,6 @@ 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( @@ -87,7 +82,6 @@ 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( @@ -101,7 +95,6 @@ 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( @@ -117,7 +110,6 @@ 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 ''"): @@ -138,7 +130,6 @@ 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( @@ -148,7 +139,6 @@ 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( @@ -162,7 +152,6 @@ 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( @@ -178,7 +167,6 @@ 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,7 +183,6 @@ 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( @@ -205,7 +192,6 @@ 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( @@ -219,7 +205,6 @@ 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( @@ -235,7 +220,6 @@ 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 5ac092eb762..8ceece4f6da 100644 --- a/tests/api_resources/addressing/address_maps/test_ips.py +++ b/tests/api_resources/addressing/address_maps/test_ips.py @@ -20,7 +20,6 @@ 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( @@ -31,7 +30,6 @@ 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( @@ -46,7 +44,6 @@ 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( @@ -63,7 +60,6 @@ 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 ''"): @@ -90,7 +86,6 @@ 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( @@ -101,7 +96,6 @@ 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( @@ -116,7 +110,6 @@ 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( @@ -133,7 +126,6 @@ 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,7 +156,6 @@ 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( @@ -175,7 +166,6 @@ 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( @@ -190,7 +180,6 @@ 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( @@ -207,7 +196,6 @@ 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 ''"): @@ -234,7 +222,6 @@ 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( @@ -245,7 +232,6 @@ 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( @@ -260,7 +246,6 @@ 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( @@ -277,7 +262,6 @@ 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 450019f8c44..7899fef77b1 100644 --- a/tests/api_resources/addressing/address_maps/test_zones.py +++ b/tests/api_resources/addressing/address_maps/test_zones.py @@ -20,7 +20,6 @@ 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( @@ -31,7 +30,6 @@ 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( @@ -46,7 +44,6 @@ 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( @@ -63,7 +60,6 @@ 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 ''"): @@ -90,7 +86,6 @@ 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( @@ -101,7 +96,6 @@ 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( @@ -116,7 +110,6 @@ 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( @@ -133,7 +126,6 @@ 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,7 +156,6 @@ 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( @@ -175,7 +166,6 @@ 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( @@ -190,7 +180,6 @@ 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( @@ -207,7 +196,6 @@ 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 ''"): @@ -234,7 +222,6 @@ 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( @@ -245,7 +232,6 @@ 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( @@ -260,7 +246,6 @@ 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( @@ -277,7 +262,6 @@ 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 aa02e80594c..db82ee230fa 100644 --- a/tests/api_resources/addressing/loa_documents/test_downloads.py +++ b/tests/api_resources/addressing/loa_documents/test_downloads.py @@ -16,7 +16,6 @@ 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( @@ -25,7 +24,6 @@ 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( @@ -38,7 +36,6 @@ 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( @@ -53,7 +50,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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,7 +68,6 @@ 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( @@ -81,7 +76,6 @@ 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( @@ -94,7 +88,6 @@ 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( @@ -109,7 +102,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ceb620a6d1a..15cc3518ea5 100644 --- a/tests/api_resources/addressing/prefixes/bgp/test_bindings.py +++ b/tests/api_resources/addressing/prefixes/bgp/test_bindings.py @@ -18,7 +18,6 @@ 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( @@ -27,7 +26,6 @@ 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( @@ -38,7 +36,6 @@ 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( @@ -51,7 +48,6 @@ 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( @@ -66,7 +62,6 @@ 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 ''"): @@ -81,7 +76,6 @@ 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( @@ -90,7 +84,6 @@ 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( @@ -103,7 +96,6 @@ 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( @@ -118,7 +110,6 @@ 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 ''"): @@ -133,7 +124,6 @@ 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( @@ -143,7 +133,6 @@ 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( @@ -157,7 +146,6 @@ 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( @@ -173,7 +161,6 @@ 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,7 +184,6 @@ 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( @@ -207,7 +193,6 @@ 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( @@ -221,7 +206,6 @@ 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( @@ -237,7 +221,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -265,7 +248,6 @@ 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( @@ -274,7 +256,6 @@ 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( @@ -285,7 +266,6 @@ 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( @@ -298,7 +278,6 @@ 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( @@ -313,7 +292,6 @@ 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 ''"): @@ -328,7 +306,6 @@ 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( @@ -337,7 +314,6 @@ 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( @@ -350,7 +326,6 @@ 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( @@ -365,7 +340,6 @@ 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 ''"): @@ -380,7 +354,6 @@ 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( @@ -390,7 +363,6 @@ 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( @@ -404,7 +376,6 @@ 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( @@ -420,7 +391,6 @@ 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 ''"): @@ -444,7 +414,6 @@ 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( @@ -454,7 +423,6 @@ 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( @@ -468,7 +436,6 @@ 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( @@ -484,7 +451,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 f0a7190e494..870b70456e9 100644 --- a/tests/api_resources/addressing/prefixes/bgp/test_prefixes.py +++ b/tests/api_resources/addressing/prefixes/bgp/test_prefixes.py @@ -18,7 +18,6 @@ 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( @@ -27,7 +26,6 @@ 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( @@ -40,7 +38,6 @@ 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( @@ -55,7 +52,6 @@ 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,7 +66,6 @@ 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( @@ -80,7 +75,6 @@ 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( @@ -91,7 +85,6 @@ 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( @@ -105,7 +98,6 @@ 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( @@ -121,7 +113,6 @@ 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 ''"): @@ -145,7 +136,6 @@ 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( @@ -155,7 +145,6 @@ 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( @@ -169,7 +158,6 @@ 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( @@ -185,7 +173,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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,7 +200,6 @@ 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( @@ -222,7 +208,6 @@ 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( @@ -235,7 +220,6 @@ 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( @@ -250,7 +234,6 @@ 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 ''"): @@ -265,7 +248,6 @@ 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( @@ -275,7 +257,6 @@ 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( @@ -286,7 +267,6 @@ 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( @@ -300,7 +280,6 @@ 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( @@ -316,7 +295,6 @@ 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 ''"): @@ -340,7 +318,6 @@ 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( @@ -350,7 +327,6 @@ 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( @@ -364,7 +340,6 @@ 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( @@ -380,7 +355,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 a54d8bb4d77..7abe68f3bc5 100644 --- a/tests/api_resources/addressing/prefixes/bgp/test_statuses.py +++ b/tests/api_resources/addressing/prefixes/bgp/test_statuses.py @@ -17,7 +17,6 @@ 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( @@ -27,7 +26,6 @@ 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( @@ -41,7 +39,6 @@ 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( @@ -57,7 +54,6 @@ 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,7 +70,6 @@ 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( @@ -83,7 +78,6 @@ 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( @@ -96,7 +90,6 @@ 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( @@ -111,7 +104,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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,7 +122,6 @@ 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( @@ -140,7 +131,6 @@ 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( @@ -154,7 +144,6 @@ 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( @@ -170,7 +159,6 @@ 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 ''"): @@ -187,7 +175,6 @@ 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( @@ -196,7 +183,6 @@ 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( @@ -209,7 +195,6 @@ 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( @@ -224,7 +209,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 cc48cc0b00b..c233cda3798 100644 --- a/tests/api_resources/addressing/prefixes/test_delegations.py +++ b/tests/api_resources/addressing/prefixes/test_delegations.py @@ -21,7 +21,6 @@ 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( @@ -32,7 +31,6 @@ 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( @@ -47,7 +45,6 @@ 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( @@ -64,7 +61,6 @@ 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 ''"): @@ -83,7 +79,6 @@ 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( @@ -92,7 +87,6 @@ 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( @@ -105,7 +99,6 @@ 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( @@ -120,7 +113,6 @@ 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 ''"): @@ -135,7 +127,6 @@ 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( @@ -146,7 +137,6 @@ 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( @@ -161,7 +151,6 @@ 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( @@ -178,7 +167,6 @@ 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,7 +197,6 @@ 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( @@ -220,7 +207,6 @@ 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( @@ -235,7 +221,6 @@ 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( @@ -252,7 +237,6 @@ 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,7 +255,6 @@ 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( @@ -280,7 +263,6 @@ 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( @@ -293,7 +275,6 @@ 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( @@ -308,7 +289,6 @@ 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 ''"): @@ -323,7 +303,6 @@ 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( @@ -334,7 +313,6 @@ 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( @@ -349,7 +327,6 @@ 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( @@ -366,7 +343,6 @@ 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 7536f76aea4..906cb6fecdd 100644 --- a/tests/api_resources/addressing/test_address_maps.py +++ b/tests/api_resources/addressing/test_address_maps.py @@ -23,7 +23,6 @@ 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( @@ -31,7 +30,6 @@ 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( @@ -41,7 +39,6 @@ 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( @@ -53,7 +50,6 @@ 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( @@ -67,7 +63,6 @@ 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,7 +70,6 @@ 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( @@ -83,7 +77,6 @@ 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( @@ -95,7 +88,6 @@ 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( @@ -109,7 +101,6 @@ 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 ''"): @@ -117,7 +108,6 @@ 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( @@ -127,7 +117,6 @@ 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( @@ -141,7 +130,6 @@ 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( @@ -157,7 +145,6 @@ 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 ''"): @@ -174,7 +161,6 @@ 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( @@ -183,7 +169,6 @@ 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( @@ -195,7 +180,6 @@ 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( @@ -208,7 +192,6 @@ 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( @@ -223,7 +206,6 @@ 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,7 +220,6 @@ 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( @@ -247,7 +228,6 @@ 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( @@ -260,7 +240,6 @@ 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( @@ -275,7 +254,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -294,7 +272,6 @@ 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( @@ -302,7 +279,6 @@ 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( @@ -312,7 +288,6 @@ 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( @@ -324,7 +299,6 @@ 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( @@ -338,7 +312,6 @@ 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 ''"): @@ -346,7 +319,6 @@ 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( @@ -354,7 +326,6 @@ 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( @@ -366,7 +337,6 @@ 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( @@ -380,7 +350,6 @@ 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 ''"): @@ -388,7 +357,6 @@ 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( @@ -398,7 +366,6 @@ 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( @@ -412,7 +379,6 @@ 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( @@ -428,7 +394,6 @@ 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,7 +410,6 @@ 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( @@ -454,7 +418,6 @@ 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( @@ -466,7 +429,6 @@ 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( @@ -479,7 +441,6 @@ 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( @@ -494,7 +455,6 @@ 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 ''"): @@ -509,7 +469,6 @@ 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( @@ -518,7 +477,6 @@ 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( @@ -531,7 +489,6 @@ 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( @@ -546,7 +503,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 c2e4033f38e..88dbddbc3e9 100644 --- a/tests/api_resources/addressing/test_loa_documents.py +++ b/tests/api_resources/addressing/test_loa_documents.py @@ -17,7 +17,6 @@ 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( @@ -26,7 +25,6 @@ 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( @@ -39,7 +37,6 @@ 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( @@ -54,7 +51,6 @@ 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,7 +63,6 @@ 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( @@ -76,7 +71,6 @@ 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( @@ -89,7 +83,6 @@ 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( @@ -104,7 +97,6 @@ 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 8c570378484..83da23a01fc 100644 --- a/tests/api_resources/addressing/test_prefixes.py +++ b/tests/api_resources/addressing/test_prefixes.py @@ -21,7 +21,6 @@ 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( @@ -32,7 +31,6 @@ 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( @@ -47,7 +45,6 @@ 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( @@ -64,7 +61,6 @@ 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,7 +71,6 @@ 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( @@ -83,7 +78,6 @@ 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( @@ -95,7 +89,6 @@ 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( @@ -109,7 +102,6 @@ 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 ''"): @@ -117,7 +109,6 @@ 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( @@ -127,7 +118,6 @@ 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( @@ -141,7 +131,6 @@ 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( @@ -157,7 +146,6 @@ 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 ''"): @@ -174,7 +162,6 @@ 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( @@ -184,7 +171,6 @@ 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( @@ -198,7 +184,6 @@ 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( @@ -214,7 +199,6 @@ 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 ''"): @@ -231,7 +215,6 @@ 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( @@ -240,7 +223,6 @@ 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( @@ -253,7 +235,6 @@ 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( @@ -268,7 +249,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -287,7 +267,6 @@ 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( @@ -298,7 +277,6 @@ 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( @@ -313,7 +291,6 @@ 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( @@ -330,7 +307,6 @@ 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 ''"): @@ -341,7 +317,6 @@ 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( @@ -349,7 +324,6 @@ 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( @@ -361,7 +335,6 @@ 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( @@ -375,7 +348,6 @@ 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,7 +355,6 @@ 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( @@ -393,7 +364,6 @@ 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( @@ -407,7 +377,6 @@ 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( @@ -423,7 +392,6 @@ 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 ''"): @@ -440,7 +408,6 @@ 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( @@ -450,7 +417,6 @@ 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( @@ -464,7 +430,6 @@ 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( @@ -480,7 +445,6 @@ 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 ''"): @@ -497,7 +461,6 @@ 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( @@ -506,7 +469,6 @@ 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( @@ -519,7 +481,6 @@ 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( @@ -534,7 +495,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 bab9eef74b0..e54cb33ece0 100644 --- a/tests/api_resources/addressing/test_services.py +++ b/tests/api_resources/addressing/test_services.py @@ -18,7 +18,6 @@ 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( @@ -26,7 +25,6 @@ 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( @@ -38,7 +36,6 @@ 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( @@ -52,7 +49,6 @@ 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 ''"): @@ -64,7 +60,6 @@ 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( @@ -72,7 +67,6 @@ 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( @@ -84,7 +78,6 @@ 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( @@ -98,7 +91,6 @@ 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 ef1a207dbd4..ee7c9caff3e 100644 --- a/tests/api_resources/alerting/destinations/test_eligible.py +++ b/tests/api_resources/alerting/destinations/test_eligible.py @@ -17,7 +17,6 @@ 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( @@ -25,7 +24,6 @@ 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( @@ -37,7 +35,6 @@ 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( @@ -51,7 +48,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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,7 +59,6 @@ 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( @@ -71,7 +66,6 @@ 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( @@ -83,7 +77,6 @@ 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( @@ -97,7 +90,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 07b1cb56436..912f43e1c42 100644 --- a/tests/api_resources/alerting/destinations/test_pagerduty.py +++ b/tests/api_resources/alerting/destinations/test_pagerduty.py @@ -22,7 +22,6 @@ 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( @@ -30,7 +29,6 @@ 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( @@ -42,7 +40,6 @@ 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( @@ -56,7 +53,6 @@ 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,7 +60,6 @@ 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( @@ -72,7 +67,6 @@ 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( @@ -84,7 +78,6 @@ 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( @@ -98,7 +91,6 @@ 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 ''"): @@ -106,7 +98,6 @@ 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( @@ -114,7 +105,6 @@ 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( @@ -126,7 +116,6 @@ 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( @@ -140,7 +129,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -148,7 +136,6 @@ 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( @@ -157,7 +144,6 @@ 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( @@ -170,7 +156,6 @@ 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( @@ -185,7 +170,6 @@ 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 ''"): @@ -204,7 +188,6 @@ 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( @@ -212,7 +195,6 @@ 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( @@ -224,7 +206,6 @@ 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( @@ -238,7 +219,6 @@ 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 ''"): @@ -246,7 +226,6 @@ 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( @@ -254,7 +233,6 @@ 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( @@ -266,7 +244,6 @@ 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( @@ -280,7 +257,6 @@ 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 ''"): @@ -288,7 +264,6 @@ 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( @@ -296,7 +271,6 @@ 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( @@ -308,7 +282,6 @@ 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( @@ -322,7 +295,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -330,7 +302,6 @@ 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( @@ -339,7 +310,6 @@ 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( @@ -352,7 +322,6 @@ 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( @@ -367,7 +336,6 @@ 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 fbdefa33436..9da98e9f458 100644 --- a/tests/api_resources/alerting/destinations/test_webhooks.py +++ b/tests/api_resources/alerting/destinations/test_webhooks.py @@ -23,7 +23,6 @@ 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( @@ -33,7 +32,6 @@ 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( @@ -44,7 +42,6 @@ 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( @@ -58,7 +55,6 @@ 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( @@ -74,7 +70,6 @@ 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,7 +79,6 @@ 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( @@ -95,7 +89,6 @@ 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( @@ -107,7 +100,6 @@ 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( @@ -122,7 +114,6 @@ 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( @@ -139,7 +130,6 @@ 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 ''"): @@ -158,7 +148,6 @@ 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( @@ -166,7 +155,6 @@ 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( @@ -178,7 +166,6 @@ 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( @@ -192,7 +179,6 @@ 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 ''"): @@ -200,7 +186,6 @@ 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( @@ -209,7 +194,6 @@ 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( @@ -222,7 +206,6 @@ 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( @@ -237,7 +220,6 @@ 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 ''"): @@ -252,7 +234,6 @@ 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( @@ -261,7 +242,6 @@ 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( @@ -274,7 +254,6 @@ 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( @@ -289,7 +268,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -308,7 +286,6 @@ 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( @@ -318,7 +295,6 @@ 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( @@ -329,7 +305,6 @@ 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( @@ -343,7 +318,6 @@ 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( @@ -359,7 +333,6 @@ 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 ''"): @@ -369,7 +342,6 @@ 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( @@ -380,7 +352,6 @@ 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( @@ -392,7 +363,6 @@ 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( @@ -407,7 +377,6 @@ 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( @@ -424,7 +393,6 @@ 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 ''"): @@ -443,7 +411,6 @@ 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( @@ -451,7 +418,6 @@ 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( @@ -463,7 +429,6 @@ 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( @@ -477,7 +442,6 @@ 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 ''"): @@ -485,7 +449,6 @@ 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( @@ -494,7 +457,6 @@ 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( @@ -507,7 +469,6 @@ 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( @@ -522,7 +483,6 @@ 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 ''"): @@ -537,7 +497,6 @@ 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( @@ -546,7 +505,6 @@ 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( @@ -559,7 +517,6 @@ 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( @@ -574,7 +531,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 c3c5c6dc2fe..253ff803cdf 100644 --- a/tests/api_resources/alerting/test_available_alerts.py +++ b/tests/api_resources/alerting/test_available_alerts.py @@ -17,7 +17,6 @@ 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( @@ -25,7 +24,6 @@ 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( @@ -37,7 +35,6 @@ 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( @@ -51,7 +48,6 @@ 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 ''"): @@ -63,7 +59,6 @@ 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( @@ -71,7 +66,6 @@ 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( @@ -83,7 +77,6 @@ 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( @@ -97,7 +90,6 @@ 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 3ed58bbf83c..43ef79ac5c3 100644 --- a/tests/api_resources/alerting/test_history.py +++ b/tests/api_resources/alerting/test_history.py @@ -19,7 +19,6 @@ 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( @@ -27,7 +26,6 @@ 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( @@ -39,7 +37,6 @@ 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( @@ -51,7 +48,6 @@ 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( @@ -65,7 +61,6 @@ 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,7 +72,6 @@ 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( @@ -85,7 +79,6 @@ 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( @@ -97,7 +90,6 @@ 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( @@ -109,7 +101,6 @@ 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( @@ -123,7 +114,6 @@ 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 0c2e2f09aec..c66a55a5837 100644 --- a/tests/api_resources/alerting/test_policies.py +++ b/tests/api_resources/alerting/test_policies.py @@ -23,7 +23,6 @@ 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( @@ -39,7 +38,6 @@ 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( @@ -98,7 +96,6 @@ 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( @@ -118,7 +115,6 @@ 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( @@ -140,7 +136,6 @@ 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 ''"): @@ -156,7 +151,6 @@ 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( @@ -165,7 +159,6 @@ 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( @@ -225,7 +218,6 @@ 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( @@ -238,7 +230,6 @@ 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( @@ -253,7 +244,6 @@ 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 ''"): @@ -268,7 +258,6 @@ 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( @@ -276,7 +265,6 @@ 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( @@ -288,7 +276,6 @@ 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( @@ -302,7 +289,6 @@ 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 ''"): @@ -310,7 +296,6 @@ 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( @@ -319,7 +304,6 @@ 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( @@ -332,7 +316,6 @@ 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( @@ -347,7 +330,6 @@ 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 ''"): @@ -362,7 +344,6 @@ 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( @@ -371,7 +352,6 @@ 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( @@ -384,7 +364,6 @@ 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( @@ -399,7 +378,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -418,7 +396,6 @@ 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( @@ -434,7 +411,6 @@ 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( @@ -493,7 +469,6 @@ 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( @@ -513,7 +488,6 @@ 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( @@ -535,7 +509,6 @@ 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 ''"): @@ -551,7 +524,6 @@ 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( @@ -560,7 +532,6 @@ 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( @@ -620,7 +591,6 @@ 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( @@ -633,7 +603,6 @@ 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( @@ -648,7 +617,6 @@ 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 ''"): @@ -663,7 +631,6 @@ 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( @@ -671,7 +638,6 @@ 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( @@ -683,7 +649,6 @@ 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( @@ -697,7 +662,6 @@ 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 ''"): @@ -705,7 +669,6 @@ 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( @@ -714,7 +677,6 @@ 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( @@ -727,7 +689,6 @@ 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( @@ -742,7 +703,6 @@ 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 ''"): @@ -757,7 +717,6 @@ 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( @@ -766,7 +725,6 @@ 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( @@ -779,7 +737,6 @@ 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( @@ -794,7 +751,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 27d13739d4c..8622689044d 100644 --- a/tests/api_resources/argo/test_smart_routing.py +++ b/tests/api_resources/argo/test_smart_routing.py @@ -17,7 +17,6 @@ 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( @@ -26,7 +25,6 @@ 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( @@ -39,7 +37,6 @@ 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( @@ -54,7 +51,6 @@ 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,7 +59,6 @@ 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( @@ -71,7 +66,6 @@ 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( @@ -83,7 +77,6 @@ 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( @@ -97,7 +90,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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,7 +101,6 @@ 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( @@ -118,7 +109,6 @@ 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( @@ -131,7 +121,6 @@ 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( @@ -146,7 +135,6 @@ 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 ''"): @@ -155,7 +143,6 @@ 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( @@ -163,7 +150,6 @@ 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( @@ -175,7 +161,6 @@ 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( @@ -189,7 +174,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 13d8943f000..9afbafa5d1c 100644 --- a/tests/api_resources/argo/test_tiered_caching.py +++ b/tests/api_resources/argo/test_tiered_caching.py @@ -17,7 +17,6 @@ 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( @@ -26,7 +25,6 @@ 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( @@ -39,7 +37,6 @@ 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( @@ -54,7 +51,6 @@ 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,7 +59,6 @@ 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( @@ -71,7 +66,6 @@ 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( @@ -83,7 +77,6 @@ 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( @@ -97,7 +90,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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,7 +101,6 @@ 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( @@ -118,7 +109,6 @@ 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( @@ -131,7 +121,6 @@ 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( @@ -146,7 +135,6 @@ 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 ''"): @@ -155,7 +143,6 @@ 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( @@ -163,7 +150,6 @@ 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( @@ -175,7 +161,6 @@ 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( @@ -189,7 +174,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 63e0a0eca24..03230b18439 100644 --- a/tests/api_resources/billing/test_profiles.py +++ b/tests/api_resources/billing/test_profiles.py @@ -17,7 +17,6 @@ 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( @@ -25,7 +24,6 @@ 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( @@ -37,7 +35,6 @@ 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( @@ -55,7 +52,6 @@ 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( @@ -63,7 +59,6 @@ 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( @@ -75,7 +70,6 @@ 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 a6543e9e10e..fb8eab75309 100644 --- a/tests/api_resources/cache/test_cache_reserve.py +++ b/tests/api_resources/cache/test_cache_reserve.py @@ -22,7 +22,6 @@ 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( @@ -31,7 +30,6 @@ 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( @@ -44,7 +42,6 @@ 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( @@ -59,7 +56,6 @@ 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 ''"): @@ -68,7 +64,6 @@ 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( @@ -77,7 +72,6 @@ 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( @@ -90,7 +84,6 @@ 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( @@ -105,7 +98,6 @@ 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 ''"): @@ -114,7 +106,6 @@ 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( @@ -122,7 +113,6 @@ 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( @@ -134,7 +124,6 @@ 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( @@ -148,7 +137,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -156,7 +144,6 @@ 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( @@ -164,7 +151,6 @@ 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( @@ -176,7 +162,6 @@ 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( @@ -190,7 +175,6 @@ 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 ''"): @@ -202,7 +186,6 @@ 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( @@ -211,7 +194,6 @@ 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( @@ -224,7 +206,6 @@ 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( @@ -239,7 +220,6 @@ 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 ''"): @@ -248,7 +228,6 @@ 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( @@ -257,7 +236,6 @@ 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( @@ -270,7 +248,6 @@ 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( @@ -285,7 +262,6 @@ 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 ''"): @@ -294,7 +270,6 @@ 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( @@ -302,7 +277,6 @@ 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( @@ -314,7 +288,6 @@ 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( @@ -328,7 +301,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -336,7 +308,6 @@ 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( @@ -344,7 +315,6 @@ 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( @@ -356,7 +326,6 @@ 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( @@ -370,7 +339,6 @@ 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 0a440eaae86..ec3ddfeb861 100644 --- a/tests/api_resources/cache/test_regional_tiered_cache.py +++ b/tests/api_resources/cache/test_regional_tiered_cache.py @@ -20,7 +20,6 @@ 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( @@ -29,7 +28,6 @@ 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( @@ -42,7 +40,6 @@ 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( @@ -57,7 +54,6 @@ 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,7 +62,6 @@ 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( @@ -74,7 +69,6 @@ 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( @@ -86,7 +80,6 @@ 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( @@ -100,7 +93,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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,7 +104,6 @@ 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( @@ -121,7 +112,6 @@ 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( @@ -134,7 +124,6 @@ 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( @@ -149,7 +138,6 @@ 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 ''"): @@ -158,7 +146,6 @@ 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( @@ -166,7 +153,6 @@ 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( @@ -178,7 +164,6 @@ 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( @@ -192,7 +177,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 a45c9af8dba..3fe04c5dad9 100644 --- a/tests/api_resources/cache/test_smart_tiered_cache.py +++ b/tests/api_resources/cache/test_smart_tiered_cache.py @@ -21,7 +21,6 @@ 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( @@ -30,7 +29,6 @@ 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( @@ -43,7 +41,6 @@ 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( @@ -58,7 +55,6 @@ 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 ''"): @@ -67,7 +63,6 @@ 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( @@ -76,7 +71,6 @@ 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( @@ -89,7 +83,6 @@ 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( @@ -104,7 +97,6 @@ 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,7 +105,6 @@ 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( @@ -121,7 +112,6 @@ 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( @@ -133,7 +123,6 @@ 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( @@ -147,7 +136,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -159,7 +147,6 @@ 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( @@ -168,7 +155,6 @@ 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( @@ -181,7 +167,6 @@ 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( @@ -196,7 +181,6 @@ 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 ''"): @@ -205,7 +189,6 @@ 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( @@ -214,7 +197,6 @@ 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( @@ -227,7 +209,6 @@ 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( @@ -242,7 +223,6 @@ 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 ''"): @@ -251,7 +231,6 @@ 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( @@ -259,7 +238,6 @@ 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( @@ -271,7 +249,6 @@ 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( @@ -285,7 +262,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 bd8c3ef6f89..4e70f7b7fd0 100644 --- a/tests/api_resources/cache/test_variants.py +++ b/tests/api_resources/cache/test_variants.py @@ -21,7 +21,6 @@ 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( @@ -30,7 +29,6 @@ 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( @@ -43,7 +41,6 @@ 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( @@ -58,7 +55,6 @@ 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 ''"): @@ -67,7 +63,6 @@ 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( @@ -76,7 +71,6 @@ 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( @@ -97,7 +91,6 @@ 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( @@ -110,7 +103,6 @@ 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( @@ -125,7 +117,6 @@ 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 ''"): @@ -134,7 +125,6 @@ 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( @@ -142,7 +132,6 @@ 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( @@ -154,7 +143,6 @@ 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( @@ -168,7 +156,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -180,7 +167,6 @@ 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( @@ -189,7 +175,6 @@ 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( @@ -202,7 +187,6 @@ 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( @@ -217,7 +201,6 @@ 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 ''"): @@ -226,7 +209,6 @@ 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( @@ -235,7 +217,6 @@ 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( @@ -256,7 +237,6 @@ 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( @@ -269,7 +249,6 @@ 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( @@ -284,7 +263,6 @@ 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 ''"): @@ -293,7 +271,6 @@ 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( @@ -301,7 +278,6 @@ 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( @@ -313,7 +289,6 @@ 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( @@ -327,7 +302,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 bd14519e2c5..eb5db8b0753 100644 --- a/tests/api_resources/certificate_authorities/test_hostname_associations.py +++ b/tests/api_resources/certificate_authorities/test_hostname_associations.py @@ -20,7 +20,6 @@ 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( @@ -28,7 +27,6 @@ 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( @@ -38,7 +36,6 @@ 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( @@ -50,7 +47,6 @@ 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( @@ -64,7 +60,6 @@ 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 ''"): @@ -72,7 +67,6 @@ 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( @@ -80,7 +74,6 @@ 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( @@ -89,7 +82,6 @@ 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( @@ -101,7 +93,6 @@ 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( @@ -115,7 +106,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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,7 +117,6 @@ 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( @@ -135,7 +124,6 @@ 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( @@ -145,7 +133,6 @@ 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( @@ -157,7 +144,6 @@ 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( @@ -171,7 +157,6 @@ 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 ''"): @@ -179,7 +164,6 @@ 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( @@ -187,7 +171,6 @@ 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( @@ -196,7 +179,6 @@ 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( @@ -208,7 +190,6 @@ 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( @@ -222,7 +203,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 976f29aaf82..4182376aa3d 100644 --- a/tests/api_resources/challenges/test_widgets.py +++ b/tests/api_resources/challenges/test_widgets.py @@ -21,7 +21,6 @@ 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( @@ -32,7 +31,6 @@ 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( @@ -51,7 +49,6 @@ 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( @@ -66,7 +63,6 @@ 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( @@ -83,7 +79,6 @@ 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 ''"): @@ -94,7 +89,6 @@ 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( @@ -106,7 +100,6 @@ 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( @@ -121,7 +114,6 @@ 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( @@ -137,7 +129,6 @@ 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( @@ -155,7 +146,6 @@ 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,7 +166,6 @@ 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( @@ -184,7 +173,6 @@ 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( @@ -196,7 +184,6 @@ 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( @@ -208,7 +195,6 @@ 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( @@ -222,7 +208,6 @@ 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 ''"): @@ -230,7 +215,6 @@ 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( @@ -239,7 +223,6 @@ 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( @@ -252,7 +235,6 @@ 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( @@ -267,7 +249,6 @@ 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,7 +263,6 @@ 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( @@ -291,7 +271,6 @@ 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( @@ -304,7 +283,6 @@ 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( @@ -319,7 +297,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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,7 +311,6 @@ 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( @@ -343,7 +319,6 @@ 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( @@ -353,7 +328,6 @@ 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( @@ -366,7 +340,6 @@ 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( @@ -381,7 +354,6 @@ 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 ''"): @@ -400,7 +372,6 @@ 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( @@ -411,7 +382,6 @@ 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( @@ -430,7 +400,6 @@ 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( @@ -445,7 +414,6 @@ 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( @@ -462,7 +430,6 @@ 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 ''"): @@ -473,7 +440,6 @@ 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( @@ -485,7 +451,6 @@ 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( @@ -500,7 +465,6 @@ 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( @@ -516,7 +480,6 @@ 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( @@ -534,7 +497,6 @@ 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 ''"): @@ -555,7 +517,6 @@ 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( @@ -563,7 +524,6 @@ 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( @@ -575,7 +535,6 @@ 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( @@ -587,7 +546,6 @@ 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( @@ -601,7 +559,6 @@ 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 ''"): @@ -609,7 +566,6 @@ 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( @@ -618,7 +574,6 @@ 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( @@ -631,7 +586,6 @@ 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( @@ -646,7 +600,6 @@ 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 ''"): @@ -661,7 +614,6 @@ 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( @@ -670,7 +622,6 @@ 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( @@ -683,7 +634,6 @@ 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( @@ -698,7 +648,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -713,7 +662,6 @@ 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( @@ -722,7 +670,6 @@ 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( @@ -732,7 +679,6 @@ 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( @@ -745,7 +691,6 @@ 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( @@ -760,7 +705,6 @@ 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 ea91ab0a36e..cae9250892e 100644 --- a/tests/api_resources/cloudforce_one/requests/test_message.py +++ b/tests/api_resources/cloudforce_one/requests/test_message.py @@ -22,7 +22,6 @@ 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( @@ -31,7 +30,6 @@ 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( @@ -41,7 +39,6 @@ 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( @@ -54,7 +51,6 @@ 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( @@ -69,7 +65,6 @@ 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 ''"): @@ -84,7 +79,6 @@ 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( @@ -94,7 +88,6 @@ 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( @@ -109,7 +102,6 @@ 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( @@ -123,7 +115,6 @@ 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( @@ -139,7 +130,6 @@ 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 ''"): @@ -156,7 +146,6 @@ 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( @@ -166,7 +155,6 @@ 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( @@ -180,7 +168,6 @@ 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( @@ -196,7 +183,6 @@ 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 ''"): @@ -213,7 +199,6 @@ 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( @@ -224,7 +209,6 @@ 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( @@ -239,7 +223,6 @@ 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( @@ -254,7 +237,6 @@ 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( @@ -271,7 +253,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -294,7 +275,6 @@ 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( @@ -303,7 +283,6 @@ 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( @@ -313,7 +292,6 @@ 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( @@ -326,7 +304,6 @@ 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( @@ -341,7 +318,6 @@ 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 ''"): @@ -356,7 +332,6 @@ 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( @@ -366,7 +341,6 @@ 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( @@ -381,7 +355,6 @@ 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( @@ -395,7 +368,6 @@ 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( @@ -411,7 +383,6 @@ 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 ''"): @@ -428,7 +399,6 @@ 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( @@ -438,7 +408,6 @@ 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( @@ -452,7 +421,6 @@ 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( @@ -468,7 +436,6 @@ 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 ''"): @@ -485,7 +452,6 @@ 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( @@ -496,7 +462,6 @@ 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( @@ -511,7 +476,6 @@ 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( @@ -526,7 +490,6 @@ 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( @@ -543,7 +506,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 136d392955d..46276ab9dcf 100644 --- a/tests/api_resources/cloudforce_one/requests/test_priority.py +++ b/tests/api_resources/cloudforce_one/requests/test_priority.py @@ -21,7 +21,6 @@ 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( @@ -33,7 +32,6 @@ 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( @@ -49,7 +47,6 @@ 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( @@ -67,7 +64,6 @@ 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,7 +75,6 @@ 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( @@ -92,7 +87,6 @@ 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( @@ -109,7 +103,6 @@ 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( @@ -128,7 +121,6 @@ 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 ''"): @@ -151,7 +143,6 @@ 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( @@ -160,7 +151,6 @@ 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( @@ -173,7 +163,6 @@ 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( @@ -188,7 +177,6 @@ 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 ''"): @@ -203,7 +191,6 @@ 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( @@ -212,7 +199,6 @@ 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( @@ -225,7 +211,6 @@ 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( @@ -240,7 +225,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -255,7 +239,6 @@ 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( @@ -263,7 +246,6 @@ 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( @@ -275,7 +257,6 @@ 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( @@ -289,7 +270,6 @@ 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 ''"): @@ -301,7 +281,6 @@ 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( @@ -313,7 +292,6 @@ 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( @@ -329,7 +307,6 @@ 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( @@ -347,7 +324,6 @@ 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 ''"): @@ -359,7 +335,6 @@ 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( @@ -372,7 +347,6 @@ 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( @@ -389,7 +363,6 @@ 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( @@ -408,7 +381,6 @@ 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 ''"): @@ -431,7 +403,6 @@ 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( @@ -440,7 +411,6 @@ 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( @@ -453,7 +423,6 @@ 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( @@ -468,7 +437,6 @@ 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 ''"): @@ -483,7 +451,6 @@ 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( @@ -492,7 +459,6 @@ 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( @@ -505,7 +471,6 @@ 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( @@ -520,7 +485,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -535,7 +499,6 @@ 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( @@ -543,7 +506,6 @@ 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( @@ -555,7 +517,6 @@ 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( @@ -569,7 +530,6 @@ 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 ef62fc92095..327ae61c1bb 100644 --- a/tests/api_resources/cloudforce_one/test_requests.py +++ b/tests/api_resources/cloudforce_one/test_requests.py @@ -26,7 +26,6 @@ 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( @@ -34,7 +33,6 @@ 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( @@ -47,7 +45,6 @@ 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( @@ -59,7 +56,6 @@ 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( @@ -73,7 +69,6 @@ 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 ''"): @@ -81,7 +76,6 @@ 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( @@ -90,7 +84,6 @@ 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( @@ -104,7 +97,6 @@ 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( @@ -117,7 +109,6 @@ 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( @@ -132,7 +123,6 @@ 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 ''"): @@ -147,7 +137,6 @@ 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( @@ -157,7 +146,6 @@ 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( @@ -175,7 +163,6 @@ 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( @@ -189,7 +176,6 @@ 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( @@ -205,7 +191,6 @@ 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 ''"): @@ -215,7 +200,6 @@ 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( @@ -224,7 +208,6 @@ 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( @@ -237,7 +220,6 @@ 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( @@ -252,7 +234,6 @@ 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 ''"): @@ -267,7 +248,6 @@ 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( @@ -275,7 +255,6 @@ 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( @@ -287,7 +266,6 @@ 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( @@ -301,7 +279,6 @@ 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 ''"): @@ -309,7 +286,6 @@ 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( @@ -318,7 +294,6 @@ 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( @@ -331,7 +306,6 @@ 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( @@ -346,7 +320,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -361,7 +334,6 @@ 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( @@ -369,7 +341,6 @@ 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( @@ -381,7 +352,6 @@ 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( @@ -395,7 +365,6 @@ 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 ''"): @@ -403,7 +372,6 @@ 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( @@ -411,7 +379,6 @@ 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( @@ -423,7 +390,6 @@ 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( @@ -437,7 +403,6 @@ 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 ''"): @@ -449,7 +414,6 @@ 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( @@ -457,7 +421,6 @@ 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( @@ -470,7 +433,6 @@ 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( @@ -482,7 +444,6 @@ 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( @@ -496,7 +457,6 @@ 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 ''"): @@ -504,7 +464,6 @@ 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( @@ -513,7 +472,6 @@ 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( @@ -527,7 +485,6 @@ 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( @@ -540,7 +497,6 @@ 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( @@ -555,7 +511,6 @@ 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 ''"): @@ -570,7 +525,6 @@ 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( @@ -580,7 +534,6 @@ 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( @@ -598,7 +551,6 @@ 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( @@ -612,7 +564,6 @@ 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( @@ -628,7 +579,6 @@ 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 ''"): @@ -638,7 +588,6 @@ 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( @@ -647,7 +596,6 @@ 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( @@ -660,7 +608,6 @@ 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( @@ -675,7 +622,6 @@ 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 ''"): @@ -690,7 +636,6 @@ 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( @@ -698,7 +643,6 @@ 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( @@ -710,7 +654,6 @@ 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( @@ -724,7 +667,6 @@ 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 ''"): @@ -732,7 +674,6 @@ 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( @@ -741,7 +682,6 @@ 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( @@ -754,7 +694,6 @@ 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( @@ -769,7 +708,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -784,7 +722,6 @@ 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( @@ -792,7 +729,6 @@ 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( @@ -804,7 +740,6 @@ 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( @@ -818,7 +753,6 @@ 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 ''"): @@ -826,7 +760,6 @@ 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( @@ -834,7 +767,6 @@ 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( @@ -846,7 +778,6 @@ 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( @@ -860,7 +791,6 @@ 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 06419cda056..25accbd83cb 100644 --- a/tests/api_resources/custom_certificates/test_prioritize.py +++ b/tests/api_resources/custom_certificates/test_prioritize.py @@ -17,7 +17,6 @@ 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( @@ -26,7 +25,6 @@ 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( @@ -39,7 +37,6 @@ 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( @@ -54,7 +51,6 @@ 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,7 +63,6 @@ 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( @@ -76,7 +71,6 @@ 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( @@ -89,7 +83,6 @@ 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( @@ -104,7 +97,6 @@ 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 ba04772700c..d41c4961665 100644 --- a/tests/api_resources/custom_hostnames/test_fallback_origin.py +++ b/tests/api_resources/custom_hostnames/test_fallback_origin.py @@ -21,7 +21,6 @@ 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( @@ -30,7 +29,6 @@ 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( @@ -43,7 +41,6 @@ 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( @@ -58,7 +55,6 @@ 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,7 +63,6 @@ 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( @@ -76,7 +71,6 @@ 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( @@ -89,7 +83,6 @@ 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( @@ -104,7 +97,6 @@ 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 ''"): @@ -113,7 +105,6 @@ 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( @@ -121,7 +112,6 @@ 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( @@ -133,7 +123,6 @@ 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( @@ -147,7 +136,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -159,7 +147,6 @@ 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( @@ -168,7 +155,6 @@ 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( @@ -181,7 +167,6 @@ 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( @@ -196,7 +181,6 @@ 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 ''"): @@ -205,7 +189,6 @@ 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( @@ -214,7 +197,6 @@ 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( @@ -227,7 +209,6 @@ 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( @@ -242,7 +223,6 @@ 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 ''"): @@ -251,7 +231,6 @@ 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( @@ -259,7 +238,6 @@ 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( @@ -271,7 +249,6 @@ 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( @@ -285,7 +262,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 8005deeea4b..30697981791 100644 --- a/tests/api_resources/d1/test_database.py +++ b/tests/api_resources/d1/test_database.py @@ -24,7 +24,6 @@ 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( @@ -33,7 +32,6 @@ 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( @@ -46,7 +44,6 @@ 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( @@ -61,7 +58,6 @@ 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,7 +66,6 @@ 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( @@ -78,7 +73,6 @@ 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( @@ -89,7 +83,6 @@ 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( @@ -101,7 +94,6 @@ 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( @@ -115,7 +107,6 @@ 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,7 +114,6 @@ 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( @@ -132,7 +122,6 @@ 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( @@ -145,7 +134,6 @@ 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( @@ -160,7 +148,6 @@ 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 ''"): @@ -175,7 +162,6 @@ 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( @@ -184,7 +170,6 @@ 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( @@ -197,7 +182,6 @@ 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( @@ -212,7 +196,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -227,7 +210,6 @@ 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( @@ -237,7 +219,6 @@ 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( @@ -248,7 +229,6 @@ 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( @@ -262,7 +242,6 @@ 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( @@ -278,7 +257,6 @@ 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 ''"): @@ -299,7 +277,6 @@ 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( @@ -308,7 +285,6 @@ 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( @@ -321,7 +297,6 @@ 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( @@ -336,7 +311,6 @@ 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 ''"): @@ -345,7 +319,6 @@ 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( @@ -353,7 +326,6 @@ 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( @@ -364,7 +336,6 @@ 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( @@ -376,7 +347,6 @@ 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( @@ -390,7 +360,6 @@ 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 ''"): @@ -398,7 +367,6 @@ 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( @@ -407,7 +375,6 @@ 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( @@ -420,7 +387,6 @@ 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( @@ -435,7 +401,6 @@ 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 ''"): @@ -450,7 +415,6 @@ 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( @@ -459,7 +423,6 @@ 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( @@ -472,7 +435,6 @@ 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( @@ -487,7 +449,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -502,7 +463,6 @@ 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( @@ -512,7 +472,6 @@ 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( @@ -523,7 +482,6 @@ 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( @@ -537,7 +495,6 @@ 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( @@ -553,7 +510,6 @@ 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 0bb10895bed..ae09e9bb676 100644 --- a/tests/api_resources/dcv_delegation/test_uuid.py +++ b/tests/api_resources/dcv_delegation/test_uuid.py @@ -17,7 +17,6 @@ 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( @@ -25,7 +24,6 @@ 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( @@ -37,7 +35,6 @@ 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( @@ -51,7 +48,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -63,7 +59,6 @@ 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( @@ -71,7 +66,6 @@ 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( @@ -83,7 +77,6 @@ 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( @@ -97,7 +90,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 748aa9cc8d5..930de49727f 100644 --- a/tests/api_resources/diagnostics/test_traceroutes.py +++ b/tests/api_resources/diagnostics/test_traceroutes.py @@ -17,7 +17,6 @@ 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( @@ -26,7 +25,6 @@ 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( @@ -43,7 +41,6 @@ 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( @@ -56,7 +53,6 @@ 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( @@ -71,7 +67,6 @@ 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,7 +79,6 @@ 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( @@ -93,7 +87,6 @@ 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( @@ -110,7 +103,6 @@ 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( @@ -123,7 +115,6 @@ 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( @@ -138,7 +129,6 @@ 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 759ac8524ba..73408198645 100644 --- a/tests/api_resources/dns/analytics/reports/test_bytimes.py +++ b/tests/api_resources/dns/analytics/reports/test_bytimes.py @@ -18,7 +18,6 @@ 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( @@ -26,7 +25,6 @@ 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( @@ -42,7 +40,6 @@ 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( @@ -54,7 +51,6 @@ 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( @@ -68,7 +64,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -80,7 +75,6 @@ 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( @@ -88,7 +82,6 @@ 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( @@ -104,7 +97,6 @@ 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( @@ -116,7 +108,6 @@ 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( @@ -130,7 +121,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 e91585a73ec..89dae97959c 100644 --- a/tests/api_resources/dns/analytics/test_reports.py +++ b/tests/api_resources/dns/analytics/test_reports.py @@ -18,7 +18,6 @@ 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( @@ -26,7 +25,6 @@ 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( @@ -41,7 +39,6 @@ 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( @@ -53,7 +50,6 @@ 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( @@ -67,7 +63,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -79,7 +74,6 @@ 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( @@ -87,7 +81,6 @@ 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( @@ -102,7 +95,6 @@ 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( @@ -114,7 +106,6 @@ 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( @@ -128,7 +119,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ba39224909a..0aa48692e20 100644 --- a/tests/api_resources/dns/firewall/analytics/reports/test_bytimes.py +++ b/tests/api_resources/dns/firewall/analytics/reports/test_bytimes.py @@ -18,7 +18,6 @@ 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( @@ -27,7 +26,6 @@ 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( @@ -44,7 +42,6 @@ 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( @@ -57,7 +54,6 @@ 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( @@ -72,7 +68,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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,7 +86,6 @@ 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( @@ -100,7 +94,6 @@ 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( @@ -117,7 +110,6 @@ 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( @@ -130,7 +122,6 @@ 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( @@ -145,7 +136,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 32369b249a7..985ac0d448f 100644 --- a/tests/api_resources/dns/firewall/analytics/test_reports.py +++ b/tests/api_resources/dns/firewall/analytics/test_reports.py @@ -18,7 +18,6 @@ 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( @@ -27,7 +26,6 @@ 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( @@ -43,7 +41,6 @@ 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( @@ -56,7 +53,6 @@ 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( @@ -71,7 +67,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -90,7 +85,6 @@ 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( @@ -99,7 +93,6 @@ 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( @@ -115,7 +108,6 @@ 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( @@ -128,7 +120,6 @@ 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( @@ -143,7 +134,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 e8f10dc1fae..a7c127954f1 100644 --- a/tests/api_resources/dns/test_firewall.py +++ b/tests/api_resources/dns/test_firewall.py @@ -21,7 +21,6 @@ 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( @@ -31,7 +30,6 @@ 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( @@ -52,7 +50,6 @@ 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( @@ -66,7 +63,6 @@ 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( @@ -82,7 +78,6 @@ 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 ''"): @@ -92,7 +87,6 @@ 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( @@ -100,7 +94,6 @@ 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( @@ -110,7 +103,6 @@ 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( @@ -122,7 +114,6 @@ 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( @@ -136,7 +127,6 @@ 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,7 +134,6 @@ 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( @@ -154,7 +143,6 @@ 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( @@ -168,7 +156,6 @@ 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( @@ -184,7 +171,6 @@ 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 ''"): @@ -201,7 +187,6 @@ 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( @@ -217,7 +202,6 @@ 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( @@ -240,7 +224,6 @@ 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( @@ -260,7 +243,6 @@ 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( @@ -282,7 +264,6 @@ 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 ''"): @@ -311,7 +292,6 @@ 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( @@ -320,7 +300,6 @@ 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( @@ -333,7 +312,6 @@ 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( @@ -348,7 +326,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -367,7 +344,6 @@ 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( @@ -377,7 +353,6 @@ 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( @@ -398,7 +373,6 @@ 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( @@ -412,7 +386,6 @@ 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( @@ -428,7 +401,6 @@ 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,7 +410,6 @@ 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( @@ -446,7 +417,6 @@ 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( @@ -456,7 +426,6 @@ 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( @@ -468,7 +437,6 @@ 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( @@ -482,7 +450,6 @@ 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 ''"): @@ -490,7 +457,6 @@ 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( @@ -500,7 +466,6 @@ 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( @@ -514,7 +479,6 @@ 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( @@ -530,7 +494,6 @@ 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 ''"): @@ -547,7 +510,6 @@ 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( @@ -563,7 +525,6 @@ 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( @@ -586,7 +547,6 @@ 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( @@ -606,7 +566,6 @@ 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( @@ -628,7 +587,6 @@ 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 ''"): @@ -657,7 +615,6 @@ 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( @@ -666,7 +623,6 @@ 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( @@ -679,7 +635,6 @@ 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( @@ -694,7 +649,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 2ce8d27f332..5891faf7dfb 100644 --- a/tests/api_resources/dns/test_records.py +++ b/tests/api_resources/dns/test_records.py @@ -23,7 +23,6 @@ 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( @@ -34,7 +33,6 @@ 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( @@ -49,7 +47,6 @@ 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( @@ -64,7 +61,6 @@ 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( @@ -81,7 +77,6 @@ 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 ''"): @@ -92,7 +87,6 @@ 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( @@ -103,7 +97,6 @@ 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( @@ -118,7 +111,6 @@ 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( @@ -133,7 +125,6 @@ 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( @@ -150,7 +141,6 @@ 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 ''"): @@ -161,7 +151,6 @@ 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( @@ -172,7 +161,6 @@ 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( @@ -190,7 +178,6 @@ 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( @@ -205,7 +192,6 @@ 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( @@ -222,7 +208,6 @@ 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 ''"): @@ -233,7 +218,6 @@ 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( @@ -244,7 +228,6 @@ 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( @@ -263,7 +246,6 @@ 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( @@ -278,7 +260,6 @@ 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( @@ -295,7 +276,6 @@ 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 ''"): @@ -306,7 +286,6 @@ 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( @@ -317,7 +296,6 @@ 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( @@ -332,7 +310,6 @@ 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( @@ -347,7 +324,6 @@ 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( @@ -364,7 +340,6 @@ 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 ''"): @@ -375,7 +350,6 @@ 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( @@ -386,7 +360,6 @@ 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( @@ -405,7 +378,6 @@ 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( @@ -420,7 +392,6 @@ 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( @@ -437,7 +408,6 @@ 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 ''"): @@ -448,7 +418,6 @@ 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( @@ -459,7 +428,6 @@ 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( @@ -478,7 +446,6 @@ 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( @@ -493,7 +460,6 @@ 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( @@ -510,7 +476,6 @@ 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 ''"): @@ -521,7 +486,6 @@ 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( @@ -532,7 +496,6 @@ 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( @@ -550,7 +513,6 @@ 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( @@ -565,7 +527,6 @@ 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( @@ -582,7 +543,6 @@ 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 ''"): @@ -593,7 +553,6 @@ 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( @@ -604,7 +563,6 @@ 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( @@ -631,7 +589,6 @@ 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( @@ -646,7 +603,6 @@ 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( @@ -663,7 +619,6 @@ 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 ''"): @@ -674,7 +629,6 @@ 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( @@ -686,7 +640,6 @@ 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( @@ -701,7 +654,6 @@ 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( @@ -717,7 +669,6 @@ 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( @@ -735,7 +686,6 @@ 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 ''"): @@ -747,7 +697,6 @@ 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( @@ -758,7 +707,6 @@ 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( @@ -779,7 +727,6 @@ 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( @@ -794,7 +741,6 @@ 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( @@ -811,7 +757,6 @@ 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 ''"): @@ -822,7 +767,6 @@ 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( @@ -833,7 +777,6 @@ 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( @@ -847,7 +790,6 @@ 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( @@ -862,7 +804,6 @@ 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( @@ -879,7 +820,6 @@ 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 ''"): @@ -890,7 +830,6 @@ 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( @@ -901,7 +840,6 @@ 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( @@ -915,7 +853,6 @@ 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( @@ -930,7 +867,6 @@ 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( @@ -947,7 +883,6 @@ 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 ''"): @@ -958,7 +893,6 @@ 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( @@ -969,7 +903,6 @@ 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( @@ -988,7 +921,6 @@ 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( @@ -1003,7 +935,6 @@ 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( @@ -1020,7 +951,6 @@ 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 ''"): @@ -1031,7 +961,6 @@ 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( @@ -1042,7 +971,6 @@ 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( @@ -1064,7 +992,6 @@ 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( @@ -1079,7 +1006,6 @@ 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( @@ -1096,7 +1022,6 @@ 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 ''"): @@ -1107,7 +1032,6 @@ 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( @@ -1118,7 +1042,6 @@ 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( @@ -1136,7 +1059,6 @@ 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( @@ -1151,7 +1073,6 @@ 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( @@ -1168,7 +1089,6 @@ 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 ''"): @@ -1179,7 +1099,6 @@ 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( @@ -1190,7 +1109,6 @@ 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( @@ -1208,7 +1126,6 @@ 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( @@ -1223,7 +1140,6 @@ 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( @@ -1240,7 +1156,6 @@ 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 ''"): @@ -1251,7 +1166,6 @@ 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( @@ -1262,7 +1176,6 @@ 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( @@ -1281,7 +1194,6 @@ 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( @@ -1296,7 +1208,6 @@ 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( @@ -1313,7 +1224,6 @@ 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 ''"): @@ -1324,7 +1234,6 @@ 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( @@ -1335,7 +1244,6 @@ 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( @@ -1349,7 +1257,6 @@ 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( @@ -1364,7 +1271,6 @@ 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( @@ -1381,7 +1287,6 @@ 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 ''"): @@ -1392,7 +1297,6 @@ 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( @@ -1404,7 +1308,6 @@ 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( @@ -1422,7 +1325,6 @@ 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( @@ -1438,7 +1340,6 @@ 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( @@ -1456,7 +1357,6 @@ 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 ''"): @@ -1468,7 +1368,6 @@ 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( @@ -1480,7 +1379,6 @@ 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( @@ -1496,7 +1394,6 @@ 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( @@ -1512,7 +1409,6 @@ 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( @@ -1530,7 +1426,6 @@ 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 ''"): @@ -1551,7 +1446,6 @@ 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( @@ -1563,7 +1457,6 @@ 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( @@ -1579,7 +1472,6 @@ 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( @@ -1595,7 +1487,6 @@ 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( @@ -1613,7 +1504,6 @@ 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 ''"): @@ -1634,7 +1524,6 @@ 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( @@ -1646,7 +1535,6 @@ 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( @@ -1665,7 +1553,6 @@ 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( @@ -1681,7 +1568,6 @@ 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( @@ -1699,7 +1585,6 @@ 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 ''"): @@ -1720,7 +1605,6 @@ 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( @@ -1732,7 +1616,6 @@ 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( @@ -1752,7 +1635,6 @@ 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( @@ -1768,7 +1650,6 @@ 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( @@ -1786,7 +1667,6 @@ 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 ''"): @@ -1807,7 +1687,6 @@ 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( @@ -1819,7 +1698,6 @@ 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( @@ -1835,7 +1713,6 @@ 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( @@ -1851,7 +1728,6 @@ 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( @@ -1869,7 +1745,6 @@ 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 ''"): @@ -1890,7 +1765,6 @@ 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( @@ -1902,7 +1776,6 @@ 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( @@ -1922,7 +1795,6 @@ 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( @@ -1938,7 +1810,6 @@ 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( @@ -1956,7 +1827,6 @@ 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 ''"): @@ -1977,7 +1847,6 @@ 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( @@ -1989,7 +1858,6 @@ 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( @@ -2009,7 +1877,6 @@ 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( @@ -2025,7 +1892,6 @@ 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( @@ -2043,7 +1909,6 @@ 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 ''"): @@ -2064,7 +1929,6 @@ 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( @@ -2076,7 +1940,6 @@ 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( @@ -2095,7 +1958,6 @@ 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( @@ -2111,7 +1973,6 @@ 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( @@ -2129,7 +1990,6 @@ 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 ''"): @@ -2150,7 +2010,6 @@ 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( @@ -2162,7 +2021,6 @@ 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( @@ -2190,7 +2048,6 @@ 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( @@ -2206,7 +2063,6 @@ 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( @@ -2224,7 +2080,6 @@ 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 ''"): @@ -2245,7 +2100,6 @@ 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( @@ -2258,7 +2112,6 @@ 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( @@ -2274,7 +2127,6 @@ 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( @@ -2291,7 +2143,6 @@ 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( @@ -2310,7 +2161,6 @@ 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 ''"): @@ -2333,7 +2183,6 @@ 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( @@ -2345,7 +2194,6 @@ 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( @@ -2367,7 +2215,6 @@ 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( @@ -2383,7 +2230,6 @@ 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( @@ -2401,7 +2247,6 @@ 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 ''"): @@ -2422,7 +2267,6 @@ 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( @@ -2434,7 +2278,6 @@ 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( @@ -2449,7 +2292,6 @@ 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( @@ -2465,7 +2307,6 @@ 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( @@ -2483,7 +2324,6 @@ 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 ''"): @@ -2504,7 +2344,6 @@ 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( @@ -2516,7 +2355,6 @@ 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( @@ -2531,7 +2369,6 @@ 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( @@ -2547,7 +2384,6 @@ 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( @@ -2565,7 +2401,6 @@ 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 ''"): @@ -2586,7 +2421,6 @@ 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( @@ -2598,7 +2432,6 @@ 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( @@ -2618,7 +2451,6 @@ 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( @@ -2634,7 +2466,6 @@ 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( @@ -2652,7 +2483,6 @@ 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 ''"): @@ -2673,7 +2503,6 @@ 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( @@ -2685,7 +2514,6 @@ 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( @@ -2708,7 +2536,6 @@ 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( @@ -2724,7 +2551,6 @@ 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( @@ -2742,7 +2568,6 @@ 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 ''"): @@ -2763,7 +2588,6 @@ 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( @@ -2775,7 +2599,6 @@ 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( @@ -2794,7 +2617,6 @@ 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( @@ -2810,7 +2632,6 @@ 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( @@ -2828,7 +2649,6 @@ 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 ''"): @@ -2849,7 +2669,6 @@ 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( @@ -2861,7 +2680,6 @@ 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( @@ -2880,7 +2698,6 @@ 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( @@ -2896,7 +2713,6 @@ 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( @@ -2914,7 +2730,6 @@ 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 ''"): @@ -2935,7 +2750,6 @@ 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( @@ -2947,7 +2761,6 @@ 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( @@ -2967,7 +2780,6 @@ 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( @@ -2983,7 +2795,6 @@ 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( @@ -3001,7 +2812,6 @@ 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 ''"): @@ -3022,7 +2832,6 @@ 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( @@ -3034,7 +2843,6 @@ 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( @@ -3049,7 +2857,6 @@ 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( @@ -3065,7 +2872,6 @@ 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( @@ -3083,7 +2889,6 @@ 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 ''"): @@ -3104,7 +2909,6 @@ 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( @@ -3117,7 +2921,6 @@ 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( @@ -3136,7 +2939,6 @@ 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( @@ -3153,7 +2955,6 @@ 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( @@ -3172,7 +2973,6 @@ 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 ''"): @@ -3195,7 +2995,6 @@ 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( @@ -3203,7 +3002,6 @@ 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( @@ -3238,7 +3036,6 @@ 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( @@ -3250,7 +3047,6 @@ 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( @@ -3264,7 +3060,6 @@ 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 ''"): @@ -3272,7 +3067,6 @@ 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( @@ -3282,7 +3076,6 @@ 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( @@ -3296,7 +3089,6 @@ 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( @@ -3312,7 +3104,6 @@ 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 ''"): @@ -3329,7 +3120,6 @@ 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( @@ -3341,7 +3131,6 @@ 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( @@ -3357,7 +3146,6 @@ 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( @@ -3373,7 +3161,6 @@ 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( @@ -3391,7 +3178,6 @@ 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 ''"): @@ -3412,7 +3198,6 @@ 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( @@ -3424,7 +3209,6 @@ 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( @@ -3440,7 +3224,6 @@ 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( @@ -3456,7 +3239,6 @@ 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( @@ -3474,7 +3256,6 @@ 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 ''"): @@ -3495,7 +3276,6 @@ 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( @@ -3507,7 +3287,6 @@ 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( @@ -3526,7 +3305,6 @@ 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( @@ -3542,7 +3320,6 @@ 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( @@ -3560,7 +3337,6 @@ 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 ''"): @@ -3581,7 +3357,6 @@ 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( @@ -3593,7 +3368,6 @@ 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( @@ -3613,7 +3387,6 @@ 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( @@ -3629,7 +3402,6 @@ 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( @@ -3647,7 +3419,6 @@ 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 ''"): @@ -3668,7 +3439,6 @@ 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( @@ -3680,7 +3450,6 @@ 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( @@ -3696,7 +3465,6 @@ 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( @@ -3712,7 +3480,6 @@ 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( @@ -3730,7 +3497,6 @@ 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 ''"): @@ -3751,7 +3517,6 @@ 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( @@ -3763,7 +3528,6 @@ 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( @@ -3783,7 +3547,6 @@ 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( @@ -3799,7 +3562,6 @@ 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( @@ -3817,7 +3579,6 @@ 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 ''"): @@ -3838,7 +3599,6 @@ 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( @@ -3850,7 +3610,6 @@ 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( @@ -3870,7 +3629,6 @@ 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( @@ -3886,7 +3644,6 @@ 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( @@ -3904,7 +3661,6 @@ 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 ''"): @@ -3925,7 +3681,6 @@ 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( @@ -3937,7 +3692,6 @@ 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( @@ -3956,7 +3710,6 @@ 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( @@ -3972,7 +3725,6 @@ 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( @@ -3990,7 +3742,6 @@ 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 ''"): @@ -4011,7 +3762,6 @@ 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( @@ -4023,7 +3773,6 @@ 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( @@ -4051,7 +3800,6 @@ 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( @@ -4067,7 +3815,6 @@ 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( @@ -4085,7 +3832,6 @@ 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 ''"): @@ -4106,7 +3852,6 @@ 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( @@ -4119,7 +3864,6 @@ 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( @@ -4135,7 +3879,6 @@ 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( @@ -4152,7 +3895,6 @@ 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( @@ -4171,7 +3913,6 @@ 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 ''"): @@ -4194,7 +3935,6 @@ 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( @@ -4206,7 +3946,6 @@ 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( @@ -4228,7 +3967,6 @@ 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( @@ -4244,7 +3982,6 @@ 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( @@ -4262,7 +3999,6 @@ 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 ''"): @@ -4283,7 +4019,6 @@ 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( @@ -4295,7 +4030,6 @@ 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( @@ -4310,7 +4044,6 @@ 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( @@ -4326,7 +4059,6 @@ 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( @@ -4344,7 +4076,6 @@ 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 ''"): @@ -4365,7 +4096,6 @@ 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( @@ -4377,7 +4107,6 @@ 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( @@ -4392,7 +4121,6 @@ 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( @@ -4408,7 +4136,6 @@ 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( @@ -4426,7 +4153,6 @@ 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 ''"): @@ -4447,7 +4173,6 @@ 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( @@ -4459,7 +4184,6 @@ 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( @@ -4479,7 +4203,6 @@ 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( @@ -4495,7 +4218,6 @@ 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( @@ -4513,7 +4235,6 @@ 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 ''"): @@ -4534,7 +4255,6 @@ 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( @@ -4546,7 +4266,6 @@ 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( @@ -4569,7 +4288,6 @@ 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( @@ -4585,7 +4303,6 @@ 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( @@ -4603,7 +4320,6 @@ 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 ''"): @@ -4624,7 +4340,6 @@ 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( @@ -4636,7 +4351,6 @@ 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( @@ -4655,7 +4369,6 @@ 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( @@ -4671,7 +4384,6 @@ 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( @@ -4689,7 +4401,6 @@ 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 ''"): @@ -4710,7 +4421,6 @@ 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( @@ -4722,7 +4432,6 @@ 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( @@ -4741,7 +4450,6 @@ 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( @@ -4757,7 +4465,6 @@ 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( @@ -4775,7 +4482,6 @@ 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 ''"): @@ -4796,7 +4502,6 @@ 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( @@ -4808,7 +4513,6 @@ 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( @@ -4828,7 +4532,6 @@ 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( @@ -4844,7 +4547,6 @@ 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( @@ -4862,7 +4564,6 @@ 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 ''"): @@ -4883,7 +4584,6 @@ 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( @@ -4895,7 +4595,6 @@ 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( @@ -4910,7 +4609,6 @@ 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( @@ -4926,7 +4624,6 @@ 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( @@ -4944,7 +4641,6 @@ 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 ''"): @@ -4965,7 +4661,6 @@ 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( @@ -4978,7 +4673,6 @@ 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( @@ -4997,7 +4691,6 @@ 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( @@ -5014,7 +4707,6 @@ 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( @@ -5033,7 +4725,6 @@ 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 ''"): @@ -5056,7 +4747,6 @@ 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( @@ -5064,7 +4754,6 @@ 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( @@ -5076,7 +4765,6 @@ 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( @@ -5090,7 +4778,6 @@ 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 ''"): @@ -5098,7 +4785,6 @@ 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( @@ -5107,7 +4793,6 @@ 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( @@ -5120,7 +4805,6 @@ 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( @@ -5135,7 +4819,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -5150,7 +4833,6 @@ 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_( @@ -5159,7 +4841,6 @@ 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_( @@ -5169,7 +4850,6 @@ 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_( @@ -5182,7 +4862,6 @@ 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_( @@ -5197,7 +4876,6 @@ 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 ''"): @@ -5206,7 +4884,6 @@ 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( @@ -5215,7 +4892,6 @@ 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( @@ -5228,7 +4904,6 @@ 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( @@ -5243,7 +4918,6 @@ 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 ''"): @@ -5256,7 +4930,6 @@ 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( @@ -5267,7 +4940,6 @@ 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( @@ -5282,7 +4954,6 @@ 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( @@ -5297,7 +4968,6 @@ 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( @@ -5314,7 +4984,6 @@ 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 ''"): @@ -5325,7 +4994,6 @@ 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( @@ -5336,7 +5004,6 @@ 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( @@ -5351,7 +5018,6 @@ 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( @@ -5366,7 +5032,6 @@ 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( @@ -5383,7 +5048,6 @@ 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 ''"): @@ -5394,7 +5058,6 @@ 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( @@ -5405,7 +5068,6 @@ 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( @@ -5423,7 +5085,6 @@ 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( @@ -5438,7 +5099,6 @@ 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( @@ -5455,7 +5115,6 @@ 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 ''"): @@ -5466,7 +5125,6 @@ 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( @@ -5477,7 +5135,6 @@ 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( @@ -5496,7 +5153,6 @@ 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( @@ -5511,7 +5167,6 @@ 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( @@ -5528,7 +5183,6 @@ 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 ''"): @@ -5539,7 +5193,6 @@ 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( @@ -5550,7 +5203,6 @@ 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( @@ -5565,7 +5217,6 @@ 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( @@ -5580,7 +5231,6 @@ 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( @@ -5597,7 +5247,6 @@ 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 ''"): @@ -5608,7 +5257,6 @@ 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( @@ -5619,7 +5267,6 @@ 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( @@ -5638,7 +5285,6 @@ 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( @@ -5653,7 +5299,6 @@ 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( @@ -5670,7 +5315,6 @@ 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 ''"): @@ -5681,7 +5325,6 @@ 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( @@ -5692,7 +5335,6 @@ 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( @@ -5711,7 +5353,6 @@ 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( @@ -5726,7 +5367,6 @@ 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( @@ -5743,7 +5383,6 @@ 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 ''"): @@ -5754,7 +5393,6 @@ 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( @@ -5765,7 +5403,6 @@ 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( @@ -5783,7 +5420,6 @@ 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( @@ -5798,7 +5434,6 @@ 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( @@ -5815,7 +5450,6 @@ 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 ''"): @@ -5826,7 +5460,6 @@ 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( @@ -5837,7 +5470,6 @@ 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( @@ -5864,7 +5496,6 @@ 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( @@ -5879,7 +5510,6 @@ 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( @@ -5896,7 +5526,6 @@ 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 ''"): @@ -5907,7 +5536,6 @@ 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( @@ -5919,7 +5547,6 @@ 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( @@ -5934,7 +5561,6 @@ 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( @@ -5950,7 +5576,6 @@ 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( @@ -5968,7 +5593,6 @@ 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 ''"): @@ -5980,7 +5604,6 @@ 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( @@ -5991,7 +5614,6 @@ 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( @@ -6012,7 +5634,6 @@ 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( @@ -6027,7 +5648,6 @@ 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( @@ -6044,7 +5664,6 @@ 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 ''"): @@ -6055,7 +5674,6 @@ 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( @@ -6066,7 +5684,6 @@ 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( @@ -6080,7 +5697,6 @@ 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( @@ -6095,7 +5711,6 @@ 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( @@ -6112,7 +5727,6 @@ 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 ''"): @@ -6123,7 +5737,6 @@ 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( @@ -6134,7 +5747,6 @@ 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( @@ -6148,7 +5760,6 @@ 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( @@ -6163,7 +5774,6 @@ 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( @@ -6180,7 +5790,6 @@ 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 ''"): @@ -6191,7 +5800,6 @@ 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( @@ -6202,7 +5810,6 @@ 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( @@ -6221,7 +5828,6 @@ 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( @@ -6236,7 +5842,6 @@ 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( @@ -6253,7 +5858,6 @@ 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 ''"): @@ -6264,7 +5868,6 @@ 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( @@ -6275,7 +5878,6 @@ 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( @@ -6297,7 +5899,6 @@ 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( @@ -6312,7 +5913,6 @@ 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( @@ -6329,7 +5929,6 @@ 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 ''"): @@ -6340,7 +5939,6 @@ 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( @@ -6351,7 +5949,6 @@ 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( @@ -6369,7 +5966,6 @@ 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( @@ -6384,7 +5980,6 @@ 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( @@ -6401,7 +5996,6 @@ 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 ''"): @@ -6412,7 +6006,6 @@ 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( @@ -6423,7 +6016,6 @@ 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( @@ -6441,7 +6033,6 @@ 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( @@ -6456,7 +6047,6 @@ 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( @@ -6473,7 +6063,6 @@ 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 ''"): @@ -6484,7 +6073,6 @@ 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( @@ -6495,7 +6083,6 @@ 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( @@ -6514,7 +6101,6 @@ 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( @@ -6529,7 +6115,6 @@ 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( @@ -6546,7 +6131,6 @@ 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 ''"): @@ -6557,7 +6141,6 @@ 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( @@ -6568,7 +6151,6 @@ 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( @@ -6582,7 +6164,6 @@ 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( @@ -6597,7 +6178,6 @@ 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( @@ -6614,7 +6194,6 @@ 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 ''"): @@ -6625,7 +6204,6 @@ 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( @@ -6637,7 +6215,6 @@ 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( @@ -6655,7 +6232,6 @@ 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( @@ -6671,7 +6247,6 @@ 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( @@ -6689,7 +6264,6 @@ 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 ''"): @@ -6701,7 +6275,6 @@ 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( @@ -6713,7 +6286,6 @@ 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( @@ -6729,7 +6301,6 @@ 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( @@ -6745,7 +6316,6 @@ 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( @@ -6763,7 +6333,6 @@ 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 ''"): @@ -6784,7 +6353,6 @@ 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( @@ -6796,7 +6364,6 @@ 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( @@ -6812,7 +6379,6 @@ 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( @@ -6828,7 +6394,6 @@ 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( @@ -6846,7 +6411,6 @@ 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 ''"): @@ -6867,7 +6431,6 @@ 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( @@ -6879,7 +6442,6 @@ 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( @@ -6898,7 +6460,6 @@ 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( @@ -6914,7 +6475,6 @@ 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( @@ -6932,7 +6492,6 @@ 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 ''"): @@ -6953,7 +6512,6 @@ 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( @@ -6965,7 +6523,6 @@ 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( @@ -6985,7 +6542,6 @@ 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( @@ -7001,7 +6557,6 @@ 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( @@ -7019,7 +6574,6 @@ 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 ''"): @@ -7040,7 +6594,6 @@ 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( @@ -7052,7 +6605,6 @@ 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( @@ -7068,7 +6620,6 @@ 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( @@ -7084,7 +6635,6 @@ 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( @@ -7102,7 +6652,6 @@ 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 ''"): @@ -7123,7 +6672,6 @@ 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( @@ -7135,7 +6683,6 @@ 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( @@ -7155,7 +6702,6 @@ 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( @@ -7171,7 +6717,6 @@ 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( @@ -7189,7 +6734,6 @@ 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 ''"): @@ -7210,7 +6754,6 @@ 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( @@ -7222,7 +6765,6 @@ 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( @@ -7242,7 +6784,6 @@ 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( @@ -7258,7 +6799,6 @@ 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( @@ -7276,7 +6816,6 @@ 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 ''"): @@ -7297,7 +6836,6 @@ 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( @@ -7309,7 +6847,6 @@ 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( @@ -7328,7 +6865,6 @@ 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( @@ -7344,7 +6880,6 @@ 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( @@ -7362,7 +6897,6 @@ 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 ''"): @@ -7383,7 +6917,6 @@ 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( @@ -7395,7 +6928,6 @@ 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( @@ -7423,7 +6955,6 @@ 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( @@ -7439,7 +6970,6 @@ 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( @@ -7457,7 +6987,6 @@ 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 ''"): @@ -7478,7 +7007,6 @@ 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( @@ -7491,7 +7019,6 @@ 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( @@ -7507,7 +7034,6 @@ 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( @@ -7524,7 +7050,6 @@ 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( @@ -7543,7 +7068,6 @@ 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 ''"): @@ -7566,7 +7090,6 @@ 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( @@ -7578,7 +7101,6 @@ 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( @@ -7600,7 +7122,6 @@ 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( @@ -7616,7 +7137,6 @@ 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( @@ -7634,7 +7154,6 @@ 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 ''"): @@ -7655,7 +7174,6 @@ 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( @@ -7667,7 +7185,6 @@ 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( @@ -7682,7 +7199,6 @@ 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( @@ -7698,7 +7214,6 @@ 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( @@ -7716,7 +7231,6 @@ 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 ''"): @@ -7737,7 +7251,6 @@ 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( @@ -7749,7 +7262,6 @@ 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( @@ -7764,7 +7276,6 @@ 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( @@ -7780,7 +7291,6 @@ 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( @@ -7798,7 +7308,6 @@ 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 ''"): @@ -7819,7 +7328,6 @@ 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( @@ -7831,7 +7339,6 @@ 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( @@ -7851,7 +7358,6 @@ 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( @@ -7867,7 +7373,6 @@ 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( @@ -7885,7 +7390,6 @@ 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 ''"): @@ -7906,7 +7410,6 @@ 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( @@ -7918,7 +7421,6 @@ 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( @@ -7941,7 +7443,6 @@ 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( @@ -7957,7 +7458,6 @@ 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( @@ -7975,7 +7475,6 @@ 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 ''"): @@ -7996,7 +7495,6 @@ 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( @@ -8008,7 +7506,6 @@ 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( @@ -8027,7 +7524,6 @@ 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( @@ -8043,7 +7539,6 @@ 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( @@ -8061,7 +7556,6 @@ 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 ''"): @@ -8082,7 +7576,6 @@ 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( @@ -8094,7 +7587,6 @@ 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( @@ -8113,7 +7605,6 @@ 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( @@ -8129,7 +7620,6 @@ 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( @@ -8147,7 +7637,6 @@ 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 ''"): @@ -8168,7 +7657,6 @@ 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( @@ -8180,7 +7668,6 @@ 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( @@ -8200,7 +7687,6 @@ 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( @@ -8216,7 +7702,6 @@ 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( @@ -8234,7 +7719,6 @@ 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 ''"): @@ -8255,7 +7739,6 @@ 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( @@ -8267,7 +7750,6 @@ 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( @@ -8282,7 +7764,6 @@ 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( @@ -8298,7 +7779,6 @@ 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( @@ -8316,7 +7796,6 @@ 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 ''"): @@ -8337,7 +7816,6 @@ 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( @@ -8350,7 +7828,6 @@ 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( @@ -8369,7 +7846,6 @@ 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( @@ -8386,7 +7862,6 @@ 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( @@ -8405,7 +7880,6 @@ 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 ''"): @@ -8428,7 +7902,6 @@ 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( @@ -8436,7 +7909,6 @@ 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( @@ -8471,7 +7943,6 @@ 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( @@ -8483,7 +7954,6 @@ 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( @@ -8497,7 +7967,6 @@ 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 ''"): @@ -8505,7 +7974,6 @@ 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( @@ -8515,7 +7983,6 @@ 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( @@ -8529,7 +7996,6 @@ 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( @@ -8545,7 +8011,6 @@ 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 ''"): @@ -8562,7 +8027,6 @@ 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( @@ -8574,7 +8038,6 @@ 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( @@ -8590,7 +8053,6 @@ 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( @@ -8606,7 +8068,6 @@ 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( @@ -8624,7 +8085,6 @@ 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 ''"): @@ -8645,7 +8105,6 @@ 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( @@ -8657,7 +8116,6 @@ 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( @@ -8673,7 +8131,6 @@ 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( @@ -8689,7 +8146,6 @@ 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( @@ -8707,7 +8163,6 @@ 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 ''"): @@ -8728,7 +8183,6 @@ 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( @@ -8740,7 +8194,6 @@ 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( @@ -8759,7 +8212,6 @@ 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( @@ -8775,7 +8227,6 @@ 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( @@ -8793,7 +8244,6 @@ 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 ''"): @@ -8814,7 +8264,6 @@ 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( @@ -8826,7 +8275,6 @@ 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( @@ -8846,7 +8294,6 @@ 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( @@ -8862,7 +8309,6 @@ 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( @@ -8880,7 +8326,6 @@ 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 ''"): @@ -8901,7 +8346,6 @@ 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( @@ -8913,7 +8357,6 @@ 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( @@ -8929,7 +8372,6 @@ 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( @@ -8945,7 +8387,6 @@ 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( @@ -8963,7 +8404,6 @@ 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 ''"): @@ -8984,7 +8424,6 @@ 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( @@ -8996,7 +8435,6 @@ 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( @@ -9016,7 +8454,6 @@ 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( @@ -9032,7 +8469,6 @@ 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( @@ -9050,7 +8486,6 @@ 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 ''"): @@ -9071,7 +8506,6 @@ 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( @@ -9083,7 +8517,6 @@ 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( @@ -9103,7 +8536,6 @@ 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( @@ -9119,7 +8551,6 @@ 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( @@ -9137,7 +8568,6 @@ 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 ''"): @@ -9158,7 +8588,6 @@ 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( @@ -9170,7 +8599,6 @@ 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( @@ -9189,7 +8617,6 @@ 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( @@ -9205,7 +8632,6 @@ 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( @@ -9223,7 +8649,6 @@ 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 ''"): @@ -9244,7 +8669,6 @@ 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( @@ -9256,7 +8680,6 @@ 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( @@ -9284,7 +8707,6 @@ 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( @@ -9300,7 +8722,6 @@ 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( @@ -9318,7 +8739,6 @@ 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 ''"): @@ -9339,7 +8759,6 @@ 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( @@ -9352,7 +8771,6 @@ 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( @@ -9368,7 +8786,6 @@ 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( @@ -9385,7 +8802,6 @@ 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( @@ -9404,7 +8820,6 @@ 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 ''"): @@ -9427,7 +8842,6 @@ 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( @@ -9439,7 +8853,6 @@ 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( @@ -9461,7 +8874,6 @@ 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( @@ -9477,7 +8889,6 @@ 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( @@ -9495,7 +8906,6 @@ 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 ''"): @@ -9516,7 +8926,6 @@ 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( @@ -9528,7 +8937,6 @@ 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( @@ -9543,7 +8951,6 @@ 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( @@ -9559,7 +8966,6 @@ 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( @@ -9577,7 +8983,6 @@ 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 ''"): @@ -9598,7 +9003,6 @@ 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( @@ -9610,7 +9014,6 @@ 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( @@ -9625,7 +9028,6 @@ 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( @@ -9641,7 +9043,6 @@ 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( @@ -9659,7 +9060,6 @@ 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 ''"): @@ -9680,7 +9080,6 @@ 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( @@ -9692,7 +9091,6 @@ 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( @@ -9712,7 +9110,6 @@ 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( @@ -9728,7 +9125,6 @@ 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( @@ -9746,7 +9142,6 @@ 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 ''"): @@ -9767,7 +9162,6 @@ 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( @@ -9779,7 +9173,6 @@ 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( @@ -9802,7 +9195,6 @@ 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( @@ -9818,7 +9210,6 @@ 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( @@ -9836,7 +9227,6 @@ 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 ''"): @@ -9857,7 +9247,6 @@ 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( @@ -9869,7 +9258,6 @@ 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( @@ -9888,7 +9276,6 @@ 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( @@ -9904,7 +9291,6 @@ 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( @@ -9922,7 +9308,6 @@ 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 ''"): @@ -9943,7 +9328,6 @@ 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( @@ -9955,7 +9339,6 @@ 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( @@ -9974,7 +9357,6 @@ 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( @@ -9990,7 +9372,6 @@ 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( @@ -10008,7 +9389,6 @@ 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 ''"): @@ -10029,7 +9409,6 @@ 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( @@ -10041,7 +9420,6 @@ 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( @@ -10061,7 +9439,6 @@ 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( @@ -10077,7 +9454,6 @@ 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( @@ -10095,7 +9471,6 @@ 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 ''"): @@ -10116,7 +9491,6 @@ 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( @@ -10128,7 +9502,6 @@ 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( @@ -10143,7 +9516,6 @@ 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( @@ -10159,7 +9531,6 @@ 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( @@ -10177,7 +9548,6 @@ 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 ''"): @@ -10198,7 +9568,6 @@ 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( @@ -10211,7 +9580,6 @@ 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( @@ -10230,7 +9598,6 @@ 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( @@ -10247,7 +9614,6 @@ 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( @@ -10266,7 +9632,6 @@ 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 ''"): @@ -10289,7 +9654,6 @@ 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( @@ -10297,7 +9661,6 @@ 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( @@ -10309,7 +9672,6 @@ 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( @@ -10323,7 +9685,6 @@ 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 ''"): @@ -10331,7 +9692,6 @@ 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( @@ -10340,7 +9700,6 @@ 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( @@ -10353,7 +9712,6 @@ 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( @@ -10368,7 +9726,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -10383,7 +9740,6 @@ 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_( @@ -10392,7 +9748,6 @@ 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_( @@ -10402,7 +9757,6 @@ 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_( @@ -10415,7 +9769,6 @@ 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_( @@ -10430,7 +9783,6 @@ 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 ''"): @@ -10439,7 +9791,6 @@ 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( @@ -10448,7 +9799,6 @@ 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( @@ -10461,7 +9811,6 @@ 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( @@ -10476,7 +9825,6 @@ 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 3273c4e5eda..a68e090542a 100644 --- a/tests/api_resources/durable_objects/namespaces/test_objects.py +++ b/tests/api_resources/durable_objects/namespaces/test_objects.py @@ -18,7 +18,6 @@ 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( @@ -27,7 +26,6 @@ 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( @@ -38,7 +36,6 @@ 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( @@ -51,7 +48,6 @@ 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( @@ -66,7 +62,6 @@ 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 ''"): @@ -85,7 +80,6 @@ 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( @@ -94,7 +88,6 @@ 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( @@ -105,7 +98,6 @@ 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( @@ -118,7 +110,6 @@ 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( @@ -133,7 +124,6 @@ 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 ca9f1d784cc..db836e379cd 100644 --- a/tests/api_resources/durable_objects/test_namespaces.py +++ b/tests/api_resources/durable_objects/test_namespaces.py @@ -18,7 +18,6 @@ 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( @@ -26,7 +25,6 @@ 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( @@ -38,7 +36,6 @@ 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( @@ -52,7 +49,6 @@ 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 ''"): @@ -64,7 +60,6 @@ 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( @@ -72,7 +67,6 @@ 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( @@ -84,7 +78,6 @@ 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( @@ -98,7 +91,6 @@ 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 e0901a6d600..1e50ffb3147 100644 --- a/tests/api_resources/email_routing/rules/test_catch_alls.py +++ b/tests/api_resources/email_routing/rules/test_catch_alls.py @@ -17,7 +17,6 @@ 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( @@ -27,7 +26,6 @@ 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( @@ -64,7 +62,6 @@ 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( @@ -78,7 +75,6 @@ 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( @@ -94,7 +90,6 @@ 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 ''"): @@ -104,7 +99,6 @@ 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( @@ -112,7 +106,6 @@ 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( @@ -124,7 +117,6 @@ 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( @@ -138,7 +130,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -150,7 +141,6 @@ 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( @@ -160,7 +150,6 @@ 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( @@ -197,7 +186,6 @@ 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( @@ -211,7 +199,6 @@ 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( @@ -227,7 +214,6 @@ 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 ''"): @@ -237,7 +223,6 @@ 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( @@ -245,7 +230,6 @@ 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( @@ -257,7 +241,6 @@ 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( @@ -271,7 +254,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 76bbe3c7794..82e7f13e617 100644 --- a/tests/api_resources/email_routing/test_addresses.py +++ b/tests/api_resources/email_routing/test_addresses.py @@ -18,7 +18,6 @@ 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( @@ -27,7 +26,6 @@ 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( @@ -40,7 +38,6 @@ 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( @@ -55,7 +52,6 @@ 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 ''"): @@ -64,7 +60,6 @@ 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( @@ -72,7 +67,6 @@ 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( @@ -84,7 +78,6 @@ 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( @@ -96,7 +89,6 @@ 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( @@ -110,7 +102,6 @@ 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 ''"): @@ -118,7 +109,6 @@ 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( @@ -127,7 +117,6 @@ 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( @@ -140,7 +129,6 @@ 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( @@ -155,7 +143,6 @@ 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 ''"): @@ -172,7 +159,6 @@ 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( @@ -181,7 +167,6 @@ 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( @@ -194,7 +179,6 @@ 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( @@ -209,7 +193,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -230,7 +213,6 @@ 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( @@ -239,7 +221,6 @@ 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( @@ -252,7 +233,6 @@ 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( @@ -267,7 +247,6 @@ 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 ''"): @@ -276,7 +255,6 @@ 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( @@ -284,7 +262,6 @@ 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( @@ -296,7 +273,6 @@ 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( @@ -308,7 +284,6 @@ 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( @@ -322,7 +297,6 @@ 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 ''"): @@ -330,7 +304,6 @@ 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( @@ -339,7 +312,6 @@ 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( @@ -352,7 +324,6 @@ 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( @@ -367,7 +338,6 @@ 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 ''"): @@ -384,7 +354,6 @@ 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( @@ -393,7 +362,6 @@ 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( @@ -406,7 +374,6 @@ 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( @@ -421,7 +388,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 c4831f6464d..0cee3728995 100644 --- a/tests/api_resources/email_routing/test_dns.py +++ b/tests/api_resources/email_routing/test_dns.py @@ -17,7 +17,6 @@ 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( @@ -25,7 +24,6 @@ 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( @@ -37,7 +35,6 @@ 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( @@ -51,7 +48,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -63,7 +59,6 @@ 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( @@ -71,7 +66,6 @@ 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( @@ -83,7 +77,6 @@ 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( @@ -97,7 +90,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 f38bc2e6c60..10e890b4d0e 100644 --- a/tests/api_resources/email_routing/test_rules.py +++ b/tests/api_resources/email_routing/test_rules.py @@ -18,7 +18,6 @@ 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( @@ -69,7 +68,6 @@ 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( @@ -123,7 +121,6 @@ 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( @@ -178,7 +175,6 @@ 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( @@ -235,7 +231,6 @@ 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 ''"): @@ -286,7 +281,6 @@ 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( @@ -338,7 +332,6 @@ 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( @@ -393,7 +386,6 @@ 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( @@ -449,7 +441,6 @@ 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( @@ -507,7 +498,6 @@ 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 ''"): @@ -608,7 +598,6 @@ 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( @@ -616,7 +605,6 @@ 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( @@ -627,7 +615,6 @@ 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( @@ -639,7 +626,6 @@ 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( @@ -653,7 +639,6 @@ 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 ''"): @@ -661,7 +646,6 @@ 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( @@ -670,7 +654,6 @@ 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( @@ -683,7 +666,6 @@ 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( @@ -698,7 +680,6 @@ 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 ''"): @@ -713,7 +694,6 @@ 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( @@ -722,7 +702,6 @@ 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( @@ -735,7 +714,6 @@ 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( @@ -750,7 +728,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -769,7 +746,6 @@ 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( @@ -820,7 +796,6 @@ 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( @@ -874,7 +849,6 @@ 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( @@ -929,7 +903,6 @@ 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( @@ -986,7 +959,6 @@ 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 ''"): @@ -1037,7 +1009,6 @@ 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( @@ -1089,7 +1060,6 @@ 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( @@ -1144,7 +1114,6 @@ 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( @@ -1200,7 +1169,6 @@ 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( @@ -1258,7 +1226,6 @@ 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 ''"): @@ -1359,7 +1326,6 @@ 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( @@ -1367,7 +1333,6 @@ 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( @@ -1378,7 +1343,6 @@ 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( @@ -1390,7 +1354,6 @@ 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( @@ -1404,7 +1367,6 @@ 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 ''"): @@ -1412,7 +1374,6 @@ 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( @@ -1421,7 +1382,6 @@ 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( @@ -1434,7 +1394,6 @@ 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( @@ -1449,7 +1408,6 @@ 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 ''"): @@ -1464,7 +1422,6 @@ 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( @@ -1473,7 +1430,6 @@ 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( @@ -1486,7 +1442,6 @@ 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( @@ -1501,7 +1456,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 86d44184798..a0fd0bc166d 100644 --- a/tests/api_resources/event_notifications/r2/configuration/test_queues.py +++ b/tests/api_resources/event_notifications/r2/configuration/test_queues.py @@ -20,7 +20,6 @@ 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( @@ -30,7 +29,6 @@ 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( @@ -57,7 +55,6 @@ 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( @@ -71,7 +68,6 @@ 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( @@ -87,7 +83,6 @@ 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 ''"): @@ -111,7 +106,6 @@ 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( @@ -121,7 +115,6 @@ 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( @@ -135,7 +128,6 @@ 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( @@ -151,7 +143,6 @@ 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 ''"): @@ -179,7 +170,6 @@ 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( @@ -189,7 +179,6 @@ 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( @@ -216,7 +205,6 @@ 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( @@ -230,7 +218,6 @@ 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( @@ -246,7 +233,6 @@ 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 ''"): @@ -270,7 +256,6 @@ 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( @@ -280,7 +265,6 @@ 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( @@ -294,7 +278,6 @@ 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( @@ -310,7 +293,6 @@ 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 7fb8bfb1965..0b4dd17ff6f 100644 --- a/tests/api_resources/event_notifications/r2/test_configuration.py +++ b/tests/api_resources/event_notifications/r2/test_configuration.py @@ -17,7 +17,6 @@ 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( @@ -26,7 +25,6 @@ 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( @@ -39,7 +37,6 @@ 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( @@ -54,7 +51,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -73,7 +69,6 @@ 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( @@ -82,7 +77,6 @@ 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( @@ -95,7 +89,6 @@ 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( @@ -110,7 +103,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 25d2152c462..538729de64d 100644 --- a/tests/api_resources/firewall/test_access_rules.py +++ b/tests/api_resources/firewall/test_access_rules.py @@ -23,7 +23,6 @@ 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( @@ -34,7 +33,6 @@ 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( @@ -49,7 +47,6 @@ 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( @@ -64,7 +61,6 @@ 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( @@ -81,7 +77,6 @@ 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,7 +95,6 @@ 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( @@ -109,7 +103,6 @@ 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( @@ -135,7 +128,6 @@ 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( @@ -148,7 +140,6 @@ 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( @@ -163,7 +154,6 @@ 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,7 +168,6 @@ 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( @@ -189,7 +178,6 @@ 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( @@ -200,7 +188,6 @@ 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( @@ -215,7 +202,6 @@ 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( @@ -232,7 +218,6 @@ 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 ''"): @@ -251,7 +236,6 @@ 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( @@ -263,7 +247,6 @@ 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( @@ -279,7 +262,6 @@ 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( @@ -295,7 +277,6 @@ 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( @@ -313,7 +294,6 @@ 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 ''"): @@ -334,7 +314,6 @@ 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( @@ -344,7 +323,6 @@ 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( @@ -354,7 +332,6 @@ 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( @@ -368,7 +345,6 @@ 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( @@ -384,7 +360,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -405,7 +380,6 @@ 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( @@ -416,7 +390,6 @@ 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( @@ -431,7 +404,6 @@ 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( @@ -446,7 +418,6 @@ 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( @@ -463,7 +434,6 @@ 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 ''"): @@ -482,7 +452,6 @@ 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( @@ -491,7 +460,6 @@ 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( @@ -517,7 +485,6 @@ 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( @@ -530,7 +497,6 @@ 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( @@ -545,7 +511,6 @@ 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 ''"): @@ -560,7 +525,6 @@ 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( @@ -571,7 +535,6 @@ 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( @@ -582,7 +545,6 @@ 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( @@ -597,7 +559,6 @@ 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( @@ -614,7 +575,6 @@ 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 ''"): @@ -633,7 +593,6 @@ 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( @@ -645,7 +604,6 @@ 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( @@ -661,7 +619,6 @@ 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( @@ -677,7 +634,6 @@ 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( @@ -695,7 +651,6 @@ 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 ''"): @@ -716,7 +671,6 @@ 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( @@ -726,7 +680,6 @@ 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( @@ -736,7 +689,6 @@ 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( @@ -750,7 +702,6 @@ 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( @@ -766,7 +717,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 2295de8f29f..034f57b60e2 100644 --- a/tests/api_resources/firewall/test_lockdowns.py +++ b/tests/api_resources/firewall/test_lockdowns.py @@ -22,7 +22,6 @@ 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( @@ -31,7 +30,6 @@ 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( @@ -44,7 +42,6 @@ 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( @@ -59,7 +56,6 @@ 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 ''"): @@ -68,7 +64,6 @@ 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( @@ -78,7 +73,6 @@ 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( @@ -92,7 +86,6 @@ 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( @@ -108,7 +101,6 @@ 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 ''"): @@ -125,7 +117,6 @@ 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( @@ -133,7 +124,6 @@ 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( @@ -152,7 +142,6 @@ 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( @@ -164,7 +153,6 @@ 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( @@ -178,7 +166,6 @@ 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 ''"): @@ -186,7 +173,6 @@ 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( @@ -196,7 +182,6 @@ 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( @@ -210,7 +195,6 @@ 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( @@ -226,7 +210,6 @@ 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 ''"): @@ -243,7 +226,6 @@ 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( @@ -252,7 +234,6 @@ 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( @@ -265,7 +246,6 @@ 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( @@ -280,7 +260,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -299,7 +278,6 @@ 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( @@ -308,7 +286,6 @@ 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( @@ -321,7 +298,6 @@ 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( @@ -336,7 +312,6 @@ 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 ''"): @@ -345,7 +320,6 @@ 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( @@ -355,7 +329,6 @@ 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( @@ -369,7 +342,6 @@ 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( @@ -385,7 +357,6 @@ 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 ''"): @@ -402,7 +373,6 @@ 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( @@ -410,7 +380,6 @@ 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( @@ -429,7 +398,6 @@ 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( @@ -441,7 +409,6 @@ 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( @@ -455,7 +422,6 @@ 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 ''"): @@ -463,7 +429,6 @@ 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( @@ -473,7 +438,6 @@ 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( @@ -487,7 +451,6 @@ 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( @@ -503,7 +466,6 @@ 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 ''"): @@ -520,7 +482,6 @@ 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( @@ -529,7 +490,6 @@ 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( @@ -542,7 +502,6 @@ 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( @@ -557,7 +516,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 5ac53c629f5..7450e32fb17 100644 --- a/tests/api_resources/firewall/test_rules.py +++ b/tests/api_resources/firewall/test_rules.py @@ -22,7 +22,6 @@ 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( @@ -31,7 +30,6 @@ 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( @@ -44,7 +42,6 @@ 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( @@ -59,7 +56,6 @@ 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 ''"): @@ -68,7 +64,6 @@ 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( @@ -78,7 +73,6 @@ 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( @@ -92,7 +86,6 @@ 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( @@ -108,7 +101,6 @@ 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 ''"): @@ -125,7 +117,6 @@ 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( @@ -133,7 +124,6 @@ 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( @@ -147,7 +137,6 @@ 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( @@ -159,7 +148,6 @@ 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( @@ -173,7 +161,6 @@ 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 ''"): @@ -181,7 +168,6 @@ 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( @@ -190,7 +176,6 @@ 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( @@ -200,7 +185,6 @@ 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( @@ -213,7 +197,6 @@ 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( @@ -228,7 +211,6 @@ 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 ''"): @@ -243,7 +225,6 @@ 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( @@ -253,7 +234,6 @@ 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( @@ -267,7 +247,6 @@ 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( @@ -283,7 +262,6 @@ 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 ''"): @@ -300,7 +278,6 @@ 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( @@ -309,7 +286,6 @@ 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( @@ -319,7 +295,6 @@ 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( @@ -332,7 +307,6 @@ 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( @@ -347,7 +321,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -367,7 +340,6 @@ 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( @@ -376,7 +348,6 @@ 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( @@ -389,7 +360,6 @@ 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( @@ -404,7 +374,6 @@ 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 ''"): @@ -413,7 +382,6 @@ 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( @@ -423,7 +391,6 @@ 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( @@ -437,7 +404,6 @@ 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( @@ -453,7 +419,6 @@ 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 ''"): @@ -470,7 +435,6 @@ 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( @@ -478,7 +442,6 @@ 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( @@ -492,7 +455,6 @@ 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( @@ -504,7 +466,6 @@ 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( @@ -518,7 +479,6 @@ 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 ''"): @@ -526,7 +486,6 @@ 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( @@ -535,7 +494,6 @@ 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( @@ -545,7 +503,6 @@ 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( @@ -558,7 +515,6 @@ 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( @@ -573,7 +529,6 @@ 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 ''"): @@ -588,7 +543,6 @@ 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( @@ -598,7 +552,6 @@ 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( @@ -612,7 +565,6 @@ 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( @@ -628,7 +580,6 @@ 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 ''"): @@ -645,7 +596,6 @@ 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( @@ -654,7 +604,6 @@ 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( @@ -664,7 +613,6 @@ 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( @@ -677,7 +625,6 @@ 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( @@ -692,7 +639,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ab5a374f1c4..fa070a6a0fc 100644 --- a/tests/api_resources/firewall/test_ua_rules.py +++ b/tests/api_resources/firewall/test_ua_rules.py @@ -24,7 +24,6 @@ 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( @@ -33,7 +32,6 @@ 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( @@ -46,7 +44,6 @@ 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( @@ -61,7 +58,6 @@ 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 ''"): @@ -70,7 +66,6 @@ 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( @@ -80,7 +75,6 @@ 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( @@ -94,7 +88,6 @@ 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( @@ -110,7 +103,6 @@ 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 ''"): @@ -127,7 +119,6 @@ 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( @@ -135,7 +126,6 @@ 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( @@ -148,7 +138,6 @@ 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( @@ -160,7 +149,6 @@ 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( @@ -174,7 +162,6 @@ 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 ''"): @@ -182,7 +169,6 @@ 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( @@ -192,7 +178,6 @@ 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( @@ -206,7 +191,6 @@ 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( @@ -222,7 +206,6 @@ 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 ''"): @@ -239,7 +222,6 @@ 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( @@ -248,7 +230,6 @@ 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( @@ -261,7 +242,6 @@ 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( @@ -276,7 +256,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -295,7 +274,6 @@ 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( @@ -304,7 +282,6 @@ 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( @@ -317,7 +294,6 @@ 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( @@ -332,7 +308,6 @@ 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 ''"): @@ -341,7 +316,6 @@ 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( @@ -351,7 +325,6 @@ 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( @@ -365,7 +338,6 @@ 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( @@ -381,7 +353,6 @@ 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 ''"): @@ -398,7 +369,6 @@ 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( @@ -406,7 +376,6 @@ 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( @@ -419,7 +388,6 @@ 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( @@ -431,7 +399,6 @@ 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( @@ -445,7 +412,6 @@ 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 ''"): @@ -453,7 +419,6 @@ 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( @@ -463,7 +428,6 @@ 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( @@ -477,7 +441,6 @@ 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( @@ -493,7 +456,6 @@ 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 ''"): @@ -510,7 +472,6 @@ 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( @@ -519,7 +480,6 @@ 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( @@ -532,7 +492,6 @@ 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( @@ -547,7 +506,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 9fc8f82f467..b07aff7ed9d 100644 --- a/tests/api_resources/firewall/waf/packages/test_groups.py +++ b/tests/api_resources/firewall/waf/packages/test_groups.py @@ -22,7 +22,6 @@ 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( @@ -31,7 +30,6 @@ 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( @@ -48,7 +46,6 @@ 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( @@ -61,7 +58,6 @@ 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( @@ -76,7 +72,6 @@ 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 ''"): @@ -91,7 +86,6 @@ 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( @@ -101,7 +95,6 @@ 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( @@ -112,7 +105,6 @@ 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( @@ -126,7 +118,6 @@ 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( @@ -142,7 +133,6 @@ 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 ''"): @@ -166,7 +156,6 @@ 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( @@ -176,7 +165,6 @@ 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( @@ -190,7 +178,6 @@ 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( @@ -206,7 +193,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -234,7 +220,6 @@ 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( @@ -243,7 +228,6 @@ 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( @@ -260,7 +244,6 @@ 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( @@ -273,7 +256,6 @@ 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( @@ -288,7 +270,6 @@ 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 ''"): @@ -303,7 +284,6 @@ 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( @@ -313,7 +293,6 @@ 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( @@ -324,7 +303,6 @@ 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( @@ -338,7 +316,6 @@ 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( @@ -354,7 +331,6 @@ 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,7 +354,6 @@ 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( @@ -388,7 +363,6 @@ 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( @@ -402,7 +376,6 @@ 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( @@ -418,7 +391,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 772dd3a3128..5936030bd50 100644 --- a/tests/api_resources/firewall/waf/packages/test_rules.py +++ b/tests/api_resources/firewall/waf/packages/test_rules.py @@ -22,7 +22,6 @@ 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( @@ -31,7 +30,6 @@ 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( @@ -49,7 +47,6 @@ 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( @@ -62,7 +59,6 @@ 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( @@ -77,7 +73,6 @@ 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 ''"): @@ -92,7 +87,6 @@ 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( @@ -102,7 +96,6 @@ 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( @@ -113,7 +106,6 @@ 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( @@ -127,7 +119,6 @@ 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( @@ -143,7 +134,6 @@ 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 ''"): @@ -167,7 +157,6 @@ 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( @@ -177,7 +166,6 @@ 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( @@ -191,7 +179,6 @@ 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( @@ -207,7 +194,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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,7 +221,6 @@ 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( @@ -244,7 +229,6 @@ 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( @@ -262,7 +246,6 @@ 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( @@ -275,7 +258,6 @@ 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( @@ -290,7 +272,6 @@ 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 ''"): @@ -305,7 +286,6 @@ 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( @@ -315,7 +295,6 @@ 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( @@ -326,7 +305,6 @@ 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( @@ -340,7 +318,6 @@ 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( @@ -356,7 +333,6 @@ 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 ''"): @@ -380,7 +356,6 @@ 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( @@ -390,7 +365,6 @@ 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( @@ -404,7 +378,6 @@ 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( @@ -420,7 +393,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 b27cefd5f67..f61245c5547 100644 --- a/tests/api_resources/firewall/waf/test_overrides.py +++ b/tests/api_resources/firewall/waf/test_overrides.py @@ -21,7 +21,6 @@ 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( @@ -30,7 +29,6 @@ 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( @@ -43,7 +41,6 @@ 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( @@ -58,7 +55,6 @@ 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 ''"): @@ -67,7 +63,6 @@ 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( @@ -77,7 +72,6 @@ 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( @@ -91,7 +85,6 @@ 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( @@ -107,7 +100,6 @@ 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 ''"): @@ -124,7 +116,6 @@ 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( @@ -132,7 +123,6 @@ 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( @@ -142,7 +132,6 @@ 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( @@ -154,7 +143,6 @@ 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( @@ -168,7 +156,6 @@ 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 ''"): @@ -176,7 +163,6 @@ 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( @@ -186,7 +172,6 @@ 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( @@ -200,7 +185,6 @@ 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( @@ -216,7 +200,6 @@ 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 ''"): @@ -233,7 +216,6 @@ 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( @@ -242,7 +224,6 @@ 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( @@ -255,7 +236,6 @@ 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( @@ -270,7 +250,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -289,7 +268,6 @@ 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( @@ -298,7 +276,6 @@ 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( @@ -311,7 +288,6 @@ 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( @@ -326,7 +302,6 @@ 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 ''"): @@ -335,7 +310,6 @@ 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( @@ -345,7 +319,6 @@ 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( @@ -359,7 +332,6 @@ 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( @@ -375,7 +347,6 @@ 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 ''"): @@ -392,7 +363,6 @@ 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( @@ -400,7 +370,6 @@ 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( @@ -410,7 +379,6 @@ 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( @@ -422,7 +390,6 @@ 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( @@ -436,7 +403,6 @@ 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 ''"): @@ -444,7 +410,6 @@ 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( @@ -454,7 +419,6 @@ 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( @@ -468,7 +432,6 @@ 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( @@ -484,7 +447,6 @@ 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 ''"): @@ -501,7 +463,6 @@ 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( @@ -510,7 +471,6 @@ 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( @@ -523,7 +483,6 @@ 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( @@ -538,7 +497,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 405a42b1221..359d94ee651 100644 --- a/tests/api_resources/firewall/waf/test_packages.py +++ b/tests/api_resources/firewall/waf/test_packages.py @@ -18,7 +18,6 @@ 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( @@ -26,7 +25,6 @@ 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( @@ -40,7 +38,6 @@ 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( @@ -52,7 +49,6 @@ 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( @@ -66,7 +62,6 @@ 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 ''"): @@ -74,7 +69,6 @@ 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( @@ -83,7 +77,6 @@ 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( @@ -96,7 +89,6 @@ 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( @@ -111,7 +103,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -130,7 +121,6 @@ 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( @@ -138,7 +128,6 @@ 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( @@ -152,7 +141,6 @@ 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( @@ -164,7 +152,6 @@ 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( @@ -178,7 +165,6 @@ 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 ''"): @@ -186,7 +172,6 @@ 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( @@ -195,7 +180,6 @@ 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( @@ -208,7 +192,6 @@ 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( @@ -223,7 +206,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 a5eba5e0e78..dcc7f298665 100644 --- a/tests/api_resources/healthchecks/test_previews.py +++ b/tests/api_resources/healthchecks/test_previews.py @@ -20,7 +20,6 @@ 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( @@ -30,7 +29,6 @@ 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( @@ -66,7 +64,6 @@ 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( @@ -80,7 +77,6 @@ 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( @@ -96,7 +92,6 @@ 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 ''"): @@ -106,7 +101,6 @@ 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( @@ -116,7 +110,6 @@ 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( @@ -130,7 +123,6 @@ 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( @@ -146,7 +138,6 @@ 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 ''"): @@ -163,7 +154,6 @@ 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( @@ -172,7 +162,6 @@ 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( @@ -185,7 +174,6 @@ 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( @@ -200,7 +188,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -219,7 +206,6 @@ 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( @@ -229,7 +215,6 @@ 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( @@ -265,7 +250,6 @@ 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( @@ -279,7 +263,6 @@ 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( @@ -295,7 +278,6 @@ 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 ''"): @@ -305,7 +287,6 @@ 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( @@ -315,7 +296,6 @@ 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( @@ -329,7 +309,6 @@ 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( @@ -345,7 +324,6 @@ 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 ''"): @@ -362,7 +340,6 @@ 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( @@ -371,7 +348,6 @@ 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( @@ -384,7 +360,6 @@ 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( @@ -399,7 +374,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 889e06e7b7e..b320eb82130 100644 --- a/tests/api_resources/hostnames/settings/test_tls.py +++ b/tests/api_resources/hostnames/settings/test_tls.py @@ -21,7 +21,6 @@ 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( @@ -32,7 +31,6 @@ 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( @@ -47,7 +45,6 @@ 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( @@ -64,7 +61,6 @@ 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 ''"): @@ -83,7 +79,6 @@ 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( @@ -93,7 +88,6 @@ 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( @@ -107,7 +101,6 @@ 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( @@ -123,7 +116,6 @@ 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 ''"): @@ -140,7 +132,6 @@ 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( @@ -149,7 +140,6 @@ 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( @@ -162,7 +152,6 @@ 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( @@ -177,7 +166,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -190,7 +178,6 @@ 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( @@ -201,7 +188,6 @@ 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( @@ -216,7 +202,6 @@ 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( @@ -233,7 +218,6 @@ 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 ''"): @@ -252,7 +236,6 @@ 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( @@ -262,7 +245,6 @@ 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( @@ -276,7 +258,6 @@ 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( @@ -292,7 +273,6 @@ 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 ''"): @@ -309,7 +289,6 @@ 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( @@ -318,7 +297,6 @@ 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( @@ -331,7 +309,6 @@ 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( @@ -346,7 +323,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 1170bd21c14..467f6021b2a 100644 --- a/tests/api_resources/hyperdrive/test_configs.py +++ b/tests/api_resources/hyperdrive/test_configs.py @@ -21,7 +21,6 @@ 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( @@ -37,7 +36,6 @@ 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( @@ -58,7 +56,6 @@ 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( @@ -78,7 +75,6 @@ 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( @@ -100,7 +96,6 @@ 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 ''"): @@ -116,7 +111,6 @@ 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( @@ -133,7 +127,6 @@ 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( @@ -155,7 +148,6 @@ 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( @@ -176,7 +168,6 @@ 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( @@ -199,7 +190,6 @@ 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 ''"): @@ -230,7 +220,6 @@ 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( @@ -238,7 +227,6 @@ 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( @@ -250,7 +238,6 @@ 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( @@ -264,7 +251,6 @@ 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 ''"): @@ -272,7 +258,6 @@ 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( @@ -281,7 +266,6 @@ 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( @@ -294,7 +278,6 @@ 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( @@ -309,7 +292,6 @@ 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 ''"): @@ -324,7 +306,6 @@ 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( @@ -333,7 +314,6 @@ 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( @@ -355,7 +335,6 @@ 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( @@ -368,7 +347,6 @@ 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( @@ -383,7 +361,6 @@ 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 ''"): @@ -398,7 +375,6 @@ 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( @@ -407,7 +383,6 @@ 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( @@ -420,7 +395,6 @@ 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( @@ -435,7 +409,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -454,7 +427,6 @@ 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( @@ -470,7 +442,6 @@ 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( @@ -491,7 +462,6 @@ 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( @@ -511,7 +481,6 @@ 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( @@ -533,7 +502,6 @@ 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 ''"): @@ -549,7 +517,6 @@ 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( @@ -566,7 +533,6 @@ 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( @@ -588,7 +554,6 @@ 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( @@ -609,7 +574,6 @@ 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( @@ -632,7 +596,6 @@ 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 ''"): @@ -663,7 +626,6 @@ 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( @@ -671,7 +633,6 @@ 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( @@ -683,7 +644,6 @@ 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( @@ -697,7 +657,6 @@ 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 ''"): @@ -705,7 +664,6 @@ 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( @@ -714,7 +672,6 @@ 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( @@ -727,7 +684,6 @@ 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( @@ -742,7 +698,6 @@ 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 ''"): @@ -757,7 +712,6 @@ 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( @@ -766,7 +720,6 @@ 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( @@ -788,7 +741,6 @@ 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( @@ -801,7 +753,6 @@ 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( @@ -816,7 +767,6 @@ 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 ''"): @@ -831,7 +781,6 @@ 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( @@ -840,7 +789,6 @@ 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( @@ -853,7 +801,6 @@ 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( @@ -868,7 +815,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 dd02d217f8d..0c862f870b1 100644 --- a/tests/api_resources/images/test_v1.py +++ b/tests/api_resources/images/test_v1.py @@ -22,7 +22,6 @@ 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( @@ -30,7 +29,6 @@ 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( @@ -42,7 +40,6 @@ 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( @@ -54,7 +51,6 @@ 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( @@ -68,7 +64,6 @@ 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,7 +71,6 @@ 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( @@ -84,7 +78,6 @@ 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( @@ -94,7 +87,6 @@ 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( @@ -106,7 +98,6 @@ 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( @@ -120,7 +111,6 @@ 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 ''"): @@ -128,7 +118,6 @@ 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( @@ -138,7 +127,6 @@ 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( @@ -152,7 +140,6 @@ 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( @@ -168,7 +155,6 @@ 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 ''"): @@ -185,7 +171,6 @@ 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( @@ -194,7 +179,6 @@ 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( @@ -205,7 +189,6 @@ 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( @@ -218,7 +201,6 @@ 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( @@ -233,7 +215,6 @@ 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,7 +229,6 @@ 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( @@ -257,7 +237,6 @@ 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( @@ -270,7 +249,6 @@ 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( @@ -285,7 +263,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -304,7 +281,6 @@ 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( @@ -312,7 +288,6 @@ 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( @@ -324,7 +299,6 @@ 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( @@ -336,7 +310,6 @@ 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( @@ -350,7 +323,6 @@ 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 ''"): @@ -358,7 +330,6 @@ 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( @@ -366,7 +337,6 @@ 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( @@ -376,7 +346,6 @@ 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( @@ -388,7 +357,6 @@ 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( @@ -402,7 +370,6 @@ 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,7 +377,6 @@ 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( @@ -420,7 +386,6 @@ 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( @@ -434,7 +399,6 @@ 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( @@ -450,7 +414,6 @@ 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 ''"): @@ -467,7 +430,6 @@ 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( @@ -476,7 +438,6 @@ 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( @@ -487,7 +448,6 @@ 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( @@ -500,7 +460,6 @@ 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( @@ -515,7 +474,6 @@ 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 ''"): @@ -530,7 +488,6 @@ 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( @@ -539,7 +496,6 @@ 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( @@ -552,7 +508,6 @@ 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( @@ -567,7 +522,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 b40c7c1b94a..52527ae66ae 100644 --- a/tests/api_resources/images/test_v2.py +++ b/tests/api_resources/images/test_v2.py @@ -17,7 +17,6 @@ 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( @@ -25,7 +24,6 @@ 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( @@ -36,7 +34,6 @@ 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( @@ -48,7 +45,6 @@ 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( @@ -62,7 +58,6 @@ 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 ''"): @@ -74,7 +69,6 @@ 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( @@ -82,7 +76,6 @@ 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( @@ -93,7 +86,6 @@ 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( @@ -105,7 +97,6 @@ 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( @@ -119,7 +110,6 @@ 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 51341b70d65..e9573fc5000 100644 --- a/tests/api_resources/images/v1/test_blobs.py +++ b/tests/api_resources/images/v1/test_blobs.py @@ -23,7 +23,6 @@ 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: @@ -39,7 +38,6 @@ 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: @@ -57,7 +55,6 @@ 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: @@ -77,7 +74,6 @@ 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: @@ -97,7 +93,6 @@ 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: @@ -113,7 +108,6 @@ 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: @@ -131,7 +125,6 @@ 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: @@ -151,7 +144,6 @@ 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 42691cb49b0..570044e7b4f 100644 --- a/tests/api_resources/images/v1/test_keys.py +++ b/tests/api_resources/images/v1/test_keys.py @@ -17,7 +17,6 @@ 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( @@ -26,7 +25,6 @@ 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( @@ -39,7 +37,6 @@ 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( @@ -54,7 +51,6 @@ 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 ''"): @@ -69,7 +65,6 @@ 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( @@ -77,7 +72,6 @@ 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( @@ -89,7 +83,6 @@ 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( @@ -103,7 +96,6 @@ 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,7 +103,6 @@ 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( @@ -120,7 +111,6 @@ 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( @@ -133,7 +123,6 @@ 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( @@ -148,7 +137,6 @@ 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,7 +155,6 @@ 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( @@ -176,7 +163,6 @@ 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( @@ -189,7 +175,6 @@ 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( @@ -204,7 +189,6 @@ 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 ''"): @@ -219,7 +203,6 @@ 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( @@ -227,7 +210,6 @@ 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( @@ -239,7 +221,6 @@ 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( @@ -253,7 +234,6 @@ 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 ''"): @@ -261,7 +241,6 @@ 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( @@ -270,7 +249,6 @@ 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( @@ -283,7 +261,6 @@ 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( @@ -298,7 +275,6 @@ 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 d2ea3b07cbb..ba44e332bc2 100644 --- a/tests/api_resources/images/v1/test_stats.py +++ b/tests/api_resources/images/v1/test_stats.py @@ -17,7 +17,6 @@ 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( @@ -25,7 +24,6 @@ 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( @@ -37,7 +35,6 @@ 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( @@ -51,7 +48,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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,7 +59,6 @@ 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( @@ -71,7 +66,6 @@ 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( @@ -83,7 +77,6 @@ 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( @@ -97,7 +90,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 7cf913e80f6..6869a0e4188 100644 --- a/tests/api_resources/images/v1/test_variants.py +++ b/tests/api_resources/images/v1/test_variants.py @@ -23,7 +23,6 @@ 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( @@ -38,7 +37,6 @@ 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( @@ -54,7 +52,6 @@ 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( @@ -73,7 +70,6 @@ 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( @@ -94,7 +90,6 @@ 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,7 +104,6 @@ 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( @@ -117,7 +111,6 @@ 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( @@ -129,7 +122,6 @@ 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( @@ -143,7 +135,6 @@ 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 ''"): @@ -151,7 +142,6 @@ 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( @@ -161,7 +151,6 @@ 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( @@ -175,7 +164,6 @@ 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( @@ -191,7 +179,6 @@ 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 ''"): @@ -208,7 +195,6 @@ 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( @@ -223,7 +209,6 @@ 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( @@ -239,7 +224,6 @@ 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( @@ -258,7 +242,6 @@ 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( @@ -279,7 +262,6 @@ 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 ''"): @@ -306,7 +288,6 @@ 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( @@ -315,7 +296,6 @@ 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( @@ -328,7 +308,6 @@ 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( @@ -343,7 +322,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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,7 +340,6 @@ 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( @@ -377,7 +354,6 @@ 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( @@ -393,7 +369,6 @@ 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( @@ -412,7 +387,6 @@ 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( @@ -433,7 +407,6 @@ 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 ''"): @@ -448,7 +421,6 @@ 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( @@ -456,7 +428,6 @@ 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( @@ -468,7 +439,6 @@ 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( @@ -482,7 +452,6 @@ 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 ''"): @@ -490,7 +459,6 @@ 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( @@ -500,7 +468,6 @@ 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( @@ -514,7 +481,6 @@ 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( @@ -530,7 +496,6 @@ 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 ''"): @@ -547,7 +512,6 @@ 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( @@ -562,7 +526,6 @@ 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( @@ -578,7 +541,6 @@ 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( @@ -597,7 +559,6 @@ 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( @@ -618,7 +579,6 @@ 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 ''"): @@ -645,7 +605,6 @@ 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( @@ -654,7 +613,6 @@ 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( @@ -667,7 +625,6 @@ 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( @@ -682,7 +639,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 a9ed5cc45d6..b525d932285 100644 --- a/tests/api_resources/images/v2/test_direct_uploads.py +++ b/tests/api_resources/images/v2/test_direct_uploads.py @@ -18,7 +18,6 @@ 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( @@ -26,7 +25,6 @@ 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( @@ -38,7 +36,6 @@ 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( @@ -50,7 +47,6 @@ 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( @@ -64,7 +60,6 @@ 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,7 +71,6 @@ 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( @@ -84,7 +78,6 @@ 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( @@ -96,7 +89,6 @@ 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( @@ -108,7 +100,6 @@ 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( @@ -122,7 +113,6 @@ 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 3014e7984ef..b231532262f 100644 --- a/tests/api_resources/intel/asn/test_subnets.py +++ b/tests/api_resources/intel/asn/test_subnets.py @@ -17,7 +17,6 @@ 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( @@ -26,7 +25,6 @@ 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( @@ -39,7 +37,6 @@ 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( @@ -54,7 +51,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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,7 +63,6 @@ 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( @@ -76,7 +71,6 @@ 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( @@ -89,7 +83,6 @@ 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( @@ -104,7 +97,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 1274cb4c67d..904b3db245f 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,7 +17,6 @@ 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( @@ -25,7 +24,6 @@ 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( @@ -37,7 +35,6 @@ 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( @@ -51,7 +48,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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,7 +59,6 @@ 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( @@ -71,7 +66,6 @@ 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( @@ -83,7 +77,6 @@ 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( @@ -97,7 +90,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 31bd421e533..7f46dae5dca 100644 --- a/tests/api_resources/intel/attack_surface_report/test_issues.py +++ b/tests/api_resources/intel/attack_surface_report/test_issues.py @@ -24,7 +24,6 @@ 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( @@ -32,7 +31,6 @@ 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( @@ -53,7 +51,6 @@ 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( @@ -65,7 +62,6 @@ 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( @@ -79,7 +75,6 @@ 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 ''"): @@ -87,7 +82,6 @@ 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_( @@ -95,7 +89,6 @@ 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_( @@ -114,7 +107,6 @@ 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_( @@ -126,7 +118,6 @@ 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_( @@ -140,7 +131,6 @@ 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 ''"): @@ -148,7 +138,6 @@ 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( @@ -157,7 +146,6 @@ 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( @@ -167,7 +155,6 @@ 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( @@ -180,7 +167,6 @@ 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( @@ -195,7 +181,6 @@ 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 ''"): @@ -210,7 +195,6 @@ 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( @@ -218,7 +202,6 @@ 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( @@ -237,7 +220,6 @@ 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( @@ -249,7 +231,6 @@ 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( @@ -263,7 +244,6 @@ 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 ''"): @@ -271,7 +251,6 @@ 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( @@ -279,7 +258,6 @@ 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( @@ -298,7 +276,6 @@ 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( @@ -310,7 +287,6 @@ 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( @@ -324,7 +300,6 @@ 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 ''"): @@ -336,7 +311,6 @@ 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( @@ -344,7 +318,6 @@ 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( @@ -365,7 +338,6 @@ 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( @@ -377,7 +349,6 @@ 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( @@ -391,7 +362,6 @@ 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 ''"): @@ -399,7 +369,6 @@ 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_( @@ -407,7 +376,6 @@ 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_( @@ -426,7 +394,6 @@ 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_( @@ -438,7 +405,6 @@ 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_( @@ -452,7 +418,6 @@ 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 ''"): @@ -460,7 +425,6 @@ 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( @@ -469,7 +433,6 @@ 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( @@ -479,7 +442,6 @@ 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( @@ -492,7 +454,6 @@ 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( @@ -507,7 +468,6 @@ 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 ''"): @@ -522,7 +482,6 @@ 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( @@ -530,7 +489,6 @@ 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( @@ -549,7 +507,6 @@ 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( @@ -561,7 +518,6 @@ 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( @@ -575,7 +531,6 @@ 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 ''"): @@ -583,7 +538,6 @@ 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( @@ -591,7 +545,6 @@ 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( @@ -610,7 +563,6 @@ 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( @@ -622,7 +574,6 @@ 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( @@ -636,7 +587,6 @@ 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 10054a63d1c..0a1c1828bc7 100644 --- a/tests/api_resources/intel/domains/test_bulks.py +++ b/tests/api_resources/intel/domains/test_bulks.py @@ -17,7 +17,6 @@ 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( @@ -25,7 +24,6 @@ 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( @@ -34,7 +32,6 @@ 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( @@ -46,7 +43,6 @@ 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( @@ -60,7 +56,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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,7 +67,6 @@ 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( @@ -80,7 +74,6 @@ 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( @@ -89,7 +82,6 @@ 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( @@ -101,7 +93,6 @@ 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( @@ -115,7 +106,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 f7da59f2cda..5e89ce038e2 100644 --- a/tests/api_resources/intel/indicator_feeds/test_permissions.py +++ b/tests/api_resources/intel/indicator_feeds/test_permissions.py @@ -21,7 +21,6 @@ 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( @@ -29,7 +28,6 @@ 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( @@ -39,7 +37,6 @@ 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( @@ -51,7 +48,6 @@ 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( @@ -65,7 +61,6 @@ 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,7 +68,6 @@ 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( @@ -81,7 +75,6 @@ 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( @@ -93,7 +86,6 @@ 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( @@ -107,7 +99,6 @@ 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,7 +106,6 @@ 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( @@ -123,7 +113,6 @@ 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( @@ -133,7 +122,6 @@ 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( @@ -145,7 +133,6 @@ 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( @@ -159,7 +146,6 @@ 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,7 +157,6 @@ 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( @@ -179,7 +164,6 @@ 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( @@ -189,7 +173,6 @@ 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( @@ -201,7 +184,6 @@ 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( @@ -215,7 +197,6 @@ 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 ''"): @@ -223,7 +204,6 @@ 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( @@ -231,7 +211,6 @@ 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( @@ -243,7 +222,6 @@ 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( @@ -257,7 +235,6 @@ 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 ''"): @@ -265,7 +242,6 @@ 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( @@ -273,7 +249,6 @@ 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( @@ -283,7 +258,6 @@ 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( @@ -295,7 +269,6 @@ 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( @@ -309,7 +282,6 @@ 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 b2c1b70f746..cf60e9ff9cb 100644 --- a/tests/api_resources/intel/test_asn.py +++ b/tests/api_resources/intel/test_asn.py @@ -17,7 +17,6 @@ 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( @@ -26,7 +25,6 @@ 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( @@ -39,7 +37,6 @@ 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( @@ -54,7 +51,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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,7 +63,6 @@ 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( @@ -76,7 +71,6 @@ 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( @@ -89,7 +83,6 @@ 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( @@ -104,7 +97,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 0c916acc860..4e95dc2891a 100644 --- a/tests/api_resources/intel/test_dns.py +++ b/tests/api_resources/intel/test_dns.py @@ -19,7 +19,6 @@ 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( @@ -27,7 +26,6 @@ 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( @@ -42,7 +40,6 @@ 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( @@ -54,7 +51,6 @@ 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( @@ -68,7 +64,6 @@ 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,7 +75,6 @@ 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( @@ -88,7 +82,6 @@ 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( @@ -103,7 +96,6 @@ 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( @@ -115,7 +107,6 @@ 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( @@ -129,7 +120,6 @@ 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 811ded0a843..75926dc919d 100644 --- a/tests/api_resources/intel/test_domain_history.py +++ b/tests/api_resources/intel/test_domain_history.py @@ -17,7 +17,6 @@ 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( @@ -25,7 +24,6 @@ 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( @@ -34,7 +32,6 @@ 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( @@ -46,7 +43,6 @@ 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( @@ -60,7 +56,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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,7 +67,6 @@ 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( @@ -80,7 +74,6 @@ 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( @@ -89,7 +82,6 @@ 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( @@ -101,7 +93,6 @@ 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( @@ -115,7 +106,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ccf650a3380..8a5a65a6699 100644 --- a/tests/api_resources/intel/test_domains.py +++ b/tests/api_resources/intel/test_domains.py @@ -17,7 +17,6 @@ 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( @@ -25,7 +24,6 @@ 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( @@ -34,7 +32,6 @@ 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( @@ -46,7 +43,6 @@ 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( @@ -60,7 +56,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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,7 +67,6 @@ 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( @@ -80,7 +74,6 @@ 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( @@ -89,7 +82,6 @@ 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( @@ -101,7 +93,6 @@ 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( @@ -115,7 +106,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 956f15c0233..b80247f01f6 100644 --- a/tests/api_resources/intel/test_indicator_feeds.py +++ b/tests/api_resources/intel/test_indicator_feeds.py @@ -23,7 +23,6 @@ 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( @@ -31,7 +30,6 @@ 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( @@ -41,7 +39,6 @@ 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( @@ -53,7 +50,6 @@ 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( @@ -67,7 +63,6 @@ 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,7 +70,6 @@ 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( @@ -84,7 +78,6 @@ 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( @@ -94,7 +87,6 @@ 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( @@ -107,7 +99,6 @@ 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( @@ -122,7 +113,6 @@ 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 ''"): @@ -131,7 +121,6 @@ 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( @@ -139,7 +128,6 @@ 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( @@ -151,7 +139,6 @@ 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( @@ -165,7 +152,6 @@ 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 ''"): @@ -173,7 +159,6 @@ 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( @@ -182,7 +167,6 @@ 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( @@ -195,7 +179,6 @@ 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( @@ -210,7 +193,6 @@ 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 ''"): @@ -219,7 +201,6 @@ 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( @@ -228,7 +209,6 @@ 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( @@ -241,7 +221,6 @@ 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( @@ -256,7 +235,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -269,7 +247,6 @@ 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( @@ -277,7 +254,6 @@ 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( @@ -287,7 +263,6 @@ 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( @@ -299,7 +274,6 @@ 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( @@ -313,7 +287,6 @@ 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 ''"): @@ -321,7 +294,6 @@ 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( @@ -330,7 +302,6 @@ 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( @@ -340,7 +311,6 @@ 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( @@ -353,7 +323,6 @@ 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( @@ -368,7 +337,6 @@ 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 ''"): @@ -377,7 +345,6 @@ 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( @@ -385,7 +352,6 @@ 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( @@ -397,7 +363,6 @@ 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( @@ -411,7 +376,6 @@ 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 ''"): @@ -419,7 +383,6 @@ 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( @@ -428,7 +391,6 @@ 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( @@ -441,7 +403,6 @@ 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( @@ -456,7 +417,6 @@ 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 ''"): @@ -465,7 +425,6 @@ 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( @@ -474,7 +433,6 @@ 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( @@ -487,7 +445,6 @@ 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( @@ -502,7 +459,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 2adbe284b62..afb47b13e8c 100644 --- a/tests/api_resources/intel/test_ip_lists.py +++ b/tests/api_resources/intel/test_ip_lists.py @@ -17,7 +17,6 @@ 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( @@ -25,7 +24,6 @@ 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( @@ -37,7 +35,6 @@ 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( @@ -51,7 +48,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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,7 +59,6 @@ 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( @@ -71,7 +66,6 @@ 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( @@ -83,7 +77,6 @@ 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( @@ -97,7 +90,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 8956bb8c5fa..56721abdf3a 100644 --- a/tests/api_resources/intel/test_ips.py +++ b/tests/api_resources/intel/test_ips.py @@ -17,7 +17,6 @@ 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( @@ -25,7 +24,6 @@ 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( @@ -35,7 +33,6 @@ 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( @@ -47,7 +44,6 @@ 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( @@ -61,7 +57,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -73,7 +68,6 @@ 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( @@ -81,7 +75,6 @@ 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( @@ -91,7 +84,6 @@ 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( @@ -103,7 +95,6 @@ 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( @@ -117,7 +108,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 8231ba952c5..9e5d6b8786f 100644 --- a/tests/api_resources/intel/test_miscategorizations.py +++ b/tests/api_resources/intel/test_miscategorizations.py @@ -17,7 +17,6 @@ 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( @@ -25,7 +24,6 @@ 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( @@ -40,7 +38,6 @@ 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( @@ -52,7 +49,6 @@ 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( @@ -66,7 +62,6 @@ 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,7 +73,6 @@ 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( @@ -86,7 +80,6 @@ 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( @@ -101,7 +94,6 @@ 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( @@ -113,7 +105,6 @@ 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( @@ -127,7 +118,6 @@ 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 9c3ac5abb15..5e9b3dda069 100644 --- a/tests/api_resources/intel/test_sinkholes.py +++ b/tests/api_resources/intel/test_sinkholes.py @@ -18,7 +18,6 @@ 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( @@ -26,7 +25,6 @@ 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( @@ -38,7 +36,6 @@ 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( @@ -52,7 +49,6 @@ 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 ''"): @@ -64,7 +60,6 @@ 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( @@ -72,7 +67,6 @@ 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( @@ -84,7 +78,6 @@ 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( @@ -98,7 +91,6 @@ 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 5f42548c43b..d9d603dfc23 100644 --- a/tests/api_resources/intel/test_whois.py +++ b/tests/api_resources/intel/test_whois.py @@ -17,7 +17,6 @@ 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( @@ -25,7 +24,6 @@ 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( @@ -34,7 +32,6 @@ 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( @@ -46,7 +43,6 @@ 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( @@ -60,7 +56,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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,7 +67,6 @@ 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( @@ -80,7 +74,6 @@ 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( @@ -89,7 +82,6 @@ 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( @@ -101,7 +93,6 @@ 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( @@ -115,7 +106,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 50d6d3c6d99..10b717f25ec 100644 --- a/tests/api_resources/kv/namespaces/test_bulk.py +++ b/tests/api_resources/kv/namespaces/test_bulk.py @@ -20,7 +20,6 @@ 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( @@ -30,7 +29,6 @@ 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( @@ -44,7 +42,6 @@ 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( @@ -60,7 +57,6 @@ 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,7 +73,6 @@ 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( @@ -87,7 +82,6 @@ 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( @@ -101,7 +95,6 @@ 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( @@ -117,7 +110,6 @@ 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 ''"): @@ -138,7 +130,6 @@ 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( @@ -148,7 +139,6 @@ 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( @@ -162,7 +152,6 @@ 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( @@ -178,7 +167,6 @@ 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,7 +183,6 @@ 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( @@ -205,7 +192,6 @@ 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( @@ -219,7 +205,6 @@ 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( @@ -235,7 +220,6 @@ 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 36b5cad82c6..26c09a1f9b5 100644 --- a/tests/api_resources/kv/namespaces/test_keys.py +++ b/tests/api_resources/kv/namespaces/test_keys.py @@ -18,7 +18,6 @@ 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( @@ -27,7 +26,6 @@ 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( @@ -39,7 +37,6 @@ 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( @@ -52,7 +49,6 @@ 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( @@ -67,7 +63,6 @@ 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 ''"): @@ -86,7 +81,6 @@ 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( @@ -95,7 +89,6 @@ 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( @@ -107,7 +100,6 @@ 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( @@ -120,7 +112,6 @@ 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( @@ -135,7 +126,6 @@ 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 f7fbd01bdd5..e7f40bbb7bd 100644 --- a/tests/api_resources/kv/namespaces/test_metadata.py +++ b/tests/api_resources/kv/namespaces/test_metadata.py @@ -16,7 +16,6 @@ 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( @@ -26,7 +25,6 @@ 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( @@ -40,7 +38,6 @@ 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( @@ -56,7 +53,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -84,7 +80,6 @@ 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( @@ -94,7 +89,6 @@ 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( @@ -108,7 +102,6 @@ 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( @@ -124,7 +117,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 9003443b5e9..c561484b270 100644 --- a/tests/api_resources/kv/namespaces/test_values.py +++ b/tests/api_resources/kv/namespaces/test_values.py @@ -20,7 +20,6 @@ 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( @@ -32,7 +31,6 @@ 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( @@ -48,7 +46,6 @@ 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( @@ -66,7 +63,6 @@ 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 ''"): @@ -96,7 +92,6 @@ 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( @@ -107,7 +102,6 @@ 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( @@ -122,7 +116,6 @@ 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( @@ -139,7 +132,6 @@ 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 ''"): @@ -166,7 +158,6 @@ 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( @@ -176,7 +167,6 @@ 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( @@ -190,7 +180,6 @@ 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( @@ -206,7 +195,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -234,7 +222,6 @@ 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( @@ -246,7 +233,6 @@ 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( @@ -262,7 +248,6 @@ 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( @@ -280,7 +265,6 @@ 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 ''"): @@ -310,7 +294,6 @@ 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( @@ -321,7 +304,6 @@ 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( @@ -336,7 +318,6 @@ 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( @@ -353,7 +334,6 @@ 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 ''"): @@ -380,7 +360,6 @@ 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( @@ -390,7 +369,6 @@ 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( @@ -404,7 +382,6 @@ 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( @@ -420,7 +397,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 2a4369f39d8..f864f77cac8 100644 --- a/tests/api_resources/kv/test_namespaces.py +++ b/tests/api_resources/kv/test_namespaces.py @@ -22,7 +22,6 @@ 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( @@ -31,7 +30,6 @@ 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( @@ -44,7 +42,6 @@ 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( @@ -59,7 +56,6 @@ 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,7 +64,6 @@ 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( @@ -78,7 +73,6 @@ 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( @@ -92,7 +86,6 @@ 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( @@ -108,7 +101,6 @@ 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 ''"): @@ -125,7 +117,6 @@ 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( @@ -133,7 +124,6 @@ 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( @@ -145,7 +135,6 @@ 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( @@ -157,7 +146,6 @@ 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( @@ -171,7 +159,6 @@ 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 ''"): @@ -179,7 +166,6 @@ 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( @@ -189,7 +175,6 @@ 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( @@ -203,7 +188,6 @@ 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( @@ -219,7 +203,6 @@ 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 ''"): @@ -240,7 +223,6 @@ 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( @@ -249,7 +231,6 @@ 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( @@ -262,7 +243,6 @@ 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( @@ -277,7 +257,6 @@ 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 ''"): @@ -286,7 +265,6 @@ 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( @@ -296,7 +274,6 @@ 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( @@ -310,7 +287,6 @@ 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( @@ -326,7 +302,6 @@ 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 ''"): @@ -343,7 +318,6 @@ 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( @@ -351,7 +325,6 @@ 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( @@ -363,7 +336,6 @@ 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( @@ -375,7 +347,6 @@ 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( @@ -389,7 +360,6 @@ 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 ''"): @@ -397,7 +367,6 @@ 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( @@ -407,7 +376,6 @@ 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( @@ -421,7 +389,6 @@ 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( @@ -437,7 +404,6 @@ 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 791b255f075..71a61ec7d40 100644 --- a/tests/api_resources/load_balancers/monitors/test_previews.py +++ b/tests/api_resources/load_balancers/monitors/test_previews.py @@ -17,7 +17,6 @@ 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( @@ -27,7 +26,6 @@ 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( @@ -55,7 +53,6 @@ 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( @@ -69,7 +66,6 @@ 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( @@ -85,7 +81,6 @@ 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 ''"): @@ -106,7 +101,6 @@ 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( @@ -116,7 +110,6 @@ 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( @@ -144,7 +137,6 @@ 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( @@ -158,7 +150,6 @@ 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( @@ -174,7 +165,6 @@ 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 ac893043fec..a31063f687e 100644 --- a/tests/api_resources/load_balancers/monitors/test_references.py +++ b/tests/api_resources/load_balancers/monitors/test_references.py @@ -17,7 +17,6 @@ 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( @@ -26,7 +25,6 @@ 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( @@ -39,7 +37,6 @@ 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( @@ -54,7 +51,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -73,7 +69,6 @@ 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( @@ -82,7 +77,6 @@ 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( @@ -95,7 +89,6 @@ 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( @@ -110,7 +103,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 13c1108bf5d..6c9b62dcdea 100644 --- a/tests/api_resources/load_balancers/pools/test_health.py +++ b/tests/api_resources/load_balancers/pools/test_health.py @@ -17,7 +17,6 @@ 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( @@ -27,7 +26,6 @@ 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( @@ -55,7 +53,6 @@ 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( @@ -69,7 +66,6 @@ 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( @@ -85,7 +81,6 @@ 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,7 +97,6 @@ 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( @@ -111,7 +105,6 @@ 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( @@ -124,7 +117,6 @@ 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( @@ -139,7 +131,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -158,7 +149,6 @@ 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( @@ -168,7 +158,6 @@ 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( @@ -196,7 +185,6 @@ 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( @@ -210,7 +198,6 @@ 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( @@ -226,7 +213,6 @@ 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 ''"): @@ -243,7 +229,6 @@ 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( @@ -252,7 +237,6 @@ 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( @@ -265,7 +249,6 @@ 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( @@ -280,7 +263,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 723f890e4e7..409be7228ac 100644 --- a/tests/api_resources/load_balancers/pools/test_references.py +++ b/tests/api_resources/load_balancers/pools/test_references.py @@ -17,7 +17,6 @@ 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( @@ -26,7 +25,6 @@ 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( @@ -39,7 +37,6 @@ 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( @@ -54,7 +51,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -73,7 +69,6 @@ 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( @@ -82,7 +77,6 @@ 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( @@ -95,7 +89,6 @@ 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( @@ -110,7 +103,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 1fc1f757124..a017368cc07 100644 --- a/tests/api_resources/load_balancers/test_monitors.py +++ b/tests/api_resources/load_balancers/test_monitors.py @@ -21,7 +21,6 @@ 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( @@ -30,7 +29,6 @@ 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( @@ -57,7 +55,6 @@ 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( @@ -70,7 +67,6 @@ 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( @@ -85,7 +81,6 @@ 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 ''"): @@ -94,7 +89,6 @@ 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( @@ -104,7 +98,6 @@ 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( @@ -132,7 +125,6 @@ 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( @@ -146,7 +138,6 @@ 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( @@ -162,7 +153,6 @@ 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 ''"): @@ -179,7 +169,6 @@ 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( @@ -187,7 +176,6 @@ 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( @@ -199,7 +187,6 @@ 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( @@ -213,7 +200,6 @@ 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 ''"): @@ -221,7 +207,6 @@ 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( @@ -231,7 +216,6 @@ 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( @@ -245,7 +229,6 @@ 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( @@ -261,7 +244,6 @@ 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 ''"): @@ -278,7 +260,6 @@ 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( @@ -288,7 +269,6 @@ 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( @@ -316,7 +296,6 @@ 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( @@ -330,7 +309,6 @@ 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( @@ -346,7 +324,6 @@ 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 ''"): @@ -363,7 +340,6 @@ 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( @@ -372,7 +348,6 @@ 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( @@ -385,7 +360,6 @@ 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( @@ -400,7 +374,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -419,7 +392,6 @@ 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( @@ -428,7 +400,6 @@ 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( @@ -455,7 +426,6 @@ 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( @@ -468,7 +438,6 @@ 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( @@ -483,7 +452,6 @@ 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 ''"): @@ -492,7 +460,6 @@ 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( @@ -502,7 +469,6 @@ 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( @@ -530,7 +496,6 @@ 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( @@ -544,7 +509,6 @@ 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( @@ -560,7 +524,6 @@ 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 ''"): @@ -577,7 +540,6 @@ 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( @@ -585,7 +547,6 @@ 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( @@ -597,7 +558,6 @@ 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( @@ -611,7 +571,6 @@ 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 ''"): @@ -619,7 +578,6 @@ 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( @@ -629,7 +587,6 @@ 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( @@ -643,7 +600,6 @@ 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( @@ -659,7 +615,6 @@ 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,7 +631,6 @@ 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( @@ -686,7 +640,6 @@ 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( @@ -714,7 +667,6 @@ 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( @@ -728,7 +680,6 @@ 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( @@ -744,7 +695,6 @@ 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 ''"): @@ -761,7 +711,6 @@ 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( @@ -770,7 +719,6 @@ 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( @@ -783,7 +731,6 @@ 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( @@ -798,7 +745,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 da5c771f17b..cf90b3a64d8 100644 --- a/tests/api_resources/load_balancers/test_pools.py +++ b/tests/api_resources/load_balancers/test_pools.py @@ -21,7 +21,6 @@ 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( @@ -31,7 +30,6 @@ 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( @@ -90,7 +88,6 @@ 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( @@ -104,7 +101,6 @@ 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( @@ -120,7 +116,6 @@ 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 ''"): @@ -130,7 +125,6 @@ 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( @@ -141,7 +135,6 @@ 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( @@ -202,7 +195,6 @@ 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( @@ -217,7 +209,6 @@ 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( @@ -234,7 +225,6 @@ 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 ''"): @@ -253,7 +243,6 @@ 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( @@ -261,7 +250,6 @@ 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( @@ -270,7 +258,6 @@ 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( @@ -282,7 +269,6 @@ 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( @@ -296,7 +282,6 @@ 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 ''"): @@ -304,7 +289,6 @@ 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( @@ -314,7 +298,6 @@ 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( @@ -328,7 +311,6 @@ 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( @@ -344,7 +326,6 @@ 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 ''"): @@ -361,7 +342,6 @@ 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( @@ -370,7 +350,6 @@ 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( @@ -431,7 +410,6 @@ 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( @@ -444,7 +422,6 @@ 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( @@ -459,7 +436,6 @@ 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 ''"): @@ -474,7 +450,6 @@ 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( @@ -483,7 +458,6 @@ 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( @@ -496,7 +470,6 @@ 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( @@ -511,7 +484,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -530,7 +502,6 @@ 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( @@ -540,7 +511,6 @@ 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( @@ -599,7 +569,6 @@ 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( @@ -613,7 +582,6 @@ 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( @@ -629,7 +597,6 @@ 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 ''"): @@ -639,7 +606,6 @@ 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( @@ -650,7 +616,6 @@ 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( @@ -711,7 +676,6 @@ 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( @@ -726,7 +690,6 @@ 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( @@ -743,7 +706,6 @@ 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 ''"): @@ -762,7 +724,6 @@ 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( @@ -770,7 +731,6 @@ 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( @@ -779,7 +739,6 @@ 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( @@ -791,7 +750,6 @@ 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( @@ -805,7 +763,6 @@ 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 ''"): @@ -813,7 +770,6 @@ 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( @@ -823,7 +779,6 @@ 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( @@ -837,7 +792,6 @@ 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( @@ -853,7 +807,6 @@ 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 ''"): @@ -870,7 +823,6 @@ 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( @@ -879,7 +831,6 @@ 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( @@ -940,7 +891,6 @@ 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( @@ -953,7 +903,6 @@ 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( @@ -968,7 +917,6 @@ 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 ''"): @@ -983,7 +931,6 @@ 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( @@ -992,7 +939,6 @@ 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( @@ -1005,7 +951,6 @@ 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( @@ -1020,7 +965,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 588ab766d4a..62da37e0c52 100644 --- a/tests/api_resources/load_balancers/test_previews.py +++ b/tests/api_resources/load_balancers/test_previews.py @@ -17,7 +17,6 @@ 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( @@ -26,7 +25,6 @@ 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( @@ -39,7 +37,6 @@ 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( @@ -54,7 +51,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -73,7 +69,6 @@ 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( @@ -82,7 +77,6 @@ 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( @@ -95,7 +89,6 @@ 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( @@ -110,7 +103,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ae7e7b8f3d4..34d882330a0 100644 --- a/tests/api_resources/load_balancers/test_regions.py +++ b/tests/api_resources/load_balancers/test_regions.py @@ -17,7 +17,6 @@ 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( @@ -25,7 +24,6 @@ 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( @@ -36,7 +34,6 @@ 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( @@ -48,7 +45,6 @@ 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( @@ -62,7 +58,6 @@ 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,7 +65,6 @@ 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( @@ -79,7 +73,6 @@ 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( @@ -92,7 +85,6 @@ 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( @@ -107,7 +99,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -120,7 +111,6 @@ 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( @@ -128,7 +118,6 @@ 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( @@ -139,7 +128,6 @@ 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( @@ -151,7 +139,6 @@ 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( @@ -165,7 +152,6 @@ 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 ''"): @@ -173,7 +159,6 @@ 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( @@ -182,7 +167,6 @@ 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( @@ -195,7 +179,6 @@ 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( @@ -210,7 +193,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 22949e8c586..46e8c9df231 100644 --- a/tests/api_resources/load_balancers/test_searches.py +++ b/tests/api_resources/load_balancers/test_searches.py @@ -17,7 +17,6 @@ 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( @@ -25,7 +24,6 @@ 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( @@ -39,7 +37,6 @@ 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( @@ -51,7 +48,6 @@ 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( @@ -65,7 +61,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -77,7 +72,6 @@ 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( @@ -85,7 +79,6 @@ 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( @@ -99,7 +92,6 @@ 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( @@ -111,7 +103,6 @@ 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( @@ -125,7 +116,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 cd6ac1cc813..46fe9a88285 100644 --- a/tests/api_resources/logpush/datasets/test_fields.py +++ b/tests/api_resources/logpush/datasets/test_fields.py @@ -16,7 +16,6 @@ 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( @@ -26,7 +25,6 @@ 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( @@ -36,7 +34,6 @@ 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( @@ -50,7 +47,6 @@ 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( @@ -66,7 +62,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -94,7 +89,6 @@ 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( @@ -104,7 +98,6 @@ 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( @@ -114,7 +107,6 @@ 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( @@ -128,7 +120,6 @@ 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( @@ -144,7 +135,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 d15c3873dd5..f9277714e0a 100644 --- a/tests/api_resources/logpush/datasets/test_jobs.py +++ b/tests/api_resources/logpush/datasets/test_jobs.py @@ -17,7 +17,6 @@ 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( @@ -27,7 +26,6 @@ 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( @@ -37,7 +35,6 @@ 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( @@ -51,7 +48,6 @@ 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( @@ -67,7 +63,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -95,7 +90,6 @@ 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( @@ -105,7 +99,6 @@ 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( @@ -115,7 +108,6 @@ 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( @@ -129,7 +121,6 @@ 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( @@ -145,7 +136,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 b1bdf576c70..850a8a4cb57 100644 --- a/tests/api_resources/logpush/test_edge.py +++ b/tests/api_resources/logpush/test_edge.py @@ -17,7 +17,6 @@ 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( @@ -25,7 +24,6 @@ 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( @@ -36,7 +34,6 @@ 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( @@ -48,7 +45,6 @@ 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( @@ -62,7 +58,6 @@ 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 ''"): @@ -70,7 +65,6 @@ 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( @@ -78,7 +72,6 @@ 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( @@ -90,7 +83,6 @@ 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( @@ -104,7 +96,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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,7 +107,6 @@ 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( @@ -124,7 +114,6 @@ 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( @@ -135,7 +124,6 @@ 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( @@ -147,7 +135,6 @@ 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( @@ -161,7 +148,6 @@ 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 ''"): @@ -169,7 +155,6 @@ 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( @@ -177,7 +162,6 @@ 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( @@ -189,7 +173,6 @@ 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( @@ -203,7 +186,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 00c5ac7f89a..fa6560418d5 100644 --- a/tests/api_resources/logpush/test_jobs.py +++ b/tests/api_resources/logpush/test_jobs.py @@ -18,7 +18,6 @@ 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( @@ -28,7 +27,6 @@ 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( @@ -58,7 +56,6 @@ 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( @@ -72,7 +69,6 @@ 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( @@ -88,7 +84,6 @@ 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 ''"): @@ -105,7 +100,6 @@ 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( @@ -115,7 +109,6 @@ 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( @@ -144,7 +137,6 @@ 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( @@ -158,7 +150,6 @@ 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( @@ -174,7 +165,6 @@ 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 ''"): @@ -191,7 +181,6 @@ 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( @@ -200,7 +189,6 @@ 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( @@ -209,7 +197,6 @@ 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( @@ -222,7 +209,6 @@ 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( @@ -237,7 +223,6 @@ 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 ''"): @@ -252,7 +237,6 @@ 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( @@ -263,7 +247,6 @@ 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( @@ -274,7 +257,6 @@ 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( @@ -289,7 +271,6 @@ 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( @@ -306,7 +287,6 @@ 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 ''"): @@ -325,7 +305,6 @@ 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( @@ -335,7 +314,6 @@ 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( @@ -345,7 +323,6 @@ 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( @@ -359,7 +336,6 @@ 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( @@ -375,7 +351,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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,7 +371,6 @@ 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( @@ -406,7 +380,6 @@ 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( @@ -436,7 +409,6 @@ 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( @@ -450,7 +422,6 @@ 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( @@ -466,7 +437,6 @@ 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 ''"): @@ -483,7 +453,6 @@ 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( @@ -493,7 +462,6 @@ 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( @@ -522,7 +490,6 @@ 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( @@ -536,7 +503,6 @@ 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( @@ -552,7 +518,6 @@ 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 ''"): @@ -569,7 +534,6 @@ 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( @@ -578,7 +542,6 @@ 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( @@ -587,7 +550,6 @@ 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( @@ -600,7 +562,6 @@ 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( @@ -615,7 +576,6 @@ 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 ''"): @@ -630,7 +590,6 @@ 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( @@ -641,7 +600,6 @@ 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( @@ -652,7 +610,6 @@ 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( @@ -667,7 +624,6 @@ 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( @@ -684,7 +640,6 @@ 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 ''"): @@ -703,7 +658,6 @@ 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( @@ -713,7 +667,6 @@ 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( @@ -723,7 +676,6 @@ 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( @@ -737,7 +689,6 @@ 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( @@ -753,7 +704,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 034653393d7..e1cfa59e8e7 100644 --- a/tests/api_resources/logpush/test_ownership.py +++ b/tests/api_resources/logpush/test_ownership.py @@ -20,7 +20,6 @@ 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( @@ -30,7 +29,6 @@ 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( @@ -40,7 +38,6 @@ 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( @@ -54,7 +51,6 @@ 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( @@ -70,7 +66,6 @@ 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,7 +82,6 @@ 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( @@ -98,7 +92,6 @@ 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( @@ -109,7 +102,6 @@ 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( @@ -124,7 +116,6 @@ 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( @@ -141,7 +132,6 @@ 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 ''"): @@ -164,7 +154,6 @@ 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( @@ -174,7 +163,6 @@ 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( @@ -184,7 +172,6 @@ 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( @@ -198,7 +185,6 @@ 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( @@ -214,7 +200,6 @@ 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 ''"): @@ -231,7 +216,6 @@ 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( @@ -242,7 +226,6 @@ 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( @@ -253,7 +236,6 @@ 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( @@ -268,7 +250,6 @@ 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( @@ -285,7 +266,6 @@ 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 c56ba0f660c..d7065791339 100644 --- a/tests/api_resources/logpush/test_validate.py +++ b/tests/api_resources/logpush/test_validate.py @@ -20,7 +20,6 @@ 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( @@ -30,7 +29,6 @@ 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( @@ -40,7 +38,6 @@ 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( @@ -54,7 +51,6 @@ 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( @@ -70,7 +66,6 @@ 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 ''"): @@ -87,7 +82,6 @@ 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( @@ -97,7 +91,6 @@ 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( @@ -107,7 +100,6 @@ 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( @@ -121,7 +113,6 @@ 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( @@ -137,7 +128,6 @@ 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 ''"): @@ -158,7 +148,6 @@ 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( @@ -168,7 +157,6 @@ 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( @@ -178,7 +166,6 @@ 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( @@ -192,7 +179,6 @@ 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( @@ -208,7 +194,6 @@ 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 ''"): @@ -225,7 +210,6 @@ 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( @@ -235,7 +219,6 @@ 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( @@ -245,7 +228,6 @@ 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( @@ -259,7 +241,6 @@ 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( @@ -275,7 +256,6 @@ 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 20b0222ef19..ec097f13612 100644 --- a/tests/api_resources/logs/control/cmb/test_config.py +++ b/tests/api_resources/logs/control/cmb/test_config.py @@ -17,7 +17,6 @@ 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( @@ -25,7 +24,6 @@ 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( @@ -34,7 +32,6 @@ 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( @@ -46,7 +43,6 @@ 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( @@ -60,7 +56,6 @@ 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,7 +63,6 @@ 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( @@ -77,7 +71,6 @@ 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( @@ -90,7 +83,6 @@ 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( @@ -105,7 +97,6 @@ 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 ''"): @@ -114,7 +105,6 @@ 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( @@ -122,7 +112,6 @@ 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( @@ -134,7 +123,6 @@ 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( @@ -148,7 +136,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -160,7 +147,6 @@ 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( @@ -168,7 +154,6 @@ 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( @@ -177,7 +162,6 @@ 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( @@ -189,7 +173,6 @@ 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( @@ -203,7 +186,6 @@ 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 ''"): @@ -211,7 +193,6 @@ 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( @@ -220,7 +201,6 @@ 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( @@ -233,7 +213,6 @@ 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( @@ -248,7 +227,6 @@ 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 ''"): @@ -257,7 +235,6 @@ 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( @@ -265,7 +242,6 @@ 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( @@ -277,7 +253,6 @@ 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( @@ -291,7 +266,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 a6fce61750f..ace95eb0dd9 100644 --- a/tests/api_resources/logs/control/retention/test_flag.py +++ b/tests/api_resources/logs/control/retention/test_flag.py @@ -17,7 +17,6 @@ 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( @@ -26,7 +25,6 @@ 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( @@ -39,7 +37,6 @@ 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( @@ -54,7 +51,6 @@ 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,7 +59,6 @@ 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( @@ -71,7 +66,6 @@ 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( @@ -83,7 +77,6 @@ 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( @@ -97,7 +90,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -109,7 +101,6 @@ 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( @@ -118,7 +109,6 @@ 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( @@ -131,7 +121,6 @@ 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( @@ -146,7 +135,6 @@ 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 ''"): @@ -155,7 +143,6 @@ 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( @@ -163,7 +150,6 @@ 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( @@ -175,7 +161,6 @@ 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( @@ -189,7 +174,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 38a6509bf56..67fa637d050 100644 --- a/tests/api_resources/logs/received/test_fields.py +++ b/tests/api_resources/logs/received/test_fields.py @@ -17,7 +17,6 @@ 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( @@ -25,7 +24,6 @@ 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( @@ -37,7 +35,6 @@ 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( @@ -51,7 +48,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -63,7 +59,6 @@ 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( @@ -71,7 +66,6 @@ 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( @@ -83,7 +77,6 @@ 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( @@ -97,7 +90,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 a5264c4450a..5268b84e977 100644 --- a/tests/api_resources/logs/test_rayid.py +++ b/tests/api_resources/logs/test_rayid.py @@ -17,7 +17,6 @@ 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( @@ -26,7 +25,6 @@ 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( @@ -37,7 +35,6 @@ 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( @@ -50,7 +47,6 @@ 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( @@ -65,7 +61,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -84,7 +79,6 @@ 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( @@ -93,7 +87,6 @@ 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( @@ -104,7 +97,6 @@ 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( @@ -117,7 +109,6 @@ 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( @@ -132,7 +123,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 38002e7e0f9..86effb42fe4 100644 --- a/tests/api_resources/logs/test_received.py +++ b/tests/api_resources/logs/test_received.py @@ -17,7 +17,6 @@ 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( @@ -26,7 +25,6 @@ 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( @@ -40,7 +38,6 @@ 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( @@ -53,7 +50,6 @@ 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( @@ -68,7 +64,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -81,7 +76,6 @@ 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( @@ -90,7 +84,6 @@ 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( @@ -104,7 +97,6 @@ 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( @@ -117,7 +109,6 @@ 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( @@ -132,7 +123,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 27f997aab52..fa2d1efd518 100644 --- a/tests/api_resources/magic_network_monitoring/configs/test_full.py +++ b/tests/api_resources/magic_network_monitoring/configs/test_full.py @@ -17,7 +17,6 @@ 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( @@ -25,7 +24,6 @@ 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( @@ -37,7 +35,6 @@ 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( @@ -51,7 +48,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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,7 +59,6 @@ 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( @@ -71,7 +66,6 @@ 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( @@ -83,7 +77,6 @@ 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( @@ -97,7 +90,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ab20ee89a26..6f0e476a67e 100644 --- a/tests/api_resources/magic_network_monitoring/rules/test_advertisements.py +++ b/tests/api_resources/magic_network_monitoring/rules/test_advertisements.py @@ -17,7 +17,6 @@ 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( @@ -27,7 +26,6 @@ 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( @@ -41,7 +39,6 @@ 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( @@ -57,7 +54,6 @@ 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 ''"): @@ -78,7 +74,6 @@ 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( @@ -88,7 +83,6 @@ 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( @@ -102,7 +96,6 @@ 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( @@ -118,7 +111,6 @@ 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 b576e51b7e6..980b6168208 100644 --- a/tests/api_resources/magic_network_monitoring/test_configs.py +++ b/tests/api_resources/magic_network_monitoring/test_configs.py @@ -19,7 +19,6 @@ 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( @@ -28,7 +27,6 @@ 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( @@ -41,7 +39,6 @@ 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( @@ -56,7 +53,6 @@ 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,7 +61,6 @@ 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( @@ -74,7 +69,6 @@ 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( @@ -87,7 +81,6 @@ 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( @@ -102,7 +95,6 @@ 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 ''"): @@ -111,7 +103,6 @@ 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( @@ -120,7 +111,6 @@ 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( @@ -133,7 +123,6 @@ 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( @@ -148,7 +137,6 @@ 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,7 +145,6 @@ 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( @@ -166,7 +153,6 @@ 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( @@ -179,7 +165,6 @@ 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( @@ -194,7 +179,6 @@ 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 ''"): @@ -203,7 +187,6 @@ 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( @@ -211,7 +194,6 @@ 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( @@ -223,7 +205,6 @@ 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( @@ -237,7 +218,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -249,7 +229,6 @@ 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( @@ -258,7 +237,6 @@ 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( @@ -271,7 +249,6 @@ 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( @@ -286,7 +263,6 @@ 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 ''"): @@ -295,7 +271,6 @@ 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( @@ -304,7 +279,6 @@ 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( @@ -317,7 +291,6 @@ 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( @@ -332,7 +305,6 @@ 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 ''"): @@ -341,7 +313,6 @@ 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( @@ -350,7 +321,6 @@ 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( @@ -363,7 +333,6 @@ 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( @@ -378,7 +347,6 @@ 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 ''"): @@ -387,7 +355,6 @@ 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( @@ -396,7 +363,6 @@ 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( @@ -409,7 +375,6 @@ 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( @@ -424,7 +389,6 @@ 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 ''"): @@ -433,7 +397,6 @@ 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( @@ -441,7 +404,6 @@ 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( @@ -453,7 +415,6 @@ 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( @@ -467,7 +428,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 2d5ba503284..eced0bbf75e 100644 --- a/tests/api_resources/magic_network_monitoring/test_rules.py +++ b/tests/api_resources/magic_network_monitoring/test_rules.py @@ -20,7 +20,6 @@ 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( @@ -29,7 +28,6 @@ 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( @@ -42,7 +40,6 @@ 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( @@ -57,7 +54,6 @@ 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,7 +62,6 @@ 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( @@ -75,7 +70,6 @@ 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( @@ -88,7 +82,6 @@ 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( @@ -103,7 +96,6 @@ 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 ''"): @@ -112,7 +104,6 @@ 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( @@ -120,7 +111,6 @@ 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( @@ -132,7 +122,6 @@ 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( @@ -146,7 +135,6 @@ 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,7 +142,6 @@ 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( @@ -164,7 +151,6 @@ 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( @@ -178,7 +164,6 @@ 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( @@ -194,7 +179,6 @@ 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 ''"): @@ -211,7 +195,6 @@ 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( @@ -221,7 +204,6 @@ 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( @@ -235,7 +217,6 @@ 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( @@ -251,7 +232,6 @@ 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 ''"): @@ -268,7 +248,6 @@ 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( @@ -277,7 +256,6 @@ 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( @@ -290,7 +268,6 @@ 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( @@ -305,7 +282,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -324,7 +300,6 @@ 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( @@ -333,7 +308,6 @@ 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( @@ -346,7 +320,6 @@ 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( @@ -361,7 +334,6 @@ 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 ''"): @@ -370,7 +342,6 @@ 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( @@ -379,7 +350,6 @@ 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( @@ -392,7 +362,6 @@ 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( @@ -407,7 +376,6 @@ 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 ''"): @@ -416,7 +384,6 @@ 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( @@ -424,7 +391,6 @@ 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( @@ -436,7 +402,6 @@ 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( @@ -450,7 +415,6 @@ 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 ''"): @@ -458,7 +422,6 @@ 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( @@ -468,7 +431,6 @@ 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( @@ -482,7 +444,6 @@ 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( @@ -498,7 +459,6 @@ 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 ''"): @@ -515,7 +475,6 @@ 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( @@ -525,7 +484,6 @@ 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( @@ -539,7 +497,6 @@ 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( @@ -555,7 +512,6 @@ 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 ''"): @@ -572,7 +528,6 @@ 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( @@ -581,7 +536,6 @@ 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( @@ -594,7 +548,6 @@ 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( @@ -609,7 +562,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 97709ac7ee2..461198c96f3 100644 --- a/tests/api_resources/magic_transit/sites/test_acls.py +++ b/tests/api_resources/magic_transit/sites/test_acls.py @@ -23,7 +23,6 @@ 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( @@ -32,7 +31,6 @@ 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( @@ -59,7 +57,6 @@ 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( @@ -72,7 +69,6 @@ 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( @@ -87,7 +83,6 @@ 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,7 +97,6 @@ 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( @@ -112,7 +106,6 @@ 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( @@ -140,7 +133,6 @@ 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( @@ -154,7 +146,6 @@ 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( @@ -170,7 +161,6 @@ 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 ''"): @@ -194,7 +184,6 @@ 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( @@ -203,7 +192,6 @@ 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( @@ -216,7 +204,6 @@ 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( @@ -231,7 +218,6 @@ 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 ''"): @@ -246,7 +232,6 @@ 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( @@ -257,7 +242,6 @@ 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( @@ -272,7 +256,6 @@ 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( @@ -289,7 +272,6 @@ 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,7 +298,6 @@ 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( @@ -326,7 +307,6 @@ 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( @@ -340,7 +320,6 @@ 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( @@ -356,7 +335,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -384,7 +362,6 @@ 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( @@ -393,7 +370,6 @@ 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( @@ -420,7 +396,6 @@ 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( @@ -433,7 +408,6 @@ 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( @@ -448,7 +422,6 @@ 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 ''"): @@ -463,7 +436,6 @@ 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( @@ -473,7 +445,6 @@ 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( @@ -501,7 +472,6 @@ 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( @@ -515,7 +485,6 @@ 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( @@ -531,7 +500,6 @@ 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 ''"): @@ -555,7 +523,6 @@ 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( @@ -564,7 +531,6 @@ 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( @@ -577,7 +543,6 @@ 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( @@ -592,7 +557,6 @@ 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 ''"): @@ -607,7 +571,6 @@ 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( @@ -618,7 +581,6 @@ 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( @@ -633,7 +595,6 @@ 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( @@ -650,7 +611,6 @@ 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 ''"): @@ -677,7 +637,6 @@ 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( @@ -687,7 +646,6 @@ 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( @@ -701,7 +659,6 @@ 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( @@ -717,7 +674,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 c32b860414a..00bf85863aa 100644 --- a/tests/api_resources/magic_transit/sites/test_lans.py +++ b/tests/api_resources/magic_transit/sites/test_lans.py @@ -23,7 +23,6 @@ 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( @@ -32,7 +31,6 @@ 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( @@ -80,7 +78,6 @@ 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( @@ -93,7 +90,6 @@ 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( @@ -108,7 +104,6 @@ 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 ''"): @@ -123,7 +118,6 @@ 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( @@ -133,7 +127,6 @@ 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( @@ -181,7 +174,6 @@ 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( @@ -195,7 +187,6 @@ 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( @@ -211,7 +202,6 @@ 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 ''"): @@ -235,7 +225,6 @@ 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( @@ -244,7 +233,6 @@ 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( @@ -257,7 +245,6 @@ 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( @@ -272,7 +259,6 @@ 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 ''"): @@ -287,7 +273,6 @@ 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( @@ -298,7 +283,6 @@ 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( @@ -313,7 +297,6 @@ 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( @@ -330,7 +313,6 @@ 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 ''"): @@ -357,7 +339,6 @@ 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( @@ -367,7 +348,6 @@ 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( @@ -381,7 +361,6 @@ 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( @@ -397,7 +376,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -425,7 +403,6 @@ 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( @@ -434,7 +411,6 @@ 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( @@ -482,7 +458,6 @@ 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( @@ -495,7 +470,6 @@ 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( @@ -510,7 +484,6 @@ 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 ''"): @@ -525,7 +498,6 @@ 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( @@ -535,7 +507,6 @@ 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( @@ -583,7 +554,6 @@ 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( @@ -597,7 +567,6 @@ 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( @@ -613,7 +582,6 @@ 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 ''"): @@ -637,7 +605,6 @@ 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( @@ -646,7 +613,6 @@ 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( @@ -659,7 +625,6 @@ 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( @@ -674,7 +639,6 @@ 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 ''"): @@ -689,7 +653,6 @@ 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( @@ -700,7 +663,6 @@ 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( @@ -715,7 +677,6 @@ 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( @@ -732,7 +693,6 @@ 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 ''"): @@ -759,7 +719,6 @@ 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( @@ -769,7 +728,6 @@ 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( @@ -783,7 +741,6 @@ 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( @@ -799,7 +756,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 163a1a1d6f5..b3c4a069637 100644 --- a/tests/api_resources/magic_transit/sites/test_wans.py +++ b/tests/api_resources/magic_transit/sites/test_wans.py @@ -23,7 +23,6 @@ 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( @@ -32,7 +31,6 @@ 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( @@ -52,7 +50,6 @@ 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( @@ -65,7 +62,6 @@ 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( @@ -80,7 +76,6 @@ 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,7 +90,6 @@ 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( @@ -105,7 +99,6 @@ 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( @@ -126,7 +119,6 @@ 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( @@ -140,7 +132,6 @@ 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( @@ -156,7 +147,6 @@ 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,7 +170,6 @@ 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( @@ -189,7 +178,6 @@ 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( @@ -202,7 +190,6 @@ 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( @@ -217,7 +204,6 @@ 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,7 +218,6 @@ 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( @@ -243,7 +228,6 @@ 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( @@ -258,7 +242,6 @@ 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( @@ -275,7 +258,6 @@ 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 ''"): @@ -302,7 +284,6 @@ 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( @@ -312,7 +293,6 @@ 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( @@ -326,7 +306,6 @@ 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( @@ -342,7 +321,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -370,7 +348,6 @@ 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( @@ -379,7 +356,6 @@ 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( @@ -399,7 +375,6 @@ 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( @@ -412,7 +387,6 @@ 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( @@ -427,7 +401,6 @@ 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 ''"): @@ -442,7 +415,6 @@ 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( @@ -452,7 +424,6 @@ 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( @@ -473,7 +444,6 @@ 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( @@ -487,7 +457,6 @@ 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( @@ -503,7 +472,6 @@ 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 ''"): @@ -527,7 +495,6 @@ 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( @@ -536,7 +503,6 @@ 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( @@ -549,7 +515,6 @@ 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( @@ -564,7 +529,6 @@ 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,7 +543,6 @@ 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( @@ -590,7 +553,6 @@ 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( @@ -605,7 +567,6 @@ 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( @@ -622,7 +583,6 @@ 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 ''"): @@ -649,7 +609,6 @@ 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( @@ -659,7 +618,6 @@ 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( @@ -673,7 +631,6 @@ 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( @@ -689,7 +646,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 1c04dbbae9f..8869b789a89 100644 --- a/tests/api_resources/magic_transit/test_cf_interconnects.py +++ b/tests/api_resources/magic_transit/test_cf_interconnects.py @@ -21,7 +21,6 @@ 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( @@ -30,7 +29,6 @@ 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( @@ -49,7 +47,6 @@ 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( @@ -62,7 +59,6 @@ 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( @@ -77,7 +73,6 @@ 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,7 +87,6 @@ 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( @@ -100,7 +94,6 @@ 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( @@ -112,7 +105,6 @@ 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( @@ -126,7 +118,6 @@ 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,7 +125,6 @@ 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( @@ -143,7 +133,6 @@ 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( @@ -156,7 +145,6 @@ 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( @@ -171,7 +159,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -190,7 +177,6 @@ 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( @@ -199,7 +185,6 @@ 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( @@ -218,7 +203,6 @@ 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( @@ -231,7 +215,6 @@ 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( @@ -246,7 +229,6 @@ 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 ''"): @@ -261,7 +243,6 @@ 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( @@ -269,7 +250,6 @@ 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( @@ -281,7 +261,6 @@ 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( @@ -295,7 +274,6 @@ 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,7 +281,6 @@ 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( @@ -312,7 +289,6 @@ 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( @@ -325,7 +301,6 @@ 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( @@ -340,7 +315,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 41761c37795..a4883afcd67 100644 --- a/tests/api_resources/magic_transit/test_gre_tunnels.py +++ b/tests/api_resources/magic_transit/test_gre_tunnels.py @@ -23,7 +23,6 @@ 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( @@ -32,7 +31,6 @@ 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( @@ -45,7 +43,6 @@ 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( @@ -60,7 +57,6 @@ 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,7 +65,6 @@ 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( @@ -82,7 +77,6 @@ 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( @@ -105,7 +99,6 @@ 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( @@ -122,7 +115,6 @@ 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( @@ -141,7 +133,6 @@ 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 ''"): @@ -164,7 +155,6 @@ 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( @@ -172,7 +162,6 @@ 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( @@ -184,7 +173,6 @@ 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( @@ -198,7 +186,6 @@ 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 ''"): @@ -206,7 +193,6 @@ 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( @@ -216,7 +202,6 @@ 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( @@ -230,7 +215,6 @@ 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( @@ -246,7 +230,6 @@ 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,7 +246,6 @@ 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( @@ -272,7 +254,6 @@ 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( @@ -285,7 +266,6 @@ 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( @@ -300,7 +280,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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,7 +298,6 @@ 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( @@ -328,7 +306,6 @@ 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( @@ -341,7 +318,6 @@ 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( @@ -356,7 +332,6 @@ 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 ''"): @@ -365,7 +340,6 @@ 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( @@ -378,7 +352,6 @@ 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( @@ -401,7 +374,6 @@ 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( @@ -418,7 +390,6 @@ 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( @@ -437,7 +408,6 @@ 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 ''"): @@ -460,7 +430,6 @@ 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( @@ -468,7 +437,6 @@ 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( @@ -480,7 +448,6 @@ 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( @@ -494,7 +461,6 @@ 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 ''"): @@ -502,7 +468,6 @@ 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( @@ -512,7 +477,6 @@ 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( @@ -526,7 +490,6 @@ 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( @@ -542,7 +505,6 @@ 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 ''"): @@ -559,7 +521,6 @@ 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( @@ -568,7 +529,6 @@ 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( @@ -581,7 +541,6 @@ 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( @@ -596,7 +555,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 0b528f25c67..5afeff220d3 100644 --- a/tests/api_resources/magic_transit/test_ipsec_tunnels.py +++ b/tests/api_resources/magic_transit/test_ipsec_tunnels.py @@ -24,7 +24,6 @@ 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( @@ -35,7 +34,6 @@ 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( @@ -57,7 +55,6 @@ 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( @@ -72,7 +69,6 @@ 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( @@ -89,7 +85,6 @@ 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,7 +95,6 @@ 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( @@ -112,7 +106,6 @@ 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( @@ -135,7 +128,6 @@ 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( @@ -151,7 +143,6 @@ 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( @@ -169,7 +160,6 @@ 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 ''"): @@ -190,7 +180,6 @@ 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( @@ -198,7 +187,6 @@ 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( @@ -210,7 +198,6 @@ 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( @@ -224,7 +211,6 @@ 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,7 +218,6 @@ 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( @@ -242,7 +227,6 @@ 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( @@ -256,7 +240,6 @@ 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( @@ -272,7 +255,6 @@ 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 ''"): @@ -289,7 +271,6 @@ 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( @@ -298,7 +279,6 @@ 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( @@ -311,7 +291,6 @@ 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( @@ -326,7 +305,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -341,7 +319,6 @@ 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( @@ -351,7 +328,6 @@ 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( @@ -365,7 +341,6 @@ 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( @@ -381,7 +356,6 @@ 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 ''"): @@ -402,7 +376,6 @@ 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( @@ -413,7 +386,6 @@ 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( @@ -435,7 +407,6 @@ 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( @@ -450,7 +421,6 @@ 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( @@ -467,7 +437,6 @@ 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 ''"): @@ -478,7 +447,6 @@ 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( @@ -490,7 +458,6 @@ 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( @@ -513,7 +480,6 @@ 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( @@ -529,7 +495,6 @@ 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( @@ -547,7 +512,6 @@ 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 ''"): @@ -568,7 +532,6 @@ 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( @@ -576,7 +539,6 @@ 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( @@ -588,7 +550,6 @@ 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( @@ -602,7 +563,6 @@ 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 ''"): @@ -610,7 +570,6 @@ 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( @@ -620,7 +579,6 @@ 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( @@ -634,7 +592,6 @@ 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( @@ -650,7 +607,6 @@ 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,7 +623,6 @@ 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( @@ -676,7 +631,6 @@ 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( @@ -689,7 +643,6 @@ 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( @@ -704,7 +657,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -719,7 +671,6 @@ 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( @@ -729,7 +680,6 @@ 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( @@ -743,7 +693,6 @@ 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( @@ -759,7 +708,6 @@ 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 1278b9ccae5..861ea145315 100644 --- a/tests/api_resources/magic_transit/test_routes.py +++ b/tests/api_resources/magic_transit/test_routes.py @@ -24,7 +24,6 @@ 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( @@ -33,7 +32,6 @@ 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( @@ -46,7 +44,6 @@ 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( @@ -61,7 +58,6 @@ 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,7 +66,6 @@ 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( @@ -82,7 +77,6 @@ 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( @@ -100,7 +94,6 @@ 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( @@ -116,7 +109,6 @@ 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( @@ -134,7 +126,6 @@ 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,7 +146,6 @@ 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( @@ -163,7 +153,6 @@ 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( @@ -175,7 +164,6 @@ 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( @@ -189,7 +177,6 @@ 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 ''"): @@ -197,7 +184,6 @@ 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( @@ -207,7 +193,6 @@ 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( @@ -221,7 +206,6 @@ 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( @@ -237,7 +221,6 @@ 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 ''"): @@ -254,7 +237,6 @@ 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( @@ -263,7 +245,6 @@ 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( @@ -276,7 +257,6 @@ 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( @@ -291,7 +271,6 @@ 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 ''"): @@ -300,7 +279,6 @@ 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( @@ -309,7 +287,6 @@ 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( @@ -322,7 +299,6 @@ 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( @@ -337,7 +313,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -356,7 +331,6 @@ 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( @@ -365,7 +339,6 @@ 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( @@ -378,7 +351,6 @@ 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( @@ -393,7 +365,6 @@ 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 ''"): @@ -402,7 +373,6 @@ 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( @@ -414,7 +384,6 @@ 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( @@ -432,7 +401,6 @@ 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( @@ -448,7 +416,6 @@ 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( @@ -466,7 +433,6 @@ 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 ''"): @@ -487,7 +453,6 @@ 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( @@ -495,7 +460,6 @@ 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( @@ -507,7 +471,6 @@ 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( @@ -521,7 +484,6 @@ 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 ''"): @@ -529,7 +491,6 @@ 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( @@ -539,7 +500,6 @@ 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( @@ -553,7 +513,6 @@ 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( @@ -569,7 +528,6 @@ 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 ''"): @@ -586,7 +544,6 @@ 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( @@ -595,7 +552,6 @@ 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( @@ -608,7 +564,6 @@ 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( @@ -623,7 +578,6 @@ 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 ''"): @@ -632,7 +586,6 @@ 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( @@ -641,7 +594,6 @@ 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( @@ -654,7 +606,6 @@ 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( @@ -669,7 +620,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 d3c2faa8f48..2003ba52faf 100644 --- a/tests/api_resources/magic_transit/test_sites.py +++ b/tests/api_resources/magic_transit/test_sites.py @@ -23,7 +23,6 @@ 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( @@ -31,7 +30,6 @@ 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( @@ -50,7 +48,6 @@ 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( @@ -62,7 +59,6 @@ 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( @@ -76,7 +72,6 @@ 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,7 +79,6 @@ 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( @@ -93,7 +87,6 @@ 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( @@ -112,7 +105,6 @@ 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( @@ -125,7 +117,6 @@ 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( @@ -140,7 +131,6 @@ 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,7 +145,6 @@ 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( @@ -163,7 +152,6 @@ 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( @@ -172,7 +160,6 @@ 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( @@ -184,7 +171,6 @@ 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( @@ -198,7 +184,6 @@ 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 ''"): @@ -206,7 +191,6 @@ 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( @@ -216,7 +200,6 @@ 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( @@ -230,7 +213,6 @@ 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( @@ -246,7 +228,6 @@ 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,7 +244,6 @@ 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( @@ -272,7 +252,6 @@ 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( @@ -285,7 +264,6 @@ 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( @@ -300,7 +278,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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,7 +296,6 @@ 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( @@ -327,7 +303,6 @@ 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( @@ -346,7 +321,6 @@ 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( @@ -358,7 +332,6 @@ 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( @@ -372,7 +345,6 @@ 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 ''"): @@ -380,7 +352,6 @@ 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( @@ -389,7 +360,6 @@ 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( @@ -408,7 +378,6 @@ 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( @@ -421,7 +390,6 @@ 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( @@ -436,7 +404,6 @@ 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 ''"): @@ -451,7 +418,6 @@ 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( @@ -459,7 +425,6 @@ 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( @@ -468,7 +433,6 @@ 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( @@ -480,7 +444,6 @@ 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( @@ -494,7 +457,6 @@ 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 ''"): @@ -502,7 +464,6 @@ 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( @@ -512,7 +473,6 @@ 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( @@ -526,7 +486,6 @@ 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( @@ -542,7 +501,6 @@ 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 ''"): @@ -559,7 +517,6 @@ 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( @@ -568,7 +525,6 @@ 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( @@ -581,7 +537,6 @@ 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( @@ -596,7 +551,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 a253daa651a..cce75fc9fec 100644 --- a/tests/api_resources/mtls_certificates/test_associations.py +++ b/tests/api_resources/mtls_certificates/test_associations.py @@ -17,7 +17,6 @@ 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( @@ -26,7 +25,6 @@ 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( @@ -39,7 +37,6 @@ 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( @@ -54,7 +51,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -73,7 +69,6 @@ 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( @@ -82,7 +77,6 @@ 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( @@ -95,7 +89,6 @@ 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( @@ -110,7 +103,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ff3cb79a4b9..28591604bf5 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,7 +23,6 @@ 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( @@ -33,7 +32,6 @@ 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( @@ -47,7 +45,6 @@ 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( @@ -63,7 +60,6 @@ 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 ''"): @@ -73,7 +69,6 @@ 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( @@ -81,7 +76,6 @@ 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( @@ -93,7 +87,6 @@ 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( @@ -107,7 +100,6 @@ 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 ''"): @@ -115,7 +107,6 @@ 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( @@ -125,7 +116,6 @@ 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( @@ -139,7 +129,6 @@ 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( @@ -155,7 +144,6 @@ 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 ''"): @@ -172,7 +160,6 @@ 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( @@ -181,7 +168,6 @@ 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( @@ -194,7 +180,6 @@ 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( @@ -209,7 +194,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -228,7 +212,6 @@ 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( @@ -238,7 +221,6 @@ 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( @@ -252,7 +234,6 @@ 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( @@ -268,7 +249,6 @@ 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 ''"): @@ -278,7 +258,6 @@ 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( @@ -286,7 +265,6 @@ 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( @@ -298,7 +276,6 @@ 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( @@ -312,7 +289,6 @@ 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 ''"): @@ -320,7 +296,6 @@ 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( @@ -330,7 +305,6 @@ 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( @@ -344,7 +318,6 @@ 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( @@ -360,7 +333,6 @@ 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 ''"): @@ -377,7 +349,6 @@ 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( @@ -386,7 +357,6 @@ 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( @@ -399,7 +369,6 @@ 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( @@ -414,7 +383,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 a3247d84853..2878f827e81 100644 --- a/tests/api_resources/origin_tls_client_auth/test_hostnames.py +++ b/tests/api_resources/origin_tls_client_auth/test_hostnames.py @@ -20,7 +20,6 @@ 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( @@ -29,7 +28,6 @@ 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( @@ -42,7 +40,6 @@ 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( @@ -57,7 +54,6 @@ 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 ''"): @@ -66,7 +62,6 @@ 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( @@ -75,7 +70,6 @@ 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( @@ -88,7 +82,6 @@ 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( @@ -103,7 +96,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -122,7 +114,6 @@ 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( @@ -131,7 +122,6 @@ 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( @@ -144,7 +134,6 @@ 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( @@ -159,7 +148,6 @@ 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 ''"): @@ -168,7 +156,6 @@ 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( @@ -177,7 +164,6 @@ 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( @@ -190,7 +176,6 @@ 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( @@ -205,7 +190,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 009e48b2779..36d285fe92f 100644 --- a/tests/api_resources/origin_tls_client_auth/test_settings.py +++ b/tests/api_resources/origin_tls_client_auth/test_settings.py @@ -17,7 +17,6 @@ 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( @@ -26,7 +25,6 @@ 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( @@ -39,7 +37,6 @@ 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( @@ -54,7 +51,6 @@ 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,7 +59,6 @@ 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( @@ -71,7 +66,6 @@ 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( @@ -83,7 +77,6 @@ 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( @@ -97,7 +90,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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,7 +101,6 @@ 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( @@ -118,7 +109,6 @@ 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( @@ -131,7 +121,6 @@ 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( @@ -146,7 +135,6 @@ 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,7 +143,6 @@ 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( @@ -163,7 +150,6 @@ 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( @@ -175,7 +161,6 @@ 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( @@ -189,7 +174,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 77edfc01969..30fcbaa641a 100644 --- a/tests/api_resources/page_shield/test_connections.py +++ b/tests/api_resources/page_shield/test_connections.py @@ -18,7 +18,6 @@ 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( @@ -26,7 +25,6 @@ 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( @@ -46,7 +44,6 @@ 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( @@ -58,7 +55,6 @@ 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( @@ -72,7 +68,6 @@ 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 ''"): @@ -80,7 +75,6 @@ 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( @@ -89,7 +83,6 @@ 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( @@ -102,7 +95,6 @@ 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( @@ -117,7 +109,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -136,7 +127,6 @@ 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( @@ -144,7 +134,6 @@ 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( @@ -164,7 +153,6 @@ 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( @@ -176,7 +164,6 @@ 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( @@ -190,7 +177,6 @@ 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 ''"): @@ -198,7 +184,6 @@ 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( @@ -207,7 +192,6 @@ 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( @@ -220,7 +204,6 @@ 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( @@ -235,7 +218,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 81f6297c0e0..500d4d23d0e 100644 --- a/tests/api_resources/page_shield/test_policies.py +++ b/tests/api_resources/page_shield/test_policies.py @@ -18,7 +18,6 @@ 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( @@ -26,7 +25,6 @@ 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( @@ -39,7 +37,6 @@ 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( @@ -51,7 +48,6 @@ 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( @@ -65,7 +61,6 @@ 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 ''"): @@ -73,7 +68,6 @@ 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( @@ -82,7 +76,6 @@ 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( @@ -96,7 +89,6 @@ 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( @@ -109,7 +101,6 @@ 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( @@ -124,7 +115,6 @@ 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 ''"): @@ -139,7 +129,6 @@ 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( @@ -147,7 +136,6 @@ 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( @@ -159,7 +147,6 @@ 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( @@ -173,7 +160,6 @@ 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 ''"): @@ -181,7 +167,6 @@ 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( @@ -190,7 +175,6 @@ 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( @@ -203,7 +187,6 @@ 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( @@ -218,7 +201,6 @@ 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 ''"): @@ -233,7 +215,6 @@ 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( @@ -242,7 +223,6 @@ 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( @@ -255,7 +235,6 @@ 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( @@ -270,7 +249,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -289,7 +267,6 @@ 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( @@ -297,7 +274,6 @@ 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( @@ -310,7 +286,6 @@ 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( @@ -322,7 +297,6 @@ 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( @@ -336,7 +310,6 @@ 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 ''"): @@ -344,7 +317,6 @@ 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( @@ -353,7 +325,6 @@ 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( @@ -367,7 +338,6 @@ 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( @@ -380,7 +350,6 @@ 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( @@ -395,7 +364,6 @@ 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 ''"): @@ -410,7 +378,6 @@ 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( @@ -418,7 +385,6 @@ 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( @@ -430,7 +396,6 @@ 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( @@ -444,7 +409,6 @@ 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 ''"): @@ -452,7 +416,6 @@ 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( @@ -461,7 +424,6 @@ 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( @@ -474,7 +436,6 @@ 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( @@ -489,7 +450,6 @@ 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 ''"): @@ -504,7 +464,6 @@ 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( @@ -513,7 +472,6 @@ 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( @@ -526,7 +484,6 @@ 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( @@ -541,7 +498,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 50e23e6340d..259cb25a6be 100644 --- a/tests/api_resources/page_shield/test_scripts.py +++ b/tests/api_resources/page_shield/test_scripts.py @@ -18,7 +18,6 @@ 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( @@ -26,7 +25,6 @@ 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( @@ -47,7 +45,6 @@ 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( @@ -59,7 +56,6 @@ 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( @@ -73,7 +69,6 @@ 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 ''"): @@ -81,7 +76,6 @@ 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( @@ -90,7 +84,6 @@ 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( @@ -103,7 +96,6 @@ 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( @@ -118,7 +110,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -137,7 +128,6 @@ 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( @@ -145,7 +135,6 @@ 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( @@ -166,7 +155,6 @@ 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( @@ -178,7 +166,6 @@ 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( @@ -192,7 +179,6 @@ 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 ''"): @@ -200,7 +186,6 @@ 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( @@ -209,7 +194,6 @@ 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( @@ -222,7 +206,6 @@ 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( @@ -237,7 +220,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 983c7e2bd05..7339a7f0ecc 100644 --- a/tests/api_resources/pagerules/test_settings.py +++ b/tests/api_resources/pagerules/test_settings.py @@ -17,7 +17,6 @@ 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( @@ -25,7 +24,6 @@ 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( @@ -37,7 +35,6 @@ 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( @@ -51,7 +48,6 @@ 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 ''"): @@ -63,7 +59,6 @@ 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( @@ -71,7 +66,6 @@ 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( @@ -83,7 +77,6 @@ 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( @@ -97,7 +90,6 @@ 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 7e59a77f9b2..03612af99fe 100644 --- a/tests/api_resources/pages/projects/deployments/history/test_logs.py +++ b/tests/api_resources/pages/projects/deployments/history/test_logs.py @@ -17,7 +17,6 @@ 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( @@ -27,7 +26,6 @@ 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( @@ -41,7 +39,6 @@ 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( @@ -57,7 +54,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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,7 +81,6 @@ 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( @@ -95,7 +90,6 @@ 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( @@ -109,7 +103,6 @@ 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( @@ -125,7 +118,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 75764f1a1e4..c6bd5a29dab 100644 --- a/tests/api_resources/pages/projects/test_deployments.py +++ b/tests/api_resources/pages/projects/test_deployments.py @@ -18,7 +18,6 @@ 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( @@ -27,7 +26,6 @@ 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( @@ -37,7 +35,6 @@ 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( @@ -50,7 +47,6 @@ 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( @@ -65,7 +61,6 @@ 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,7 +75,6 @@ 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( @@ -89,7 +83,6 @@ 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( @@ -99,7 +92,6 @@ 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( @@ -112,7 +104,6 @@ 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( @@ -127,7 +118,6 @@ 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,7 +132,6 @@ 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( @@ -153,7 +142,6 @@ 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( @@ -168,7 +156,6 @@ 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( @@ -185,7 +172,6 @@ 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,7 +198,6 @@ 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( @@ -222,7 +207,6 @@ 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( @@ -236,7 +220,6 @@ 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( @@ -252,7 +235,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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,7 +258,6 @@ 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( @@ -287,7 +268,6 @@ 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( @@ -302,7 +282,6 @@ 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( @@ -319,7 +298,6 @@ 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 ''"): @@ -346,7 +324,6 @@ 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( @@ -357,7 +334,6 @@ 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( @@ -372,7 +348,6 @@ 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( @@ -389,7 +364,6 @@ 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 ''"): @@ -420,7 +394,6 @@ 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( @@ -429,7 +402,6 @@ 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( @@ -439,7 +411,6 @@ 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( @@ -452,7 +423,6 @@ 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( @@ -467,7 +437,6 @@ 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 ''"): @@ -482,7 +451,6 @@ 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( @@ -491,7 +459,6 @@ 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( @@ -501,7 +468,6 @@ 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( @@ -514,7 +480,6 @@ 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( @@ -529,7 +494,6 @@ 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 ''"): @@ -544,7 +508,6 @@ 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( @@ -555,7 +518,6 @@ 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( @@ -570,7 +532,6 @@ 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( @@ -587,7 +548,6 @@ 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,7 +574,6 @@ 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( @@ -624,7 +583,6 @@ 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( @@ -638,7 +596,6 @@ 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( @@ -654,7 +611,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -678,7 +634,6 @@ 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( @@ -689,7 +644,6 @@ 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( @@ -704,7 +658,6 @@ 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( @@ -721,7 +674,6 @@ 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 ''"): @@ -748,7 +700,6 @@ 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( @@ -759,7 +710,6 @@ 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( @@ -774,7 +724,6 @@ 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( @@ -791,7 +740,6 @@ 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 5e2614a1a25..de4e2170821 100644 --- a/tests/api_resources/pages/projects/test_domains.py +++ b/tests/api_resources/pages/projects/test_domains.py @@ -22,7 +22,6 @@ 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( @@ -32,7 +31,6 @@ 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( @@ -46,7 +44,6 @@ 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( @@ -62,7 +59,6 @@ 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,7 +75,6 @@ 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( @@ -88,7 +83,6 @@ 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( @@ -101,7 +95,6 @@ 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( @@ -116,7 +109,6 @@ 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 ''"): @@ -131,7 +123,6 @@ 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( @@ -142,7 +133,6 @@ 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( @@ -157,7 +147,6 @@ 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( @@ -174,7 +163,6 @@ 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 ''"): @@ -201,7 +189,6 @@ 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( @@ -212,7 +199,6 @@ 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( @@ -227,7 +213,6 @@ 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( @@ -244,7 +229,6 @@ 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 ''"): @@ -271,7 +255,6 @@ 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( @@ -281,7 +264,6 @@ 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( @@ -295,7 +277,6 @@ 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( @@ -311,7 +292,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -339,7 +319,6 @@ 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( @@ -349,7 +328,6 @@ 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( @@ -363,7 +341,6 @@ 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( @@ -379,7 +356,6 @@ 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 ''"): @@ -396,7 +372,6 @@ 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( @@ -405,7 +380,6 @@ 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( @@ -418,7 +392,6 @@ 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( @@ -433,7 +406,6 @@ 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,7 +420,6 @@ 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( @@ -459,7 +430,6 @@ 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( @@ -474,7 +444,6 @@ 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( @@ -491,7 +460,6 @@ 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 ''"): @@ -518,7 +486,6 @@ 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( @@ -529,7 +496,6 @@ 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( @@ -544,7 +510,6 @@ 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( @@ -561,7 +526,6 @@ 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 ''"): @@ -588,7 +552,6 @@ 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( @@ -598,7 +561,6 @@ 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( @@ -612,7 +574,6 @@ 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( @@ -628,7 +589,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 fa15dac6d2a..855add71b23 100644 --- a/tests/api_resources/pages/test_projects.py +++ b/tests/api_resources/pages/test_projects.py @@ -23,7 +23,6 @@ class TestProjects: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_create(self, client: Cloudflare) -> None: project = client.pages.projects.create( @@ -31,7 +30,6 @@ 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( @@ -111,7 +109,6 @@ 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( @@ -123,7 +120,6 @@ 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( @@ -137,7 +133,6 @@ 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 ''"): @@ -145,7 +140,6 @@ 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( @@ -153,7 +147,6 @@ 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( @@ -165,7 +158,6 @@ 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( @@ -179,7 +171,6 @@ 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,7 +178,6 @@ 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( @@ -197,7 +187,6 @@ 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( @@ -211,7 +200,6 @@ 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( @@ -227,7 +215,6 @@ 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,7 +231,6 @@ 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( @@ -269,7 +255,6 @@ 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( @@ -298,7 +283,6 @@ 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( @@ -329,7 +313,6 @@ 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 ''"): @@ -376,7 +359,6 @@ 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( @@ -385,7 +367,6 @@ 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( @@ -398,7 +379,6 @@ 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( @@ -413,7 +393,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -428,7 +407,6 @@ 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( @@ -437,7 +415,6 @@ 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( @@ -450,7 +427,6 @@ 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( @@ -465,7 +441,6 @@ 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 ''"): @@ -484,7 +459,6 @@ 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( @@ -492,7 +466,6 @@ 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( @@ -572,7 +545,6 @@ 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( @@ -584,7 +556,6 @@ 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( @@ -598,7 +569,6 @@ 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,7 +576,6 @@ 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( @@ -614,7 +583,6 @@ 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( @@ -626,7 +594,6 @@ 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( @@ -640,7 +607,6 @@ 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 ''"): @@ -648,7 +614,6 @@ 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( @@ -658,7 +623,6 @@ 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( @@ -672,7 +636,6 @@ 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( @@ -688,7 +651,6 @@ 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 ''"): @@ -705,7 +667,6 @@ 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( @@ -730,7 +691,6 @@ 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( @@ -759,7 +719,6 @@ 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( @@ -790,7 +749,6 @@ 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 ''"): @@ -837,7 +795,6 @@ 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( @@ -846,7 +803,6 @@ 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( @@ -859,7 +815,6 @@ 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( @@ -874,7 +829,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -889,7 +843,6 @@ 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( @@ -898,7 +851,6 @@ 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( @@ -911,7 +863,6 @@ 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( @@ -926,7 +877,6 @@ 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 2b6c3f86def..ee286a6f414 100644 --- a/tests/api_resources/pcaps/test_download.py +++ b/tests/api_resources/pcaps/test_download.py @@ -23,7 +23,6 @@ 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: @@ -39,7 +38,6 @@ 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: @@ -57,7 +55,6 @@ 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: @@ -77,7 +74,6 @@ 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: @@ -97,7 +93,6 @@ 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: @@ -113,7 +108,6 @@ 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: @@ -131,7 +125,6 @@ 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: @@ -151,7 +144,6 @@ 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 d3a4f2fad81..b1032e3d9e3 100644 --- a/tests/api_resources/pcaps/test_ownership.py +++ b/tests/api_resources/pcaps/test_ownership.py @@ -17,7 +17,6 @@ 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( @@ -26,7 +25,6 @@ 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( @@ -39,7 +37,6 @@ 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( @@ -54,7 +51,6 @@ 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,7 +59,6 @@ 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( @@ -72,7 +67,6 @@ 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( @@ -85,7 +79,6 @@ 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( @@ -100,7 +93,6 @@ 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 ''"): @@ -115,7 +107,6 @@ 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( @@ -123,7 +114,6 @@ 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( @@ -135,7 +125,6 @@ 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( @@ -149,7 +138,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -157,7 +145,6 @@ 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( @@ -167,7 +154,6 @@ 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( @@ -181,7 +167,6 @@ 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( @@ -197,7 +182,6 @@ 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 ''"): @@ -211,7 +195,6 @@ 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( @@ -220,7 +203,6 @@ 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( @@ -233,7 +215,6 @@ 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( @@ -248,7 +229,6 @@ 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 ''"): @@ -257,7 +237,6 @@ 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( @@ -266,7 +245,6 @@ 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( @@ -279,7 +257,6 @@ 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( @@ -294,7 +271,6 @@ 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 ''"): @@ -309,7 +285,6 @@ 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( @@ -317,7 +292,6 @@ 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( @@ -329,7 +303,6 @@ 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( @@ -343,7 +316,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -351,7 +323,6 @@ 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( @@ -361,7 +332,6 @@ 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( @@ -375,7 +345,6 @@ 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( @@ -391,7 +360,6 @@ 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 20b325cd82f..fe63c18f47c 100644 --- a/tests/api_resources/queues/test_consumers.py +++ b/tests/api_resources/queues/test_consumers.py @@ -22,7 +22,6 @@ 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( @@ -41,7 +40,6 @@ 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( @@ -64,7 +62,6 @@ 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( @@ -89,7 +86,6 @@ 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,7 +120,6 @@ 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( @@ -140,7 +135,6 @@ 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( @@ -160,7 +154,6 @@ 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( @@ -182,7 +175,6 @@ 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 ''"): @@ -224,7 +216,6 @@ 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( @@ -235,7 +226,6 @@ 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( @@ -250,7 +240,6 @@ 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( @@ -267,7 +256,6 @@ 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 ''"): @@ -294,7 +282,6 @@ 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( @@ -303,7 +290,6 @@ 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( @@ -316,7 +302,6 @@ 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( @@ -331,7 +316,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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,7 +334,6 @@ 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( @@ -369,7 +352,6 @@ 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( @@ -392,7 +374,6 @@ 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( @@ -417,7 +398,6 @@ 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,7 +432,6 @@ 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( @@ -468,7 +447,6 @@ 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( @@ -488,7 +466,6 @@ 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( @@ -510,7 +487,6 @@ 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 ''"): @@ -552,7 +528,6 @@ 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( @@ -563,7 +538,6 @@ 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( @@ -578,7 +552,6 @@ 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( @@ -595,7 +568,6 @@ 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 ''"): @@ -622,7 +594,6 @@ 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( @@ -631,7 +602,6 @@ 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( @@ -644,7 +614,6 @@ 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( @@ -659,7 +628,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 1e24941e1b8..709728a1ff1 100644 --- a/tests/api_resources/queues/test_messages.py +++ b/tests/api_resources/queues/test_messages.py @@ -17,7 +17,6 @@ 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( @@ -26,7 +25,6 @@ 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( @@ -60,7 +58,6 @@ 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( @@ -73,7 +70,6 @@ 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( @@ -88,7 +84,6 @@ 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 ''"): @@ -103,7 +98,6 @@ 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( @@ -112,7 +106,6 @@ 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( @@ -123,7 +116,6 @@ 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( @@ -136,7 +128,6 @@ 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( @@ -151,7 +142,6 @@ 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 ''"): @@ -170,7 +160,6 @@ 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( @@ -179,7 +168,6 @@ 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( @@ -213,7 +201,6 @@ 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( @@ -226,7 +213,6 @@ 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( @@ -241,7 +227,6 @@ 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 ''"): @@ -256,7 +241,6 @@ 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( @@ -265,7 +249,6 @@ 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( @@ -276,7 +259,6 @@ 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( @@ -289,7 +271,6 @@ 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( @@ -304,7 +285,6 @@ 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 157f4be3fe6..956a75d7441 100644 --- a/tests/api_resources/r2/test_buckets.py +++ b/tests/api_resources/r2/test_buckets.py @@ -18,7 +18,6 @@ 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( @@ -27,7 +26,6 @@ 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( @@ -37,7 +35,6 @@ 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( @@ -50,7 +47,6 @@ 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( @@ -65,7 +61,6 @@ 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,7 +69,6 @@ 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( @@ -82,7 +76,6 @@ 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( @@ -96,7 +89,6 @@ 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( @@ -108,7 +100,6 @@ 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( @@ -122,7 +113,6 @@ 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 ''"): @@ -130,7 +120,6 @@ 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( @@ -139,7 +128,6 @@ 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( @@ -152,7 +140,6 @@ 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( @@ -167,7 +154,6 @@ 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 ''"): @@ -182,7 +168,6 @@ 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( @@ -191,7 +176,6 @@ 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( @@ -204,7 +188,6 @@ 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( @@ -219,7 +202,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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,7 +220,6 @@ 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( @@ -247,7 +228,6 @@ 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( @@ -257,7 +237,6 @@ 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( @@ -270,7 +249,6 @@ 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( @@ -285,7 +263,6 @@ 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,7 +271,6 @@ 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( @@ -302,7 +278,6 @@ 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( @@ -316,7 +291,6 @@ 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( @@ -328,7 +302,6 @@ 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( @@ -342,7 +315,6 @@ 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,7 +322,6 @@ 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( @@ -359,7 +330,6 @@ 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( @@ -372,7 +342,6 @@ 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( @@ -387,7 +356,6 @@ 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 ''"): @@ -402,7 +370,6 @@ 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( @@ -411,7 +378,6 @@ 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( @@ -424,7 +390,6 @@ 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( @@ -439,7 +404,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 364859aae67..b3005ce3cc9 100644 --- a/tests/api_resources/r2/test_sippy.py +++ b/tests/api_resources/r2/test_sippy.py @@ -17,7 +17,6 @@ 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( @@ -26,7 +25,6 @@ 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( @@ -47,7 +45,6 @@ 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( @@ -60,7 +57,6 @@ 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( @@ -75,7 +71,6 @@ 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 ''"): @@ -90,7 +85,6 @@ 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( @@ -99,7 +93,6 @@ 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( @@ -119,7 +112,6 @@ 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( @@ -132,7 +124,6 @@ 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( @@ -147,7 +138,6 @@ 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 ''"): @@ -162,7 +152,6 @@ 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( @@ -171,7 +160,6 @@ 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( @@ -184,7 +172,6 @@ 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( @@ -199,7 +186,6 @@ 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,7 +200,6 @@ 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( @@ -223,7 +208,6 @@ 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( @@ -236,7 +220,6 @@ 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( @@ -251,7 +234,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -270,7 +252,6 @@ 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( @@ -279,7 +260,6 @@ 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( @@ -300,7 +280,6 @@ 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( @@ -313,7 +292,6 @@ 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( @@ -328,7 +306,6 @@ 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 ''"): @@ -343,7 +320,6 @@ 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( @@ -352,7 +328,6 @@ 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( @@ -372,7 +347,6 @@ 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( @@ -385,7 +359,6 @@ 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( @@ -400,7 +373,6 @@ 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 ''"): @@ -415,7 +387,6 @@ 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( @@ -424,7 +395,6 @@ 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( @@ -437,7 +407,6 @@ 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( @@ -452,7 +421,6 @@ 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 ''"): @@ -467,7 +435,6 @@ 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( @@ -476,7 +443,6 @@ 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( @@ -489,7 +455,6 @@ 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( @@ -504,7 +469,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 98c8d58fec8..0246a773dc2 100644 --- a/tests/api_resources/radar/annotations/test_outages.py +++ b/tests/api_resources/radar/annotations/test_outages.py @@ -21,13 +21,11 @@ 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( @@ -42,7 +40,6 @@ 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() @@ -52,7 +49,6 @@ 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: @@ -64,13 +60,11 @@ 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( @@ -82,7 +76,6 @@ 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() @@ -92,7 +85,6 @@ 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: @@ -108,13 +100,11 @@ 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( @@ -129,7 +119,6 @@ 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() @@ -139,7 +128,6 @@ 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: @@ -151,13 +139,11 @@ async def 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( @@ -169,7 +155,6 @@ 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() @@ -179,7 +164,6 @@ 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 1f6f7128b01..13d0bdbf800 100644 --- a/tests/api_resources/radar/as112/test_summary.py +++ b/tests/api_resources/radar/as112/test_summary.py @@ -25,13 +25,11 @@ 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( @@ -54,7 +52,6 @@ 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() @@ -64,7 +61,6 @@ 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: @@ -76,13 +72,11 @@ 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( @@ -105,7 +99,6 @@ 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() @@ -115,7 +108,6 @@ 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: @@ -127,13 +119,11 @@ 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( @@ -156,7 +146,6 @@ 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() @@ -166,7 +155,6 @@ 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: @@ -178,13 +166,11 @@ 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( @@ -207,7 +193,6 @@ 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() @@ -217,7 +202,6 @@ 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: @@ -229,13 +213,11 @@ 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( @@ -258,7 +240,6 @@ 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() @@ -268,7 +249,6 @@ 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: @@ -280,13 +260,11 @@ 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( @@ -309,7 +287,6 @@ 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() @@ -319,7 +296,6 @@ 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: @@ -335,13 +311,11 @@ 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( @@ -364,7 +338,6 @@ 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() @@ -374,7 +347,6 @@ 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: @@ -386,13 +358,11 @@ 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( @@ -415,7 +385,6 @@ 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() @@ -425,7 +394,6 @@ 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: @@ -437,13 +405,11 @@ 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( @@ -466,7 +432,6 @@ 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() @@ -476,7 +441,6 @@ 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: @@ -488,13 +452,11 @@ 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( @@ -517,7 +479,6 @@ 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() @@ -527,7 +488,6 @@ 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: @@ -539,13 +499,11 @@ 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( @@ -568,7 +526,6 @@ 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() @@ -578,7 +535,6 @@ 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: @@ -590,13 +546,11 @@ 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( @@ -619,7 +573,6 @@ 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() @@ -629,7 +582,6 @@ 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 ed291ceed6b..38ec1d21891 100644 --- a/tests/api_resources/radar/as112/test_timeseries_groups.py +++ b/tests/api_resources/radar/as112/test_timeseries_groups.py @@ -25,13 +25,11 @@ 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( @@ -55,7 +53,6 @@ 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() @@ -65,7 +62,6 @@ 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: @@ -77,13 +73,11 @@ 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( @@ -107,7 +101,6 @@ 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() @@ -117,7 +110,6 @@ 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: @@ -129,13 +121,11 @@ 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( @@ -159,7 +149,6 @@ 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() @@ -169,7 +158,6 @@ 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: @@ -181,13 +169,11 @@ 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( @@ -211,7 +197,6 @@ 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() @@ -221,7 +206,6 @@ 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: @@ -233,13 +217,11 @@ 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( @@ -263,7 +245,6 @@ 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() @@ -273,7 +254,6 @@ 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: @@ -285,13 +265,11 @@ 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( @@ -315,7 +293,6 @@ 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() @@ -325,7 +302,6 @@ 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: @@ -341,13 +317,11 @@ 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( @@ -371,7 +345,6 @@ 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() @@ -381,7 +354,6 @@ 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: @@ -393,13 +365,11 @@ 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( @@ -423,7 +393,6 @@ 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() @@ -433,7 +402,6 @@ 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: @@ -445,13 +413,11 @@ 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( @@ -475,7 +441,6 @@ 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() @@ -485,7 +450,6 @@ 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: @@ -497,13 +461,11 @@ 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( @@ -527,7 +489,6 @@ 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() @@ -537,7 +498,6 @@ 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: @@ -549,13 +509,11 @@ 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( @@ -579,7 +537,6 @@ 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() @@ -589,7 +546,6 @@ 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: @@ -601,13 +557,11 @@ 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( @@ -631,7 +585,6 @@ 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() @@ -641,7 +594,6 @@ 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 9dcda9b638d..81ffe5314d8 100644 --- a/tests/api_resources/radar/as112/test_top.py +++ b/tests/api_resources/radar/as112/test_top.py @@ -23,7 +23,6 @@ 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( @@ -31,7 +30,6 @@ 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( @@ -56,7 +54,6 @@ 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( @@ -68,7 +65,6 @@ 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( @@ -82,7 +78,6 @@ 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( @@ -90,7 +85,6 @@ 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( @@ -115,7 +109,6 @@ 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( @@ -127,7 +120,6 @@ 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( @@ -141,7 +133,6 @@ 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( @@ -149,7 +140,6 @@ 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( @@ -174,7 +164,6 @@ 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( @@ -186,7 +175,6 @@ 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( @@ -200,13 +188,11 @@ 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( @@ -230,7 +216,6 @@ 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() @@ -240,7 +225,6 @@ 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: @@ -256,7 +240,6 @@ 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( @@ -264,7 +247,6 @@ 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( @@ -289,7 +271,6 @@ 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( @@ -301,7 +282,6 @@ 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( @@ -315,7 +295,6 @@ 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( @@ -323,7 +302,6 @@ 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( @@ -348,7 +326,6 @@ 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( @@ -360,7 +337,6 @@ 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( @@ -374,7 +350,6 @@ 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( @@ -382,7 +357,6 @@ 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( @@ -407,7 +381,6 @@ 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( @@ -419,7 +392,6 @@ 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( @@ -433,13 +405,11 @@ 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( @@ -463,7 +433,6 @@ 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() @@ -473,7 +442,6 @@ 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 fa77a34344f..4b0fa3e5290 100644 --- a/tests/api_resources/radar/attacks/layer3/test_summary.py +++ b/tests/api_resources/radar/attacks/layer3/test_summary.py @@ -25,13 +25,11 @@ 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( @@ -56,7 +54,6 @@ 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() @@ -66,7 +63,6 @@ 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: @@ -78,13 +74,11 @@ 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( @@ -109,7 +103,6 @@ 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() @@ -119,7 +112,6 @@ 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: @@ -131,13 +123,11 @@ 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( @@ -160,7 +150,6 @@ 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() @@ -170,7 +159,6 @@ 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: @@ -182,13 +170,11 @@ 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( @@ -212,7 +198,6 @@ 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() @@ -222,7 +207,6 @@ 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: @@ -234,13 +218,11 @@ 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( @@ -264,7 +246,6 @@ 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() @@ -274,7 +255,6 @@ 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: @@ -286,13 +266,11 @@ 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( @@ -317,7 +295,6 @@ 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() @@ -327,7 +304,6 @@ 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: @@ -343,13 +319,11 @@ 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( @@ -374,7 +348,6 @@ 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() @@ -384,7 +357,6 @@ 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: @@ -396,13 +368,11 @@ 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( @@ -427,7 +397,6 @@ 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() @@ -437,7 +406,6 @@ 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: @@ -449,13 +417,11 @@ 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( @@ -478,7 +444,6 @@ 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() @@ -488,7 +453,6 @@ 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: @@ -500,13 +464,11 @@ async def 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( @@ -530,7 +492,6 @@ 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() @@ -540,7 +501,6 @@ 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: @@ -552,13 +512,11 @@ 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( @@ -582,7 +540,6 @@ 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() @@ -592,7 +549,6 @@ 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: @@ -604,13 +560,11 @@ 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( @@ -635,7 +589,6 @@ 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() @@ -645,7 +598,6 @@ 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 67738ff175e..1dd04286948 100644 --- a/tests/api_resources/radar/attacks/layer3/test_timeseries_groups.py +++ b/tests/api_resources/radar/attacks/layer3/test_timeseries_groups.py @@ -27,13 +27,11 @@ 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( @@ -60,7 +58,6 @@ 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() @@ -70,7 +67,6 @@ 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: @@ -82,13 +78,11 @@ 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( @@ -115,7 +109,6 @@ 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() @@ -125,7 +118,6 @@ 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: @@ -137,13 +129,11 @@ 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( @@ -167,7 +157,6 @@ 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() @@ -177,7 +166,6 @@ 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: @@ -189,13 +177,11 @@ 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( @@ -222,7 +208,6 @@ 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() @@ -232,7 +217,6 @@ 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: @@ -244,13 +228,11 @@ 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( @@ -276,7 +258,6 @@ 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() @@ -286,7 +267,6 @@ 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: @@ -298,13 +278,11 @@ 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( @@ -330,7 +308,6 @@ 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() @@ -340,7 +317,6 @@ 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: @@ -352,13 +328,11 @@ 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( @@ -386,7 +360,6 @@ 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() @@ -396,7 +369,6 @@ 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: @@ -408,13 +380,11 @@ 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( @@ -441,7 +411,6 @@ 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() @@ -451,7 +420,6 @@ 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: @@ -467,13 +435,11 @@ 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( @@ -500,7 +466,6 @@ 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() @@ -510,7 +475,6 @@ 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: @@ -522,13 +486,11 @@ 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( @@ -555,7 +517,6 @@ 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() @@ -565,7 +526,6 @@ 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: @@ -577,13 +537,11 @@ 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( @@ -607,7 +565,6 @@ 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() @@ -617,7 +574,6 @@ 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: @@ -629,13 +585,11 @@ async def 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( @@ -662,7 +616,6 @@ 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() @@ -672,7 +625,6 @@ 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: @@ -684,13 +636,11 @@ 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( @@ -716,7 +666,6 @@ 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() @@ -726,7 +675,6 @@ 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: @@ -738,13 +686,11 @@ 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( @@ -770,7 +716,6 @@ 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() @@ -780,7 +725,6 @@ 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: @@ -792,13 +736,11 @@ 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( @@ -826,7 +768,6 @@ 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() @@ -836,7 +777,6 @@ 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: @@ -848,13 +788,11 @@ 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( @@ -881,7 +819,6 @@ 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() @@ -891,7 +828,6 @@ 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 d48011bdd67..6d2d7d36d7c 100644 --- a/tests/api_resources/radar/attacks/layer3/test_top.py +++ b/tests/api_resources/radar/attacks/layer3/test_top.py @@ -22,13 +22,11 @@ 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( @@ -55,7 +53,6 @@ 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() @@ -65,7 +62,6 @@ 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: @@ -77,13 +73,11 @@ 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( @@ -108,7 +102,6 @@ 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() @@ -118,7 +111,6 @@ 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: @@ -130,13 +122,11 @@ 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( @@ -161,7 +151,6 @@ 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() @@ -171,7 +160,6 @@ 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: @@ -187,13 +175,11 @@ 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( @@ -220,7 +206,6 @@ 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() @@ -230,7 +215,6 @@ 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: @@ -242,13 +226,11 @@ 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( @@ -273,7 +255,6 @@ 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() @@ -283,7 +264,6 @@ 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: @@ -295,13 +275,11 @@ 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( @@ -326,7 +304,6 @@ 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() @@ -336,7 +313,6 @@ 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 194c19f4bcd..f1848af7b27 100644 --- a/tests/api_resources/radar/attacks/layer3/top/test_locations.py +++ b/tests/api_resources/radar/attacks/layer3/top/test_locations.py @@ -21,13 +21,11 @@ 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( @@ -52,7 +50,6 @@ 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() @@ -62,7 +59,6 @@ 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: @@ -74,13 +70,11 @@ 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( @@ -105,7 +99,6 @@ 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() @@ -115,7 +108,6 @@ 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: @@ -131,13 +123,11 @@ 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( @@ -162,7 +152,6 @@ 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() @@ -172,7 +161,6 @@ 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: @@ -184,13 +172,11 @@ 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( @@ -215,7 +201,6 @@ 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() @@ -225,7 +210,6 @@ 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 387fa63e663..c8f4159e08c 100644 --- a/tests/api_resources/radar/attacks/layer7/test_summary.py +++ b/tests/api_resources/radar/attacks/layer7/test_summary.py @@ -25,13 +25,11 @@ 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( @@ -54,7 +52,6 @@ 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() @@ -64,7 +61,6 @@ 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: @@ -76,13 +72,11 @@ 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( @@ -108,7 +102,6 @@ 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() @@ -118,7 +111,6 @@ 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: @@ -130,13 +122,11 @@ 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( @@ -162,7 +152,6 @@ 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() @@ -172,7 +161,6 @@ 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: @@ -184,13 +172,11 @@ 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( @@ -216,7 +202,6 @@ 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() @@ -226,7 +211,6 @@ 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: @@ -238,13 +222,11 @@ 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( @@ -271,7 +253,6 @@ 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() @@ -281,7 +262,6 @@ 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: @@ -293,13 +273,11 @@ 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( @@ -325,7 +303,6 @@ 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() @@ -335,7 +312,6 @@ 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: @@ -351,13 +327,11 @@ 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( @@ -380,7 +354,6 @@ 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() @@ -390,7 +363,6 @@ 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: @@ -402,13 +374,11 @@ async def 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( @@ -434,7 +404,6 @@ 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() @@ -444,7 +413,6 @@ 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: @@ -456,13 +424,11 @@ 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( @@ -488,7 +454,6 @@ 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() @@ -498,7 +463,6 @@ 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: @@ -510,13 +474,11 @@ 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( @@ -542,7 +504,6 @@ 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() @@ -552,7 +513,6 @@ 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: @@ -564,13 +524,11 @@ 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( @@ -597,7 +555,6 @@ 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() @@ -607,7 +564,6 @@ 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: @@ -619,13 +575,11 @@ 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( @@ -651,7 +605,6 @@ 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() @@ -661,7 +614,6 @@ 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 e019a3d76fd..99f8be5a802 100644 --- a/tests/api_resources/radar/attacks/layer7/test_timeseries_groups.py +++ b/tests/api_resources/radar/attacks/layer7/test_timeseries_groups.py @@ -27,13 +27,11 @@ 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( @@ -57,7 +55,6 @@ 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() @@ -67,7 +64,6 @@ 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: @@ -79,13 +75,11 @@ 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( @@ -113,7 +107,6 @@ 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() @@ -123,7 +116,6 @@ 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: @@ -135,13 +127,11 @@ 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( @@ -169,7 +159,6 @@ 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() @@ -179,7 +168,6 @@ 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: @@ -191,13 +179,11 @@ 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( @@ -227,7 +213,6 @@ 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() @@ -237,7 +222,6 @@ 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: @@ -249,13 +233,11 @@ 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( @@ -283,7 +265,6 @@ 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() @@ -293,7 +274,6 @@ 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: @@ -305,13 +285,11 @@ 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( @@ -340,7 +318,6 @@ 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() @@ -350,7 +327,6 @@ 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: @@ -362,13 +338,11 @@ 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( @@ -396,7 +370,6 @@ 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() @@ -406,7 +379,6 @@ 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: @@ -418,13 +390,11 @@ 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( @@ -454,7 +424,6 @@ 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() @@ -464,7 +433,6 @@ 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: @@ -480,13 +448,11 @@ 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( @@ -510,7 +476,6 @@ 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() @@ -520,7 +485,6 @@ 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: @@ -532,13 +496,11 @@ async def 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( @@ -566,7 +528,6 @@ 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() @@ -576,7 +537,6 @@ 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: @@ -588,13 +548,11 @@ 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( @@ -622,7 +580,6 @@ 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() @@ -632,7 +589,6 @@ 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: @@ -644,13 +600,11 @@ 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( @@ -680,7 +634,6 @@ 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() @@ -690,7 +643,6 @@ 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: @@ -702,13 +654,11 @@ 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( @@ -736,7 +686,6 @@ 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() @@ -746,7 +695,6 @@ 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: @@ -758,13 +706,11 @@ 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( @@ -793,7 +739,6 @@ 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() @@ -803,7 +748,6 @@ 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: @@ -815,13 +759,11 @@ 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( @@ -849,7 +791,6 @@ 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() @@ -859,7 +800,6 @@ 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: @@ -871,13 +811,11 @@ 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( @@ -907,7 +845,6 @@ 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() @@ -917,7 +854,6 @@ 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 6f0a9adb0a9..edce1b2472a 100644 --- a/tests/api_resources/radar/attacks/layer7/test_top.py +++ b/tests/api_resources/radar/attacks/layer7/test_top.py @@ -22,13 +22,11 @@ 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( @@ -55,7 +53,6 @@ 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() @@ -65,7 +62,6 @@ 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: @@ -77,13 +73,11 @@ 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( @@ -107,7 +101,6 @@ 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() @@ -117,7 +110,6 @@ 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: @@ -129,13 +121,11 @@ 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( @@ -159,7 +149,6 @@ 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() @@ -169,7 +158,6 @@ 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: @@ -185,13 +173,11 @@ 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( @@ -218,7 +204,6 @@ 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() @@ -228,7 +213,6 @@ 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: @@ -240,13 +224,11 @@ 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( @@ -270,7 +252,6 @@ 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() @@ -280,7 +261,6 @@ 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: @@ -292,13 +272,11 @@ 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( @@ -322,7 +300,6 @@ 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() @@ -332,7 +309,6 @@ 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 cf12547e615..afa9610bd1a 100644 --- a/tests/api_resources/radar/attacks/layer7/top/test_ases.py +++ b/tests/api_resources/radar/attacks/layer7/top/test_ases.py @@ -18,13 +18,11 @@ 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( @@ -47,7 +45,6 @@ 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() @@ -57,7 +54,6 @@ 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: @@ -73,13 +69,11 @@ 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( @@ -102,7 +96,6 @@ 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() @@ -112,7 +105,6 @@ 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 0752c790d23..e1482281e22 100644 --- a/tests/api_resources/radar/attacks/layer7/top/test_locations.py +++ b/tests/api_resources/radar/attacks/layer7/top/test_locations.py @@ -21,13 +21,11 @@ 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( @@ -50,7 +48,6 @@ 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() @@ -60,7 +57,6 @@ 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: @@ -72,13 +68,11 @@ 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( @@ -100,7 +94,6 @@ 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() @@ -110,7 +103,6 @@ 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: @@ -126,13 +118,11 @@ 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( @@ -155,7 +145,6 @@ 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() @@ -165,7 +154,6 @@ 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: @@ -177,13 +165,11 @@ 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( @@ -205,7 +191,6 @@ 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() @@ -215,7 +200,6 @@ 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 cc21487946f..bdcdabdb226 100644 --- a/tests/api_resources/radar/attacks/test_layer3.py +++ b/tests/api_resources/radar/attacks/test_layer3.py @@ -18,13 +18,11 @@ 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( @@ -53,7 +51,6 @@ 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() @@ -63,7 +60,6 @@ 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: @@ -79,13 +75,11 @@ 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( @@ -114,7 +108,6 @@ 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() @@ -124,7 +117,6 @@ 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 45528ada5ac..5f4c4fbdb19 100644 --- a/tests/api_resources/radar/attacks/test_layer7.py +++ b/tests/api_resources/radar/attacks/test_layer7.py @@ -18,13 +18,11 @@ 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( @@ -50,7 +48,6 @@ 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() @@ -60,7 +57,6 @@ 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: @@ -76,13 +72,11 @@ 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( @@ -108,7 +102,6 @@ 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() @@ -118,7 +111,6 @@ 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 e12b3caa09f..f0f7fa02ebe 100644 --- a/tests/api_resources/radar/bgp/hijacks/test_events.py +++ b/tests/api_resources/radar/bgp/hijacks/test_events.py @@ -19,13 +19,11 @@ class TestEvents: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_list(self, client: 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( @@ -48,7 +46,6 @@ 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() @@ -58,7 +55,6 @@ 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: @@ -74,13 +70,11 @@ 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( @@ -103,7 +97,6 @@ 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() @@ -113,7 +106,6 @@ 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 a8eef2dfaf3..8c4feb02045 100644 --- a/tests/api_resources/radar/bgp/leaks/test_events.py +++ b/tests/api_resources/radar/bgp/leaks/test_events.py @@ -19,13 +19,11 @@ class TestEvents: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) - @pytest.mark.skip() @parametrize def test_method_list(self, client: 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( @@ -44,7 +42,6 @@ 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() @@ -54,7 +51,6 @@ 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: @@ -70,13 +66,11 @@ 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( @@ -95,7 +89,6 @@ 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() @@ -105,7 +98,6 @@ 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 9b9ca69370b..0ab3765df0a 100644 --- a/tests/api_resources/radar/bgp/test_routes.py +++ b/tests/api_resources/radar/bgp/test_routes.py @@ -23,13 +23,11 @@ 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( @@ -40,7 +38,6 @@ 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() @@ -50,7 +47,6 @@ 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: @@ -62,13 +58,11 @@ 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( @@ -80,7 +74,6 @@ 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() @@ -90,7 +83,6 @@ 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: @@ -102,13 +94,11 @@ 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( @@ -118,7 +108,6 @@ 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() @@ -128,7 +117,6 @@ 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: @@ -140,13 +128,11 @@ 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( @@ -160,7 +146,6 @@ 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() @@ -170,7 +155,6 @@ 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: @@ -186,13 +170,11 @@ 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( @@ -203,7 +185,6 @@ 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() @@ -213,7 +194,6 @@ 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: @@ -225,13 +205,11 @@ 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( @@ -243,7 +221,6 @@ 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() @@ -253,7 +230,6 @@ 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: @@ -265,13 +241,11 @@ 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( @@ -281,7 +255,6 @@ 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() @@ -291,7 +264,6 @@ 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: @@ -303,13 +275,11 @@ 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( @@ -323,7 +293,6 @@ 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() @@ -333,7 +302,6 @@ 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 7f8f9d2cccd..aabb2c05533 100644 --- a/tests/api_resources/radar/bgp/test_top.py +++ b/tests/api_resources/radar/bgp/test_top.py @@ -18,13 +18,11 @@ 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( @@ -47,7 +45,6 @@ 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() @@ -57,7 +54,6 @@ 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: @@ -73,13 +69,11 @@ 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( @@ -102,7 +96,6 @@ 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() @@ -112,7 +105,6 @@ 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 515a06046a6..0eb51280b0a 100644 --- a/tests/api_resources/radar/bgp/top/test_ases.py +++ b/tests/api_resources/radar/bgp/top/test_ases.py @@ -18,13 +18,11 @@ 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( @@ -48,7 +46,6 @@ 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() @@ -58,7 +55,6 @@ 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: @@ -70,13 +66,11 @@ 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( @@ -86,7 +80,6 @@ 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() @@ -96,7 +89,6 @@ 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: @@ -112,13 +104,11 @@ 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( @@ -142,7 +132,6 @@ 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() @@ -152,7 +141,6 @@ 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: @@ -164,13 +152,11 @@ async def 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( @@ -180,7 +166,6 @@ 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() @@ -190,7 +175,6 @@ 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 e9e4494a4b1..f9c7f770b64 100644 --- a/tests/api_resources/radar/dns/test_top.py +++ b/tests/api_resources/radar/dns/test_top.py @@ -18,7 +18,6 @@ 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( @@ -26,7 +25,6 @@ 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( @@ -51,7 +49,6 @@ 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( @@ -63,7 +60,6 @@ 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( @@ -77,7 +73,6 @@ 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( @@ -85,7 +80,6 @@ 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( @@ -110,7 +104,6 @@ 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( @@ -122,7 +115,6 @@ 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( @@ -140,7 +132,6 @@ 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( @@ -148,7 +139,6 @@ 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( @@ -173,7 +163,6 @@ 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( @@ -185,7 +174,6 @@ 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( @@ -199,7 +187,6 @@ 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( @@ -207,7 +194,6 @@ 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( @@ -232,7 +218,6 @@ 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( @@ -244,7 +229,6 @@ 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 f44308cbcb4..23fa3d37588 100644 --- a/tests/api_resources/radar/email/routing/test_summary.py +++ b/tests/api_resources/radar/email/routing/test_summary.py @@ -25,13 +25,11 @@ 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( @@ -56,7 +54,6 @@ 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() @@ -66,7 +63,6 @@ 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: @@ -78,13 +74,11 @@ 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( @@ -109,7 +103,6 @@ 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() @@ -119,7 +112,6 @@ 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: @@ -131,13 +123,11 @@ 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( @@ -162,7 +152,6 @@ 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() @@ -172,7 +161,6 @@ 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: @@ -184,13 +172,11 @@ 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( @@ -215,7 +201,6 @@ 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() @@ -225,7 +210,6 @@ 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: @@ -237,13 +221,11 @@ 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( @@ -268,7 +250,6 @@ 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() @@ -278,7 +259,6 @@ 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: @@ -290,13 +270,11 @@ 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( @@ -321,7 +299,6 @@ 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() @@ -331,7 +308,6 @@ 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: @@ -347,13 +323,11 @@ 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( @@ -378,7 +352,6 @@ 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() @@ -388,7 +361,6 @@ 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: @@ -400,13 +372,11 @@ 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( @@ -431,7 +401,6 @@ 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() @@ -441,7 +410,6 @@ 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: @@ -453,13 +421,11 @@ 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( @@ -484,7 +450,6 @@ 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() @@ -494,7 +459,6 @@ 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: @@ -506,13 +470,11 @@ 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( @@ -537,7 +499,6 @@ 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() @@ -547,7 +508,6 @@ 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: @@ -559,13 +519,11 @@ 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( @@ -590,7 +548,6 @@ 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() @@ -600,7 +557,6 @@ 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: @@ -612,13 +568,11 @@ 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( @@ -643,7 +597,6 @@ 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() @@ -653,7 +606,6 @@ 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 cc4f249e4c3..c75e3da7701 100644 --- a/tests/api_resources/radar/email/routing/test_timeseries_groups.py +++ b/tests/api_resources/radar/email/routing/test_timeseries_groups.py @@ -25,13 +25,11 @@ 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( @@ -57,7 +55,6 @@ 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() @@ -67,7 +64,6 @@ 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: @@ -79,13 +75,11 @@ 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( @@ -111,7 +105,6 @@ 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() @@ -121,7 +114,6 @@ 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: @@ -133,13 +125,11 @@ 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( @@ -165,7 +155,6 @@ 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() @@ -175,7 +164,6 @@ 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: @@ -187,13 +175,11 @@ 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( @@ -219,7 +205,6 @@ 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() @@ -229,7 +214,6 @@ 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: @@ -241,13 +225,11 @@ 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( @@ -273,7 +255,6 @@ 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() @@ -283,7 +264,6 @@ 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: @@ -295,13 +275,11 @@ 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( @@ -327,7 +305,6 @@ 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() @@ -337,7 +314,6 @@ 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: @@ -353,13 +329,11 @@ 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( @@ -385,7 +359,6 @@ 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() @@ -395,7 +368,6 @@ 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: @@ -407,13 +379,11 @@ 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( @@ -439,7 +409,6 @@ 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() @@ -449,7 +418,6 @@ 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: @@ -461,13 +429,11 @@ 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( @@ -493,7 +459,6 @@ 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() @@ -503,7 +468,6 @@ 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: @@ -515,13 +479,11 @@ 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( @@ -547,7 +509,6 @@ 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() @@ -557,7 +518,6 @@ 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: @@ -569,13 +529,11 @@ 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( @@ -601,7 +559,6 @@ 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() @@ -611,7 +568,6 @@ 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: @@ -623,13 +579,11 @@ 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( @@ -655,7 +609,6 @@ 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() @@ -665,7 +618,6 @@ 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 e3df2f5670c..4fb28b76274 100644 --- a/tests/api_resources/radar/email/security/test_summary.py +++ b/tests/api_resources/radar/email/security/test_summary.py @@ -28,13 +28,11 @@ 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( @@ -58,7 +56,6 @@ 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() @@ -68,7 +65,6 @@ 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: @@ -80,13 +76,11 @@ 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( @@ -110,7 +104,6 @@ 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() @@ -120,7 +113,6 @@ 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: @@ -132,13 +124,11 @@ 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( @@ -162,7 +152,6 @@ 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() @@ -172,7 +161,6 @@ 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: @@ -184,13 +172,11 @@ 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( @@ -215,7 +201,6 @@ 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() @@ -225,7 +210,6 @@ 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: @@ -237,13 +221,11 @@ 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( @@ -268,7 +250,6 @@ 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() @@ -278,7 +259,6 @@ 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: @@ -290,13 +270,11 @@ 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( @@ -320,7 +298,6 @@ 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() @@ -330,7 +307,6 @@ 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: @@ -342,13 +318,11 @@ 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( @@ -373,7 +347,6 @@ 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() @@ -383,7 +356,6 @@ 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: @@ -395,13 +367,11 @@ 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( @@ -426,7 +396,6 @@ 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() @@ -436,7 +405,6 @@ 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: @@ -448,13 +416,11 @@ 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( @@ -478,7 +444,6 @@ 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() @@ -488,7 +453,6 @@ 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: @@ -504,13 +468,11 @@ 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( @@ -534,7 +496,6 @@ 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() @@ -544,7 +505,6 @@ 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: @@ -556,13 +516,11 @@ 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( @@ -586,7 +544,6 @@ 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() @@ -596,7 +553,6 @@ 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: @@ -608,13 +564,11 @@ 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( @@ -638,7 +592,6 @@ 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() @@ -648,7 +601,6 @@ 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: @@ -660,13 +612,11 @@ 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( @@ -691,7 +641,6 @@ 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() @@ -701,7 +650,6 @@ 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: @@ -713,13 +661,11 @@ 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( @@ -744,7 +690,6 @@ 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() @@ -754,7 +699,6 @@ 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: @@ -766,13 +710,11 @@ 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( @@ -796,7 +738,6 @@ 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() @@ -806,7 +747,6 @@ 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: @@ -818,13 +758,11 @@ 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( @@ -849,7 +787,6 @@ 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() @@ -859,7 +796,6 @@ 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: @@ -871,13 +807,11 @@ 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( @@ -902,7 +836,6 @@ 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() @@ -912,7 +845,6 @@ 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: @@ -924,13 +856,11 @@ 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( @@ -954,7 +884,6 @@ 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() @@ -964,7 +893,6 @@ 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 4af4404daa9..b9b4674e1e2 100644 --- a/tests/api_resources/radar/email/security/test_timeseries_groups.py +++ b/tests/api_resources/radar/email/security/test_timeseries_groups.py @@ -28,13 +28,11 @@ 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( @@ -59,7 +57,6 @@ 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() @@ -69,7 +66,6 @@ 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: @@ -81,13 +77,11 @@ 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( @@ -112,7 +106,6 @@ 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() @@ -122,7 +115,6 @@ 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: @@ -134,13 +126,11 @@ 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( @@ -165,7 +155,6 @@ 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() @@ -175,7 +164,6 @@ 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: @@ -187,13 +175,11 @@ 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( @@ -219,7 +205,6 @@ 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() @@ -229,7 +214,6 @@ 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: @@ -241,13 +225,11 @@ 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( @@ -273,7 +255,6 @@ 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() @@ -283,7 +264,6 @@ 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: @@ -295,13 +275,11 @@ 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( @@ -326,7 +304,6 @@ 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() @@ -336,7 +313,6 @@ 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: @@ -348,13 +324,11 @@ 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( @@ -380,7 +354,6 @@ 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() @@ -390,7 +363,6 @@ 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: @@ -402,13 +374,11 @@ 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( @@ -434,7 +404,6 @@ 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() @@ -444,7 +413,6 @@ 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: @@ -456,13 +424,11 @@ 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( @@ -487,7 +453,6 @@ 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() @@ -497,7 +462,6 @@ 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: @@ -513,13 +477,11 @@ 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( @@ -544,7 +506,6 @@ 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() @@ -554,7 +515,6 @@ 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: @@ -566,13 +526,11 @@ 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( @@ -597,7 +555,6 @@ 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() @@ -607,7 +564,6 @@ 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: @@ -619,13 +575,11 @@ 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( @@ -650,7 +604,6 @@ 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() @@ -660,7 +613,6 @@ 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: @@ -672,13 +624,11 @@ 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( @@ -704,7 +654,6 @@ 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() @@ -714,7 +663,6 @@ 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: @@ -726,13 +674,11 @@ 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( @@ -758,7 +704,6 @@ 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() @@ -768,7 +713,6 @@ 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: @@ -780,13 +724,11 @@ 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( @@ -811,7 +753,6 @@ 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() @@ -821,7 +762,6 @@ 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: @@ -833,13 +773,11 @@ 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( @@ -865,7 +803,6 @@ 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() @@ -875,7 +812,6 @@ 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: @@ -887,13 +823,11 @@ 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( @@ -919,7 +853,6 @@ 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() @@ -929,7 +862,6 @@ 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: @@ -941,13 +873,11 @@ 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( @@ -972,7 +902,6 @@ 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() @@ -982,7 +911,6 @@ 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 218f134cedf..f0307596a1a 100644 --- a/tests/api_resources/radar/email/security/top/test_tlds.py +++ b/tests/api_resources/radar/email/security/top/test_tlds.py @@ -18,13 +18,11 @@ 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( @@ -51,7 +49,6 @@ 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() @@ -61,7 +58,6 @@ 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: @@ -77,13 +73,11 @@ 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( @@ -110,7 +104,6 @@ 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() @@ -120,7 +113,6 @@ 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 22bf1dfcb8f..290d8768747 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,7 +18,6 @@ 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( @@ -26,7 +25,6 @@ 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( @@ -54,7 +52,6 @@ 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( @@ -66,7 +63,6 @@ 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( @@ -84,7 +80,6 @@ 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( @@ -92,7 +87,6 @@ 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( @@ -120,7 +114,6 @@ 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( @@ -132,7 +125,6 @@ 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 62b1b969239..4991fa622eb 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,7 +18,6 @@ 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( @@ -26,7 +25,6 @@ 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( @@ -54,7 +52,6 @@ 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( @@ -66,7 +63,6 @@ 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( @@ -84,7 +80,6 @@ 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( @@ -92,7 +87,6 @@ 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( @@ -120,7 +114,6 @@ 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( @@ -132,7 +125,6 @@ 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 185a4306397..3800432f585 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,7 +18,6 @@ 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( @@ -26,7 +25,6 @@ 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( @@ -54,7 +52,6 @@ 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( @@ -66,7 +63,6 @@ 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( @@ -84,7 +80,6 @@ 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( @@ -92,7 +87,6 @@ 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( @@ -120,7 +114,6 @@ 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( @@ -132,7 +125,6 @@ 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 8273d3fc87e..0a1ad904dc7 100644 --- a/tests/api_resources/radar/entities/test_asns.py +++ b/tests/api_resources/radar/entities/test_asns.py @@ -22,13 +22,11 @@ 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( @@ -41,7 +39,6 @@ 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() @@ -51,7 +48,6 @@ 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: @@ -63,7 +59,6 @@ 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( @@ -71,7 +66,6 @@ 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( @@ -80,7 +74,6 @@ 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( @@ -92,7 +85,6 @@ 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( @@ -106,7 +98,6 @@ 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( @@ -114,7 +105,6 @@ 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( @@ -123,7 +113,6 @@ 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( @@ -135,7 +124,6 @@ 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( @@ -149,7 +137,6 @@ 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( @@ -157,7 +144,6 @@ 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( @@ -167,7 +153,6 @@ 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( @@ -179,7 +164,6 @@ 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( @@ -197,13 +181,11 @@ 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( @@ -216,7 +198,6 @@ 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() @@ -226,7 +207,6 @@ 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: @@ -238,7 +218,6 @@ 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( @@ -246,7 +225,6 @@ 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( @@ -255,7 +233,6 @@ 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( @@ -267,7 +244,6 @@ 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( @@ -281,7 +257,6 @@ async def 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( @@ -289,7 +264,6 @@ 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( @@ -298,7 +272,6 @@ 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( @@ -310,7 +283,6 @@ 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( @@ -324,7 +296,6 @@ 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( @@ -332,7 +303,6 @@ 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( @@ -342,7 +312,6 @@ 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( @@ -354,7 +323,6 @@ 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 59e8a6ff915..6cb88295e26 100644 --- a/tests/api_resources/radar/entities/test_locations.py +++ b/tests/api_resources/radar/entities/test_locations.py @@ -20,13 +20,11 @@ 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( @@ -37,7 +35,6 @@ 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() @@ -47,7 +44,6 @@ 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: @@ -59,7 +55,6 @@ 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( @@ -67,7 +62,6 @@ 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( @@ -76,7 +70,6 @@ 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( @@ -88,7 +81,6 @@ 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( @@ -102,7 +94,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -114,13 +105,11 @@ 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( @@ -131,7 +120,6 @@ 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() @@ -141,7 +129,6 @@ 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: @@ -153,7 +140,6 @@ 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( @@ -161,7 +147,6 @@ 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( @@ -170,7 +155,6 @@ 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( @@ -182,7 +166,6 @@ 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( @@ -196,7 +179,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 177775b9dc4..c1196859b45 100644 --- a/tests/api_resources/radar/http/ases/test_bot_class.py +++ b/tests/api_resources/radar/http/ases/test_bot_class.py @@ -18,7 +18,6 @@ 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( @@ -26,7 +25,6 @@ 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( @@ -57,7 +55,6 @@ 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( @@ -69,7 +66,6 @@ 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( @@ -87,7 +83,6 @@ 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( @@ -95,7 +90,6 @@ 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( @@ -126,7 +120,6 @@ 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( @@ -138,7 +131,6 @@ 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 15dde782973..cbf61936f48 100644 --- a/tests/api_resources/radar/http/ases/test_device_type.py +++ b/tests/api_resources/radar/http/ases/test_device_type.py @@ -18,7 +18,6 @@ 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( @@ -26,7 +25,6 @@ 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( @@ -57,7 +55,6 @@ 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( @@ -69,7 +66,6 @@ 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( @@ -87,7 +83,6 @@ 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( @@ -95,7 +90,6 @@ 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( @@ -126,7 +120,6 @@ 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( @@ -138,7 +131,6 @@ 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 4ad2abaf200..e791bb09aa4 100644 --- a/tests/api_resources/radar/http/ases/test_http_method.py +++ b/tests/api_resources/radar/http/ases/test_http_method.py @@ -18,7 +18,6 @@ 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( @@ -26,7 +25,6 @@ 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( @@ -57,7 +55,6 @@ 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( @@ -69,7 +66,6 @@ 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( @@ -87,7 +83,6 @@ 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( @@ -95,7 +90,6 @@ 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( @@ -126,7 +120,6 @@ 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( @@ -138,7 +131,6 @@ 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 91b9272418a..37266961af0 100644 --- a/tests/api_resources/radar/http/ases/test_http_protocol.py +++ b/tests/api_resources/radar/http/ases/test_http_protocol.py @@ -18,7 +18,6 @@ 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( @@ -26,7 +25,6 @@ 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( @@ -56,7 +54,6 @@ 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( @@ -68,7 +65,6 @@ 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( @@ -86,7 +82,6 @@ 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( @@ -94,7 +89,6 @@ 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( @@ -124,7 +118,6 @@ 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( @@ -136,7 +129,6 @@ 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 6926a2d80a9..c69d7d39017 100644 --- a/tests/api_resources/radar/http/ases/test_ip_version.py +++ b/tests/api_resources/radar/http/ases/test_ip_version.py @@ -18,7 +18,6 @@ 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( @@ -26,7 +25,6 @@ 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( @@ -57,7 +55,6 @@ 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( @@ -69,7 +66,6 @@ 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( @@ -87,7 +83,6 @@ 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( @@ -95,7 +90,6 @@ 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( @@ -126,7 +120,6 @@ 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( @@ -138,7 +131,6 @@ 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 aee0b72ed62..a197d163aea 100644 --- a/tests/api_resources/radar/http/ases/test_os.py +++ b/tests/api_resources/radar/http/ases/test_os.py @@ -18,7 +18,6 @@ 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( @@ -26,7 +25,6 @@ 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( @@ -57,7 +55,6 @@ 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( @@ -69,7 +66,6 @@ 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( @@ -87,7 +83,6 @@ 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( @@ -95,7 +90,6 @@ 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( @@ -126,7 +120,6 @@ 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( @@ -138,7 +131,6 @@ 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 1d6e229862d..b785844f314 100644 --- a/tests/api_resources/radar/http/ases/test_tls_version.py +++ b/tests/api_resources/radar/http/ases/test_tls_version.py @@ -18,7 +18,6 @@ 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( @@ -26,7 +25,6 @@ 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( @@ -57,7 +55,6 @@ 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( @@ -69,7 +66,6 @@ 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( @@ -87,7 +83,6 @@ 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( @@ -95,7 +90,6 @@ 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( @@ -126,7 +120,6 @@ 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( @@ -138,7 +131,6 @@ 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 2494f445a5b..064a76b14c5 100644 --- a/tests/api_resources/radar/http/locations/test_bot_class.py +++ b/tests/api_resources/radar/http/locations/test_bot_class.py @@ -18,7 +18,6 @@ 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( @@ -26,7 +25,6 @@ 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( @@ -57,7 +55,6 @@ 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( @@ -69,7 +66,6 @@ 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( @@ -87,7 +83,6 @@ 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( @@ -95,7 +90,6 @@ 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( @@ -126,7 +120,6 @@ 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( @@ -138,7 +131,6 @@ 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 30431de0cd8..1fa468dd59c 100644 --- a/tests/api_resources/radar/http/locations/test_device_type.py +++ b/tests/api_resources/radar/http/locations/test_device_type.py @@ -18,7 +18,6 @@ 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( @@ -26,7 +25,6 @@ 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( @@ -57,7 +55,6 @@ 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( @@ -69,7 +66,6 @@ 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( @@ -87,7 +83,6 @@ 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( @@ -95,7 +90,6 @@ 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( @@ -126,7 +120,6 @@ 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( @@ -138,7 +131,6 @@ 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 6a78bd7867a..972e82a1e61 100644 --- a/tests/api_resources/radar/http/locations/test_http_method.py +++ b/tests/api_resources/radar/http/locations/test_http_method.py @@ -18,7 +18,6 @@ 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( @@ -26,7 +25,6 @@ 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( @@ -57,7 +55,6 @@ 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( @@ -69,7 +66,6 @@ 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( @@ -87,7 +83,6 @@ 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( @@ -95,7 +90,6 @@ 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( @@ -126,7 +120,6 @@ 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( @@ -138,7 +131,6 @@ 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 6dbb5bf0b0a..944a356a577 100644 --- a/tests/api_resources/radar/http/locations/test_http_protocol.py +++ b/tests/api_resources/radar/http/locations/test_http_protocol.py @@ -18,7 +18,6 @@ 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( @@ -26,7 +25,6 @@ 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( @@ -56,7 +54,6 @@ 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( @@ -68,7 +65,6 @@ 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( @@ -86,7 +82,6 @@ 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( @@ -94,7 +89,6 @@ 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( @@ -124,7 +118,6 @@ 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( @@ -136,7 +129,6 @@ 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 0a01d8af6df..f26711c76c0 100644 --- a/tests/api_resources/radar/http/locations/test_ip_version.py +++ b/tests/api_resources/radar/http/locations/test_ip_version.py @@ -18,7 +18,6 @@ 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( @@ -26,7 +25,6 @@ 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( @@ -57,7 +55,6 @@ 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( @@ -69,7 +66,6 @@ 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( @@ -87,7 +83,6 @@ 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( @@ -95,7 +90,6 @@ 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( @@ -126,7 +120,6 @@ 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( @@ -138,7 +131,6 @@ 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 a2975b8b9a3..a72186e7703 100644 --- a/tests/api_resources/radar/http/locations/test_os.py +++ b/tests/api_resources/radar/http/locations/test_os.py @@ -18,7 +18,6 @@ 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( @@ -26,7 +25,6 @@ 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( @@ -57,7 +55,6 @@ 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( @@ -69,7 +66,6 @@ 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( @@ -87,7 +83,6 @@ 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( @@ -95,7 +90,6 @@ 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( @@ -126,7 +120,6 @@ 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( @@ -138,7 +131,6 @@ 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 e504f1110c1..0be78706192 100644 --- a/tests/api_resources/radar/http/locations/test_tls_version.py +++ b/tests/api_resources/radar/http/locations/test_tls_version.py @@ -18,7 +18,6 @@ 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( @@ -26,7 +25,6 @@ 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( @@ -57,7 +55,6 @@ 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( @@ -69,7 +66,6 @@ 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( @@ -87,7 +83,6 @@ 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( @@ -95,7 +90,6 @@ 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( @@ -126,7 +120,6 @@ 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( @@ -138,7 +131,6 @@ 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 650376b1d3d..8e22658cac3 100644 --- a/tests/api_resources/radar/http/test_ases.py +++ b/tests/api_resources/radar/http/test_ases.py @@ -18,13 +18,11 @@ 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( @@ -55,7 +53,6 @@ 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() @@ -65,7 +62,6 @@ 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: @@ -81,13 +77,11 @@ 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( @@ -118,7 +112,6 @@ 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() @@ -128,7 +121,6 @@ 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 f0dd6fbeaa7..7f992255f7c 100644 --- a/tests/api_resources/radar/http/test_locations.py +++ b/tests/api_resources/radar/http/test_locations.py @@ -18,13 +18,11 @@ 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( @@ -55,7 +53,6 @@ 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() @@ -65,7 +62,6 @@ 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: @@ -81,13 +77,11 @@ 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( @@ -118,7 +112,6 @@ 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() @@ -128,7 +121,6 @@ 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 3b06744b0a9..95bce001b6f 100644 --- a/tests/api_resources/radar/http/test_summary.py +++ b/tests/api_resources/radar/http/test_summary.py @@ -26,13 +26,11 @@ 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( @@ -61,7 +59,6 @@ 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() @@ -71,7 +68,6 @@ 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: @@ -83,13 +79,11 @@ 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( @@ -118,7 +112,6 @@ 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() @@ -128,7 +121,6 @@ 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: @@ -140,13 +132,11 @@ 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( @@ -175,7 +165,6 @@ 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() @@ -185,7 +174,6 @@ 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: @@ -197,13 +185,11 @@ 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( @@ -232,7 +218,6 @@ 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() @@ -242,7 +227,6 @@ 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: @@ -254,13 +238,11 @@ 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( @@ -289,7 +271,6 @@ 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() @@ -299,7 +280,6 @@ 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: @@ -311,13 +291,11 @@ 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( @@ -346,7 +324,6 @@ 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() @@ -356,7 +333,6 @@ 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: @@ -368,13 +344,11 @@ 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( @@ -403,7 +377,6 @@ 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() @@ -413,7 +386,6 @@ 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: @@ -429,13 +401,11 @@ 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( @@ -464,7 +434,6 @@ 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() @@ -474,7 +443,6 @@ 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: @@ -486,13 +454,11 @@ 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( @@ -521,7 +487,6 @@ 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() @@ -531,7 +496,6 @@ 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: @@ -543,13 +507,11 @@ 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( @@ -578,7 +540,6 @@ 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() @@ -588,7 +549,6 @@ 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: @@ -600,13 +560,11 @@ 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( @@ -635,7 +593,6 @@ 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() @@ -645,7 +602,6 @@ 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: @@ -657,13 +613,11 @@ 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( @@ -692,7 +646,6 @@ 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() @@ -702,7 +655,6 @@ 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: @@ -714,13 +666,11 @@ 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( @@ -749,7 +699,6 @@ 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() @@ -759,7 +708,6 @@ 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: @@ -771,13 +719,11 @@ 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( @@ -806,7 +752,6 @@ 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() @@ -816,7 +761,6 @@ 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 cb362d3ff23..bc8e856458b 100644 --- a/tests/api_resources/radar/http/test_timeseries_groups.py +++ b/tests/api_resources/radar/http/test_timeseries_groups.py @@ -28,13 +28,11 @@ 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( @@ -64,7 +62,6 @@ 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() @@ -74,7 +71,6 @@ 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: @@ -86,13 +82,11 @@ 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( @@ -124,7 +118,6 @@ 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() @@ -134,7 +127,6 @@ 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: @@ -146,13 +138,11 @@ 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( @@ -183,7 +173,6 @@ 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() @@ -193,7 +182,6 @@ 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: @@ -205,13 +193,11 @@ 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( @@ -241,7 +227,6 @@ 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() @@ -251,7 +236,6 @@ 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: @@ -263,13 +247,11 @@ 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( @@ -299,7 +281,6 @@ 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() @@ -309,7 +290,6 @@ 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: @@ -321,13 +301,11 @@ 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( @@ -357,7 +335,6 @@ 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() @@ -367,7 +344,6 @@ 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: @@ -379,13 +355,11 @@ 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( @@ -415,7 +389,6 @@ 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() @@ -425,7 +398,6 @@ 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: @@ -437,13 +409,11 @@ 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( @@ -473,7 +443,6 @@ 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() @@ -483,7 +452,6 @@ 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: @@ -495,13 +463,11 @@ 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( @@ -531,7 +497,6 @@ 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() @@ -541,7 +506,6 @@ 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: @@ -557,13 +521,11 @@ 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( @@ -593,7 +555,6 @@ 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() @@ -603,7 +564,6 @@ 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: @@ -615,13 +575,11 @@ 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( @@ -653,7 +611,6 @@ 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() @@ -663,7 +620,6 @@ 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: @@ -675,13 +631,11 @@ 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( @@ -712,7 +666,6 @@ 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() @@ -722,7 +675,6 @@ 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: @@ -734,13 +686,11 @@ 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( @@ -770,7 +720,6 @@ 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() @@ -780,7 +729,6 @@ 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: @@ -792,13 +740,11 @@ 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( @@ -828,7 +774,6 @@ 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() @@ -838,7 +783,6 @@ 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: @@ -850,13 +794,11 @@ 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( @@ -886,7 +828,6 @@ 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() @@ -896,7 +837,6 @@ 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: @@ -908,13 +848,11 @@ 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( @@ -944,7 +882,6 @@ 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() @@ -954,7 +891,6 @@ 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: @@ -966,13 +902,11 @@ 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( @@ -1002,7 +936,6 @@ 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() @@ -1012,7 +945,6 @@ 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: @@ -1024,13 +956,11 @@ 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( @@ -1060,7 +990,6 @@ 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() @@ -1070,7 +999,6 @@ 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 6f5d3213d99..4cac74c10b8 100644 --- a/tests/api_resources/radar/http/test_top.py +++ b/tests/api_resources/radar/http/test_top.py @@ -21,13 +21,11 @@ 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( @@ -58,7 +56,6 @@ 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() @@ -68,7 +65,6 @@ 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: @@ -80,13 +76,11 @@ 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( @@ -117,7 +111,6 @@ 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() @@ -127,7 +120,6 @@ 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: @@ -143,13 +135,11 @@ 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( @@ -180,7 +170,6 @@ 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() @@ -190,7 +179,6 @@ 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: @@ -202,13 +190,11 @@ 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( @@ -239,7 +225,6 @@ 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() @@ -249,7 +234,6 @@ 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 8535abc7465..becdf39761a 100644 --- a/tests/api_resources/radar/netflows/test_top.py +++ b/tests/api_resources/radar/netflows/test_top.py @@ -18,13 +18,11 @@ 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( @@ -48,7 +46,6 @@ 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() @@ -58,7 +55,6 @@ 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: @@ -70,13 +66,11 @@ 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( @@ -100,7 +94,6 @@ 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() @@ -110,7 +103,6 @@ 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: @@ -126,13 +118,11 @@ 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( @@ -156,7 +146,6 @@ 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() @@ -166,7 +155,6 @@ 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: @@ -178,13 +166,11 @@ 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( @@ -208,7 +194,6 @@ 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() @@ -218,7 +203,6 @@ 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 27ff511eecb..1ddd81fa72b 100644 --- a/tests/api_resources/radar/quality/speed/test_top.py +++ b/tests/api_resources/radar/quality/speed/test_top.py @@ -21,13 +21,11 @@ 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( @@ -47,7 +45,6 @@ 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() @@ -57,7 +54,6 @@ 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: @@ -69,13 +65,11 @@ 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( @@ -95,7 +89,6 @@ 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() @@ -105,7 +98,6 @@ 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: @@ -121,13 +113,11 @@ 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( @@ -147,7 +137,6 @@ 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() @@ -157,7 +146,6 @@ 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: @@ -169,13 +157,11 @@ 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( @@ -195,7 +181,6 @@ 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() @@ -205,7 +190,6 @@ 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 06a57e35778..307c2f43884 100644 --- a/tests/api_resources/radar/quality/test_iqi.py +++ b/tests/api_resources/radar/quality/test_iqi.py @@ -21,7 +21,6 @@ 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( @@ -29,7 +28,6 @@ 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( @@ -53,7 +51,6 @@ 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( @@ -65,7 +62,6 @@ 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( @@ -79,7 +75,6 @@ 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( @@ -87,7 +82,6 @@ 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( @@ -113,7 +107,6 @@ 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( @@ -125,7 +118,6 @@ 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( @@ -143,7 +135,6 @@ 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( @@ -151,7 +142,6 @@ 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( @@ -175,7 +165,6 @@ 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( @@ -187,7 +176,6 @@ 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( @@ -201,7 +189,6 @@ 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( @@ -209,7 +196,6 @@ 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( @@ -235,7 +221,6 @@ 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( @@ -247,7 +232,6 @@ 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 00683ae6c18..7ee3ce0bd64 100644 --- a/tests/api_resources/radar/quality/test_speed.py +++ b/tests/api_resources/radar/quality/test_speed.py @@ -21,13 +21,11 @@ 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( @@ -46,7 +44,6 @@ 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() @@ -56,7 +53,6 @@ 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: @@ -68,13 +64,11 @@ 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( @@ -91,7 +85,6 @@ 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() @@ -101,7 +94,6 @@ 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: @@ -117,13 +109,11 @@ 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( @@ -142,7 +132,6 @@ 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() @@ -152,7 +141,6 @@ 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: @@ -164,13 +152,11 @@ 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( @@ -187,7 +173,6 @@ 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() @@ -197,7 +182,6 @@ 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 44269df75ae..780aa445d02 100644 --- a/tests/api_resources/radar/ranking/test_domain.py +++ b/tests/api_resources/radar/ranking/test_domain.py @@ -17,7 +17,6 @@ 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( @@ -25,7 +24,6 @@ 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( @@ -38,7 +36,6 @@ 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( @@ -50,7 +47,6 @@ 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( @@ -64,7 +60,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -76,7 +71,6 @@ 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( @@ -84,7 +78,6 @@ 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( @@ -97,7 +90,6 @@ 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( @@ -109,7 +101,6 @@ 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( @@ -123,7 +114,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 a6dde128ac6..27c2a2c1fba 100644 --- a/tests/api_resources/radar/test_as112.py +++ b/tests/api_resources/radar/test_as112.py @@ -18,13 +18,11 @@ 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( @@ -48,7 +46,6 @@ 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() @@ -58,7 +55,6 @@ 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: @@ -74,13 +70,11 @@ 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( @@ -104,7 +98,6 @@ 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() @@ -114,7 +107,6 @@ 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 ab993f872e2..b896b31f649 100644 --- a/tests/api_resources/radar/test_bgp.py +++ b/tests/api_resources/radar/test_bgp.py @@ -18,13 +18,11 @@ 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( @@ -48,7 +46,6 @@ 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() @@ -58,7 +55,6 @@ 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: @@ -74,13 +70,11 @@ 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( @@ -104,7 +98,6 @@ 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() @@ -114,7 +107,6 @@ 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 d36693462b8..37d3f5a9195 100644 --- a/tests/api_resources/radar/test_connection_tampering.py +++ b/tests/api_resources/radar/test_connection_tampering.py @@ -21,13 +21,11 @@ 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( @@ -50,7 +48,6 @@ 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() @@ -60,7 +57,6 @@ 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: @@ -72,13 +68,11 @@ 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( @@ -102,7 +96,6 @@ 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() @@ -112,7 +105,6 @@ 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: @@ -128,13 +120,11 @@ 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( @@ -157,7 +147,6 @@ 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() @@ -167,7 +156,6 @@ 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: @@ -179,13 +167,11 @@ 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( @@ -209,7 +195,6 @@ 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() @@ -219,7 +204,6 @@ 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 006dca3cb20..f2cc9be2ae5 100644 --- a/tests/api_resources/radar/test_datasets.py +++ b/tests/api_resources/radar/test_datasets.py @@ -20,13 +20,11 @@ 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( @@ -37,7 +35,6 @@ 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() @@ -47,7 +44,6 @@ 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: @@ -59,7 +55,6 @@ 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( @@ -67,7 +62,6 @@ 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( @@ -76,7 +70,6 @@ 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( @@ -88,7 +81,6 @@ 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( @@ -102,7 +94,6 @@ 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( @@ -110,7 +101,6 @@ 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( @@ -119,7 +109,6 @@ 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( @@ -131,7 +120,6 @@ 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( @@ -145,7 +133,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -157,13 +144,11 @@ 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( @@ -174,7 +159,6 @@ 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() @@ -184,7 +168,6 @@ 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: @@ -196,7 +179,6 @@ 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( @@ -204,7 +186,6 @@ 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( @@ -213,7 +194,6 @@ 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( @@ -225,7 +205,6 @@ 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( @@ -239,7 +218,6 @@ 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( @@ -247,7 +225,6 @@ 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( @@ -256,7 +233,6 @@ 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( @@ -268,7 +244,6 @@ 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( @@ -282,7 +257,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 fc22e4c3f65..a9a5a170bf0 100644 --- a/tests/api_resources/radar/test_entities.py +++ b/tests/api_resources/radar/test_entities.py @@ -17,7 +17,6 @@ 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( @@ -25,7 +24,6 @@ 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( @@ -34,7 +32,6 @@ 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( @@ -46,7 +43,6 @@ 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( @@ -64,7 +60,6 @@ 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( @@ -72,7 +67,6 @@ 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( @@ -81,7 +75,6 @@ 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( @@ -93,7 +86,6 @@ 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 79002a4a227..1446060257f 100644 --- a/tests/api_resources/radar/test_netflows.py +++ b/tests/api_resources/radar/test_netflows.py @@ -18,13 +18,11 @@ 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( @@ -50,7 +48,6 @@ 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() @@ -60,7 +57,6 @@ 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: @@ -76,13 +72,11 @@ 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( @@ -108,7 +102,6 @@ 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() @@ -118,7 +111,6 @@ 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 9aeac63890b..61a4def2328 100644 --- a/tests/api_resources/radar/test_ranking.py +++ b/tests/api_resources/radar/test_ranking.py @@ -21,13 +21,11 @@ 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( @@ -51,7 +49,6 @@ 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() @@ -61,7 +58,6 @@ 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: @@ -73,13 +69,11 @@ 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( @@ -92,7 +86,6 @@ 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() @@ -102,7 +95,6 @@ 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: @@ -118,13 +110,11 @@ 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( @@ -148,7 +138,6 @@ 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() @@ -158,7 +147,6 @@ 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: @@ -170,13 +158,11 @@ 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( @@ -189,7 +175,6 @@ 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() @@ -199,7 +184,6 @@ 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 fbc22c27dff..5185e12e4c3 100644 --- a/tests/api_resources/radar/test_search.py +++ b/tests/api_resources/radar/test_search.py @@ -17,7 +17,6 @@ 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_( @@ -25,7 +24,6 @@ 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_( @@ -38,7 +36,6 @@ 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_( @@ -50,7 +47,6 @@ 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_( @@ -68,7 +64,6 @@ 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_( @@ -76,7 +71,6 @@ 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_( @@ -89,7 +83,6 @@ 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_( @@ -101,7 +94,6 @@ 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 ab42d798d32..04a58254ad9 100644 --- a/tests/api_resources/radar/test_traffic_anomalies.py +++ b/tests/api_resources/radar/test_traffic_anomalies.py @@ -18,13 +18,11 @@ 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( @@ -40,7 +38,6 @@ 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() @@ -50,7 +47,6 @@ 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: @@ -66,13 +62,11 @@ 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( @@ -88,7 +82,6 @@ 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() @@ -98,7 +91,6 @@ 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 ba164303c0b..005738ac3e2 100644 --- a/tests/api_resources/radar/traffic_anomalies/test_locations.py +++ b/tests/api_resources/radar/traffic_anomalies/test_locations.py @@ -18,13 +18,11 @@ 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( @@ -37,7 +35,6 @@ 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() @@ -47,7 +44,6 @@ 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: @@ -63,13 +59,11 @@ 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( @@ -82,7 +76,6 @@ 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() @@ -92,7 +85,6 @@ 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 8ed74c070bd..bfb0e175fc2 100644 --- a/tests/api_resources/radar/verified_bots/test_top.py +++ b/tests/api_resources/radar/verified_bots/test_top.py @@ -21,13 +21,11 @@ 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( @@ -51,7 +49,6 @@ 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() @@ -61,7 +58,6 @@ 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: @@ -73,13 +69,11 @@ 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( @@ -103,7 +97,6 @@ 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() @@ -113,7 +106,6 @@ 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: @@ -129,13 +121,11 @@ 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( @@ -159,7 +149,6 @@ 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() @@ -169,7 +158,6 @@ 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: @@ -181,13 +169,11 @@ 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( @@ -211,7 +197,6 @@ 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() @@ -221,7 +206,6 @@ 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 924582e2af1..5c0d686188c 100644 --- a/tests/api_resources/registrar/test_domains.py +++ b/tests/api_resources/registrar/test_domains.py @@ -18,7 +18,6 @@ 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( @@ -27,7 +26,6 @@ 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( @@ -39,7 +37,6 @@ 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( @@ -52,7 +49,6 @@ 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( @@ -67,7 +63,6 @@ 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 ''"): @@ -82,7 +77,6 @@ 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( @@ -90,7 +84,6 @@ 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( @@ -102,7 +95,6 @@ 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( @@ -116,7 +108,6 @@ 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,7 +115,6 @@ 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( @@ -133,7 +123,6 @@ 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( @@ -146,7 +135,6 @@ 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( @@ -161,7 +149,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -180,7 +167,6 @@ 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( @@ -189,7 +175,6 @@ 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( @@ -201,7 +186,6 @@ 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( @@ -214,7 +198,6 @@ 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( @@ -229,7 +212,6 @@ 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 ''"): @@ -244,7 +226,6 @@ 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( @@ -252,7 +233,6 @@ 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( @@ -264,7 +244,6 @@ 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( @@ -278,7 +257,6 @@ 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 ''"): @@ -286,7 +264,6 @@ 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( @@ -295,7 +272,6 @@ 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( @@ -308,7 +284,6 @@ 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( @@ -323,7 +298,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ebd56a1359a..ce807ccc33d 100644 --- a/tests/api_resources/request_tracers/test_traces.py +++ b/tests/api_resources/request_tracers/test_traces.py @@ -17,7 +17,6 @@ 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( @@ -27,7 +26,6 @@ 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( @@ -69,7 +67,6 @@ 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( @@ -83,7 +80,6 @@ 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( @@ -99,7 +95,6 @@ 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 ''"): @@ -113,7 +108,6 @@ 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( @@ -123,7 +117,6 @@ 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( @@ -165,7 +158,6 @@ 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( @@ -179,7 +171,6 @@ 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( @@ -195,7 +186,6 @@ 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 afc1fac33f2..fa3248c9b0f 100644 --- a/tests/api_resources/rules/lists/test_bulk_operations.py +++ b/tests/api_resources/rules/lists/test_bulk_operations.py @@ -17,7 +17,6 @@ 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( @@ -26,7 +25,6 @@ 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( @@ -39,7 +37,6 @@ 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( @@ -54,7 +51,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -73,7 +69,6 @@ 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( @@ -82,7 +77,6 @@ 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( @@ -95,7 +89,6 @@ 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( @@ -110,7 +103,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 c2efab25330..8c13a87cda0 100644 --- a/tests/api_resources/rules/lists/test_items.py +++ b/tests/api_resources/rules/lists/test_items.py @@ -23,7 +23,6 @@ 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( @@ -33,7 +32,6 @@ 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( @@ -47,7 +45,6 @@ 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( @@ -63,7 +60,6 @@ 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,7 +76,6 @@ 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( @@ -90,7 +85,6 @@ 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( @@ -104,7 +98,6 @@ 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( @@ -120,7 +113,6 @@ 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 ''"): @@ -137,7 +129,6 @@ 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( @@ -146,7 +137,6 @@ 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( @@ -158,7 +148,6 @@ 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( @@ -171,7 +160,6 @@ 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( @@ -186,7 +174,6 @@ 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,7 +188,6 @@ 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( @@ -210,7 +196,6 @@ 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( @@ -220,7 +205,6 @@ 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( @@ -233,7 +217,6 @@ 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( @@ -248,7 +231,6 @@ 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,7 +245,6 @@ 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( @@ -273,7 +254,6 @@ 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( @@ -287,7 +267,6 @@ 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( @@ -303,7 +282,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -331,7 +309,6 @@ 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( @@ -341,7 +318,6 @@ 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( @@ -355,7 +331,6 @@ 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( @@ -371,7 +346,6 @@ 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 ''"): @@ -388,7 +362,6 @@ 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( @@ -398,7 +371,6 @@ 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( @@ -412,7 +384,6 @@ 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( @@ -428,7 +399,6 @@ 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 ''"): @@ -445,7 +415,6 @@ 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( @@ -454,7 +423,6 @@ 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( @@ -466,7 +434,6 @@ 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( @@ -479,7 +446,6 @@ 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( @@ -494,7 +460,6 @@ 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 ''"): @@ -509,7 +474,6 @@ 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( @@ -518,7 +482,6 @@ 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( @@ -528,7 +491,6 @@ 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( @@ -541,7 +503,6 @@ 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( @@ -556,7 +517,6 @@ 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 ''"): @@ -571,7 +531,6 @@ 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( @@ -581,7 +540,6 @@ 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( @@ -595,7 +553,6 @@ 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( @@ -611,7 +568,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 c63a54d2fa1..f2e34136195 100644 --- a/tests/api_resources/rules/test_lists.py +++ b/tests/api_resources/rules/test_lists.py @@ -21,7 +21,6 @@ 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( @@ -31,7 +30,6 @@ 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( @@ -42,7 +40,6 @@ 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( @@ -56,7 +53,6 @@ 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( @@ -72,7 +68,6 @@ 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,7 +77,6 @@ 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( @@ -91,7 +85,6 @@ 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( @@ -101,7 +94,6 @@ 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( @@ -114,7 +106,6 @@ 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( @@ -129,7 +120,6 @@ 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 ''"): @@ -144,7 +134,6 @@ 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( @@ -152,7 +141,6 @@ 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( @@ -164,7 +152,6 @@ 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( @@ -178,7 +165,6 @@ 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,7 +172,6 @@ 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( @@ -196,7 +181,6 @@ 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( @@ -210,7 +194,6 @@ 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( @@ -226,7 +209,6 @@ 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 ''"): @@ -243,7 +225,6 @@ 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( @@ -252,7 +233,6 @@ 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( @@ -265,7 +245,6 @@ 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( @@ -280,7 +259,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -299,7 +277,6 @@ 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( @@ -309,7 +286,6 @@ 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( @@ -320,7 +296,6 @@ 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( @@ -334,7 +309,6 @@ 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( @@ -350,7 +324,6 @@ 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 ''"): @@ -360,7 +333,6 @@ 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( @@ -369,7 +341,6 @@ 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( @@ -379,7 +350,6 @@ 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( @@ -392,7 +362,6 @@ 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( @@ -407,7 +376,6 @@ 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 ''"): @@ -422,7 +390,6 @@ 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( @@ -430,7 +397,6 @@ 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( @@ -442,7 +408,6 @@ 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( @@ -456,7 +421,6 @@ 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,7 +428,6 @@ 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( @@ -474,7 +437,6 @@ 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( @@ -488,7 +450,6 @@ 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( @@ -504,7 +465,6 @@ 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,7 +481,6 @@ 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( @@ -530,7 +489,6 @@ 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( @@ -543,7 +501,6 @@ 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( @@ -558,7 +515,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ab4e35406ce..1b3e2ca6a66 100644 --- a/tests/api_resources/rulesets/phases/test_versions.py +++ b/tests/api_resources/rulesets/phases/test_versions.py @@ -19,7 +19,6 @@ 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( @@ -29,7 +28,6 @@ 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( @@ -39,7 +37,6 @@ 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( @@ -53,7 +50,6 @@ 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( @@ -69,7 +65,6 @@ 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 ''"): @@ -86,7 +81,6 @@ 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( @@ -97,7 +91,6 @@ 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( @@ -108,7 +101,6 @@ 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( @@ -123,7 +115,6 @@ 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( @@ -140,7 +131,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -171,7 +161,6 @@ 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( @@ -181,7 +170,6 @@ 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( @@ -191,7 +179,6 @@ 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( @@ -205,7 +192,6 @@ 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( @@ -221,7 +207,6 @@ 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 ''"): @@ -238,7 +223,6 @@ 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( @@ -249,7 +233,6 @@ 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( @@ -260,7 +243,6 @@ 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( @@ -275,7 +257,6 @@ 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( @@ -292,7 +273,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 63fb6253667..39d00a5951d 100644 --- a/tests/api_resources/rulesets/test_phases.py +++ b/tests/api_resources/rulesets/test_phases.py @@ -17,7 +17,6 @@ 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( @@ -28,7 +27,6 @@ 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( @@ -92,7 +90,6 @@ 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( @@ -107,7 +104,6 @@ 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( @@ -124,7 +120,6 @@ 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 ''"): @@ -143,7 +138,6 @@ 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( @@ -153,7 +147,6 @@ 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( @@ -163,7 +156,6 @@ 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( @@ -177,7 +169,6 @@ 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( @@ -193,7 +184,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -214,7 +204,6 @@ 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( @@ -225,7 +214,6 @@ 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( @@ -289,7 +277,6 @@ 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( @@ -304,7 +291,6 @@ 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( @@ -321,7 +307,6 @@ 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 ''"): @@ -340,7 +325,6 @@ 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( @@ -350,7 +334,6 @@ 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( @@ -360,7 +343,6 @@ 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( @@ -374,7 +356,6 @@ 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( @@ -390,7 +371,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 bfa711e3da1..e5671035111 100644 --- a/tests/api_resources/rulesets/test_rules.py +++ b/tests/api_resources/rulesets/test_rules.py @@ -21,7 +21,6 @@ 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( @@ -31,7 +30,6 @@ 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( @@ -55,7 +53,6 @@ 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( @@ -69,7 +66,6 @@ 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( @@ -85,7 +81,6 @@ 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 ''"): @@ -109,7 +104,6 @@ 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( @@ -119,7 +113,6 @@ 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( @@ -137,7 +130,6 @@ 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( @@ -151,7 +143,6 @@ 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( @@ -167,7 +158,6 @@ 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 ''"): @@ -191,7 +181,6 @@ 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( @@ -201,7 +190,6 @@ 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( @@ -219,7 +207,6 @@ 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( @@ -233,7 +220,6 @@ 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( @@ -249,7 +235,6 @@ 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 ''"): @@ -273,7 +258,6 @@ 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( @@ -283,7 +267,6 @@ 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( @@ -326,7 +309,6 @@ 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( @@ -340,7 +322,6 @@ 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( @@ -356,7 +337,6 @@ 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 ''"): @@ -380,7 +360,6 @@ 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( @@ -390,7 +369,6 @@ 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( @@ -408,7 +386,6 @@ 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( @@ -422,7 +399,6 @@ 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( @@ -438,7 +414,6 @@ 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 ''"): @@ -462,7 +437,6 @@ 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( @@ -472,7 +446,6 @@ 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( @@ -490,7 +463,6 @@ 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( @@ -504,7 +476,6 @@ 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( @@ -520,7 +491,6 @@ 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 ''"): @@ -544,7 +514,6 @@ 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( @@ -554,7 +523,6 @@ 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( @@ -572,7 +540,6 @@ 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( @@ -586,7 +553,6 @@ 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( @@ -602,7 +568,6 @@ 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 ''"): @@ -626,7 +591,6 @@ 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( @@ -636,7 +600,6 @@ 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( @@ -664,7 +627,6 @@ 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( @@ -678,7 +640,6 @@ 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( @@ -694,7 +655,6 @@ 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 ''"): @@ -718,7 +678,6 @@ 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( @@ -728,7 +687,6 @@ 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( @@ -757,7 +715,6 @@ 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( @@ -771,7 +728,6 @@ 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( @@ -787,7 +743,6 @@ 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 ''"): @@ -811,7 +766,6 @@ 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( @@ -821,7 +775,6 @@ 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( @@ -846,7 +799,6 @@ 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( @@ -860,7 +812,6 @@ 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( @@ -876,7 +827,6 @@ 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 ''"): @@ -900,7 +850,6 @@ 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( @@ -910,7 +859,6 @@ 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( @@ -928,7 +876,6 @@ 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( @@ -942,7 +889,6 @@ 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( @@ -958,7 +904,6 @@ 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 ''"): @@ -982,7 +927,6 @@ 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( @@ -992,7 +936,6 @@ 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( @@ -1014,7 +957,6 @@ 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( @@ -1028,7 +970,6 @@ 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( @@ -1044,7 +985,6 @@ 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 ''"): @@ -1068,7 +1008,6 @@ 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( @@ -1078,7 +1017,6 @@ 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( @@ -1116,7 +1054,6 @@ 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( @@ -1130,7 +1067,6 @@ 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( @@ -1146,7 +1082,6 @@ 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 ''"): @@ -1170,7 +1105,6 @@ 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( @@ -1180,7 +1114,6 @@ 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( @@ -1204,7 +1137,6 @@ 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( @@ -1218,7 +1150,6 @@ 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( @@ -1234,7 +1165,6 @@ 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 ''"): @@ -1258,7 +1188,6 @@ 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( @@ -1268,7 +1197,6 @@ 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( @@ -1364,7 +1292,6 @@ 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( @@ -1378,7 +1305,6 @@ 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( @@ -1394,7 +1320,6 @@ 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 ''"): @@ -1418,7 +1343,6 @@ 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( @@ -1429,7 +1353,6 @@ 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( @@ -1440,7 +1363,6 @@ 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( @@ -1455,7 +1377,6 @@ 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( @@ -1472,7 +1393,6 @@ 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 ''"): @@ -1507,7 +1427,6 @@ 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( @@ -1518,7 +1437,6 @@ 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( @@ -1543,7 +1461,6 @@ 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( @@ -1558,7 +1475,6 @@ 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( @@ -1575,7 +1491,6 @@ 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 ''"): @@ -1610,7 +1525,6 @@ 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( @@ -1621,7 +1535,6 @@ 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( @@ -1640,7 +1553,6 @@ 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( @@ -1655,7 +1567,6 @@ 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( @@ -1672,7 +1583,6 @@ 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 ''"): @@ -1707,7 +1617,6 @@ 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( @@ -1718,7 +1627,6 @@ 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( @@ -1737,7 +1645,6 @@ 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( @@ -1752,7 +1659,6 @@ 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( @@ -1769,7 +1675,6 @@ 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 ''"): @@ -1804,7 +1709,6 @@ 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( @@ -1815,7 +1719,6 @@ 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( @@ -1859,7 +1762,6 @@ 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( @@ -1874,7 +1776,6 @@ 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( @@ -1891,7 +1792,6 @@ 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 ''"): @@ -1926,7 +1826,6 @@ 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( @@ -1937,7 +1836,6 @@ 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( @@ -1956,7 +1854,6 @@ 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( @@ -1971,7 +1868,6 @@ 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( @@ -1988,7 +1884,6 @@ 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 ''"): @@ -2023,7 +1918,6 @@ 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( @@ -2034,7 +1928,6 @@ 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( @@ -2053,7 +1946,6 @@ 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( @@ -2068,7 +1960,6 @@ 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( @@ -2085,7 +1976,6 @@ 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 ''"): @@ -2120,7 +2010,6 @@ 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( @@ -2131,7 +2020,6 @@ 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( @@ -2150,7 +2038,6 @@ 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( @@ -2165,7 +2052,6 @@ 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( @@ -2182,7 +2068,6 @@ 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 ''"): @@ -2217,7 +2102,6 @@ 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( @@ -2228,7 +2112,6 @@ 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( @@ -2257,7 +2140,6 @@ 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( @@ -2272,7 +2154,6 @@ 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( @@ -2289,7 +2170,6 @@ 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 ''"): @@ -2324,7 +2204,6 @@ 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( @@ -2335,7 +2214,6 @@ 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( @@ -2365,7 +2243,6 @@ 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( @@ -2380,7 +2257,6 @@ 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( @@ -2397,7 +2273,6 @@ 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 ''"): @@ -2432,7 +2307,6 @@ 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( @@ -2443,7 +2317,6 @@ 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( @@ -2469,7 +2342,6 @@ 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( @@ -2484,7 +2356,6 @@ 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( @@ -2501,7 +2372,6 @@ 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 ''"): @@ -2536,7 +2406,6 @@ 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( @@ -2547,7 +2416,6 @@ 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( @@ -2566,7 +2434,6 @@ 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( @@ -2581,7 +2448,6 @@ 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( @@ -2598,7 +2464,6 @@ 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 ''"): @@ -2633,7 +2498,6 @@ 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( @@ -2644,7 +2508,6 @@ 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( @@ -2667,7 +2530,6 @@ 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( @@ -2682,7 +2544,6 @@ 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( @@ -2699,7 +2560,6 @@ 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 ''"): @@ -2734,7 +2594,6 @@ 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( @@ -2745,7 +2604,6 @@ 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( @@ -2784,7 +2642,6 @@ 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( @@ -2799,7 +2656,6 @@ 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( @@ -2816,7 +2672,6 @@ 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 ''"): @@ -2851,7 +2706,6 @@ 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( @@ -2862,7 +2716,6 @@ 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( @@ -2887,7 +2740,6 @@ 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( @@ -2902,7 +2754,6 @@ 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( @@ -2919,7 +2770,6 @@ 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 ''"): @@ -2954,7 +2804,6 @@ 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( @@ -2965,7 +2814,6 @@ 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( @@ -3062,7 +2910,6 @@ 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( @@ -3077,7 +2924,6 @@ 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( @@ -3094,7 +2940,6 @@ 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 ''"): @@ -3133,7 +2978,6 @@ 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( @@ -3143,7 +2987,6 @@ 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( @@ -3167,7 +3010,6 @@ 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( @@ -3181,7 +3023,6 @@ 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( @@ -3197,7 +3038,6 @@ 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 ''"): @@ -3221,7 +3061,6 @@ 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( @@ -3231,7 +3070,6 @@ 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( @@ -3249,7 +3087,6 @@ 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( @@ -3263,7 +3100,6 @@ 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( @@ -3279,7 +3115,6 @@ 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 ''"): @@ -3303,7 +3138,6 @@ 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( @@ -3313,7 +3147,6 @@ 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( @@ -3331,7 +3164,6 @@ 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( @@ -3345,7 +3177,6 @@ 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( @@ -3361,7 +3192,6 @@ 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 ''"): @@ -3385,7 +3215,6 @@ 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( @@ -3395,7 +3224,6 @@ 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( @@ -3438,7 +3266,6 @@ 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( @@ -3452,7 +3279,6 @@ 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( @@ -3468,7 +3294,6 @@ 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 ''"): @@ -3492,7 +3317,6 @@ 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( @@ -3502,7 +3326,6 @@ 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( @@ -3520,7 +3343,6 @@ 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( @@ -3534,7 +3356,6 @@ 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( @@ -3550,7 +3371,6 @@ 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 ''"): @@ -3574,7 +3394,6 @@ 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( @@ -3584,7 +3403,6 @@ 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( @@ -3602,7 +3420,6 @@ 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( @@ -3616,7 +3433,6 @@ 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( @@ -3632,7 +3448,6 @@ 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 ''"): @@ -3656,7 +3471,6 @@ 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( @@ -3666,7 +3480,6 @@ 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( @@ -3684,7 +3497,6 @@ 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( @@ -3698,7 +3510,6 @@ 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( @@ -3714,7 +3525,6 @@ 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 ''"): @@ -3738,7 +3548,6 @@ 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( @@ -3748,7 +3557,6 @@ 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( @@ -3776,7 +3584,6 @@ 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( @@ -3790,7 +3597,6 @@ 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( @@ -3806,7 +3612,6 @@ 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 ''"): @@ -3830,7 +3635,6 @@ 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( @@ -3840,7 +3644,6 @@ 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( @@ -3869,7 +3672,6 @@ 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( @@ -3883,7 +3685,6 @@ 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( @@ -3899,7 +3700,6 @@ 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 ''"): @@ -3923,7 +3723,6 @@ 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( @@ -3933,7 +3732,6 @@ 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( @@ -3958,7 +3756,6 @@ 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( @@ -3972,7 +3769,6 @@ 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( @@ -3988,7 +3784,6 @@ 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 ''"): @@ -4012,7 +3807,6 @@ 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( @@ -4022,7 +3816,6 @@ 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( @@ -4040,7 +3833,6 @@ 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( @@ -4054,7 +3846,6 @@ 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( @@ -4070,7 +3861,6 @@ 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 ''"): @@ -4094,7 +3884,6 @@ 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( @@ -4104,7 +3893,6 @@ 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( @@ -4126,7 +3914,6 @@ 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( @@ -4140,7 +3927,6 @@ 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( @@ -4156,7 +3942,6 @@ 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 ''"): @@ -4180,7 +3965,6 @@ 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( @@ -4190,7 +3974,6 @@ 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( @@ -4228,7 +4011,6 @@ 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( @@ -4242,7 +4024,6 @@ 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( @@ -4258,7 +4039,6 @@ 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 ''"): @@ -4282,7 +4062,6 @@ 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( @@ -4292,7 +4071,6 @@ 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( @@ -4316,7 +4094,6 @@ 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( @@ -4330,7 +4107,6 @@ 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( @@ -4346,7 +4122,6 @@ 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 ''"): @@ -4370,7 +4145,6 @@ 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( @@ -4380,7 +4154,6 @@ 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( @@ -4476,7 +4249,6 @@ 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( @@ -4490,7 +4262,6 @@ 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( @@ -4506,7 +4277,6 @@ 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 ''"): @@ -4530,7 +4300,6 @@ 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( @@ -4541,7 +4310,6 @@ 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( @@ -4552,7 +4320,6 @@ 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( @@ -4567,7 +4334,6 @@ 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( @@ -4584,7 +4350,6 @@ 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 ''"): @@ -4619,7 +4384,6 @@ 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( @@ -4630,7 +4394,6 @@ 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( @@ -4655,7 +4418,6 @@ 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( @@ -4670,7 +4432,6 @@ 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( @@ -4687,7 +4448,6 @@ 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 ''"): @@ -4722,7 +4482,6 @@ 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( @@ -4733,7 +4492,6 @@ 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( @@ -4752,7 +4510,6 @@ 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( @@ -4767,7 +4524,6 @@ 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( @@ -4784,7 +4540,6 @@ 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 ''"): @@ -4819,7 +4574,6 @@ 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( @@ -4830,7 +4584,6 @@ 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( @@ -4849,7 +4602,6 @@ 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( @@ -4864,7 +4616,6 @@ 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( @@ -4881,7 +4632,6 @@ 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 ''"): @@ -4916,7 +4666,6 @@ 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( @@ -4927,7 +4676,6 @@ 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( @@ -4971,7 +4719,6 @@ 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( @@ -4986,7 +4733,6 @@ 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( @@ -5003,7 +4749,6 @@ 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 ''"): @@ -5038,7 +4783,6 @@ 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( @@ -5049,7 +4793,6 @@ 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( @@ -5068,7 +4811,6 @@ 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( @@ -5083,7 +4825,6 @@ 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( @@ -5100,7 +4841,6 @@ 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 ''"): @@ -5135,7 +4875,6 @@ 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( @@ -5146,7 +4885,6 @@ 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( @@ -5165,7 +4903,6 @@ 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( @@ -5180,7 +4917,6 @@ 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( @@ -5197,7 +4933,6 @@ 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 ''"): @@ -5232,7 +4967,6 @@ 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( @@ -5243,7 +4977,6 @@ 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( @@ -5262,7 +4995,6 @@ 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( @@ -5277,7 +5009,6 @@ 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( @@ -5294,7 +5025,6 @@ 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 ''"): @@ -5329,7 +5059,6 @@ 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( @@ -5340,7 +5069,6 @@ 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( @@ -5369,7 +5097,6 @@ 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( @@ -5384,7 +5111,6 @@ 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( @@ -5401,7 +5127,6 @@ 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 ''"): @@ -5436,7 +5161,6 @@ 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( @@ -5447,7 +5171,6 @@ 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( @@ -5477,7 +5200,6 @@ 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( @@ -5492,7 +5214,6 @@ 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( @@ -5509,7 +5230,6 @@ 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 ''"): @@ -5544,7 +5264,6 @@ 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( @@ -5555,7 +5274,6 @@ 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( @@ -5581,7 +5299,6 @@ 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( @@ -5596,7 +5313,6 @@ 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( @@ -5613,7 +5329,6 @@ 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 ''"): @@ -5648,7 +5363,6 @@ 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( @@ -5659,7 +5373,6 @@ 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( @@ -5678,7 +5391,6 @@ 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( @@ -5693,7 +5405,6 @@ 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( @@ -5710,7 +5421,6 @@ 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 ''"): @@ -5745,7 +5455,6 @@ 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( @@ -5756,7 +5465,6 @@ 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( @@ -5779,7 +5487,6 @@ 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( @@ -5794,7 +5501,6 @@ 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( @@ -5811,7 +5517,6 @@ 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 ''"): @@ -5846,7 +5551,6 @@ 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( @@ -5857,7 +5561,6 @@ 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( @@ -5896,7 +5599,6 @@ 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( @@ -5911,7 +5613,6 @@ 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( @@ -5928,7 +5629,6 @@ 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 ''"): @@ -5963,7 +5663,6 @@ 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( @@ -5974,7 +5673,6 @@ 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( @@ -5999,7 +5697,6 @@ 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( @@ -6014,7 +5711,6 @@ 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( @@ -6031,7 +5727,6 @@ 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 ''"): @@ -6066,7 +5761,6 @@ 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( @@ -6077,7 +5771,6 @@ 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( @@ -6174,7 +5867,6 @@ 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( @@ -6189,7 +5881,6 @@ 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( @@ -6206,7 +5897,6 @@ 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 54605005c49..75479bec978 100644 --- a/tests/api_resources/rulesets/test_versions.py +++ b/tests/api_resources/rulesets/test_versions.py @@ -18,7 +18,6 @@ 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( @@ -28,7 +27,6 @@ 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( @@ -38,7 +36,6 @@ 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( @@ -52,7 +49,6 @@ 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( @@ -68,7 +64,6 @@ 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 ''"): @@ -92,7 +87,6 @@ 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( @@ -103,7 +97,6 @@ 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( @@ -114,7 +107,6 @@ 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( @@ -129,7 +121,6 @@ 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( @@ -146,7 +137,6 @@ 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 ''"): @@ -181,7 +171,6 @@ 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( @@ -192,7 +181,6 @@ 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( @@ -203,7 +191,6 @@ 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( @@ -218,7 +205,6 @@ 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( @@ -235,7 +221,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -274,7 +259,6 @@ 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( @@ -284,7 +268,6 @@ 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( @@ -294,7 +277,6 @@ 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( @@ -308,7 +290,6 @@ 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( @@ -324,7 +305,6 @@ 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 ''"): @@ -348,7 +328,6 @@ 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( @@ -359,7 +338,6 @@ 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( @@ -370,7 +348,6 @@ 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( @@ -385,7 +362,6 @@ 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( @@ -402,7 +378,6 @@ 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 ''"): @@ -437,7 +412,6 @@ 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( @@ -448,7 +422,6 @@ 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( @@ -459,7 +432,6 @@ 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( @@ -474,7 +446,6 @@ 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( @@ -491,7 +462,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 cc093ff3578..6122739a88f 100644 --- a/tests/api_resources/rulesets/versions/test_by_tag.py +++ b/tests/api_resources/rulesets/versions/test_by_tag.py @@ -17,7 +17,6 @@ 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( @@ -28,7 +27,6 @@ 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( @@ -43,7 +41,6 @@ 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( @@ -60,7 +57,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -99,7 +95,6 @@ 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( @@ -110,7 +105,6 @@ 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( @@ -125,7 +119,6 @@ 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( @@ -142,7 +135,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 0250949fba5..41a20cc0ee4 100644 --- a/tests/api_resources/rum/test_rules.py +++ b/tests/api_resources/rum/test_rules.py @@ -17,7 +17,6 @@ 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( @@ -26,7 +25,6 @@ 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( @@ -39,7 +37,6 @@ 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( @@ -52,7 +49,6 @@ 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( @@ -67,7 +63,6 @@ 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,7 +77,6 @@ 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( @@ -92,7 +86,6 @@ 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( @@ -106,7 +99,6 @@ 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( @@ -120,7 +112,6 @@ 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( @@ -136,7 +127,6 @@ 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 ''"): @@ -160,7 +150,6 @@ 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( @@ -169,7 +158,6 @@ 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( @@ -182,7 +170,6 @@ 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( @@ -197,7 +184,6 @@ 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,7 +198,6 @@ 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( @@ -222,7 +207,6 @@ 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( @@ -236,7 +220,6 @@ 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( @@ -252,7 +235,6 @@ 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 ''"): @@ -280,7 +262,6 @@ 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( @@ -289,7 +270,6 @@ 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( @@ -302,7 +282,6 @@ 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( @@ -315,7 +294,6 @@ 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( @@ -330,7 +308,6 @@ 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 ''"): @@ -345,7 +322,6 @@ 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( @@ -355,7 +331,6 @@ 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( @@ -369,7 +344,6 @@ 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( @@ -383,7 +357,6 @@ 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( @@ -399,7 +372,6 @@ 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 ''"): @@ -423,7 +395,6 @@ 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( @@ -432,7 +403,6 @@ 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( @@ -445,7 +415,6 @@ 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( @@ -460,7 +429,6 @@ 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 ''"): @@ -475,7 +443,6 @@ 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( @@ -485,7 +452,6 @@ 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( @@ -499,7 +465,6 @@ 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( @@ -515,7 +480,6 @@ 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 a1f892e4669..2e72e44a04e 100644 --- a/tests/api_resources/rum/test_site_info.py +++ b/tests/api_resources/rum/test_site_info.py @@ -21,7 +21,6 @@ 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( @@ -29,7 +28,6 @@ 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( @@ -40,7 +38,6 @@ 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( @@ -52,7 +49,6 @@ 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( @@ -66,7 +62,6 @@ 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,7 +69,6 @@ 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( @@ -83,7 +77,6 @@ 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( @@ -95,7 +88,6 @@ 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( @@ -108,7 +100,6 @@ 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( @@ -123,7 +114,6 @@ 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,7 +128,6 @@ 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( @@ -146,7 +135,6 @@ 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( @@ -157,7 +145,6 @@ 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( @@ -169,7 +156,6 @@ 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( @@ -183,7 +169,6 @@ 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,7 +176,6 @@ 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( @@ -200,7 +184,6 @@ 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( @@ -213,7 +196,6 @@ 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( @@ -228,7 +210,6 @@ 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 ''"): @@ -243,7 +224,6 @@ 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( @@ -252,7 +232,6 @@ 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( @@ -265,7 +244,6 @@ 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( @@ -280,7 +258,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -299,7 +276,6 @@ 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( @@ -307,7 +283,6 @@ 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( @@ -318,7 +293,6 @@ 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( @@ -330,7 +304,6 @@ 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( @@ -344,7 +317,6 @@ 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,7 +324,6 @@ 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( @@ -361,7 +332,6 @@ 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( @@ -373,7 +343,6 @@ 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( @@ -386,7 +355,6 @@ 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( @@ -401,7 +369,6 @@ 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 ''"): @@ -416,7 +383,6 @@ 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( @@ -424,7 +390,6 @@ 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( @@ -435,7 +400,6 @@ 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( @@ -447,7 +411,6 @@ 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( @@ -461,7 +424,6 @@ 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 ''"): @@ -469,7 +431,6 @@ 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( @@ -478,7 +439,6 @@ 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( @@ -491,7 +451,6 @@ 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( @@ -506,7 +465,6 @@ 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,7 +479,6 @@ 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( @@ -530,7 +487,6 @@ 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( @@ -543,7 +499,6 @@ 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( @@ -558,7 +513,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 a669d9b1d58..98ced5177aa 100644 --- a/tests/api_resources/secondary_dns/outgoing/test_status.py +++ b/tests/api_resources/secondary_dns/outgoing/test_status.py @@ -16,7 +16,6 @@ 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( @@ -24,7 +23,6 @@ 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( @@ -36,7 +34,6 @@ 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( @@ -50,7 +47,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -62,7 +58,6 @@ 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( @@ -70,7 +65,6 @@ 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( @@ -82,7 +76,6 @@ 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( @@ -96,7 +89,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 2b05db03287..fdfbcb92644 100644 --- a/tests/api_resources/secondary_dns/test_acls.py +++ b/tests/api_resources/secondary_dns/test_acls.py @@ -21,7 +21,6 @@ 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( @@ -30,7 +29,6 @@ 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( @@ -43,7 +41,6 @@ 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( @@ -58,7 +55,6 @@ 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,7 +63,6 @@ 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( @@ -78,7 +73,6 @@ 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( @@ -93,7 +87,6 @@ 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( @@ -110,7 +103,6 @@ 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,7 +121,6 @@ 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( @@ -137,7 +128,6 @@ 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( @@ -149,7 +139,6 @@ 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( @@ -163,7 +152,6 @@ 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 ''"): @@ -171,7 +159,6 @@ 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( @@ -181,7 +168,6 @@ 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( @@ -195,7 +181,6 @@ 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( @@ -211,7 +196,6 @@ 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 ''"): @@ -228,7 +212,6 @@ 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( @@ -237,7 +220,6 @@ 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( @@ -250,7 +232,6 @@ 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( @@ -265,7 +246,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -284,7 +264,6 @@ 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( @@ -293,7 +272,6 @@ 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( @@ -306,7 +284,6 @@ 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( @@ -321,7 +298,6 @@ 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,7 +306,6 @@ 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( @@ -341,7 +316,6 @@ 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( @@ -356,7 +330,6 @@ 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( @@ -373,7 +346,6 @@ 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 ''"): @@ -392,7 +364,6 @@ 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( @@ -400,7 +371,6 @@ 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( @@ -412,7 +382,6 @@ 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( @@ -426,7 +395,6 @@ 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 ''"): @@ -434,7 +402,6 @@ 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( @@ -444,7 +411,6 @@ 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( @@ -458,7 +424,6 @@ 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( @@ -474,7 +439,6 @@ 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,7 +455,6 @@ 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( @@ -500,7 +463,6 @@ 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( @@ -513,7 +475,6 @@ 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( @@ -528,7 +489,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 dee1012a5a1..2e0d975d424 100644 --- a/tests/api_resources/secondary_dns/test_force_axfr.py +++ b/tests/api_resources/secondary_dns/test_force_axfr.py @@ -16,7 +16,6 @@ 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( @@ -25,7 +24,6 @@ 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( @@ -38,7 +36,6 @@ 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( @@ -53,7 +50,6 @@ 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,7 +62,6 @@ 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( @@ -75,7 +70,6 @@ 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( @@ -88,7 +82,6 @@ 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( @@ -103,7 +96,6 @@ 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 d1e07ab8c8d..20c533d8564 100644 --- a/tests/api_resources/secondary_dns/test_incoming.py +++ b/tests/api_resources/secondary_dns/test_incoming.py @@ -22,7 +22,6 @@ 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( @@ -33,7 +32,6 @@ 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( @@ -48,7 +46,6 @@ 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( @@ -65,7 +62,6 @@ 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 ''"): @@ -76,7 +72,6 @@ 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( @@ -87,7 +82,6 @@ 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( @@ -102,7 +96,6 @@ 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( @@ -119,7 +112,6 @@ 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 ''"): @@ -130,7 +122,6 @@ 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( @@ -139,7 +130,6 @@ 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( @@ -152,7 +142,6 @@ 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( @@ -167,7 +156,6 @@ 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 ''"): @@ -176,7 +164,6 @@ 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( @@ -184,7 +171,6 @@ 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( @@ -196,7 +182,6 @@ 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( @@ -210,7 +195,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -222,7 +206,6 @@ 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( @@ -233,7 +216,6 @@ 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( @@ -248,7 +230,6 @@ 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( @@ -265,7 +246,6 @@ 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 ''"): @@ -276,7 +256,6 @@ 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( @@ -287,7 +266,6 @@ 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( @@ -302,7 +280,6 @@ 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( @@ -319,7 +296,6 @@ 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 ''"): @@ -330,7 +306,6 @@ 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( @@ -339,7 +314,6 @@ 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( @@ -352,7 +326,6 @@ 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( @@ -367,7 +340,6 @@ 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 ''"): @@ -376,7 +348,6 @@ 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( @@ -384,7 +355,6 @@ 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( @@ -396,7 +366,6 @@ 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( @@ -410,7 +379,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 8f1280a12c2..aec196ef2b5 100644 --- a/tests/api_resources/secondary_dns/test_outgoing.py +++ b/tests/api_resources/secondary_dns/test_outgoing.py @@ -22,7 +22,6 @@ 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( @@ -32,7 +31,6 @@ 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( @@ -46,7 +44,6 @@ 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( @@ -62,7 +59,6 @@ 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,7 +68,6 @@ 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( @@ -82,7 +77,6 @@ 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( @@ -96,7 +90,6 @@ 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( @@ -112,7 +105,6 @@ 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,7 +114,6 @@ 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( @@ -131,7 +122,6 @@ 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( @@ -144,7 +134,6 @@ 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( @@ -159,7 +148,6 @@ 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 ''"): @@ -168,7 +156,6 @@ 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( @@ -177,7 +164,6 @@ 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( @@ -190,7 +176,6 @@ 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( @@ -205,7 +190,6 @@ 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 ''"): @@ -214,7 +198,6 @@ 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( @@ -223,7 +206,6 @@ 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( @@ -236,7 +218,6 @@ 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( @@ -251,7 +232,6 @@ 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 ''"): @@ -260,7 +240,6 @@ 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( @@ -269,7 +248,6 @@ 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( @@ -282,7 +260,6 @@ 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( @@ -297,7 +274,6 @@ 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 ''"): @@ -306,7 +282,6 @@ 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( @@ -314,7 +289,6 @@ 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( @@ -326,7 +300,6 @@ 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( @@ -340,7 +313,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -352,7 +324,6 @@ 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( @@ -362,7 +333,6 @@ 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( @@ -376,7 +346,6 @@ 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( @@ -392,7 +361,6 @@ 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 ''"): @@ -402,7 +370,6 @@ 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( @@ -412,7 +379,6 @@ 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( @@ -426,7 +392,6 @@ 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( @@ -442,7 +407,6 @@ 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 ''"): @@ -452,7 +416,6 @@ 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( @@ -461,7 +424,6 @@ 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( @@ -474,7 +436,6 @@ 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( @@ -489,7 +450,6 @@ 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 ''"): @@ -498,7 +458,6 @@ 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( @@ -507,7 +466,6 @@ 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( @@ -520,7 +478,6 @@ 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( @@ -535,7 +492,6 @@ 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 ''"): @@ -544,7 +500,6 @@ 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( @@ -553,7 +508,6 @@ 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( @@ -566,7 +520,6 @@ 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( @@ -581,7 +534,6 @@ 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 ''"): @@ -590,7 +542,6 @@ 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( @@ -599,7 +550,6 @@ 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( @@ -612,7 +562,6 @@ 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( @@ -627,7 +576,6 @@ 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 ''"): @@ -636,7 +584,6 @@ 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( @@ -644,7 +591,6 @@ 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( @@ -656,7 +602,6 @@ 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( @@ -670,7 +615,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 1de87b407c4..08adceb5931 100644 --- a/tests/api_resources/secondary_dns/test_peers.py +++ b/tests/api_resources/secondary_dns/test_peers.py @@ -21,7 +21,6 @@ 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( @@ -30,7 +29,6 @@ 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( @@ -43,7 +41,6 @@ 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( @@ -58,7 +55,6 @@ 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,7 +63,6 @@ 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( @@ -77,7 +72,6 @@ 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( @@ -91,7 +85,6 @@ 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( @@ -105,7 +98,6 @@ 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( @@ -121,7 +113,6 @@ 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,7 +129,6 @@ 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( @@ -146,7 +136,6 @@ 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( @@ -158,7 +147,6 @@ 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( @@ -172,7 +160,6 @@ 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,7 +167,6 @@ 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( @@ -190,7 +176,6 @@ 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( @@ -204,7 +189,6 @@ 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( @@ -220,7 +204,6 @@ 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,7 +220,6 @@ 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( @@ -246,7 +228,6 @@ 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( @@ -259,7 +240,6 @@ 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( @@ -274,7 +254,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -293,7 +272,6 @@ 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( @@ -302,7 +280,6 @@ 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( @@ -315,7 +292,6 @@ 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( @@ -330,7 +306,6 @@ 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 ''"): @@ -339,7 +314,6 @@ 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( @@ -349,7 +323,6 @@ 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( @@ -363,7 +336,6 @@ 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( @@ -377,7 +349,6 @@ 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( @@ -393,7 +364,6 @@ 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 ''"): @@ -410,7 +380,6 @@ 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( @@ -418,7 +387,6 @@ 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( @@ -430,7 +398,6 @@ 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( @@ -444,7 +411,6 @@ 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,7 +418,6 @@ 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( @@ -462,7 +427,6 @@ 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( @@ -476,7 +440,6 @@ 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( @@ -492,7 +455,6 @@ 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 ''"): @@ -509,7 +471,6 @@ 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( @@ -518,7 +479,6 @@ 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( @@ -531,7 +491,6 @@ 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( @@ -546,7 +505,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 e4d734d402d..ccde0c50bd6 100644 --- a/tests/api_resources/secondary_dns/test_tsigs.py +++ b/tests/api_resources/secondary_dns/test_tsigs.py @@ -21,7 +21,6 @@ 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( @@ -32,7 +31,6 @@ 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( @@ -47,7 +45,6 @@ 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( @@ -64,7 +61,6 @@ 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,7 +71,6 @@ 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( @@ -87,7 +82,6 @@ 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( @@ -103,7 +97,6 @@ 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( @@ -121,7 +114,6 @@ 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,7 +134,6 @@ 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( @@ -150,7 +141,6 @@ 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( @@ -162,7 +152,6 @@ 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( @@ -176,7 +165,6 @@ 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,7 +172,6 @@ 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( @@ -194,7 +181,6 @@ 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( @@ -208,7 +194,6 @@ 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( @@ -224,7 +209,6 @@ 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 ''"): @@ -241,7 +225,6 @@ 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( @@ -250,7 +233,6 @@ 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( @@ -263,7 +245,6 @@ 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( @@ -278,7 +259,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -297,7 +277,6 @@ 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( @@ -308,7 +287,6 @@ 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( @@ -323,7 +301,6 @@ 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( @@ -340,7 +317,6 @@ 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 ''"): @@ -351,7 +327,6 @@ 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( @@ -363,7 +338,6 @@ 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( @@ -379,7 +353,6 @@ 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( @@ -397,7 +370,6 @@ 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,7 +390,6 @@ 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( @@ -426,7 +397,6 @@ 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( @@ -438,7 +408,6 @@ 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( @@ -452,7 +421,6 @@ 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 ''"): @@ -460,7 +428,6 @@ 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( @@ -470,7 +437,6 @@ 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( @@ -484,7 +450,6 @@ 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( @@ -500,7 +465,6 @@ 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,7 +481,6 @@ 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( @@ -526,7 +489,6 @@ 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( @@ -539,7 +501,6 @@ 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( @@ -554,7 +515,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 cbb90cef7ff..76e763aa087 100644 --- a/tests/api_resources/snippets/test_content.py +++ b/tests/api_resources/snippets/test_content.py @@ -23,7 +23,6 @@ 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: @@ -39,7 +38,6 @@ 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: @@ -57,7 +55,6 @@ 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: @@ -77,7 +74,6 @@ 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: @@ -97,7 +93,6 @@ 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: @@ -113,7 +108,6 @@ 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: @@ -131,7 +125,6 @@ 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: @@ -151,7 +144,6 @@ 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 83e10168142..1c79f65f2d3 100644 --- a/tests/api_resources/snippets/test_rules.py +++ b/tests/api_resources/snippets/test_rules.py @@ -18,7 +18,6 @@ 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( @@ -26,7 +25,6 @@ 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( @@ -54,7 +52,6 @@ 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( @@ -66,7 +63,6 @@ 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( @@ -80,7 +76,6 @@ 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 ''"): @@ -88,7 +83,6 @@ 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( @@ -96,7 +90,6 @@ 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( @@ -108,7 +101,6 @@ 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( @@ -122,7 +114,6 @@ 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 ''"): @@ -134,7 +125,6 @@ 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( @@ -142,7 +132,6 @@ 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( @@ -170,7 +159,6 @@ 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( @@ -182,7 +170,6 @@ 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( @@ -196,7 +183,6 @@ 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 ''"): @@ -204,7 +190,6 @@ 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( @@ -212,7 +197,6 @@ 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( @@ -224,7 +208,6 @@ 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( @@ -238,7 +221,6 @@ 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 637e44bfece..fa152873a47 100644 --- a/tests/api_resources/spectrum/analytics/aggregates/test_currents.py +++ b/tests/api_resources/spectrum/analytics/aggregates/test_currents.py @@ -17,7 +17,6 @@ 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( @@ -25,7 +24,6 @@ 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( @@ -36,7 +34,6 @@ 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( @@ -48,7 +45,6 @@ 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( @@ -62,7 +58,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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,7 +69,6 @@ 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( @@ -82,7 +76,6 @@ 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( @@ -93,7 +86,6 @@ 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( @@ -105,7 +97,6 @@ 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( @@ -119,7 +110,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 9afdcf9b72a..57a939363a2 100644 --- a/tests/api_resources/spectrum/analytics/events/test_bytimes.py +++ b/tests/api_resources/spectrum/analytics/events/test_bytimes.py @@ -18,7 +18,6 @@ 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( @@ -26,7 +25,6 @@ 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( @@ -41,7 +39,6 @@ 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( @@ -53,7 +50,6 @@ 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( @@ -67,7 +63,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -79,7 +74,6 @@ 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( @@ -87,7 +81,6 @@ 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( @@ -102,7 +95,6 @@ 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( @@ -114,7 +106,6 @@ 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( @@ -128,7 +119,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 5f19bf08707..abccd1640c3 100644 --- a/tests/api_resources/spectrum/analytics/events/test_summaries.py +++ b/tests/api_resources/spectrum/analytics/events/test_summaries.py @@ -18,7 +18,6 @@ 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( @@ -26,7 +25,6 @@ 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( @@ -40,7 +38,6 @@ 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( @@ -52,7 +49,6 @@ 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( @@ -66,7 +62,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -78,7 +73,6 @@ 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( @@ -86,7 +80,6 @@ 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( @@ -100,7 +93,6 @@ 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( @@ -112,7 +104,6 @@ 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( @@ -126,7 +117,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 1c99356b97a..31616c896c7 100644 --- a/tests/api_resources/spectrum/test_apps.py +++ b/tests/api_resources/spectrum/test_apps.py @@ -23,7 +23,6 @@ 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( @@ -35,7 +34,6 @@ 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( @@ -63,7 +61,6 @@ 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( @@ -79,7 +76,6 @@ 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( @@ -97,7 +93,6 @@ 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 ''"): @@ -109,7 +104,6 @@ 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( @@ -122,7 +116,6 @@ 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( @@ -151,7 +144,6 @@ 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( @@ -168,7 +160,6 @@ 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( @@ -187,7 +178,6 @@ 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 ''"): @@ -210,7 +200,6 @@ 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( @@ -218,7 +207,6 @@ 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( @@ -230,7 +218,6 @@ 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( @@ -242,7 +229,6 @@ 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( @@ -256,7 +242,6 @@ 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 ''"): @@ -264,7 +249,6 @@ 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( @@ -274,7 +258,6 @@ 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( @@ -288,7 +271,6 @@ 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( @@ -304,7 +286,6 @@ 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 ''"): @@ -321,7 +302,6 @@ 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( @@ -330,7 +310,6 @@ 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( @@ -343,7 +322,6 @@ 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( @@ -358,7 +336,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -377,7 +354,6 @@ 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( @@ -389,7 +365,6 @@ 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( @@ -417,7 +392,6 @@ 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( @@ -433,7 +407,6 @@ 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( @@ -451,7 +424,6 @@ 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 ''"): @@ -463,7 +435,6 @@ 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( @@ -476,7 +447,6 @@ 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( @@ -505,7 +475,6 @@ 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( @@ -522,7 +491,6 @@ 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( @@ -541,7 +509,6 @@ 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 ''"): @@ -564,7 +531,6 @@ 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( @@ -572,7 +538,6 @@ 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( @@ -584,7 +549,6 @@ 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( @@ -596,7 +560,6 @@ 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( @@ -610,7 +573,6 @@ 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 ''"): @@ -618,7 +580,6 @@ 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( @@ -628,7 +589,6 @@ 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( @@ -642,7 +602,6 @@ 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( @@ -658,7 +617,6 @@ 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 ''"): @@ -675,7 +633,6 @@ 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( @@ -684,7 +641,6 @@ 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( @@ -697,7 +653,6 @@ 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( @@ -712,7 +667,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 1d651c0cda6..59d87a22852 100644 --- a/tests/api_resources/speed/test_availabilities.py +++ b/tests/api_resources/speed/test_availabilities.py @@ -17,7 +17,6 @@ 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( @@ -25,7 +24,6 @@ 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( @@ -37,7 +35,6 @@ 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( @@ -51,7 +48,6 @@ 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 ''"): @@ -63,7 +59,6 @@ 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( @@ -71,7 +66,6 @@ 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( @@ -83,7 +77,6 @@ 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( @@ -97,7 +90,6 @@ 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 cee5ec5833e..ac43092a2e3 100644 --- a/tests/api_resources/speed/test_pages.py +++ b/tests/api_resources/speed/test_pages.py @@ -18,7 +18,6 @@ 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( @@ -26,7 +25,6 @@ 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( @@ -38,7 +36,6 @@ 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( @@ -52,7 +49,6 @@ 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 ''"): @@ -64,7 +60,6 @@ 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( @@ -72,7 +67,6 @@ 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( @@ -84,7 +78,6 @@ 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( @@ -98,7 +91,6 @@ 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 99d2657e184..fad790c5fc2 100644 --- a/tests/api_resources/speed/test_schedule.py +++ b/tests/api_resources/speed/test_schedule.py @@ -17,7 +17,6 @@ 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( @@ -26,7 +25,6 @@ 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( @@ -36,7 +34,6 @@ 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( @@ -49,7 +46,6 @@ 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( @@ -64,7 +60,6 @@ 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,7 +78,6 @@ 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( @@ -92,7 +86,6 @@ 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( @@ -102,7 +95,6 @@ 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( @@ -115,7 +107,6 @@ 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( @@ -130,7 +121,6 @@ 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 fc85d909d50..1bc60889e66 100644 --- a/tests/api_resources/speed/test_tests.py +++ b/tests/api_resources/speed/test_tests.py @@ -21,7 +21,6 @@ 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( @@ -30,7 +29,6 @@ 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( @@ -40,7 +38,6 @@ 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( @@ -53,7 +50,6 @@ 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( @@ -68,7 +64,6 @@ 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,7 +78,6 @@ 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( @@ -92,7 +86,6 @@ 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( @@ -104,7 +97,6 @@ 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( @@ -117,7 +109,6 @@ 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( @@ -132,7 +123,6 @@ 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 ''"): @@ -147,7 +137,6 @@ 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( @@ -156,7 +145,6 @@ 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( @@ -166,7 +154,6 @@ 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( @@ -179,7 +166,6 @@ 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( @@ -194,7 +180,6 @@ 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 ''"): @@ -209,7 +194,6 @@ 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( @@ -219,7 +203,6 @@ 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( @@ -233,7 +216,6 @@ 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( @@ -249,7 +231,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -277,7 +258,6 @@ 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( @@ -286,7 +266,6 @@ 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( @@ -296,7 +275,6 @@ 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( @@ -309,7 +287,6 @@ 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( @@ -324,7 +301,6 @@ 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 ''"): @@ -339,7 +315,6 @@ 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( @@ -348,7 +323,6 @@ 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( @@ -360,7 +334,6 @@ 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( @@ -373,7 +346,6 @@ 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( @@ -388,7 +360,6 @@ 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 ''"): @@ -403,7 +374,6 @@ 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( @@ -412,7 +382,6 @@ 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( @@ -422,7 +391,6 @@ 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( @@ -435,7 +403,6 @@ 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( @@ -450,7 +417,6 @@ 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 ''"): @@ -465,7 +431,6 @@ 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( @@ -475,7 +440,6 @@ 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( @@ -489,7 +453,6 @@ 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( @@ -505,7 +468,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 5ad50e00c71..6d8da28d48c 100644 --- a/tests/api_resources/ssl/certificate_packs/test_order.py +++ b/tests/api_resources/ssl/certificate_packs/test_order.py @@ -17,7 +17,6 @@ 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( @@ -30,7 +29,6 @@ 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( @@ -44,7 +42,6 @@ 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( @@ -61,7 +58,6 @@ 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( @@ -80,7 +76,6 @@ 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 ''"): @@ -97,7 +92,6 @@ 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( @@ -110,7 +104,6 @@ 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( @@ -124,7 +117,6 @@ 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( @@ -141,7 +133,6 @@ 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( @@ -160,7 +151,6 @@ 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 22d983db7f1..9417d537564 100644 --- a/tests/api_resources/ssl/certificate_packs/test_quota.py +++ b/tests/api_resources/ssl/certificate_packs/test_quota.py @@ -17,7 +17,6 @@ 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( @@ -25,7 +24,6 @@ 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( @@ -37,7 +35,6 @@ 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( @@ -51,7 +48,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -63,7 +59,6 @@ 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( @@ -71,7 +66,6 @@ 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( @@ -83,7 +77,6 @@ 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( @@ -97,7 +90,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ce96ca2df0c..f037c193eb4 100644 --- a/tests/api_resources/ssl/test_analyze.py +++ b/tests/api_resources/ssl/test_analyze.py @@ -17,7 +17,6 @@ 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( @@ -25,7 +24,6 @@ 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( @@ -35,7 +33,6 @@ 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( @@ -47,7 +44,6 @@ 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( @@ -61,7 +57,6 @@ 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 ''"): @@ -73,7 +68,6 @@ 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( @@ -81,7 +75,6 @@ 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( @@ -91,7 +84,6 @@ 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( @@ -103,7 +95,6 @@ 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( @@ -117,7 +108,6 @@ 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 8cc4c1436fe..db9847ef4fc 100644 --- a/tests/api_resources/ssl/test_certificate_packs.py +++ b/tests/api_resources/ssl/test_certificate_packs.py @@ -22,7 +22,6 @@ 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( @@ -30,7 +29,6 @@ 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( @@ -39,7 +37,6 @@ 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( @@ -51,7 +48,6 @@ 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( @@ -65,7 +61,6 @@ 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 ''"): @@ -73,7 +68,6 @@ 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( @@ -83,7 +77,6 @@ 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( @@ -97,7 +90,6 @@ 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( @@ -113,7 +105,6 @@ 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 ''"): @@ -130,7 +121,6 @@ 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( @@ -140,7 +130,6 @@ 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( @@ -154,7 +143,6 @@ 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( @@ -170,7 +158,6 @@ 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 ''"): @@ -187,7 +174,6 @@ 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( @@ -196,7 +182,6 @@ 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( @@ -209,7 +194,6 @@ 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( @@ -224,7 +208,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -243,7 +226,6 @@ 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( @@ -251,7 +233,6 @@ 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( @@ -260,7 +241,6 @@ 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( @@ -272,7 +252,6 @@ 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( @@ -286,7 +265,6 @@ 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 ''"): @@ -294,7 +272,6 @@ 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( @@ -304,7 +281,6 @@ 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( @@ -318,7 +294,6 @@ 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( @@ -334,7 +309,6 @@ 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 ''"): @@ -351,7 +325,6 @@ 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( @@ -361,7 +334,6 @@ 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( @@ -375,7 +347,6 @@ 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( @@ -391,7 +362,6 @@ 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 ''"): @@ -408,7 +378,6 @@ 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( @@ -417,7 +386,6 @@ 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( @@ -430,7 +398,6 @@ 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( @@ -445,7 +412,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 31e42e5ed46..25c8c9c2841 100644 --- a/tests/api_resources/ssl/test_recommendations.py +++ b/tests/api_resources/ssl/test_recommendations.py @@ -17,7 +17,6 @@ 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( @@ -25,7 +24,6 @@ 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( @@ -37,7 +35,6 @@ 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( @@ -51,7 +48,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -63,7 +59,6 @@ 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( @@ -71,7 +66,6 @@ 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( @@ -83,7 +77,6 @@ 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( @@ -97,7 +90,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 e93667109d1..698b6e7ebab 100644 --- a/tests/api_resources/ssl/test_verification.py +++ b/tests/api_resources/ssl/test_verification.py @@ -20,7 +20,6 @@ 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( @@ -30,7 +29,6 @@ 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( @@ -44,7 +42,6 @@ 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( @@ -60,7 +57,6 @@ 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 ''"): @@ -77,7 +73,6 @@ 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( @@ -85,7 +80,6 @@ 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( @@ -94,7 +88,6 @@ 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( @@ -106,7 +99,6 @@ 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( @@ -120,7 +112,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -132,7 +123,6 @@ 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( @@ -142,7 +132,6 @@ 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( @@ -156,7 +145,6 @@ 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( @@ -172,7 +160,6 @@ 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,7 +176,6 @@ 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( @@ -197,7 +183,6 @@ 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( @@ -206,7 +191,6 @@ 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( @@ -218,7 +202,6 @@ 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( @@ -232,7 +215,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 027e556f715..e31b8cfe0ee 100644 --- a/tests/api_resources/ssl/universal/test_settings.py +++ b/tests/api_resources/ssl/universal/test_settings.py @@ -17,7 +17,6 @@ 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( @@ -25,7 +24,6 @@ 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( @@ -34,7 +32,6 @@ 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( @@ -46,7 +43,6 @@ 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( @@ -60,7 +56,6 @@ 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 ''"): @@ -68,7 +63,6 @@ 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( @@ -76,7 +70,6 @@ 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( @@ -88,7 +81,6 @@ 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( @@ -102,7 +94,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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,7 +105,6 @@ 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( @@ -122,7 +112,6 @@ 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( @@ -131,7 +120,6 @@ 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( @@ -143,7 +131,6 @@ 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( @@ -157,7 +144,6 @@ 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,7 +151,6 @@ 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( @@ -173,7 +158,6 @@ 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( @@ -185,7 +169,6 @@ 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( @@ -199,7 +182,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 0a6e3064dcf..bd9e182261e 100644 --- a/tests/api_resources/storage/test_analytics.py +++ b/tests/api_resources/storage/test_analytics.py @@ -18,7 +18,6 @@ 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( @@ -26,7 +25,6 @@ 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( @@ -43,7 +41,6 @@ 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( @@ -55,7 +52,6 @@ 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( @@ -69,7 +65,6 @@ 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,7 +72,6 @@ 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( @@ -85,7 +79,6 @@ 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( @@ -102,7 +95,6 @@ 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( @@ -114,7 +106,6 @@ 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( @@ -128,7 +119,6 @@ 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 ''"): @@ -140,7 +130,6 @@ 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( @@ -148,7 +137,6 @@ 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( @@ -165,7 +153,6 @@ 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( @@ -177,7 +164,6 @@ 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( @@ -191,7 +177,6 @@ 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 ''"): @@ -199,7 +184,6 @@ 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( @@ -207,7 +191,6 @@ 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( @@ -224,7 +207,6 @@ 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( @@ -236,7 +218,6 @@ 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( @@ -250,7 +231,6 @@ 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 f8ec81a3422..7a4ed6f8fbb 100644 --- a/tests/api_resources/stream/captions/language/test_vtt.py +++ b/tests/api_resources/stream/captions/language/test_vtt.py @@ -16,7 +16,6 @@ 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( @@ -27,7 +26,6 @@ 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( @@ -42,7 +40,6 @@ 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( @@ -59,7 +56,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -90,7 +86,6 @@ 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( @@ -101,7 +96,6 @@ 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( @@ -116,7 +110,6 @@ 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( @@ -133,7 +126,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 59e1bdcb7b2..6b8a0b14509 100644 --- a/tests/api_resources/stream/captions/test_language.py +++ b/tests/api_resources/stream/captions/test_language.py @@ -17,7 +17,6 @@ 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( @@ -28,7 +27,6 @@ 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( @@ -43,7 +41,6 @@ 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( @@ -60,7 +57,6 @@ 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,7 +83,6 @@ 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( @@ -98,7 +93,6 @@ 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( @@ -113,7 +107,6 @@ 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( @@ -130,7 +123,6 @@ 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,7 +149,6 @@ 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( @@ -167,7 +158,6 @@ 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( @@ -181,7 +171,6 @@ 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( @@ -197,7 +186,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -225,7 +213,6 @@ 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( @@ -236,7 +223,6 @@ 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( @@ -251,7 +237,6 @@ 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( @@ -268,7 +253,6 @@ 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 ''"): @@ -295,7 +279,6 @@ 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( @@ -306,7 +289,6 @@ 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( @@ -321,7 +303,6 @@ 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( @@ -338,7 +319,6 @@ 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 ''"): @@ -365,7 +345,6 @@ 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( @@ -375,7 +354,6 @@ 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( @@ -389,7 +367,6 @@ 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( @@ -405,7 +382,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 a02b342ef61..c2b92a3422e 100644 --- a/tests/api_resources/stream/live_inputs/test_outputs.py +++ b/tests/api_resources/stream/live_inputs/test_outputs.py @@ -18,7 +18,6 @@ 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( @@ -29,7 +28,6 @@ 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( @@ -41,7 +39,6 @@ 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( @@ -56,7 +53,6 @@ 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( @@ -73,7 +69,6 @@ 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 ''"): @@ -92,7 +87,6 @@ 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( @@ -103,7 +97,6 @@ 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( @@ -118,7 +111,6 @@ 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( @@ -135,7 +127,6 @@ 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 ''"): @@ -162,7 +153,6 @@ 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( @@ -171,7 +161,6 @@ 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( @@ -184,7 +173,6 @@ 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( @@ -199,7 +187,6 @@ 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 ''"): @@ -214,7 +201,6 @@ 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( @@ -225,7 +211,6 @@ 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( @@ -240,7 +225,6 @@ 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( @@ -257,7 +241,6 @@ 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 ''"): @@ -288,7 +271,6 @@ 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( @@ -299,7 +281,6 @@ 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( @@ -311,7 +292,6 @@ 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( @@ -326,7 +306,6 @@ 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( @@ -343,7 +322,6 @@ 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,7 +340,6 @@ 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( @@ -373,7 +350,6 @@ 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( @@ -388,7 +364,6 @@ 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( @@ -405,7 +380,6 @@ 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 ''"): @@ -432,7 +406,6 @@ 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( @@ -441,7 +414,6 @@ 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( @@ -454,7 +426,6 @@ 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( @@ -469,7 +440,6 @@ 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 ''"): @@ -484,7 +454,6 @@ 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( @@ -495,7 +464,6 @@ 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( @@ -510,7 +478,6 @@ 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( @@ -527,7 +494,6 @@ 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 71756af4ca3..b1af748dc56 100644 --- a/tests/api_resources/stream/test_audio_tracks.py +++ b/tests/api_resources/stream/test_audio_tracks.py @@ -21,7 +21,6 @@ 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( @@ -31,7 +30,6 @@ 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( @@ -45,7 +43,6 @@ 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( @@ -61,7 +58,6 @@ 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 ''"): @@ -85,7 +81,6 @@ 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( @@ -95,7 +90,6 @@ 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( @@ -106,7 +100,6 @@ 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( @@ -120,7 +113,6 @@ 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( @@ -136,7 +128,6 @@ 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 ''"): @@ -153,7 +144,6 @@ 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( @@ -163,7 +153,6 @@ 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( @@ -175,7 +164,6 @@ 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( @@ -189,7 +177,6 @@ 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( @@ -205,7 +192,6 @@ 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,7 +215,6 @@ 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( @@ -238,7 +223,6 @@ 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( @@ -251,7 +235,6 @@ 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( @@ -266,7 +249,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -285,7 +267,6 @@ 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( @@ -295,7 +276,6 @@ 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( @@ -309,7 +289,6 @@ 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( @@ -325,7 +304,6 @@ 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 ''"): @@ -349,7 +327,6 @@ 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( @@ -359,7 +336,6 @@ 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( @@ -370,7 +346,6 @@ 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( @@ -384,7 +359,6 @@ 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( @@ -400,7 +374,6 @@ 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 ''"): @@ -417,7 +390,6 @@ 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( @@ -427,7 +399,6 @@ 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( @@ -439,7 +410,6 @@ 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( @@ -453,7 +423,6 @@ 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( @@ -469,7 +438,6 @@ 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 ''"): @@ -493,7 +461,6 @@ 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( @@ -502,7 +469,6 @@ 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( @@ -515,7 +481,6 @@ 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( @@ -530,7 +495,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 b2466c27733..4361d07217d 100644 --- a/tests/api_resources/stream/test_captions.py +++ b/tests/api_resources/stream/test_captions.py @@ -17,7 +17,6 @@ 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( @@ -26,7 +25,6 @@ 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( @@ -39,7 +37,6 @@ 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( @@ -54,7 +51,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -73,7 +69,6 @@ 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( @@ -82,7 +77,6 @@ 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( @@ -95,7 +89,6 @@ 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( @@ -110,7 +103,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 3386eec53e7..c0806600820 100644 --- a/tests/api_resources/stream/test_clip.py +++ b/tests/api_resources/stream/test_clip.py @@ -17,7 +17,6 @@ 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( @@ -28,7 +27,6 @@ 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( @@ -45,7 +43,6 @@ 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( @@ -60,7 +57,6 @@ 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( @@ -77,7 +73,6 @@ 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 ''"): @@ -92,7 +87,6 @@ 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( @@ -103,7 +97,6 @@ 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( @@ -120,7 +113,6 @@ 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( @@ -135,7 +127,6 @@ 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( @@ -152,7 +143,6 @@ 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 03849cde63e..191a1cc36c3 100644 --- a/tests/api_resources/stream/test_copy.py +++ b/tests/api_resources/stream/test_copy.py @@ -18,7 +18,6 @@ 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( @@ -27,7 +26,6 @@ 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( @@ -43,7 +41,6 @@ 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( @@ -56,7 +53,6 @@ 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( @@ -71,7 +67,6 @@ 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,7 +79,6 @@ 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( @@ -93,7 +87,6 @@ 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( @@ -109,7 +102,6 @@ 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( @@ -122,7 +114,6 @@ 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( @@ -137,7 +128,6 @@ 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 88e93522a5a..7115e89cc14 100644 --- a/tests/api_resources/stream/test_direct_upload.py +++ b/tests/api_resources/stream/test_direct_upload.py @@ -18,7 +18,6 @@ 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( @@ -27,7 +26,6 @@ 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( @@ -44,7 +42,6 @@ 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( @@ -57,7 +54,6 @@ 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( @@ -72,7 +68,6 @@ 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,7 +80,6 @@ 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( @@ -94,7 +88,6 @@ 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( @@ -111,7 +104,6 @@ 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( @@ -124,7 +116,6 @@ 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( @@ -139,7 +130,6 @@ 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 b5fda9a4b9d..2940e0ff0d6 100644 --- a/tests/api_resources/stream/test_downloads.py +++ b/tests/api_resources/stream/test_downloads.py @@ -21,7 +21,6 @@ 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( @@ -31,7 +30,6 @@ 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( @@ -45,7 +43,6 @@ 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( @@ -61,7 +58,6 @@ 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,7 +74,6 @@ 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( @@ -87,7 +82,6 @@ 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( @@ -100,7 +94,6 @@ 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( @@ -115,7 +108,6 @@ 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,7 +122,6 @@ 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( @@ -139,7 +130,6 @@ 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( @@ -152,7 +142,6 @@ 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( @@ -167,7 +156,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -186,7 +174,6 @@ 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( @@ -196,7 +183,6 @@ 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( @@ -210,7 +196,6 @@ 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( @@ -226,7 +211,6 @@ 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 ''"): @@ -243,7 +227,6 @@ 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( @@ -252,7 +235,6 @@ 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( @@ -265,7 +247,6 @@ 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( @@ -280,7 +261,6 @@ 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 ''"): @@ -295,7 +275,6 @@ 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( @@ -304,7 +283,6 @@ 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( @@ -317,7 +295,6 @@ 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( @@ -332,7 +309,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 f96c02841a9..1f7066ff514 100644 --- a/tests/api_resources/stream/test_embed.py +++ b/tests/api_resources/stream/test_embed.py @@ -16,7 +16,6 @@ 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( @@ -25,7 +24,6 @@ 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( @@ -38,7 +36,6 @@ 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( @@ -53,7 +50,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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,7 +68,6 @@ 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( @@ -81,7 +76,6 @@ 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( @@ -94,7 +88,6 @@ 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( @@ -109,7 +102,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 2be86064c48..b0dda35d7f5 100644 --- a/tests/api_resources/stream/test_keys.py +++ b/tests/api_resources/stream/test_keys.py @@ -17,7 +17,6 @@ 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( @@ -26,7 +25,6 @@ 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( @@ -39,7 +37,6 @@ 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( @@ -54,7 +51,6 @@ 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,7 +59,6 @@ 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( @@ -73,7 +68,6 @@ 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( @@ -87,7 +81,6 @@ 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( @@ -103,7 +96,6 @@ 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 ''"): @@ -120,7 +112,6 @@ 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( @@ -128,7 +119,6 @@ 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( @@ -140,7 +130,6 @@ 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( @@ -154,7 +143,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -166,7 +154,6 @@ 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( @@ -175,7 +162,6 @@ 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( @@ -188,7 +174,6 @@ 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( @@ -203,7 +188,6 @@ 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 ''"): @@ -212,7 +196,6 @@ 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( @@ -222,7 +205,6 @@ 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( @@ -236,7 +218,6 @@ 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( @@ -252,7 +233,6 @@ 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 ''"): @@ -269,7 +249,6 @@ 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( @@ -277,7 +256,6 @@ 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( @@ -289,7 +267,6 @@ 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( @@ -303,7 +280,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 f68199a02da..225c2cf7234 100644 --- a/tests/api_resources/stream/test_live_inputs.py +++ b/tests/api_resources/stream/test_live_inputs.py @@ -20,7 +20,6 @@ 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( @@ -28,7 +27,6 @@ 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( @@ -45,7 +43,6 @@ 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( @@ -57,7 +54,6 @@ 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( @@ -71,7 +67,6 @@ 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,7 +74,6 @@ 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( @@ -88,7 +82,6 @@ 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( @@ -106,7 +99,6 @@ 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( @@ -119,7 +111,6 @@ 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( @@ -134,7 +125,6 @@ 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,7 +139,6 @@ 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( @@ -157,7 +146,6 @@ 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( @@ -166,7 +154,6 @@ 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( @@ -178,7 +165,6 @@ 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( @@ -192,7 +178,6 @@ 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 ''"): @@ -200,7 +185,6 @@ 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( @@ -210,7 +194,6 @@ 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( @@ -224,7 +207,6 @@ 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( @@ -240,7 +222,6 @@ 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,7 +238,6 @@ 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( @@ -266,7 +246,6 @@ 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( @@ -279,7 +258,6 @@ 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( @@ -294,7 +272,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -313,7 +290,6 @@ 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( @@ -321,7 +297,6 @@ 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( @@ -338,7 +313,6 @@ 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( @@ -350,7 +324,6 @@ 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( @@ -364,7 +337,6 @@ 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,7 +344,6 @@ 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( @@ -381,7 +352,6 @@ 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( @@ -399,7 +369,6 @@ 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( @@ -412,7 +381,6 @@ 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( @@ -427,7 +395,6 @@ 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 ''"): @@ -442,7 +409,6 @@ 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( @@ -450,7 +416,6 @@ 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( @@ -459,7 +424,6 @@ 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( @@ -471,7 +435,6 @@ 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( @@ -485,7 +448,6 @@ 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 ''"): @@ -493,7 +455,6 @@ 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( @@ -503,7 +464,6 @@ 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( @@ -517,7 +477,6 @@ 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( @@ -533,7 +492,6 @@ 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 ''"): @@ -550,7 +508,6 @@ 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( @@ -559,7 +516,6 @@ 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( @@ -572,7 +528,6 @@ 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( @@ -587,7 +542,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 4fea7d3ac62..0d94826e27c 100644 --- a/tests/api_resources/stream/test_token.py +++ b/tests/api_resources/stream/test_token.py @@ -17,7 +17,6 @@ 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( @@ -26,7 +25,6 @@ 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( @@ -60,7 +58,6 @@ 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( @@ -73,7 +70,6 @@ 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( @@ -88,7 +84,6 @@ 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 ''"): @@ -107,7 +102,6 @@ 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( @@ -116,7 +110,6 @@ 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( @@ -150,7 +143,6 @@ 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( @@ -163,7 +155,6 @@ 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( @@ -178,7 +169,6 @@ 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 d3558da187c..c0ee01a60ff 100644 --- a/tests/api_resources/stream/test_videos.py +++ b/tests/api_resources/stream/test_videos.py @@ -17,7 +17,6 @@ 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( @@ -25,7 +24,6 @@ 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( @@ -34,7 +32,6 @@ 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( @@ -46,7 +43,6 @@ 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( @@ -60,7 +56,6 @@ 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 ''"): @@ -72,7 +67,6 @@ 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( @@ -80,7 +74,6 @@ 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( @@ -89,7 +82,6 @@ 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( @@ -101,7 +93,6 @@ 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( @@ -115,7 +106,6 @@ 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 212a32853a6..80fca50a980 100644 --- a/tests/api_resources/stream/test_watermarks.py +++ b/tests/api_resources/stream/test_watermarks.py @@ -18,7 +18,6 @@ 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( @@ -27,7 +26,6 @@ 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( @@ -41,7 +39,6 @@ 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( @@ -54,7 +51,6 @@ 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( @@ -69,7 +65,6 @@ 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,7 +73,6 @@ 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( @@ -86,7 +80,6 @@ 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( @@ -98,7 +91,6 @@ 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( @@ -112,7 +104,6 @@ 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,7 +111,6 @@ 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( @@ -130,7 +120,6 @@ 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( @@ -144,7 +133,6 @@ 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( @@ -160,7 +148,6 @@ 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,7 +164,6 @@ 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( @@ -186,7 +172,6 @@ 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( @@ -199,7 +184,6 @@ 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( @@ -214,7 +198,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -233,7 +216,6 @@ 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( @@ -242,7 +224,6 @@ 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( @@ -256,7 +237,6 @@ 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( @@ -269,7 +249,6 @@ 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( @@ -284,7 +263,6 @@ 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,7 +271,6 @@ 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( @@ -301,7 +278,6 @@ 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( @@ -313,7 +289,6 @@ 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( @@ -327,7 +302,6 @@ 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 ''"): @@ -335,7 +309,6 @@ 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( @@ -345,7 +318,6 @@ 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( @@ -359,7 +331,6 @@ 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( @@ -375,7 +346,6 @@ 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 ''"): @@ -392,7 +362,6 @@ 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( @@ -401,7 +370,6 @@ 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( @@ -414,7 +382,6 @@ 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( @@ -429,7 +396,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 c2ba269535c..b8cb1872747 100644 --- a/tests/api_resources/stream/test_webhooks.py +++ b/tests/api_resources/stream/test_webhooks.py @@ -21,7 +21,6 @@ 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( @@ -30,7 +29,6 @@ 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( @@ -43,7 +41,6 @@ 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( @@ -58,7 +55,6 @@ 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 ''"): @@ -67,7 +63,6 @@ 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( @@ -76,7 +71,6 @@ 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( @@ -89,7 +83,6 @@ 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( @@ -104,7 +97,6 @@ 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 ''"): @@ -113,7 +105,6 @@ 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( @@ -121,7 +112,6 @@ 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( @@ -133,7 +123,6 @@ 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( @@ -147,7 +136,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -159,7 +147,6 @@ 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( @@ -168,7 +155,6 @@ 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( @@ -181,7 +167,6 @@ 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( @@ -196,7 +181,6 @@ 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 ''"): @@ -205,7 +189,6 @@ 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( @@ -214,7 +197,6 @@ 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( @@ -227,7 +209,6 @@ 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( @@ -242,7 +223,6 @@ 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 ''"): @@ -251,7 +231,6 @@ 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( @@ -259,7 +238,6 @@ 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( @@ -271,7 +249,6 @@ 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( @@ -285,7 +262,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 c7b2f9d72ae..19d397230d3 100644 --- a/tests/api_resources/test_accounts.py +++ b/tests/api_resources/test_accounts.py @@ -21,7 +21,6 @@ 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( @@ -30,7 +29,6 @@ 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( @@ -44,7 +42,6 @@ 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( @@ -57,7 +54,6 @@ 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( @@ -72,13 +68,11 @@ 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( @@ -89,7 +83,6 @@ 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() @@ -99,7 +92,6 @@ 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: @@ -111,7 +103,6 @@ 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( @@ -119,7 +110,6 @@ 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( @@ -131,7 +121,6 @@ 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( @@ -149,7 +138,6 @@ 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( @@ -158,7 +146,6 @@ 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( @@ -172,7 +159,6 @@ 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( @@ -185,7 +171,6 @@ 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( @@ -200,13 +185,11 @@ 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( @@ -217,7 +200,6 @@ 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() @@ -227,7 +209,6 @@ 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: @@ -239,7 +220,6 @@ 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( @@ -247,7 +227,6 @@ 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( @@ -259,7 +238,6 @@ 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 1e5562aa2f7..3fec9ccbe53 100644 --- a/tests/api_resources/test_audit_logs.py +++ b/tests/api_resources/test_audit_logs.py @@ -19,7 +19,6 @@ 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( @@ -27,7 +26,6 @@ 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( @@ -49,7 +47,6 @@ 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( @@ -61,7 +58,6 @@ 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( @@ -75,7 +71,6 @@ 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 ''"): @@ -87,7 +82,6 @@ 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( @@ -95,7 +89,6 @@ 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( @@ -117,7 +110,6 @@ 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( @@ -129,7 +121,6 @@ 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( @@ -143,7 +134,6 @@ 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 89ed539135b..0875e1045b5 100644 --- a/tests/api_resources/test_bot_management.py +++ b/tests/api_resources/test_bot_management.py @@ -20,7 +20,6 @@ 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( @@ -28,7 +27,6 @@ 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( @@ -38,7 +36,6 @@ 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( @@ -50,7 +47,6 @@ 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( @@ -64,7 +60,6 @@ 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 ''"): @@ -72,7 +67,6 @@ 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( @@ -80,7 +74,6 @@ 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( @@ -93,7 +86,6 @@ 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( @@ -105,7 +97,6 @@ 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( @@ -119,7 +110,6 @@ 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 ''"): @@ -127,7 +117,6 @@ 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( @@ -135,7 +124,6 @@ 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( @@ -149,7 +137,6 @@ 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( @@ -161,7 +148,6 @@ 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( @@ -175,7 +161,6 @@ 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 ''"): @@ -183,7 +168,6 @@ 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( @@ -191,7 +175,6 @@ 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( @@ -202,7 +185,6 @@ 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( @@ -214,7 +196,6 @@ 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( @@ -228,7 +209,6 @@ 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 ''"): @@ -236,7 +216,6 @@ 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( @@ -244,7 +223,6 @@ 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( @@ -256,7 +234,6 @@ 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( @@ -270,7 +247,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -282,7 +258,6 @@ 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( @@ -290,7 +265,6 @@ 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( @@ -300,7 +274,6 @@ 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( @@ -312,7 +285,6 @@ 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( @@ -326,7 +298,6 @@ 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 ''"): @@ -334,7 +305,6 @@ 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( @@ -342,7 +312,6 @@ 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( @@ -355,7 +324,6 @@ 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( @@ -367,7 +335,6 @@ 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( @@ -381,7 +348,6 @@ 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 ''"): @@ -389,7 +355,6 @@ 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( @@ -397,7 +362,6 @@ 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( @@ -411,7 +375,6 @@ 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( @@ -423,7 +386,6 @@ 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( @@ -437,7 +399,6 @@ 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 ''"): @@ -445,7 +406,6 @@ 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( @@ -453,7 +413,6 @@ 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( @@ -464,7 +423,6 @@ 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( @@ -476,7 +434,6 @@ 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( @@ -490,7 +447,6 @@ 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 ''"): @@ -498,7 +454,6 @@ 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( @@ -506,7 +461,6 @@ 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( @@ -518,7 +472,6 @@ 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( @@ -532,7 +485,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 61e951f87a5..303dc3a6bd9 100644 --- a/tests/api_resources/test_brand_protection.py +++ b/tests/api_resources/test_brand_protection.py @@ -20,7 +20,6 @@ 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( @@ -28,7 +27,6 @@ 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( @@ -37,7 +35,6 @@ 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( @@ -49,7 +46,6 @@ 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( @@ -63,7 +59,6 @@ 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 ''"): @@ -71,7 +66,6 @@ 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( @@ -79,7 +73,6 @@ 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( @@ -89,7 +82,6 @@ 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( @@ -101,7 +93,6 @@ 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( @@ -115,7 +106,6 @@ 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 ''"): @@ -127,7 +117,6 @@ 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( @@ -135,7 +124,6 @@ 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( @@ -144,7 +132,6 @@ 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( @@ -156,7 +143,6 @@ 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( @@ -170,7 +156,6 @@ 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 ''"): @@ -178,7 +163,6 @@ 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( @@ -186,7 +170,6 @@ 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( @@ -196,7 +179,6 @@ 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( @@ -208,7 +190,6 @@ 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( @@ -222,7 +203,6 @@ 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 c1650d57e93..2c5dd92732e 100644 --- a/tests/api_resources/test_cache.py +++ b/tests/api_resources/test_cache.py @@ -17,7 +17,6 @@ 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( @@ -25,7 +24,6 @@ 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( @@ -34,7 +32,6 @@ 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( @@ -46,7 +43,6 @@ 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( @@ -60,7 +56,6 @@ 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 ''"): @@ -68,7 +63,6 @@ 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( @@ -76,7 +70,6 @@ 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( @@ -85,7 +78,6 @@ 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( @@ -97,7 +89,6 @@ 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( @@ -111,7 +102,6 @@ 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 ''"): @@ -119,7 +109,6 @@ 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( @@ -127,7 +116,6 @@ 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( @@ -136,7 +124,6 @@ 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( @@ -148,7 +135,6 @@ 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( @@ -162,7 +148,6 @@ 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 ''"): @@ -170,7 +155,6 @@ 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( @@ -178,7 +162,6 @@ 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( @@ -187,7 +170,6 @@ 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( @@ -199,7 +181,6 @@ 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( @@ -213,7 +194,6 @@ 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 ''"): @@ -221,7 +201,6 @@ 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( @@ -229,7 +208,6 @@ 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( @@ -242,7 +220,6 @@ 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( @@ -254,7 +231,6 @@ 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( @@ -268,7 +244,6 @@ 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 ''"): @@ -280,7 +255,6 @@ 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( @@ -288,7 +262,6 @@ 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( @@ -297,7 +270,6 @@ 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( @@ -309,7 +281,6 @@ 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( @@ -323,7 +294,6 @@ 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 ''"): @@ -331,7 +301,6 @@ 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( @@ -339,7 +308,6 @@ 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( @@ -348,7 +316,6 @@ 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( @@ -360,7 +327,6 @@ 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( @@ -374,7 +340,6 @@ 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 ''"): @@ -382,7 +347,6 @@ 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( @@ -390,7 +354,6 @@ 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( @@ -399,7 +362,6 @@ 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( @@ -411,7 +373,6 @@ 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( @@ -425,7 +386,6 @@ 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 ''"): @@ -433,7 +393,6 @@ 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( @@ -441,7 +400,6 @@ 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( @@ -450,7 +408,6 @@ 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( @@ -462,7 +419,6 @@ 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( @@ -476,7 +432,6 @@ 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 ''"): @@ -484,7 +439,6 @@ 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( @@ -492,7 +446,6 @@ 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( @@ -505,7 +458,6 @@ 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( @@ -517,7 +469,6 @@ 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( @@ -531,7 +482,6 @@ 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 1198441de22..09dab34806b 100644 --- a/tests/api_resources/test_calls.py +++ b/tests/api_resources/test_calls.py @@ -18,7 +18,6 @@ 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( @@ -26,7 +25,6 @@ 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( @@ -35,7 +33,6 @@ 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( @@ -47,7 +44,6 @@ 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( @@ -61,7 +57,6 @@ 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,7 +64,6 @@ 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( @@ -78,7 +72,6 @@ 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( @@ -88,7 +81,6 @@ 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( @@ -101,7 +93,6 @@ 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( @@ -116,7 +107,6 @@ 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 ''"): @@ -131,7 +121,6 @@ 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( @@ -139,7 +128,6 @@ 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( @@ -151,7 +139,6 @@ 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( @@ -165,7 +152,6 @@ 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 ''"): @@ -173,7 +159,6 @@ 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( @@ -182,7 +167,6 @@ 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( @@ -195,7 +179,6 @@ 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( @@ -210,7 +193,6 @@ 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,7 +207,6 @@ 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( @@ -234,7 +215,6 @@ 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( @@ -247,7 +227,6 @@ 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( @@ -262,7 +241,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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,7 +259,6 @@ 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( @@ -289,7 +266,6 @@ 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( @@ -298,7 +274,6 @@ 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( @@ -310,7 +285,6 @@ 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( @@ -324,7 +298,6 @@ 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 ''"): @@ -332,7 +305,6 @@ 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( @@ -341,7 +313,6 @@ 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( @@ -351,7 +322,6 @@ 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( @@ -364,7 +334,6 @@ 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( @@ -379,7 +348,6 @@ 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 ''"): @@ -394,7 +362,6 @@ 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( @@ -402,7 +369,6 @@ 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( @@ -414,7 +380,6 @@ 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( @@ -428,7 +393,6 @@ 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 ''"): @@ -436,7 +400,6 @@ 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( @@ -445,7 +408,6 @@ 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( @@ -458,7 +420,6 @@ 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( @@ -473,7 +434,6 @@ 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 ''"): @@ -488,7 +448,6 @@ 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( @@ -497,7 +456,6 @@ 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( @@ -510,7 +468,6 @@ 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( @@ -525,7 +482,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 307a72b3d52..c38007c9f69 100644 --- a/tests/api_resources/test_client_certificates.py +++ b/tests/api_resources/test_client_certificates.py @@ -20,7 +20,6 @@ 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( @@ -30,7 +29,6 @@ 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( @@ -44,7 +42,6 @@ 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( @@ -60,7 +57,6 @@ 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 ''"): @@ -70,7 +66,6 @@ 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( @@ -78,7 +73,6 @@ 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( @@ -91,7 +85,6 @@ 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( @@ -103,7 +96,6 @@ 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( @@ -117,7 +109,6 @@ 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,7 +116,6 @@ 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( @@ -134,7 +124,6 @@ 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( @@ -147,7 +136,6 @@ 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( @@ -162,7 +150,6 @@ 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 ''"): @@ -177,7 +164,6 @@ 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( @@ -186,7 +172,6 @@ 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( @@ -199,7 +184,6 @@ 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( @@ -214,7 +198,6 @@ 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 ''"): @@ -229,7 +212,6 @@ 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( @@ -238,7 +220,6 @@ 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( @@ -251,7 +232,6 @@ 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( @@ -266,7 +246,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -285,7 +264,6 @@ 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( @@ -295,7 +273,6 @@ 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( @@ -309,7 +286,6 @@ 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( @@ -325,7 +301,6 @@ 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 ''"): @@ -335,7 +310,6 @@ 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( @@ -343,7 +317,6 @@ 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( @@ -356,7 +329,6 @@ 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( @@ -368,7 +340,6 @@ 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( @@ -382,7 +353,6 @@ 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 ''"): @@ -390,7 +360,6 @@ 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( @@ -399,7 +368,6 @@ 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( @@ -412,7 +380,6 @@ 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( @@ -427,7 +394,6 @@ 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 ''"): @@ -442,7 +408,6 @@ 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( @@ -451,7 +416,6 @@ 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( @@ -464,7 +428,6 @@ 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( @@ -479,7 +442,6 @@ 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 ''"): @@ -494,7 +456,6 @@ 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( @@ -503,7 +464,6 @@ 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( @@ -516,7 +476,6 @@ 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( @@ -531,7 +490,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 b5fab9af7a1..ddc1066143a 100644 --- a/tests/api_resources/test_custom_certificates.py +++ b/tests/api_resources/test_custom_certificates.py @@ -24,7 +24,6 @@ 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( @@ -34,7 +33,6 @@ 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( @@ -48,7 +46,6 @@ 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( @@ -62,7 +59,6 @@ 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( @@ -78,7 +74,6 @@ 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 ''"): @@ -88,7 +83,6 @@ 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( @@ -96,7 +90,6 @@ 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( @@ -108,7 +101,6 @@ 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( @@ -120,7 +112,6 @@ 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( @@ -134,7 +125,6 @@ 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 ''"): @@ -142,7 +132,6 @@ 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( @@ -152,7 +141,6 @@ 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( @@ -166,7 +154,6 @@ 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( @@ -182,7 +169,6 @@ 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 ''"): @@ -199,7 +185,6 @@ 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( @@ -208,7 +193,6 @@ 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( @@ -222,7 +206,6 @@ 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( @@ -235,7 +218,6 @@ 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( @@ -250,7 +232,6 @@ 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 ''"): @@ -265,7 +246,6 @@ 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( @@ -274,7 +254,6 @@ 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( @@ -287,7 +266,6 @@ 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( @@ -302,7 +280,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -321,7 +298,6 @@ 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( @@ -331,7 +307,6 @@ 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( @@ -345,7 +320,6 @@ 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( @@ -359,7 +333,6 @@ 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( @@ -375,7 +348,6 @@ 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 ''"): @@ -385,7 +357,6 @@ 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( @@ -393,7 +364,6 @@ 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( @@ -405,7 +375,6 @@ 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( @@ -417,7 +386,6 @@ 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( @@ -431,7 +399,6 @@ 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 ''"): @@ -439,7 +406,6 @@ 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( @@ -449,7 +415,6 @@ 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( @@ -463,7 +428,6 @@ 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( @@ -479,7 +443,6 @@ 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 ''"): @@ -496,7 +459,6 @@ 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( @@ -505,7 +467,6 @@ 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( @@ -519,7 +480,6 @@ 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( @@ -532,7 +492,6 @@ 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( @@ -547,7 +506,6 @@ 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 ''"): @@ -562,7 +520,6 @@ 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( @@ -571,7 +528,6 @@ 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( @@ -584,7 +540,6 @@ 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( @@ -599,7 +554,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 2b80903b4ef..c2134498695 100644 --- a/tests/api_resources/test_custom_hostnames.py +++ b/tests/api_resources/test_custom_hostnames.py @@ -24,7 +24,6 @@ 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( @@ -34,7 +33,6 @@ 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( @@ -60,7 +58,6 @@ 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( @@ -74,7 +71,6 @@ 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( @@ -90,7 +86,6 @@ 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 ''"): @@ -100,7 +95,6 @@ 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( @@ -108,7 +102,6 @@ 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( @@ -123,7 +116,6 @@ 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( @@ -135,7 +127,6 @@ 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( @@ -151,7 +142,6 @@ 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 ''"): @@ -159,7 +149,6 @@ 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( @@ -169,7 +158,6 @@ 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( @@ -183,7 +171,6 @@ 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( @@ -199,7 +186,6 @@ 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 ''"): @@ -216,7 +202,6 @@ 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( @@ -225,7 +210,6 @@ 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( @@ -253,7 +237,6 @@ 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( @@ -266,7 +249,6 @@ 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( @@ -281,7 +263,6 @@ 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 ''"): @@ -296,7 +277,6 @@ 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( @@ -305,7 +285,6 @@ 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( @@ -318,7 +297,6 @@ 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( @@ -333,7 +311,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -352,7 +329,6 @@ 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( @@ -362,7 +338,6 @@ 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( @@ -388,7 +363,6 @@ 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( @@ -402,7 +376,6 @@ 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( @@ -418,7 +391,6 @@ 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 ''"): @@ -428,7 +400,6 @@ 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( @@ -436,7 +407,6 @@ 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( @@ -451,7 +421,6 @@ 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( @@ -463,7 +432,6 @@ 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( @@ -479,7 +447,6 @@ 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 ''"): @@ -487,7 +454,6 @@ 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( @@ -497,7 +463,6 @@ 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( @@ -511,7 +476,6 @@ 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( @@ -527,7 +491,6 @@ 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 ''"): @@ -544,7 +507,6 @@ 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( @@ -553,7 +515,6 @@ 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( @@ -581,7 +542,6 @@ 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( @@ -594,7 +554,6 @@ 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( @@ -609,7 +568,6 @@ 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 ''"): @@ -624,7 +582,6 @@ 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( @@ -633,7 +590,6 @@ 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( @@ -646,7 +602,6 @@ 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( @@ -661,7 +616,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 f85006a7d77..d492f7bc455 100644 --- a/tests/api_resources/test_custom_nameservers.py +++ b/tests/api_resources/test_custom_nameservers.py @@ -23,7 +23,6 @@ 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( @@ -32,7 +31,6 @@ 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( @@ -42,7 +40,6 @@ 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( @@ -55,7 +52,6 @@ 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( @@ -70,7 +66,6 @@ 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,7 +74,6 @@ 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( @@ -89,7 +83,6 @@ 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( @@ -103,7 +96,6 @@ 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( @@ -119,7 +111,6 @@ 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 ''"): @@ -136,7 +127,6 @@ 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( @@ -144,7 +134,6 @@ 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( @@ -156,7 +145,6 @@ 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( @@ -170,7 +158,6 @@ 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 ''"): @@ -178,7 +165,6 @@ 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( @@ -186,7 +172,6 @@ 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( @@ -198,7 +183,6 @@ 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( @@ -212,7 +196,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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,7 +203,6 @@ 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( @@ -229,7 +211,6 @@ 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( @@ -242,7 +223,6 @@ 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( @@ -257,7 +237,6 @@ 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 ''"): @@ -270,7 +249,6 @@ 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( @@ -279,7 +257,6 @@ 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( @@ -289,7 +266,6 @@ 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( @@ -302,7 +278,6 @@ 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( @@ -317,7 +292,6 @@ 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 ''"): @@ -326,7 +300,6 @@ 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( @@ -336,7 +309,6 @@ 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( @@ -350,7 +322,6 @@ 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( @@ -366,7 +337,6 @@ 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 ''"): @@ -383,7 +353,6 @@ 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( @@ -391,7 +360,6 @@ 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( @@ -403,7 +371,6 @@ 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( @@ -417,7 +384,6 @@ 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 ''"): @@ -425,7 +391,6 @@ 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( @@ -433,7 +398,6 @@ 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( @@ -445,7 +409,6 @@ 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( @@ -459,7 +422,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -467,7 +429,6 @@ 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( @@ -476,7 +437,6 @@ 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( @@ -489,7 +449,6 @@ 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( @@ -504,7 +463,6 @@ 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 69a5f52ccc1..77984f0f41d 100644 --- a/tests/api_resources/test_dnssec.py +++ b/tests/api_resources/test_dnssec.py @@ -17,7 +17,6 @@ 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( @@ -26,7 +25,6 @@ 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( @@ -39,7 +37,6 @@ 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( @@ -54,7 +51,6 @@ 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,7 +59,6 @@ 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( @@ -71,7 +66,6 @@ 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( @@ -82,7 +76,6 @@ 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( @@ -94,7 +87,6 @@ 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( @@ -108,7 +100,6 @@ 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 ''"): @@ -116,7 +107,6 @@ 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( @@ -124,7 +114,6 @@ 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( @@ -136,7 +125,6 @@ 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( @@ -150,7 +138,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -162,7 +149,6 @@ 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( @@ -171,7 +157,6 @@ 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( @@ -184,7 +169,6 @@ 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( @@ -199,7 +183,6 @@ 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 ''"): @@ -208,7 +191,6 @@ 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( @@ -216,7 +198,6 @@ 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( @@ -227,7 +208,6 @@ 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( @@ -239,7 +219,6 @@ 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( @@ -253,7 +232,6 @@ 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 ''"): @@ -261,7 +239,6 @@ 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( @@ -269,7 +246,6 @@ 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( @@ -281,7 +257,6 @@ 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( @@ -295,7 +270,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 92d55fc3c61..6969f592525 100644 --- a/tests/api_resources/test_email_routing.py +++ b/tests/api_resources/test_email_routing.py @@ -17,7 +17,6 @@ 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( @@ -26,7 +25,6 @@ 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( @@ -39,7 +37,6 @@ 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( @@ -54,7 +51,6 @@ 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 ''"): @@ -63,7 +59,6 @@ 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( @@ -72,7 +67,6 @@ 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( @@ -85,7 +79,6 @@ 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( @@ -100,7 +93,6 @@ 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 ''"): @@ -109,7 +101,6 @@ 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( @@ -117,7 +108,6 @@ 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( @@ -129,7 +119,6 @@ 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( @@ -143,7 +132,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -155,7 +143,6 @@ 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( @@ -164,7 +151,6 @@ 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( @@ -177,7 +163,6 @@ 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( @@ -192,7 +177,6 @@ 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 ''"): @@ -201,7 +185,6 @@ 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( @@ -210,7 +193,6 @@ 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( @@ -223,7 +205,6 @@ 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( @@ -238,7 +219,6 @@ 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 ''"): @@ -247,7 +227,6 @@ 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( @@ -255,7 +234,6 @@ 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( @@ -267,7 +245,6 @@ 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( @@ -281,7 +258,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 c4db83fbe0d..58718da7cd3 100644 --- a/tests/api_resources/test_filters.py +++ b/tests/api_resources/test_filters.py @@ -21,7 +21,6 @@ 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( @@ -30,7 +29,6 @@ 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( @@ -43,7 +41,6 @@ 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( @@ -58,7 +55,6 @@ 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 ''"): @@ -67,7 +63,6 @@ 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( @@ -77,7 +72,6 @@ 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( @@ -91,7 +85,6 @@ 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( @@ -107,7 +100,6 @@ 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 ''"): @@ -124,7 +116,6 @@ 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( @@ -132,7 +123,6 @@ 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( @@ -147,7 +137,6 @@ 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( @@ -159,7 +148,6 @@ 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( @@ -173,7 +161,6 @@ 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 ''"): @@ -181,7 +168,6 @@ 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( @@ -191,7 +177,6 @@ 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( @@ -205,7 +190,6 @@ 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( @@ -221,7 +205,6 @@ 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 ''"): @@ -238,7 +221,6 @@ 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( @@ -247,7 +229,6 @@ 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( @@ -260,7 +241,6 @@ 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( @@ -275,7 +255,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -294,7 +273,6 @@ 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( @@ -303,7 +281,6 @@ 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( @@ -316,7 +293,6 @@ 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( @@ -331,7 +307,6 @@ 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 ''"): @@ -340,7 +315,6 @@ 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( @@ -350,7 +324,6 @@ 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( @@ -364,7 +337,6 @@ 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( @@ -380,7 +352,6 @@ 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 ''"): @@ -397,7 +368,6 @@ 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( @@ -405,7 +375,6 @@ 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( @@ -420,7 +389,6 @@ 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( @@ -432,7 +400,6 @@ 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( @@ -446,7 +413,6 @@ 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 ''"): @@ -454,7 +420,6 @@ 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( @@ -464,7 +429,6 @@ 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( @@ -478,7 +442,6 @@ 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( @@ -494,7 +457,6 @@ 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 ''"): @@ -511,7 +473,6 @@ 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( @@ -520,7 +481,6 @@ 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( @@ -533,7 +493,6 @@ 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( @@ -548,7 +507,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 9103f49468f..a95ab0933d0 100644 --- a/tests/api_resources/test_healthchecks.py +++ b/tests/api_resources/test_healthchecks.py @@ -21,7 +21,6 @@ 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( @@ -31,7 +30,6 @@ 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( @@ -67,7 +65,6 @@ 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( @@ -81,7 +78,6 @@ 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( @@ -97,7 +93,6 @@ 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 ''"): @@ -107,7 +102,6 @@ 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( @@ -118,7 +112,6 @@ 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( @@ -155,7 +148,6 @@ 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( @@ -170,7 +162,6 @@ 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( @@ -187,7 +178,6 @@ 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 ''"): @@ -206,7 +196,6 @@ 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( @@ -214,7 +203,6 @@ 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( @@ -224,7 +212,6 @@ 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( @@ -236,7 +223,6 @@ 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( @@ -250,7 +236,6 @@ 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 ''"): @@ -258,7 +243,6 @@ 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( @@ -268,7 +252,6 @@ 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( @@ -282,7 +265,6 @@ 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( @@ -298,7 +280,6 @@ 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 ''"): @@ -315,7 +296,6 @@ 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( @@ -326,7 +306,6 @@ 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( @@ -363,7 +342,6 @@ 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( @@ -378,7 +356,6 @@ 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( @@ -395,7 +372,6 @@ 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 ''"): @@ -414,7 +390,6 @@ 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( @@ -423,7 +398,6 @@ 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( @@ -436,7 +410,6 @@ 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( @@ -451,7 +424,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -470,7 +442,6 @@ 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( @@ -480,7 +451,6 @@ 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( @@ -516,7 +486,6 @@ 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( @@ -530,7 +499,6 @@ 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( @@ -546,7 +514,6 @@ 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 ''"): @@ -556,7 +523,6 @@ 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( @@ -567,7 +533,6 @@ 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( @@ -604,7 +569,6 @@ 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( @@ -619,7 +583,6 @@ 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( @@ -636,7 +599,6 @@ 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 ''"): @@ -655,7 +617,6 @@ 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( @@ -663,7 +624,6 @@ 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( @@ -673,7 +633,6 @@ 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( @@ -685,7 +644,6 @@ 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( @@ -699,7 +657,6 @@ 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 ''"): @@ -707,7 +664,6 @@ 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( @@ -717,7 +673,6 @@ 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( @@ -731,7 +686,6 @@ 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( @@ -747,7 +701,6 @@ 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 ''"): @@ -764,7 +717,6 @@ 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( @@ -775,7 +727,6 @@ 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( @@ -812,7 +763,6 @@ 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( @@ -827,7 +777,6 @@ 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( @@ -844,7 +793,6 @@ 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 ''"): @@ -863,7 +811,6 @@ 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( @@ -872,7 +819,6 @@ 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( @@ -885,7 +831,6 @@ 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( @@ -900,7 +845,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 b1aeb0d230a..616c2e39010 100644 --- a/tests/api_resources/test_ips.py +++ b/tests/api_resources/test_ips.py @@ -17,13 +17,11 @@ 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( @@ -31,7 +29,6 @@ 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() @@ -41,7 +38,6 @@ 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: @@ -57,13 +53,11 @@ 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( @@ -71,7 +65,6 @@ 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() @@ -81,7 +74,6 @@ 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 2fda38574ca..1b60e76891c 100644 --- a/tests/api_resources/test_keyless_certificates.py +++ b/tests/api_resources/test_keyless_certificates.py @@ -21,7 +21,6 @@ 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( @@ -32,7 +31,6 @@ 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( @@ -49,7 +47,6 @@ 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( @@ -64,7 +61,6 @@ 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( @@ -81,7 +77,6 @@ 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,7 +87,6 @@ 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( @@ -100,7 +94,6 @@ 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( @@ -112,7 +105,6 @@ 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( @@ -126,7 +118,6 @@ 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 ''"): @@ -134,7 +125,6 @@ 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( @@ -144,7 +134,6 @@ 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( @@ -158,7 +147,6 @@ 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( @@ -174,7 +162,6 @@ 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 ''"): @@ -193,7 +180,6 @@ 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( @@ -202,7 +188,6 @@ 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( @@ -219,7 +204,6 @@ 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( @@ -232,7 +216,6 @@ 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( @@ -247,7 +230,6 @@ 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 ''"): @@ -264,7 +246,6 @@ 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( @@ -273,7 +254,6 @@ 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( @@ -286,7 +266,6 @@ 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( @@ -301,7 +280,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -322,7 +300,6 @@ 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( @@ -333,7 +310,6 @@ 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( @@ -350,7 +326,6 @@ 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( @@ -365,7 +340,6 @@ 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( @@ -382,7 +356,6 @@ 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 ''"): @@ -393,7 +366,6 @@ 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( @@ -401,7 +373,6 @@ 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( @@ -413,7 +384,6 @@ 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( @@ -427,7 +397,6 @@ 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 ''"): @@ -435,7 +404,6 @@ 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( @@ -445,7 +413,6 @@ 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( @@ -459,7 +426,6 @@ 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( @@ -475,7 +441,6 @@ 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 ''"): @@ -494,7 +459,6 @@ 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( @@ -503,7 +467,6 @@ 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( @@ -520,7 +483,6 @@ 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( @@ -533,7 +495,6 @@ 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( @@ -548,7 +509,6 @@ 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 ''"): @@ -565,7 +525,6 @@ 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( @@ -574,7 +533,6 @@ 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( @@ -587,7 +545,6 @@ 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( @@ -602,7 +559,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 e81f848af0b..a6a1f7a60f4 100644 --- a/tests/api_resources/test_load_balancers.py +++ b/tests/api_resources/test_load_balancers.py @@ -21,7 +21,6 @@ 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( @@ -36,7 +35,6 @@ 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( @@ -266,7 +264,6 @@ 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( @@ -285,7 +282,6 @@ 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( @@ -306,7 +302,6 @@ 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 ''"): @@ -321,7 +316,6 @@ 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( @@ -337,7 +331,6 @@ 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( @@ -569,7 +562,6 @@ 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( @@ -589,7 +581,6 @@ 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( @@ -611,7 +602,6 @@ 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 ''"): @@ -640,7 +630,6 @@ 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( @@ -648,7 +637,6 @@ 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( @@ -660,7 +648,6 @@ 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( @@ -674,7 +661,6 @@ 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 ''"): @@ -682,7 +668,6 @@ 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( @@ -692,7 +677,6 @@ 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( @@ -706,7 +690,6 @@ 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( @@ -722,7 +705,6 @@ 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 ''"): @@ -739,7 +721,6 @@ 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( @@ -748,7 +729,6 @@ 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( @@ -980,7 +960,6 @@ 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( @@ -993,7 +972,6 @@ 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( @@ -1008,7 +986,6 @@ 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 ''"): @@ -1023,7 +1000,6 @@ 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( @@ -1032,7 +1008,6 @@ 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( @@ -1045,7 +1020,6 @@ 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( @@ -1060,7 +1034,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -1079,7 +1052,6 @@ 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( @@ -1094,7 +1066,6 @@ 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( @@ -1324,7 +1295,6 @@ 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( @@ -1343,7 +1313,6 @@ 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( @@ -1364,7 +1333,6 @@ 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 ''"): @@ -1379,7 +1347,6 @@ 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( @@ -1395,7 +1362,6 @@ 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( @@ -1627,7 +1593,6 @@ 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( @@ -1647,7 +1612,6 @@ 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( @@ -1669,7 +1633,6 @@ 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 ''"): @@ -1698,7 +1661,6 @@ 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( @@ -1706,7 +1668,6 @@ 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( @@ -1718,7 +1679,6 @@ 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( @@ -1732,7 +1692,6 @@ 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 ''"): @@ -1740,7 +1699,6 @@ 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( @@ -1750,7 +1708,6 @@ 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( @@ -1764,7 +1721,6 @@ 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( @@ -1780,7 +1736,6 @@ 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 ''"): @@ -1797,7 +1752,6 @@ 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( @@ -1806,7 +1760,6 @@ 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( @@ -2038,7 +1991,6 @@ 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( @@ -2051,7 +2003,6 @@ 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( @@ -2066,7 +2017,6 @@ 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 ''"): @@ -2081,7 +2031,6 @@ 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( @@ -2090,7 +2039,6 @@ 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( @@ -2103,7 +2051,6 @@ 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( @@ -2118,7 +2065,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 f84f3910e47..0d994140e6c 100644 --- a/tests/api_resources/test_managed_headers.py +++ b/tests/api_resources/test_managed_headers.py @@ -20,7 +20,6 @@ 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( @@ -28,7 +27,6 @@ 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( @@ -40,7 +38,6 @@ 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( @@ -54,7 +51,6 @@ 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 ''"): @@ -62,7 +58,6 @@ 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( @@ -72,7 +67,6 @@ 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( @@ -86,7 +80,6 @@ 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( @@ -102,7 +95,6 @@ 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 ''"): @@ -116,7 +108,6 @@ 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( @@ -124,7 +115,6 @@ 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( @@ -136,7 +126,6 @@ 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( @@ -150,7 +139,6 @@ 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 ''"): @@ -158,7 +146,6 @@ 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( @@ -168,7 +155,6 @@ 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( @@ -182,7 +168,6 @@ 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( @@ -198,7 +183,6 @@ 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 e4e6916b468..9937a207dbd 100644 --- a/tests/api_resources/test_memberships.py +++ b/tests/api_resources/test_memberships.py @@ -23,7 +23,6 @@ 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( @@ -32,7 +31,6 @@ 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( @@ -45,7 +43,6 @@ 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( @@ -60,7 +57,6 @@ 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 ''"): @@ -69,13 +65,11 @@ 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( @@ -89,7 +83,6 @@ 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() @@ -99,7 +92,6 @@ 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: @@ -111,7 +103,6 @@ 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( @@ -120,7 +111,6 @@ 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( @@ -133,7 +123,6 @@ 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( @@ -148,7 +137,6 @@ 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 ''"): @@ -157,7 +145,6 @@ 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( @@ -165,7 +152,6 @@ 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( @@ -177,7 +163,6 @@ 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( @@ -191,7 +176,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -203,7 +187,6 @@ 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( @@ -212,7 +195,6 @@ 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( @@ -225,7 +207,6 @@ 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( @@ -240,7 +221,6 @@ 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 ''"): @@ -249,13 +229,11 @@ 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( @@ -269,7 +247,6 @@ 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() @@ -279,7 +256,6 @@ 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: @@ -291,7 +267,6 @@ 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( @@ -300,7 +275,6 @@ 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( @@ -313,7 +287,6 @@ 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( @@ -328,7 +301,6 @@ 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 ''"): @@ -337,7 +309,6 @@ 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( @@ -345,7 +316,6 @@ 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( @@ -357,7 +327,6 @@ 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( @@ -371,7 +340,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 9ea40b98793..e6a54a2ff5d 100644 --- a/tests/api_resources/test_mtls_certificates.py +++ b/tests/api_resources/test_mtls_certificates.py @@ -21,7 +21,6 @@ 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( @@ -31,7 +30,6 @@ 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( @@ -43,7 +41,6 @@ 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( @@ -57,7 +54,6 @@ 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( @@ -73,7 +69,6 @@ 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 ''"): @@ -83,7 +78,6 @@ 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( @@ -91,7 +85,6 @@ 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( @@ -103,7 +96,6 @@ 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( @@ -117,7 +109,6 @@ 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,7 +116,6 @@ 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( @@ -135,7 +125,6 @@ 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( @@ -149,7 +138,6 @@ 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( @@ -165,7 +153,6 @@ 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 ''"): @@ -182,7 +169,6 @@ 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( @@ -191,7 +177,6 @@ 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( @@ -204,7 +189,6 @@ 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( @@ -219,7 +203,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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,7 +221,6 @@ 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( @@ -248,7 +230,6 @@ 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( @@ -260,7 +241,6 @@ 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( @@ -274,7 +254,6 @@ 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( @@ -290,7 +269,6 @@ 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,7 +278,6 @@ 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( @@ -308,7 +285,6 @@ 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( @@ -320,7 +296,6 @@ 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( @@ -334,7 +309,6 @@ 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 ''"): @@ -342,7 +316,6 @@ 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( @@ -352,7 +325,6 @@ 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( @@ -366,7 +338,6 @@ 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( @@ -382,7 +353,6 @@ 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 ''"): @@ -399,7 +369,6 @@ 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( @@ -408,7 +377,6 @@ 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( @@ -421,7 +389,6 @@ 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( @@ -436,7 +403,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 f079d8895bd..714c2e0f75b 100644 --- a/tests/api_resources/test_origin_ca_certificates.py +++ b/tests/api_resources/test_origin_ca_certificates.py @@ -23,13 +23,11 @@ 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( @@ -40,7 +38,6 @@ 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() @@ -50,7 +47,6 @@ 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: @@ -62,13 +58,11 @@ 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( @@ -76,7 +70,6 @@ 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() @@ -86,7 +79,6 @@ 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: @@ -98,7 +90,6 @@ 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( @@ -107,7 +98,6 @@ 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( @@ -120,7 +110,6 @@ 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( @@ -135,7 +124,6 @@ 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 ''"): @@ -144,7 +132,6 @@ 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( @@ -152,7 +139,6 @@ 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( @@ -164,7 +150,6 @@ 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( @@ -178,7 +163,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -190,13 +174,11 @@ 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( @@ -207,7 +189,6 @@ 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() @@ -217,7 +198,6 @@ 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: @@ -229,13 +209,11 @@ 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( @@ -243,7 +221,6 @@ 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() @@ -253,7 +230,6 @@ 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: @@ -265,7 +241,6 @@ 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( @@ -274,7 +249,6 @@ 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( @@ -287,7 +261,6 @@ 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( @@ -302,7 +275,6 @@ 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 ''"): @@ -311,7 +283,6 @@ 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( @@ -319,7 +290,6 @@ 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( @@ -331,7 +301,6 @@ 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( @@ -345,7 +314,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 0c73b6de410..3e5979e4cde 100644 --- a/tests/api_resources/test_origin_post_quantum_encryption.py +++ b/tests/api_resources/test_origin_post_quantum_encryption.py @@ -20,7 +20,6 @@ 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( @@ -31,7 +30,6 @@ 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( @@ -46,7 +44,6 @@ 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( @@ -63,7 +60,6 @@ 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 ''"): @@ -72,7 +68,6 @@ 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( @@ -80,7 +75,6 @@ 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( @@ -92,7 +86,6 @@ 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( @@ -108,7 +101,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -120,7 +112,6 @@ 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( @@ -131,7 +122,6 @@ 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( @@ -146,7 +136,6 @@ 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( @@ -163,7 +152,6 @@ 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 ''"): @@ -172,7 +160,6 @@ 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( @@ -180,7 +167,6 @@ 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( @@ -192,7 +178,6 @@ 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( @@ -208,7 +193,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 04089145986..2f696f1eebb 100644 --- a/tests/api_resources/test_origin_tls_client_auth.py +++ b/tests/api_resources/test_origin_tls_client_auth.py @@ -23,7 +23,6 @@ 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( @@ -33,7 +32,6 @@ 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( @@ -47,7 +45,6 @@ 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( @@ -63,7 +60,6 @@ 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 ''"): @@ -73,7 +69,6 @@ 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( @@ -81,7 +76,6 @@ 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( @@ -93,7 +87,6 @@ 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( @@ -107,7 +100,6 @@ 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 ''"): @@ -115,7 +107,6 @@ 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( @@ -125,7 +116,6 @@ 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( @@ -139,7 +129,6 @@ 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( @@ -155,7 +144,6 @@ 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 ''"): @@ -172,7 +160,6 @@ 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( @@ -181,7 +168,6 @@ 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( @@ -194,7 +180,6 @@ 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( @@ -209,7 +194,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -228,7 +212,6 @@ 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( @@ -238,7 +221,6 @@ 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( @@ -252,7 +234,6 @@ 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( @@ -268,7 +249,6 @@ 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 ''"): @@ -278,7 +258,6 @@ 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( @@ -286,7 +265,6 @@ 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( @@ -298,7 +276,6 @@ 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( @@ -312,7 +289,6 @@ 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 ''"): @@ -320,7 +296,6 @@ 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( @@ -330,7 +305,6 @@ 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( @@ -344,7 +318,6 @@ 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( @@ -360,7 +333,6 @@ 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 ''"): @@ -377,7 +349,6 @@ 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( @@ -386,7 +357,6 @@ 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( @@ -399,7 +369,6 @@ 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( @@ -414,7 +383,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 d8460c4c9e2..9e7112a8b9c 100644 --- a/tests/api_resources/test_page_shield.py +++ b/tests/api_resources/test_page_shield.py @@ -17,7 +17,6 @@ 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( @@ -25,7 +24,6 @@ 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( @@ -36,7 +34,6 @@ 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( @@ -48,7 +45,6 @@ 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( @@ -62,7 +58,6 @@ 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 ''"): @@ -70,7 +65,6 @@ 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( @@ -78,7 +72,6 @@ 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( @@ -90,7 +83,6 @@ 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( @@ -104,7 +96,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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,7 +107,6 @@ 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( @@ -124,7 +114,6 @@ 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( @@ -135,7 +124,6 @@ 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( @@ -147,7 +135,6 @@ 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( @@ -161,7 +148,6 @@ 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 ''"): @@ -169,7 +155,6 @@ 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( @@ -177,7 +162,6 @@ 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( @@ -189,7 +173,6 @@ 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( @@ -203,7 +186,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 b665a87ea0e..308b7e8cc58 100644 --- a/tests/api_resources/test_pagerules.py +++ b/tests/api_resources/test_pagerules.py @@ -24,7 +24,6 @@ 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( @@ -42,7 +41,6 @@ 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( @@ -70,7 +68,6 @@ 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( @@ -92,7 +89,6 @@ 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( @@ -116,7 +112,6 @@ 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 ''"): @@ -134,7 +129,6 @@ 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( @@ -153,7 +147,6 @@ 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( @@ -182,7 +175,6 @@ 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( @@ -205,7 +197,6 @@ 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( @@ -230,7 +221,6 @@ 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 ''"): @@ -265,7 +255,6 @@ 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( @@ -273,7 +262,6 @@ 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( @@ -285,7 +273,6 @@ 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( @@ -297,7 +284,6 @@ 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( @@ -311,7 +297,6 @@ 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 ''"): @@ -319,7 +304,6 @@ 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( @@ -329,7 +313,6 @@ 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( @@ -343,7 +326,6 @@ 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( @@ -359,7 +341,6 @@ 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 ''"): @@ -376,7 +357,6 @@ 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( @@ -385,7 +365,6 @@ 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( @@ -414,7 +393,6 @@ 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( @@ -427,7 +405,6 @@ 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( @@ -442,7 +419,6 @@ 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 ''"): @@ -457,7 +433,6 @@ 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( @@ -466,7 +441,6 @@ 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( @@ -479,7 +453,6 @@ 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( @@ -494,7 +467,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -513,7 +485,6 @@ 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( @@ -531,7 +502,6 @@ 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( @@ -559,7 +529,6 @@ 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( @@ -581,7 +550,6 @@ 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( @@ -605,7 +573,6 @@ 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 ''"): @@ -623,7 +590,6 @@ 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( @@ -642,7 +608,6 @@ 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( @@ -671,7 +636,6 @@ 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( @@ -694,7 +658,6 @@ 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( @@ -719,7 +682,6 @@ 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 ''"): @@ -754,7 +716,6 @@ 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( @@ -762,7 +723,6 @@ 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( @@ -774,7 +734,6 @@ 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( @@ -786,7 +745,6 @@ 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( @@ -800,7 +758,6 @@ 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 ''"): @@ -808,7 +765,6 @@ 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( @@ -818,7 +774,6 @@ 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( @@ -832,7 +787,6 @@ 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( @@ -848,7 +802,6 @@ 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 ''"): @@ -865,7 +818,6 @@ 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( @@ -874,7 +826,6 @@ 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( @@ -903,7 +854,6 @@ 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( @@ -916,7 +866,6 @@ 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( @@ -931,7 +880,6 @@ 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 ''"): @@ -946,7 +894,6 @@ 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( @@ -955,7 +902,6 @@ 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( @@ -968,7 +914,6 @@ 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( @@ -983,7 +928,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 712c52bdcde..c290dfd9e3e 100644 --- a/tests/api_resources/test_pcaps.py +++ b/tests/api_resources/test_pcaps.py @@ -18,7 +18,6 @@ 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( @@ -30,7 +29,6 @@ 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( @@ -49,7 +47,6 @@ 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( @@ -65,7 +62,6 @@ 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( @@ -83,7 +79,6 @@ 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 ''"): @@ -95,7 +90,6 @@ 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( @@ -108,7 +102,6 @@ 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( @@ -130,7 +123,6 @@ 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( @@ -147,7 +139,6 @@ 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( @@ -166,7 +157,6 @@ 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 ''"): @@ -179,7 +169,6 @@ 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( @@ -187,7 +176,6 @@ 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( @@ -199,7 +187,6 @@ 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( @@ -213,7 +200,6 @@ 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 ''"): @@ -221,7 +207,6 @@ 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( @@ -230,7 +215,6 @@ 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( @@ -243,7 +227,6 @@ 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( @@ -258,7 +241,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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,7 +259,6 @@ 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( @@ -289,7 +270,6 @@ 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( @@ -308,7 +288,6 @@ 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( @@ -324,7 +303,6 @@ 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( @@ -342,7 +320,6 @@ 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 ''"): @@ -354,7 +331,6 @@ 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( @@ -367,7 +343,6 @@ 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( @@ -389,7 +364,6 @@ 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( @@ -406,7 +380,6 @@ 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( @@ -425,7 +398,6 @@ 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 ''"): @@ -438,7 +410,6 @@ 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( @@ -446,7 +417,6 @@ 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( @@ -458,7 +428,6 @@ 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( @@ -472,7 +441,6 @@ 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 ''"): @@ -480,7 +448,6 @@ 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( @@ -489,7 +456,6 @@ 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( @@ -502,7 +468,6 @@ 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( @@ -517,7 +482,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 69ea76c8e6e..46cabad8fde 100644 --- a/tests/api_resources/test_plans.py +++ b/tests/api_resources/test_plans.py @@ -18,7 +18,6 @@ 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( @@ -26,7 +25,6 @@ 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( @@ -38,7 +36,6 @@ 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( @@ -52,7 +49,6 @@ 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 ''"): @@ -60,7 +56,6 @@ 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( @@ -69,7 +64,6 @@ 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( @@ -82,7 +76,6 @@ 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( @@ -97,7 +90,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -116,7 +108,6 @@ 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( @@ -124,7 +115,6 @@ 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( @@ -136,7 +126,6 @@ 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( @@ -150,7 +139,6 @@ 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 ''"): @@ -158,7 +146,6 @@ 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( @@ -167,7 +154,6 @@ 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( @@ -180,7 +166,6 @@ 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( @@ -195,7 +180,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 b5d74febfc7..d7dc236b273 100644 --- a/tests/api_resources/test_queues.py +++ b/tests/api_resources/test_queues.py @@ -23,7 +23,6 @@ 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( @@ -32,7 +31,6 @@ 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( @@ -45,7 +43,6 @@ 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( @@ -60,7 +57,6 @@ 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,7 +65,6 @@ 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( @@ -79,7 +74,6 @@ 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( @@ -93,7 +87,6 @@ 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( @@ -109,7 +102,6 @@ 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 ''"): @@ -126,7 +118,6 @@ 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( @@ -134,7 +125,6 @@ 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( @@ -146,7 +136,6 @@ 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( @@ -160,7 +149,6 @@ 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,7 +156,6 @@ 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( @@ -178,7 +165,6 @@ 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( @@ -192,7 +178,6 @@ 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( @@ -208,7 +193,6 @@ 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,7 +209,6 @@ 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( @@ -234,7 +217,6 @@ 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( @@ -247,7 +229,6 @@ 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( @@ -262,7 +243,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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,7 +261,6 @@ 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( @@ -290,7 +269,6 @@ 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( @@ -303,7 +281,6 @@ 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( @@ -318,7 +295,6 @@ 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,7 +303,6 @@ 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( @@ -337,7 +312,6 @@ 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( @@ -351,7 +325,6 @@ 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( @@ -367,7 +340,6 @@ 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,7 +356,6 @@ 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( @@ -392,7 +363,6 @@ 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( @@ -404,7 +374,6 @@ 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( @@ -418,7 +387,6 @@ 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 ''"): @@ -426,7 +394,6 @@ 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( @@ -436,7 +403,6 @@ 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( @@ -450,7 +416,6 @@ 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( @@ -466,7 +431,6 @@ 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,7 +447,6 @@ 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( @@ -492,7 +455,6 @@ 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( @@ -505,7 +467,6 @@ 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( @@ -520,7 +481,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 67e2f73ad79..fa6c9c60f4c 100644 --- a/tests/api_resources/test_rate_limits.py +++ b/tests/api_resources/test_rate_limits.py @@ -24,7 +24,6 @@ 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( @@ -33,7 +32,6 @@ 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( @@ -46,7 +44,6 @@ 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( @@ -61,7 +58,6 @@ 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 ''"): @@ -70,7 +66,6 @@ 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( @@ -78,7 +73,6 @@ 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( @@ -88,7 +82,6 @@ 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( @@ -100,7 +93,6 @@ 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( @@ -114,7 +106,6 @@ 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 ''"): @@ -122,7 +113,6 @@ 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( @@ -132,7 +122,6 @@ 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( @@ -146,7 +135,6 @@ 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( @@ -162,7 +150,6 @@ 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 ''"): @@ -179,7 +166,6 @@ 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( @@ -189,7 +175,6 @@ 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( @@ -203,7 +188,6 @@ 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( @@ -219,7 +203,6 @@ 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 ''"): @@ -236,7 +219,6 @@ 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( @@ -245,7 +227,6 @@ 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( @@ -258,7 +239,6 @@ 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( @@ -273,7 +253,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -292,7 +271,6 @@ 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( @@ -301,7 +279,6 @@ 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( @@ -314,7 +291,6 @@ 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( @@ -329,7 +305,6 @@ 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 ''"): @@ -338,7 +313,6 @@ 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( @@ -346,7 +320,6 @@ 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( @@ -356,7 +329,6 @@ 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( @@ -368,7 +340,6 @@ 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( @@ -382,7 +353,6 @@ 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 ''"): @@ -390,7 +360,6 @@ 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( @@ -400,7 +369,6 @@ 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( @@ -414,7 +382,6 @@ 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( @@ -430,7 +397,6 @@ 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 ''"): @@ -447,7 +413,6 @@ 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( @@ -457,7 +422,6 @@ 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( @@ -471,7 +435,6 @@ 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( @@ -487,7 +450,6 @@ 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 ''"): @@ -504,7 +466,6 @@ 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( @@ -513,7 +474,6 @@ 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( @@ -526,7 +486,6 @@ 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( @@ -541,7 +500,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 c237fc40ca1..8a555f178d7 100644 --- a/tests/api_resources/test_rate_plans.py +++ b/tests/api_resources/test_rate_plans.py @@ -17,7 +17,6 @@ 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( @@ -25,7 +24,6 @@ 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( @@ -37,7 +35,6 @@ 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( @@ -51,7 +48,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -63,7 +59,6 @@ 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( @@ -71,7 +66,6 @@ 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( @@ -83,7 +77,6 @@ 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( @@ -97,7 +90,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 695ae120700..2a130902f97 100644 --- a/tests/api_resources/test_rulesets.py +++ b/tests/api_resources/test_rulesets.py @@ -23,7 +23,6 @@ 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( @@ -36,7 +35,6 @@ 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( @@ -99,7 +97,6 @@ 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( @@ -116,7 +113,6 @@ 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( @@ -135,7 +131,6 @@ 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 ''"): @@ -158,7 +153,6 @@ 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( @@ -169,7 +163,6 @@ 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( @@ -233,7 +226,6 @@ 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( @@ -248,7 +240,6 @@ 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( @@ -265,7 +256,6 @@ 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 ''"): @@ -292,7 +282,6 @@ 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( @@ -301,7 +290,6 @@ 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( @@ -310,7 +298,6 @@ 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( @@ -323,7 +310,6 @@ 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( @@ -338,7 +324,6 @@ 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 ''"): @@ -353,7 +338,6 @@ 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( @@ -363,7 +347,6 @@ 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( @@ -373,7 +356,6 @@ 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( @@ -387,7 +369,6 @@ 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( @@ -403,7 +384,6 @@ 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 ''"): @@ -427,7 +407,6 @@ 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( @@ -437,7 +416,6 @@ 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( @@ -447,7 +425,6 @@ 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( @@ -461,7 +438,6 @@ 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( @@ -477,7 +453,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -505,7 +480,6 @@ 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( @@ -518,7 +492,6 @@ 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( @@ -581,7 +554,6 @@ 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( @@ -598,7 +570,6 @@ 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( @@ -617,7 +588,6 @@ 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 ''"): @@ -640,7 +610,6 @@ 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( @@ -651,7 +620,6 @@ 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( @@ -715,7 +683,6 @@ 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( @@ -730,7 +697,6 @@ 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( @@ -747,7 +713,6 @@ 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 ''"): @@ -774,7 +739,6 @@ 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( @@ -783,7 +747,6 @@ 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( @@ -792,7 +755,6 @@ 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( @@ -805,7 +767,6 @@ 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( @@ -820,7 +781,6 @@ 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 ''"): @@ -835,7 +795,6 @@ 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( @@ -845,7 +804,6 @@ 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( @@ -855,7 +813,6 @@ 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( @@ -869,7 +826,6 @@ 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( @@ -885,7 +841,6 @@ 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 ''"): @@ -909,7 +864,6 @@ 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( @@ -919,7 +873,6 @@ 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( @@ -929,7 +882,6 @@ 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( @@ -943,7 +895,6 @@ 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( @@ -959,7 +910,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 c50daf3c503..4126b611e8d 100644 --- a/tests/api_resources/test_snippets.py +++ b/tests/api_resources/test_snippets.py @@ -18,7 +18,6 @@ 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( @@ -27,7 +26,6 @@ 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( @@ -38,7 +36,6 @@ 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( @@ -51,7 +48,6 @@ 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( @@ -66,7 +62,6 @@ 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 ''"): @@ -81,7 +76,6 @@ 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( @@ -89,7 +83,6 @@ 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( @@ -101,7 +94,6 @@ 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( @@ -115,7 +107,6 @@ 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 ''"): @@ -123,7 +114,6 @@ 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( @@ -132,7 +122,6 @@ 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( @@ -145,7 +134,6 @@ 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( @@ -160,7 +148,6 @@ 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 ''"): @@ -175,7 +162,6 @@ 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( @@ -184,7 +170,6 @@ 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( @@ -197,7 +182,6 @@ 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( @@ -212,7 +196,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -231,7 +214,6 @@ 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( @@ -240,7 +222,6 @@ 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( @@ -251,7 +232,6 @@ 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( @@ -264,7 +244,6 @@ 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( @@ -279,7 +258,6 @@ 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 ''"): @@ -294,7 +272,6 @@ 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( @@ -302,7 +279,6 @@ 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( @@ -314,7 +290,6 @@ 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( @@ -328,7 +303,6 @@ 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 ''"): @@ -336,7 +310,6 @@ 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( @@ -345,7 +318,6 @@ 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( @@ -358,7 +330,6 @@ 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( @@ -373,7 +344,6 @@ 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 ''"): @@ -388,7 +358,6 @@ 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( @@ -397,7 +366,6 @@ 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( @@ -410,7 +378,6 @@ 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( @@ -425,7 +392,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 4b3081ae272..4fba6c80875 100644 --- a/tests/api_resources/test_speed.py +++ b/tests/api_resources/test_speed.py @@ -22,7 +22,6 @@ 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( @@ -31,7 +30,6 @@ 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( @@ -41,7 +39,6 @@ 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( @@ -54,7 +51,6 @@ 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( @@ -69,7 +65,6 @@ 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 ''"): @@ -84,7 +79,6 @@ 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( @@ -93,7 +87,6 @@ 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( @@ -103,7 +96,6 @@ 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( @@ -116,7 +108,6 @@ 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( @@ -131,7 +122,6 @@ 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 ''"): @@ -146,7 +136,6 @@ 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( @@ -160,7 +149,6 @@ 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( @@ -175,7 +163,6 @@ 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( @@ -193,7 +180,6 @@ 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( @@ -213,7 +199,6 @@ 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 ''"): @@ -242,7 +227,6 @@ 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( @@ -251,7 +235,6 @@ 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( @@ -261,7 +244,6 @@ 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( @@ -274,7 +256,6 @@ 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( @@ -289,7 +270,6 @@ 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 ''"): @@ -304,7 +284,6 @@ 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( @@ -313,7 +292,6 @@ 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( @@ -323,7 +301,6 @@ 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( @@ -336,7 +313,6 @@ 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( @@ -351,7 +327,6 @@ 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 ''"): @@ -366,7 +341,6 @@ 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( @@ -380,7 +354,6 @@ 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( @@ -395,7 +368,6 @@ 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( @@ -413,7 +385,6 @@ 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( @@ -433,7 +404,6 @@ 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 97f94254e43..3563bc84ca7 100644 --- a/tests/api_resources/test_stream.py +++ b/tests/api_resources/test_stream.py @@ -19,7 +19,6 @@ 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( @@ -28,7 +27,6 @@ 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( @@ -41,7 +39,6 @@ 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( @@ -56,7 +53,6 @@ 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,7 +61,6 @@ 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( @@ -73,7 +68,6 @@ 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( @@ -89,7 +83,6 @@ 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( @@ -101,7 +94,6 @@ 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( @@ -115,7 +107,6 @@ 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,7 +114,6 @@ 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( @@ -133,7 +123,6 @@ 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( @@ -147,7 +136,6 @@ 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( @@ -163,7 +151,6 @@ 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,7 +167,6 @@ 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( @@ -189,7 +175,6 @@ 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( @@ -202,7 +187,6 @@ 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( @@ -217,7 +201,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -236,7 +219,6 @@ 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( @@ -245,7 +227,6 @@ 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( @@ -258,7 +239,6 @@ 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( @@ -273,7 +253,6 @@ 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 ''"): @@ -282,7 +261,6 @@ 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( @@ -290,7 +268,6 @@ 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( @@ -306,7 +283,6 @@ 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( @@ -318,7 +294,6 @@ 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( @@ -332,7 +307,6 @@ 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 ''"): @@ -340,7 +314,6 @@ 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( @@ -350,7 +323,6 @@ 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( @@ -364,7 +336,6 @@ 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( @@ -380,7 +351,6 @@ 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 ''"): @@ -397,7 +367,6 @@ 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( @@ -406,7 +375,6 @@ 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( @@ -419,7 +387,6 @@ 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( @@ -434,7 +401,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 8ed827eede8..675f5a74ee0 100644 --- a/tests/api_resources/test_subscriptions.py +++ b/tests/api_resources/test_subscriptions.py @@ -24,7 +24,6 @@ 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( @@ -32,7 +31,6 @@ 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( @@ -72,7 +70,6 @@ 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( @@ -84,7 +81,6 @@ 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( @@ -98,7 +94,6 @@ 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 ''"): @@ -106,7 +101,6 @@ 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( @@ -115,7 +109,6 @@ 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( @@ -156,7 +149,6 @@ 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( @@ -169,7 +161,6 @@ 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( @@ -184,7 +175,6 @@ 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 ''"): @@ -201,7 +191,6 @@ 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( @@ -209,7 +198,6 @@ 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( @@ -221,7 +209,6 @@ 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( @@ -235,7 +222,6 @@ 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 ''"): @@ -243,7 +229,6 @@ 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( @@ -253,7 +238,6 @@ 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( @@ -267,7 +251,6 @@ 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( @@ -283,7 +266,6 @@ 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 ''"): @@ -302,7 +284,6 @@ 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( @@ -310,7 +291,6 @@ 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( @@ -322,7 +302,6 @@ 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( @@ -336,7 +315,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -348,7 +326,6 @@ 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( @@ -356,7 +333,6 @@ 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( @@ -396,7 +372,6 @@ 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( @@ -408,7 +383,6 @@ 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( @@ -422,7 +396,6 @@ 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 ''"): @@ -430,7 +403,6 @@ 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( @@ -439,7 +411,6 @@ 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( @@ -480,7 +451,6 @@ 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( @@ -493,7 +463,6 @@ 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( @@ -508,7 +477,6 @@ 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,7 +493,6 @@ 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( @@ -533,7 +500,6 @@ 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( @@ -545,7 +511,6 @@ 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( @@ -559,7 +524,6 @@ 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 ''"): @@ -567,7 +531,6 @@ 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( @@ -577,7 +540,6 @@ 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( @@ -591,7 +553,6 @@ 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( @@ -607,7 +568,6 @@ 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 ''"): @@ -626,7 +586,6 @@ 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( @@ -634,7 +593,6 @@ 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( @@ -646,7 +604,6 @@ 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( @@ -660,7 +617,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 8cc032ab3e1..bd0ad470a31 100644 --- a/tests/api_resources/test_url_normalization.py +++ b/tests/api_resources/test_url_normalization.py @@ -20,7 +20,6 @@ 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( @@ -28,7 +27,6 @@ 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( @@ -38,7 +36,6 @@ 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( @@ -50,7 +47,6 @@ 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( @@ -64,7 +60,6 @@ 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 ''"): @@ -72,7 +67,6 @@ 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( @@ -80,7 +74,6 @@ 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( @@ -92,7 +85,6 @@ 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( @@ -106,7 +98,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -118,7 +109,6 @@ 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( @@ -126,7 +116,6 @@ 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( @@ -136,7 +125,6 @@ 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( @@ -148,7 +136,6 @@ 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( @@ -162,7 +149,6 @@ 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 ''"): @@ -170,7 +156,6 @@ 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( @@ -178,7 +163,6 @@ 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( @@ -190,7 +174,6 @@ 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( @@ -204,7 +187,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 edfb0767105..99393bd91ce 100644 --- a/tests/api_resources/test_url_scanner.py +++ b/tests/api_resources/test_url_scanner.py @@ -18,7 +18,6 @@ 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( @@ -26,7 +25,6 @@ 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( @@ -51,7 +49,6 @@ 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( @@ -63,7 +60,6 @@ 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( @@ -77,7 +73,6 @@ 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 ''"): @@ -89,7 +84,6 @@ 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( @@ -97,7 +91,6 @@ 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( @@ -122,7 +115,6 @@ 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( @@ -134,7 +126,6 @@ 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( @@ -148,7 +139,6 @@ 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 9207b88ab67..b8fc2776d01 100644 --- a/tests/api_resources/test_user.py +++ b/tests/api_resources/test_user.py @@ -17,13 +17,11 @@ 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( @@ -35,7 +33,6 @@ 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() @@ -45,7 +42,6 @@ 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: @@ -57,13 +53,11 @@ 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() @@ -73,7 +67,6 @@ 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: @@ -89,13 +82,11 @@ 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( @@ -107,7 +98,6 @@ 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() @@ -117,7 +107,6 @@ 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: @@ -129,13 +118,11 @@ 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() @@ -145,7 +132,6 @@ 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 e8958b282f2..6a4c88743a7 100644 --- a/tests/api_resources/test_waiting_rooms.py +++ b/tests/api_resources/test_waiting_rooms.py @@ -21,7 +21,6 @@ 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( @@ -33,7 +32,6 @@ 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( @@ -75,7 +73,6 @@ 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( @@ -91,7 +88,6 @@ 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( @@ -109,7 +105,6 @@ 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 ''"): @@ -121,7 +116,6 @@ 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( @@ -134,7 +128,6 @@ 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( @@ -177,7 +170,6 @@ 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( @@ -194,7 +186,6 @@ 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( @@ -213,7 +204,6 @@ 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 ''"): @@ -236,7 +226,6 @@ 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( @@ -244,7 +233,6 @@ 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( @@ -254,7 +242,6 @@ 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( @@ -266,7 +253,6 @@ 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( @@ -280,7 +266,6 @@ 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 ''"): @@ -288,7 +273,6 @@ 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( @@ -298,7 +282,6 @@ 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( @@ -312,7 +295,6 @@ 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( @@ -328,7 +310,6 @@ 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 ''"): @@ -345,7 +326,6 @@ 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( @@ -358,7 +338,6 @@ 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( @@ -401,7 +380,6 @@ 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( @@ -418,7 +396,6 @@ 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( @@ -437,7 +414,6 @@ 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 ''"): @@ -460,7 +436,6 @@ 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( @@ -469,7 +444,6 @@ 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( @@ -482,7 +456,6 @@ 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( @@ -497,7 +470,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -516,7 +488,6 @@ 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( @@ -528,7 +499,6 @@ 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( @@ -570,7 +540,6 @@ 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( @@ -586,7 +555,6 @@ 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( @@ -604,7 +572,6 @@ 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 ''"): @@ -616,7 +583,6 @@ 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( @@ -629,7 +595,6 @@ 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( @@ -672,7 +637,6 @@ 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( @@ -689,7 +653,6 @@ 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( @@ -708,7 +671,6 @@ 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 ''"): @@ -731,7 +693,6 @@ 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( @@ -739,7 +700,6 @@ 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( @@ -749,7 +709,6 @@ 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( @@ -761,7 +720,6 @@ 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( @@ -775,7 +733,6 @@ 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 ''"): @@ -783,7 +740,6 @@ 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( @@ -793,7 +749,6 @@ 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( @@ -807,7 +762,6 @@ 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( @@ -823,7 +777,6 @@ 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 ''"): @@ -840,7 +793,6 @@ 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( @@ -853,7 +805,6 @@ 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( @@ -896,7 +847,6 @@ 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( @@ -913,7 +863,6 @@ 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( @@ -932,7 +881,6 @@ 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 ''"): @@ -955,7 +903,6 @@ 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( @@ -964,7 +911,6 @@ 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( @@ -977,7 +923,6 @@ 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( @@ -992,7 +937,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 4a4eb24fc85..a19fa76b30a 100644 --- a/tests/api_resources/test_warp_connector.py +++ b/tests/api_resources/test_warp_connector.py @@ -26,7 +26,6 @@ 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( @@ -35,7 +34,6 @@ 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( @@ -48,7 +46,6 @@ 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( @@ -63,7 +60,6 @@ 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 ''"): @@ -72,7 +68,6 @@ 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( @@ -80,7 +75,6 @@ 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( @@ -98,7 +92,6 @@ 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( @@ -110,7 +103,6 @@ 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( @@ -124,7 +116,6 @@ 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,7 +123,6 @@ 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( @@ -142,7 +132,6 @@ 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( @@ -156,7 +145,6 @@ 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( @@ -172,7 +160,6 @@ 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,7 +176,6 @@ 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( @@ -198,7 +184,6 @@ 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( @@ -209,7 +194,6 @@ 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( @@ -222,7 +206,6 @@ 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( @@ -237,7 +220,6 @@ 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 ''"): @@ -252,7 +234,6 @@ 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( @@ -261,7 +242,6 @@ 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( @@ -274,7 +254,6 @@ 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( @@ -289,7 +268,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -304,7 +282,6 @@ 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( @@ -313,7 +290,6 @@ 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( @@ -326,7 +302,6 @@ 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( @@ -341,7 +316,6 @@ 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 ''"): @@ -360,7 +334,6 @@ 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( @@ -369,7 +342,6 @@ 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( @@ -382,7 +354,6 @@ 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( @@ -397,7 +368,6 @@ 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 ''"): @@ -406,7 +376,6 @@ 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( @@ -414,7 +383,6 @@ 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( @@ -432,7 +400,6 @@ 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( @@ -444,7 +411,6 @@ 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( @@ -460,7 +426,6 @@ 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,7 +433,6 @@ 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( @@ -478,7 +442,6 @@ 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( @@ -492,7 +455,6 @@ 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( @@ -508,7 +470,6 @@ 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 ''"): @@ -525,7 +486,6 @@ 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( @@ -534,7 +494,6 @@ 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( @@ -545,7 +504,6 @@ 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( @@ -558,7 +516,6 @@ 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( @@ -573,7 +530,6 @@ 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 ''"): @@ -588,7 +544,6 @@ 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( @@ -597,7 +552,6 @@ 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( @@ -610,7 +564,6 @@ 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( @@ -625,7 +578,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -640,7 +592,6 @@ 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( @@ -649,7 +600,6 @@ 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( @@ -662,7 +612,6 @@ 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( @@ -677,7 +626,6 @@ 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 4e5a3fad6d3..a587aaf14f5 100644 --- a/tests/api_resources/test_zones.py +++ b/tests/api_resources/test_zones.py @@ -18,7 +18,6 @@ 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( @@ -27,7 +26,6 @@ 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( @@ -37,7 +35,6 @@ 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( @@ -50,7 +47,6 @@ 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( @@ -65,13 +61,11 @@ 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( @@ -89,7 +83,6 @@ 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() @@ -99,7 +92,6 @@ 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: @@ -153,7 +145,6 @@ 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( @@ -161,7 +152,6 @@ 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( @@ -172,7 +162,6 @@ 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( @@ -184,7 +173,6 @@ 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( @@ -198,7 +186,6 @@ 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 ''"): @@ -206,7 +193,6 @@ 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( @@ -214,7 +200,6 @@ 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( @@ -226,7 +211,6 @@ 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( @@ -240,7 +224,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -252,7 +235,6 @@ 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( @@ -261,7 +243,6 @@ 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( @@ -271,7 +252,6 @@ 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( @@ -284,7 +264,6 @@ 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( @@ -299,13 +278,11 @@ 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( @@ -323,7 +300,6 @@ 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() @@ -333,7 +309,6 @@ 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: @@ -387,7 +362,6 @@ 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( @@ -395,7 +369,6 @@ 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( @@ -406,7 +379,6 @@ 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( @@ -418,7 +390,6 @@ 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( @@ -432,7 +403,6 @@ 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 ''"): @@ -440,7 +410,6 @@ 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( @@ -448,7 +417,6 @@ 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( @@ -460,7 +428,6 @@ 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( @@ -474,7 +441,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 d0e817fddf5..f58a63f883e 100644 --- a/tests/api_resources/url_scanner/test_scans.py +++ b/tests/api_resources/url_scanner/test_scans.py @@ -29,7 +29,6 @@ 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( @@ -38,7 +37,6 @@ 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( @@ -50,7 +48,6 @@ 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( @@ -63,7 +60,6 @@ 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( @@ -78,7 +74,6 @@ 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,7 +82,6 @@ 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( @@ -96,7 +90,6 @@ 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( @@ -109,7 +102,6 @@ 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( @@ -124,7 +116,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -139,7 +130,6 @@ 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( @@ -148,7 +138,6 @@ 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( @@ -161,7 +150,6 @@ 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( @@ -176,7 +164,6 @@ 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 ''"): @@ -191,7 +178,6 @@ 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: @@ -207,7 +193,6 @@ 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: @@ -224,7 +209,6 @@ 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: @@ -242,7 +226,6 @@ 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: @@ -262,7 +245,6 @@ 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: @@ -282,7 +264,6 @@ 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( @@ -291,7 +272,6 @@ 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( @@ -303,7 +283,6 @@ 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( @@ -316,7 +295,6 @@ 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( @@ -331,7 +309,6 @@ 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,7 +317,6 @@ 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( @@ -349,7 +325,6 @@ 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( @@ -362,7 +337,6 @@ 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( @@ -377,7 +351,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -392,7 +365,6 @@ 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( @@ -401,7 +373,6 @@ 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( @@ -414,7 +385,6 @@ 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( @@ -429,7 +399,6 @@ 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 ''"): @@ -444,7 +413,6 @@ 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: @@ -460,7 +428,6 @@ 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( @@ -479,7 +446,6 @@ 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: @@ -497,7 +463,6 @@ 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: @@ -517,7 +482,6 @@ 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 d16cf7ce228..97cbf8ea7e2 100644 --- a/tests/api_resources/user/billing/test_history.py +++ b/tests/api_resources/user/billing/test_history.py @@ -19,13 +19,11 @@ 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( @@ -39,7 +37,6 @@ 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() @@ -49,7 +46,6 @@ 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: @@ -65,13 +61,11 @@ 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( @@ -85,7 +79,6 @@ 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() @@ -95,7 +88,6 @@ 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 fdeecb4384e..1436c46dd18 100644 --- a/tests/api_resources/user/billing/test_profile.py +++ b/tests/api_resources/user/billing/test_profile.py @@ -17,13 +17,11 @@ 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() @@ -33,7 +31,6 @@ 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: @@ -49,13 +46,11 @@ 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() @@ -65,7 +60,6 @@ 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 991015f606d..0caf6dab72c 100644 --- a/tests/api_resources/user/test_audit_logs.py +++ b/tests/api_resources/user/test_audit_logs.py @@ -19,13 +19,11 @@ 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( @@ -46,7 +44,6 @@ 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() @@ -56,7 +53,6 @@ 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: @@ -72,13 +68,11 @@ 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( @@ -99,7 +93,6 @@ 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() @@ -109,7 +102,6 @@ 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 0236e4db1f9..73926fbc056 100644 --- a/tests/api_resources/user/test_invites.py +++ b/tests/api_resources/user/test_invites.py @@ -18,13 +18,11 @@ 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() @@ -34,7 +32,6 @@ 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: @@ -46,7 +43,6 @@ 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( @@ -55,7 +51,6 @@ 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( @@ -68,7 +63,6 @@ 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( @@ -83,7 +77,6 @@ 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 ''"): @@ -92,7 +85,6 @@ 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( @@ -100,7 +92,6 @@ 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( @@ -112,7 +103,6 @@ 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( @@ -126,7 +116,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -138,13 +127,11 @@ 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() @@ -154,7 +141,6 @@ 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: @@ -166,7 +152,6 @@ 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( @@ -175,7 +160,6 @@ 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( @@ -188,7 +172,6 @@ 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( @@ -203,7 +186,6 @@ 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 ''"): @@ -212,7 +194,6 @@ 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( @@ -220,7 +201,6 @@ 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( @@ -232,7 +212,6 @@ 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( @@ -246,7 +225,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 9d3593991ee..2057bf0487a 100644 --- a/tests/api_resources/user/test_organizations.py +++ b/tests/api_resources/user/test_organizations.py @@ -22,13 +22,11 @@ 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( @@ -42,7 +40,6 @@ 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() @@ -52,7 +49,6 @@ 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: @@ -64,7 +60,6 @@ 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( @@ -73,7 +68,6 @@ 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( @@ -86,7 +80,6 @@ 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( @@ -101,7 +94,6 @@ 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 ''"): @@ -110,7 +102,6 @@ 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( @@ -118,7 +109,6 @@ 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( @@ -130,7 +120,6 @@ 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( @@ -144,7 +133,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -156,13 +144,11 @@ 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( @@ -176,7 +162,6 @@ 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() @@ -186,7 +171,6 @@ 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: @@ -198,7 +182,6 @@ 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( @@ -207,7 +190,6 @@ 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( @@ -220,7 +202,6 @@ 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( @@ -235,7 +216,6 @@ 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 ''"): @@ -244,7 +224,6 @@ 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( @@ -252,7 +231,6 @@ 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( @@ -264,7 +242,6 @@ 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( @@ -278,7 +255,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 68f8a80684d..282dcb673a4 100644 --- a/tests/api_resources/user/test_subscriptions.py +++ b/tests/api_resources/user/test_subscriptions.py @@ -22,7 +22,6 @@ 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( @@ -30,7 +29,6 @@ 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( @@ -70,7 +68,6 @@ 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( @@ -82,7 +79,6 @@ 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( @@ -96,7 +92,6 @@ 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 ''"): @@ -104,7 +99,6 @@ 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( @@ -113,7 +107,6 @@ 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( @@ -126,7 +119,6 @@ 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( @@ -141,7 +133,6 @@ 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 ''"): @@ -150,7 +141,6 @@ 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( @@ -158,7 +148,6 @@ 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( @@ -198,7 +187,6 @@ 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( @@ -210,7 +198,6 @@ 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( @@ -224,7 +211,6 @@ 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 ''"): @@ -232,13 +218,11 @@ 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() @@ -248,7 +232,6 @@ 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: @@ -264,7 +247,6 @@ 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( @@ -272,7 +254,6 @@ 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( @@ -312,7 +293,6 @@ 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( @@ -324,7 +304,6 @@ 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( @@ -338,7 +317,6 @@ 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,7 +324,6 @@ 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( @@ -355,7 +332,6 @@ 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( @@ -368,7 +344,6 @@ 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( @@ -383,7 +358,6 @@ 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 ''"): @@ -392,7 +366,6 @@ 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( @@ -400,7 +373,6 @@ 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( @@ -440,7 +412,6 @@ 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( @@ -452,7 +423,6 @@ 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( @@ -466,7 +436,6 @@ 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 ''"): @@ -474,13 +443,11 @@ 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() @@ -490,7 +457,6 @@ 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 69ffa843fff..1ec9fb05efb 100644 --- a/tests/api_resources/user/test_tokens.py +++ b/tests/api_resources/user/test_tokens.py @@ -25,7 +25,6 @@ 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( @@ -59,7 +58,6 @@ 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( @@ -101,7 +99,6 @@ 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( @@ -139,7 +136,6 @@ 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( @@ -179,7 +175,6 @@ 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( @@ -215,7 +210,6 @@ 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( @@ -259,7 +253,6 @@ 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( @@ -299,7 +292,6 @@ 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( @@ -341,13 +333,11 @@ 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( @@ -357,7 +347,6 @@ 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() @@ -367,7 +356,6 @@ 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: @@ -379,7 +367,6 @@ 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( @@ -388,7 +375,6 @@ 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( @@ -401,7 +387,6 @@ 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( @@ -416,7 +401,6 @@ 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( @@ -424,7 +408,6 @@ 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( @@ -436,7 +419,6 @@ 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( @@ -450,13 +432,11 @@ 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() @@ -466,7 +446,6 @@ 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: @@ -482,7 +461,6 @@ 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( @@ -516,7 +494,6 @@ 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( @@ -558,7 +535,6 @@ 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( @@ -596,7 +572,6 @@ 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( @@ -636,7 +611,6 @@ 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( @@ -672,7 +646,6 @@ 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( @@ -716,7 +689,6 @@ 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( @@ -756,7 +728,6 @@ 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( @@ -798,13 +769,11 @@ 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( @@ -814,7 +783,6 @@ 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() @@ -824,7 +792,6 @@ 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: @@ -836,7 +803,6 @@ 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( @@ -845,7 +811,6 @@ 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( @@ -858,7 +823,6 @@ 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( @@ -873,7 +837,6 @@ 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( @@ -881,7 +844,6 @@ 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( @@ -893,7 +855,6 @@ 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( @@ -907,13 +868,11 @@ async def 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() @@ -923,7 +882,6 @@ 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 fc5c12aeb29..f92a3cb1818 100644 --- a/tests/api_resources/user/tokens/test_permission_groups.py +++ b/tests/api_resources/user/tokens/test_permission_groups.py @@ -17,13 +17,11 @@ 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() @@ -33,7 +31,6 @@ 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: @@ -49,13 +46,11 @@ 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() @@ -65,7 +60,6 @@ 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 697920b8c14..d4ef302b8e1 100644 --- a/tests/api_resources/user/tokens/test_value.py +++ b/tests/api_resources/user/tokens/test_value.py @@ -16,7 +16,6 @@ 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( @@ -25,7 +24,6 @@ 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( @@ -38,7 +36,6 @@ 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( @@ -57,7 +54,6 @@ 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( @@ -66,7 +62,6 @@ 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( @@ -79,7 +74,6 @@ 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 5b7bccfe4cf..e90c1b9f379 100644 --- a/tests/api_resources/vectorize/test_indexes.py +++ b/tests/api_resources/vectorize/test_indexes.py @@ -25,7 +25,6 @@ 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( @@ -38,7 +37,6 @@ 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( @@ -52,7 +50,6 @@ 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( @@ -69,7 +66,6 @@ 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( @@ -88,7 +84,6 @@ 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,7 +96,6 @@ 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( @@ -111,7 +105,6 @@ 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( @@ -125,7 +118,6 @@ 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( @@ -141,7 +133,6 @@ 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 ''"): @@ -158,7 +149,6 @@ 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( @@ -166,7 +156,6 @@ 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( @@ -178,7 +167,6 @@ 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( @@ -192,7 +180,6 @@ 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 ''"): @@ -200,7 +187,6 @@ 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( @@ -209,7 +195,6 @@ 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( @@ -222,7 +207,6 @@ 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( @@ -237,7 +221,6 @@ 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 ''"): @@ -252,7 +235,6 @@ 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( @@ -261,7 +243,6 @@ 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( @@ -271,7 +252,6 @@ 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( @@ -284,7 +264,6 @@ 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( @@ -299,7 +278,6 @@ 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 ''"): @@ -314,7 +292,6 @@ 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( @@ -323,7 +300,6 @@ 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( @@ -336,7 +312,6 @@ 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( @@ -351,7 +326,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -366,7 +340,6 @@ 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( @@ -375,7 +348,6 @@ 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( @@ -385,7 +357,6 @@ 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( @@ -398,7 +369,6 @@ 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( @@ -413,7 +383,6 @@ 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 ''"): @@ -428,7 +397,6 @@ 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( @@ -438,7 +406,6 @@ 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( @@ -452,7 +419,6 @@ 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( @@ -468,7 +434,6 @@ 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 ''"): @@ -485,7 +450,6 @@ 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( @@ -495,7 +459,6 @@ 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( @@ -512,7 +475,6 @@ 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( @@ -526,7 +488,6 @@ 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( @@ -542,7 +503,6 @@ 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 ''"): @@ -559,7 +519,6 @@ 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( @@ -569,7 +528,6 @@ 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( @@ -583,7 +541,6 @@ 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( @@ -599,7 +556,6 @@ 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 ''"): @@ -620,7 +576,6 @@ 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( @@ -633,7 +588,6 @@ 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( @@ -647,7 +601,6 @@ 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( @@ -664,7 +617,6 @@ 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( @@ -683,7 +635,6 @@ 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 ''"): @@ -696,7 +647,6 @@ 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( @@ -706,7 +656,6 @@ 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( @@ -720,7 +669,6 @@ 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( @@ -736,7 +684,6 @@ 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 ''"): @@ -753,7 +700,6 @@ 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( @@ -761,7 +707,6 @@ 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( @@ -773,7 +718,6 @@ 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( @@ -787,7 +731,6 @@ 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,7 +738,6 @@ 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( @@ -804,7 +746,6 @@ 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( @@ -817,7 +758,6 @@ 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( @@ -832,7 +772,6 @@ 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 ''"): @@ -847,7 +786,6 @@ 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( @@ -856,7 +794,6 @@ 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( @@ -866,7 +803,6 @@ 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( @@ -879,7 +815,6 @@ 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( @@ -894,7 +829,6 @@ 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 ''"): @@ -909,7 +843,6 @@ 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( @@ -918,7 +851,6 @@ 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( @@ -931,7 +863,6 @@ 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( @@ -946,7 +877,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -961,7 +891,6 @@ 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( @@ -970,7 +899,6 @@ 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( @@ -980,7 +908,6 @@ 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( @@ -993,7 +920,6 @@ 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( @@ -1008,7 +934,6 @@ 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 ''"): @@ -1023,7 +948,6 @@ 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( @@ -1033,7 +957,6 @@ 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( @@ -1047,7 +970,6 @@ 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( @@ -1063,7 +985,6 @@ 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 ''"): @@ -1080,7 +1001,6 @@ 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( @@ -1090,7 +1010,6 @@ 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( @@ -1107,7 +1026,6 @@ 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( @@ -1121,7 +1039,6 @@ 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( @@ -1137,7 +1054,6 @@ 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 ''"): @@ -1154,7 +1070,6 @@ 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( @@ -1164,7 +1079,6 @@ 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( @@ -1178,7 +1092,6 @@ 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( @@ -1194,7 +1107,6 @@ 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 6620e7a7cfb..3a81dca45f9 100644 --- a/tests/api_resources/waiting_rooms/events/test_details.py +++ b/tests/api_resources/waiting_rooms/events/test_details.py @@ -17,7 +17,6 @@ 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( @@ -27,7 +26,6 @@ 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( @@ -41,7 +39,6 @@ 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( @@ -57,7 +54,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -85,7 +81,6 @@ 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( @@ -95,7 +90,6 @@ 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( @@ -109,7 +103,6 @@ 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( @@ -125,7 +118,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ef7836c59d5..f441fd5b3b0 100644 --- a/tests/api_resources/waiting_rooms/test_events.py +++ b/tests/api_resources/waiting_rooms/test_events.py @@ -21,7 +21,6 @@ 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( @@ -33,7 +32,6 @@ 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( @@ -55,7 +53,6 @@ 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( @@ -71,7 +68,6 @@ 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( @@ -89,7 +85,6 @@ 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 ''"): @@ -110,7 +105,6 @@ 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( @@ -123,7 +117,6 @@ 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( @@ -146,7 +139,6 @@ 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( @@ -163,7 +155,6 @@ 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( @@ -182,7 +173,6 @@ 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 ''"): @@ -215,7 +205,6 @@ 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( @@ -224,7 +213,6 @@ 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( @@ -235,7 +223,6 @@ 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( @@ -248,7 +235,6 @@ 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( @@ -263,7 +249,6 @@ 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 ''"): @@ -278,7 +263,6 @@ 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( @@ -289,7 +273,6 @@ 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( @@ -304,7 +287,6 @@ 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( @@ -321,7 +303,6 @@ 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 ''"): @@ -348,7 +329,6 @@ 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( @@ -361,7 +341,6 @@ 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( @@ -384,7 +363,6 @@ 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( @@ -401,7 +379,6 @@ 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( @@ -420,7 +397,6 @@ 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 ''"): @@ -453,7 +429,6 @@ 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( @@ -463,7 +438,6 @@ 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( @@ -477,7 +451,6 @@ 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( @@ -493,7 +466,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -521,7 +493,6 @@ 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( @@ -533,7 +504,6 @@ 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( @@ -555,7 +525,6 @@ 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( @@ -571,7 +540,6 @@ 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( @@ -589,7 +557,6 @@ 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 ''"): @@ -610,7 +577,6 @@ 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( @@ -623,7 +589,6 @@ 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( @@ -646,7 +611,6 @@ 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( @@ -663,7 +627,6 @@ 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( @@ -682,7 +645,6 @@ 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 ''"): @@ -715,7 +677,6 @@ 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( @@ -724,7 +685,6 @@ 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( @@ -735,7 +695,6 @@ 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( @@ -748,7 +707,6 @@ 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( @@ -763,7 +721,6 @@ 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 ''"): @@ -778,7 +735,6 @@ 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( @@ -789,7 +745,6 @@ 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( @@ -804,7 +759,6 @@ 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( @@ -821,7 +775,6 @@ 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 ''"): @@ -848,7 +801,6 @@ 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( @@ -861,7 +813,6 @@ 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( @@ -884,7 +835,6 @@ 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( @@ -901,7 +851,6 @@ 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( @@ -920,7 +869,6 @@ 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 ''"): @@ -953,7 +901,6 @@ 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( @@ -963,7 +910,6 @@ 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( @@ -977,7 +923,6 @@ 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( @@ -993,7 +938,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 8d847225b73..881d9a3a906 100644 --- a/tests/api_resources/waiting_rooms/test_page.py +++ b/tests/api_resources/waiting_rooms/test_page.py @@ -17,7 +17,6 @@ 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( @@ -26,7 +25,6 @@ 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( @@ -39,7 +37,6 @@ 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( @@ -54,7 +51,6 @@ 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 ''"): @@ -67,7 +63,6 @@ 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( @@ -76,7 +71,6 @@ 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( @@ -89,7 +83,6 @@ 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( @@ -104,7 +97,6 @@ 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 72a6abdb2e7..d32d0b38831 100644 --- a/tests/api_resources/waiting_rooms/test_rules.py +++ b/tests/api_resources/waiting_rooms/test_rules.py @@ -24,7 +24,6 @@ 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( @@ -35,7 +34,6 @@ 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( @@ -48,7 +46,6 @@ 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( @@ -63,7 +60,6 @@ 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( @@ -80,7 +76,6 @@ 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 ''"): @@ -99,7 +94,6 @@ 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( @@ -122,7 +116,6 @@ 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( @@ -149,7 +142,6 @@ 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( @@ -178,7 +170,6 @@ 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 ''"): @@ -221,7 +212,6 @@ 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( @@ -230,7 +220,6 @@ 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( @@ -243,7 +232,6 @@ 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( @@ -258,7 +246,6 @@ 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,7 +260,6 @@ 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( @@ -284,7 +270,6 @@ 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( @@ -299,7 +284,6 @@ 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( @@ -316,7 +300,6 @@ 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 ''"): @@ -343,7 +326,6 @@ 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( @@ -355,7 +337,6 @@ 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( @@ -370,7 +351,6 @@ 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( @@ -386,7 +366,6 @@ 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( @@ -404,7 +383,6 @@ 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 ''"): @@ -438,7 +416,6 @@ 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( @@ -449,7 +426,6 @@ 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( @@ -462,7 +438,6 @@ 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( @@ -477,7 +452,6 @@ 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( @@ -494,7 +468,6 @@ 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 ''"): @@ -513,7 +486,6 @@ 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( @@ -536,7 +508,6 @@ 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( @@ -563,7 +534,6 @@ 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( @@ -592,7 +562,6 @@ 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 ''"): @@ -635,7 +604,6 @@ 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( @@ -644,7 +612,6 @@ 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( @@ -657,7 +624,6 @@ 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( @@ -672,7 +638,6 @@ 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 ''"): @@ -687,7 +652,6 @@ 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( @@ -698,7 +662,6 @@ 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( @@ -713,7 +676,6 @@ 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( @@ -730,7 +692,6 @@ 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 ''"): @@ -757,7 +718,6 @@ 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( @@ -769,7 +729,6 @@ 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( @@ -784,7 +743,6 @@ 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( @@ -800,7 +758,6 @@ 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( @@ -818,7 +775,6 @@ 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 79ca12bd88b..823c9e02011 100644 --- a/tests/api_resources/waiting_rooms/test_settings.py +++ b/tests/api_resources/waiting_rooms/test_settings.py @@ -21,7 +21,6 @@ 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( @@ -29,7 +28,6 @@ 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( @@ -38,7 +36,6 @@ 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( @@ -50,7 +47,6 @@ 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( @@ -64,7 +60,6 @@ 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 ''"): @@ -72,7 +67,6 @@ 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( @@ -80,7 +74,6 @@ 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( @@ -89,7 +82,6 @@ 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( @@ -101,7 +93,6 @@ 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( @@ -115,7 +106,6 @@ 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 ''"): @@ -123,7 +113,6 @@ 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( @@ -131,7 +120,6 @@ 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( @@ -143,7 +131,6 @@ 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( @@ -157,7 +144,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -169,7 +155,6 @@ 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( @@ -177,7 +162,6 @@ 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( @@ -186,7 +170,6 @@ 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( @@ -198,7 +181,6 @@ 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( @@ -212,7 +194,6 @@ 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 ''"): @@ -220,7 +201,6 @@ 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( @@ -228,7 +208,6 @@ 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( @@ -237,7 +216,6 @@ 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( @@ -249,7 +227,6 @@ 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( @@ -263,7 +240,6 @@ 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,7 +247,6 @@ 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( @@ -279,7 +254,6 @@ 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( @@ -291,7 +265,6 @@ 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( @@ -305,7 +278,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 e1d2176da62..9a7ff6731a5 100644 --- a/tests/api_resources/waiting_rooms/test_statuses.py +++ b/tests/api_resources/waiting_rooms/test_statuses.py @@ -17,7 +17,6 @@ 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( @@ -26,7 +25,6 @@ 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( @@ -39,7 +37,6 @@ 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( @@ -54,7 +51,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -73,7 +69,6 @@ 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( @@ -82,7 +77,6 @@ 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( @@ -95,7 +89,6 @@ 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( @@ -110,7 +103,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 a908abdd86d..e4fb1c4a5f3 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,7 +23,6 @@ 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( @@ -34,7 +33,6 @@ 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( @@ -46,7 +44,6 @@ 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( @@ -61,7 +58,6 @@ 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( @@ -78,7 +74,6 @@ 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 ''"): @@ -97,7 +92,6 @@ 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( @@ -109,7 +103,6 @@ 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( @@ -122,7 +115,6 @@ 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( @@ -138,7 +130,6 @@ 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( @@ -156,7 +147,6 @@ 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 ''"): @@ -188,7 +178,6 @@ 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( @@ -197,7 +186,6 @@ 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( @@ -210,7 +198,6 @@ 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( @@ -225,7 +212,6 @@ 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 ''"): @@ -240,7 +226,6 @@ 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( @@ -251,7 +236,6 @@ 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( @@ -266,7 +250,6 @@ 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( @@ -283,7 +266,6 @@ 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 ''"): @@ -312,7 +294,6 @@ 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( @@ -322,7 +303,6 @@ 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( @@ -336,7 +316,6 @@ 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( @@ -352,7 +331,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -382,7 +360,6 @@ 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( @@ -393,7 +370,6 @@ 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( @@ -405,7 +381,6 @@ 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 = ( @@ -422,7 +397,6 @@ 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( @@ -439,7 +413,6 @@ 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 ''"): @@ -458,7 +431,6 @@ 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( @@ -470,7 +442,6 @@ 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( @@ -483,7 +454,6 @@ 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 = ( @@ -501,7 +471,6 @@ 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( @@ -519,7 +488,6 @@ 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 ''"): @@ -551,7 +519,6 @@ 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( @@ -560,7 +527,6 @@ 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( @@ -573,7 +539,6 @@ 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( @@ -588,7 +553,6 @@ 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 ''"): @@ -603,7 +567,6 @@ 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( @@ -614,7 +577,6 @@ 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 = ( @@ -631,7 +593,6 @@ 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( @@ -648,7 +609,6 @@ 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 ''"): @@ -677,7 +637,6 @@ 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( @@ -687,7 +646,6 @@ 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( @@ -701,7 +659,6 @@ 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( @@ -717,7 +674,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 e2aa0af76c8..9c682cddb81 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,7 +17,6 @@ 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( @@ -28,7 +27,6 @@ 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( @@ -43,7 +41,6 @@ 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( @@ -60,7 +57,6 @@ 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 ''"): @@ -79,7 +75,6 @@ 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( @@ -88,7 +83,6 @@ 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( @@ -101,7 +95,6 @@ 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( @@ -116,7 +109,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -135,7 +127,6 @@ 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( @@ -146,7 +137,6 @@ 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( @@ -161,7 +151,6 @@ 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( @@ -178,7 +167,6 @@ 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 ''"): @@ -197,7 +185,6 @@ 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( @@ -206,7 +193,6 @@ 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( @@ -219,7 +205,6 @@ 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( @@ -234,7 +219,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 9520c176edb..06486c86437 100644 --- a/tests/api_resources/web3/test_hostnames.py +++ b/tests/api_resources/web3/test_hostnames.py @@ -21,7 +21,6 @@ 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( @@ -30,7 +29,6 @@ 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( @@ -41,7 +39,6 @@ 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( @@ -54,7 +51,6 @@ 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( @@ -69,7 +65,6 @@ 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 ''"): @@ -78,7 +73,6 @@ 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( @@ -86,7 +80,6 @@ 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( @@ -98,7 +91,6 @@ 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( @@ -112,7 +104,6 @@ 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 ''"): @@ -120,7 +111,6 @@ 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( @@ -130,7 +120,6 @@ 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( @@ -144,7 +133,6 @@ 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( @@ -160,7 +148,6 @@ 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 ''"): @@ -177,7 +164,6 @@ 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( @@ -186,7 +172,6 @@ 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( @@ -197,7 +182,6 @@ 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( @@ -210,7 +194,6 @@ 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( @@ -225,7 +208,6 @@ 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 ''"): @@ -240,7 +222,6 @@ 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( @@ -249,7 +230,6 @@ 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( @@ -262,7 +242,6 @@ 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( @@ -277,7 +256,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -296,7 +274,6 @@ 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( @@ -305,7 +282,6 @@ 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( @@ -316,7 +292,6 @@ 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( @@ -329,7 +304,6 @@ 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( @@ -344,7 +318,6 @@ 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 ''"): @@ -353,7 +326,6 @@ 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( @@ -361,7 +333,6 @@ 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( @@ -373,7 +344,6 @@ 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( @@ -387,7 +357,6 @@ 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 ''"): @@ -395,7 +364,6 @@ 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( @@ -405,7 +373,6 @@ 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( @@ -419,7 +386,6 @@ 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( @@ -435,7 +401,6 @@ 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 ''"): @@ -452,7 +417,6 @@ 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( @@ -461,7 +425,6 @@ 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( @@ -472,7 +435,6 @@ 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( @@ -485,7 +447,6 @@ 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( @@ -500,7 +461,6 @@ 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 ''"): @@ -515,7 +475,6 @@ 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( @@ -524,7 +483,6 @@ 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( @@ -537,7 +495,6 @@ 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( @@ -552,7 +509,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 c0e7fa824ca..df091c3b957 100644 --- a/tests/api_resources/workers/scripts/test_content.py +++ b/tests/api_resources/workers/scripts/test_content.py @@ -25,7 +25,6 @@ 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( @@ -34,7 +33,6 @@ 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( @@ -48,7 +46,6 @@ 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( @@ -61,7 +58,6 @@ 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( @@ -76,7 +72,6 @@ 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 ''"): @@ -91,7 +86,6 @@ 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: @@ -107,7 +101,6 @@ 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: @@ -125,7 +118,6 @@ 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: @@ -145,7 +137,6 @@ 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: @@ -165,7 +156,6 @@ 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( @@ -174,7 +164,6 @@ 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( @@ -188,7 +177,6 @@ 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( @@ -201,7 +189,6 @@ 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( @@ -216,7 +203,6 @@ 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,7 +217,6 @@ 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: @@ -247,7 +232,6 @@ 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: @@ -265,7 +249,6 @@ 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: @@ -285,7 +268,6 @@ 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 0ec9ea4f121..c49a56a7326 100644 --- a/tests/api_resources/workers/scripts/test_deployments.py +++ b/tests/api_resources/workers/scripts/test_deployments.py @@ -20,7 +20,6 @@ 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( @@ -29,7 +28,6 @@ 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( @@ -40,7 +38,6 @@ 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( @@ -53,7 +50,6 @@ 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( @@ -68,7 +64,6 @@ 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 ''"): @@ -83,7 +78,6 @@ 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( @@ -92,7 +86,6 @@ 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( @@ -105,7 +98,6 @@ 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( @@ -120,7 +112,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -139,7 +130,6 @@ 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( @@ -148,7 +138,6 @@ 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( @@ -159,7 +148,6 @@ 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( @@ -172,7 +160,6 @@ 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( @@ -187,7 +174,6 @@ 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 ''"): @@ -202,7 +188,6 @@ 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( @@ -211,7 +196,6 @@ 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( @@ -224,7 +208,6 @@ 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( @@ -239,7 +222,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 46d790e89cd..1e4fbf7a577 100644 --- a/tests/api_resources/workers/scripts/test_schedules.py +++ b/tests/api_resources/workers/scripts/test_schedules.py @@ -17,7 +17,6 @@ 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( @@ -27,7 +26,6 @@ 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( @@ -41,7 +39,6 @@ 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( @@ -57,7 +54,6 @@ 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 ''"): @@ -74,7 +70,6 @@ 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( @@ -83,7 +78,6 @@ 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( @@ -96,7 +90,6 @@ 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( @@ -111,7 +104,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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,7 +122,6 @@ 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( @@ -140,7 +131,6 @@ 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( @@ -154,7 +144,6 @@ 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( @@ -170,7 +159,6 @@ 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 ''"): @@ -187,7 +175,6 @@ 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( @@ -196,7 +183,6 @@ 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( @@ -209,7 +195,6 @@ 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( @@ -224,7 +209,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 18af0318652..2a599b792e3 100644 --- a/tests/api_resources/workers/scripts/test_settings.py +++ b/tests/api_resources/workers/scripts/test_settings.py @@ -17,7 +17,6 @@ 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( @@ -26,7 +25,6 @@ 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( @@ -53,7 +51,6 @@ 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( @@ -66,7 +63,6 @@ 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( @@ -81,7 +77,6 @@ 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 ''"): @@ -96,7 +91,6 @@ 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( @@ -105,7 +99,6 @@ 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( @@ -118,7 +111,6 @@ 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( @@ -133,7 +125,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -152,7 +143,6 @@ 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( @@ -161,7 +151,6 @@ 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( @@ -188,7 +177,6 @@ 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( @@ -201,7 +189,6 @@ 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( @@ -216,7 +203,6 @@ 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 ''"): @@ -231,7 +217,6 @@ 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( @@ -240,7 +225,6 @@ 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( @@ -253,7 +237,6 @@ 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( @@ -268,7 +251,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 b03902ca689..1a5f311a0d6 100644 --- a/tests/api_resources/workers/scripts/test_tail.py +++ b/tests/api_resources/workers/scripts/test_tail.py @@ -21,7 +21,6 @@ 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( @@ -31,7 +30,6 @@ 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( @@ -45,7 +43,6 @@ 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( @@ -61,7 +58,6 @@ 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,7 +74,6 @@ 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( @@ -89,7 +84,6 @@ 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( @@ -104,7 +98,6 @@ 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( @@ -121,7 +114,6 @@ 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 ''"): @@ -148,7 +140,6 @@ 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( @@ -157,7 +148,6 @@ 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( @@ -170,7 +160,6 @@ 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( @@ -185,7 +174,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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,7 +192,6 @@ 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( @@ -214,7 +201,6 @@ 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( @@ -228,7 +214,6 @@ 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( @@ -244,7 +229,6 @@ 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,7 +245,6 @@ 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( @@ -272,7 +255,6 @@ 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( @@ -287,7 +269,6 @@ 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( @@ -304,7 +285,6 @@ 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 ''"): @@ -331,7 +311,6 @@ 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( @@ -340,7 +319,6 @@ 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( @@ -353,7 +331,6 @@ 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( @@ -368,7 +345,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 a7df8e4fead..9548d050e39 100644 --- a/tests/api_resources/workers/scripts/test_versions.py +++ b/tests/api_resources/workers/scripts/test_versions.py @@ -21,7 +21,6 @@ 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( @@ -30,7 +29,6 @@ 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( @@ -58,7 +56,6 @@ 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( @@ -71,7 +68,6 @@ 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( @@ -86,7 +82,6 @@ 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,7 +96,6 @@ 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( @@ -110,7 +104,6 @@ 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( @@ -123,7 +116,6 @@ 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( @@ -138,7 +130,6 @@ 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 ''"): @@ -153,7 +144,6 @@ 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( @@ -163,7 +153,6 @@ 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( @@ -177,7 +166,6 @@ 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( @@ -193,7 +181,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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,7 +208,6 @@ 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( @@ -230,7 +216,6 @@ 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( @@ -258,7 +243,6 @@ 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( @@ -271,7 +255,6 @@ 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( @@ -286,7 +269,6 @@ 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 ''"): @@ -301,7 +283,6 @@ 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( @@ -310,7 +291,6 @@ 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( @@ -323,7 +303,6 @@ 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( @@ -338,7 +317,6 @@ 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 ''"): @@ -353,7 +331,6 @@ 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( @@ -363,7 +340,6 @@ 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( @@ -377,7 +353,6 @@ 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( @@ -393,7 +368,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 e4a4dfdba55..c08e890ea55 100644 --- a/tests/api_resources/workers/test_account_settings.py +++ b/tests/api_resources/workers/test_account_settings.py @@ -20,7 +20,6 @@ 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( @@ -29,7 +28,6 @@ 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( @@ -42,7 +40,6 @@ 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( @@ -57,7 +54,6 @@ 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,7 +62,6 @@ 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( @@ -74,7 +69,6 @@ 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( @@ -86,7 +80,6 @@ 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( @@ -100,7 +93,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -112,7 +104,6 @@ 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( @@ -121,7 +112,6 @@ 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( @@ -134,7 +124,6 @@ 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( @@ -149,7 +138,6 @@ 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 ''"): @@ -158,7 +146,6 @@ 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( @@ -166,7 +153,6 @@ 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( @@ -178,7 +164,6 @@ 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( @@ -192,7 +177,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 3ad76d766d6..2115a7288be 100644 --- a/tests/api_resources/workers/test_ai.py +++ b/tests/api_resources/workers/test_ai.py @@ -17,7 +17,6 @@ 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( @@ -27,7 +26,6 @@ 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( @@ -41,7 +39,6 @@ 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( @@ -57,7 +54,6 @@ 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 ''"): @@ -74,7 +70,6 @@ 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( @@ -84,7 +79,6 @@ 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( @@ -99,7 +93,6 @@ 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( @@ -113,7 +106,6 @@ 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( @@ -129,7 +121,6 @@ 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 ''"): @@ -146,7 +137,6 @@ 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( @@ -157,7 +147,6 @@ 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( @@ -172,7 +161,6 @@ 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( @@ -189,7 +177,6 @@ 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 ''"): @@ -208,7 +195,6 @@ 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( @@ -218,7 +204,6 @@ 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( @@ -232,7 +217,6 @@ 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( @@ -248,7 +232,6 @@ 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 ''"): @@ -265,7 +248,6 @@ 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( @@ -274,7 +256,6 @@ 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( @@ -284,7 +265,6 @@ 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( @@ -297,7 +277,6 @@ 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( @@ -312,7 +291,6 @@ 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 ''"): @@ -327,7 +305,6 @@ 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( @@ -336,7 +313,6 @@ 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( @@ -346,7 +322,6 @@ 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( @@ -359,7 +334,6 @@ 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( @@ -374,7 +348,6 @@ 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 ''"): @@ -389,7 +362,6 @@ 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( @@ -398,7 +370,6 @@ 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( @@ -408,7 +379,6 @@ 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( @@ -421,7 +391,6 @@ 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( @@ -436,7 +405,6 @@ 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 ''"): @@ -451,7 +419,6 @@ 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( @@ -460,7 +427,6 @@ 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( @@ -488,7 +454,6 @@ 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( @@ -501,7 +466,6 @@ 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( @@ -516,7 +480,6 @@ 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 ''"): @@ -531,7 +494,6 @@ 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( @@ -542,7 +504,6 @@ 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( @@ -554,7 +515,6 @@ 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( @@ -569,7 +529,6 @@ 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( @@ -586,7 +545,6 @@ 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 ''"): @@ -605,7 +563,6 @@ 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( @@ -615,7 +572,6 @@ 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( @@ -626,7 +582,6 @@ 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( @@ -640,7 +595,6 @@ 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( @@ -656,7 +610,6 @@ 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 ''"): @@ -673,7 +626,6 @@ 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( @@ -682,7 +634,6 @@ 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( @@ -694,7 +645,6 @@ 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( @@ -707,7 +657,6 @@ 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( @@ -722,7 +671,6 @@ 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 ''"): @@ -741,7 +689,6 @@ 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( @@ -751,7 +698,6 @@ 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( @@ -765,7 +711,6 @@ 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( @@ -781,7 +726,6 @@ 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 ''"): @@ -798,7 +742,6 @@ 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( @@ -808,7 +751,6 @@ 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( @@ -823,7 +765,6 @@ 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( @@ -837,7 +778,6 @@ 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( @@ -853,7 +793,6 @@ 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 ''"): @@ -870,7 +809,6 @@ 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( @@ -881,7 +819,6 @@ 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( @@ -896,7 +833,6 @@ 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( @@ -913,7 +849,6 @@ 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 ''"): @@ -932,7 +867,6 @@ 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( @@ -942,7 +876,6 @@ 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( @@ -956,7 +889,6 @@ 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( @@ -972,7 +904,6 @@ 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 ''"): @@ -989,7 +920,6 @@ 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( @@ -998,7 +928,6 @@ 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( @@ -1008,7 +937,6 @@ 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( @@ -1021,7 +949,6 @@ 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( @@ -1036,7 +963,6 @@ 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 ''"): @@ -1051,7 +977,6 @@ 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( @@ -1060,7 +985,6 @@ 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( @@ -1070,7 +994,6 @@ 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( @@ -1083,7 +1006,6 @@ 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( @@ -1098,7 +1020,6 @@ 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 ''"): @@ -1113,7 +1034,6 @@ 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( @@ -1122,7 +1042,6 @@ 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( @@ -1132,7 +1051,6 @@ 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( @@ -1145,7 +1063,6 @@ 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( @@ -1160,7 +1077,6 @@ 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 ''"): @@ -1175,7 +1091,6 @@ 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( @@ -1184,7 +1099,6 @@ 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( @@ -1212,7 +1126,6 @@ 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( @@ -1225,7 +1138,6 @@ 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( @@ -1240,7 +1152,6 @@ 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 ''"): @@ -1255,7 +1166,6 @@ 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( @@ -1266,7 +1176,6 @@ 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( @@ -1278,7 +1187,6 @@ 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( @@ -1293,7 +1201,6 @@ 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( @@ -1310,7 +1217,6 @@ 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 ''"): @@ -1329,7 +1235,6 @@ 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( @@ -1339,7 +1244,6 @@ 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( @@ -1350,7 +1254,6 @@ 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( @@ -1364,7 +1267,6 @@ 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( @@ -1380,7 +1282,6 @@ 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 ''"): @@ -1397,7 +1298,6 @@ 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( @@ -1406,7 +1306,6 @@ 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( @@ -1418,7 +1317,6 @@ 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( @@ -1431,7 +1329,6 @@ 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( @@ -1446,7 +1343,6 @@ 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 ddd9b6b4616..2eddcce64e7 100644 --- a/tests/api_resources/workers/test_domains.py +++ b/tests/api_resources/workers/test_domains.py @@ -18,7 +18,6 @@ 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( @@ -30,7 +29,6 @@ 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( @@ -46,7 +44,6 @@ 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( @@ -64,7 +61,6 @@ 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 ''"): @@ -76,7 +72,6 @@ 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( @@ -84,7 +79,6 @@ 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( @@ -97,7 +91,6 @@ 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( @@ -109,7 +102,6 @@ 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( @@ -123,7 +115,6 @@ 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 ''"): @@ -131,7 +122,6 @@ 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( @@ -141,7 +131,6 @@ 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( @@ -155,7 +144,6 @@ 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( @@ -171,7 +159,6 @@ 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 ''"): @@ -188,7 +175,6 @@ 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( @@ -197,7 +183,6 @@ 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( @@ -210,7 +195,6 @@ 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( @@ -225,7 +209,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -244,7 +227,6 @@ 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( @@ -256,7 +238,6 @@ 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( @@ -272,7 +253,6 @@ 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( @@ -290,7 +270,6 @@ 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 ''"): @@ -302,7 +281,6 @@ 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( @@ -310,7 +288,6 @@ 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( @@ -323,7 +300,6 @@ 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( @@ -335,7 +311,6 @@ 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( @@ -349,7 +324,6 @@ 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,7 +331,6 @@ 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( @@ -367,7 +340,6 @@ 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( @@ -381,7 +353,6 @@ 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( @@ -397,7 +368,6 @@ 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,7 +384,6 @@ 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( @@ -423,7 +392,6 @@ 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( @@ -436,7 +404,6 @@ 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( @@ -451,7 +418,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 37653e7083c..605c40119aa 100644 --- a/tests/api_resources/workers/test_scripts.py +++ b/tests/api_resources/workers/test_scripts.py @@ -26,7 +26,6 @@ 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( @@ -35,7 +34,6 @@ 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( @@ -119,7 +117,6 @@ 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( @@ -132,7 +129,6 @@ 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( @@ -147,7 +143,6 @@ 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 ''"): @@ -162,7 +157,6 @@ 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( @@ -171,7 +165,6 @@ 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( @@ -182,7 +175,6 @@ 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( @@ -195,7 +187,6 @@ 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( @@ -210,7 +201,6 @@ 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 ''"): @@ -225,7 +215,6 @@ 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( @@ -233,7 +222,6 @@ 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( @@ -245,7 +233,6 @@ 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( @@ -259,7 +246,6 @@ 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 ''"): @@ -267,7 +253,6 @@ 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( @@ -277,7 +262,6 @@ 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( @@ -288,7 +272,6 @@ 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( @@ -302,7 +285,6 @@ 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( @@ -318,7 +300,6 @@ 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 ''"): @@ -335,7 +316,6 @@ 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: @@ -351,7 +331,6 @@ 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: @@ -369,7 +348,6 @@ 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: @@ -389,7 +367,6 @@ 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: @@ -409,7 +386,6 @@ 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( @@ -418,7 +394,6 @@ 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( @@ -502,7 +477,6 @@ 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( @@ -515,7 +489,6 @@ 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( @@ -530,7 +503,6 @@ 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 ''"): @@ -545,7 +517,6 @@ 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( @@ -554,7 +525,6 @@ 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( @@ -565,7 +535,6 @@ 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( @@ -578,7 +547,6 @@ 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( @@ -593,7 +561,6 @@ 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 ''"): @@ -608,7 +575,6 @@ 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( @@ -616,7 +582,6 @@ 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( @@ -628,7 +593,6 @@ 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( @@ -642,7 +606,6 @@ 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 ''"): @@ -650,7 +613,6 @@ 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( @@ -660,7 +622,6 @@ 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( @@ -671,7 +632,6 @@ 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( @@ -685,7 +645,6 @@ 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( @@ -701,7 +660,6 @@ 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 ''"): @@ -718,7 +676,6 @@ 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: @@ -734,7 +691,6 @@ 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: @@ -752,7 +708,6 @@ 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: @@ -772,7 +727,6 @@ 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 03efd638828..7d4b05f92d4 100644 --- a/tests/api_resources/workers/test_subdomains.py +++ b/tests/api_resources/workers/test_subdomains.py @@ -17,7 +17,6 @@ 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( @@ -26,7 +25,6 @@ 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( @@ -39,7 +37,6 @@ 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( @@ -54,7 +51,6 @@ 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,7 +59,6 @@ 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( @@ -71,7 +66,6 @@ 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( @@ -83,7 +77,6 @@ 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( @@ -97,7 +90,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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,7 +101,6 @@ 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( @@ -118,7 +109,6 @@ 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( @@ -131,7 +121,6 @@ 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( @@ -146,7 +135,6 @@ 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 ''"): @@ -155,7 +143,6 @@ 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( @@ -163,7 +150,6 @@ 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( @@ -175,7 +161,6 @@ 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( @@ -189,7 +174,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 a5e2e126fec..29c42f700b9 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,7 +17,6 @@ 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( @@ -27,7 +26,6 @@ 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( @@ -41,7 +39,6 @@ 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( @@ -57,7 +54,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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,7 +81,6 @@ 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( @@ -95,7 +90,6 @@ 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( @@ -109,7 +103,6 @@ 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( @@ -125,7 +118,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 6c1374dca41..63982a5b6bf 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,7 +25,6 @@ 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( @@ -35,7 +34,6 @@ 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( @@ -50,7 +48,6 @@ 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( @@ -64,7 +61,6 @@ 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( @@ -80,7 +76,6 @@ 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,7 +99,6 @@ 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: @@ -121,7 +115,6 @@ 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: @@ -140,7 +133,6 @@ 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: @@ -161,7 +153,6 @@ 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: @@ -190,7 +181,6 @@ 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( @@ -200,7 +190,6 @@ 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( @@ -215,7 +204,6 @@ 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 = ( @@ -231,7 +219,6 @@ 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( @@ -247,7 +234,6 @@ 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 ''"): @@ -271,7 +257,6 @@ 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: @@ -288,7 +273,6 @@ 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: @@ -307,7 +291,6 @@ 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: @@ -328,7 +311,6 @@ 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 80ca972e5f3..d839e9074b8 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,7 +21,6 @@ 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( @@ -31,7 +30,6 @@ 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( @@ -44,7 +42,6 @@ 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( @@ -58,7 +55,6 @@ 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( @@ -74,7 +70,6 @@ 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 ''"): @@ -98,7 +93,6 @@ 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( @@ -108,7 +102,6 @@ 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( @@ -122,7 +115,6 @@ 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( @@ -138,7 +130,6 @@ 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,7 +157,6 @@ 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( @@ -176,7 +166,6 @@ 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( @@ -189,7 +178,6 @@ 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 = ( @@ -205,7 +193,6 @@ 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( @@ -221,7 +208,6 @@ 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 ''"): @@ -245,7 +231,6 @@ 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( @@ -255,7 +240,6 @@ 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( @@ -269,7 +253,6 @@ 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( @@ -285,7 +268,6 @@ 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 64f27b5f64b..3ff613c5661 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,7 +20,6 @@ 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( @@ -30,7 +29,6 @@ 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( @@ -108,7 +106,6 @@ 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( @@ -122,7 +119,6 @@ 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( @@ -138,7 +134,6 @@ 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 ''"): @@ -162,7 +157,6 @@ 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( @@ -172,7 +166,6 @@ 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( @@ -186,7 +179,6 @@ 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( @@ -202,7 +194,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -230,7 +221,6 @@ 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( @@ -240,7 +230,6 @@ 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( @@ -318,7 +307,6 @@ 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( @@ -332,7 +320,6 @@ 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( @@ -348,7 +335,6 @@ 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 ''"): @@ -372,7 +358,6 @@ 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( @@ -382,7 +367,6 @@ 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( @@ -396,7 +380,6 @@ 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( @@ -412,7 +395,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 a273f1b53b0..a72e6183c72 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,7 +21,6 @@ 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( @@ -32,7 +31,6 @@ 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( @@ -47,7 +45,6 @@ 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( @@ -64,7 +61,6 @@ 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 ''"): @@ -91,7 +87,6 @@ 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( @@ -101,7 +96,6 @@ 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( @@ -115,7 +109,6 @@ 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( @@ -131,7 +124,6 @@ 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 ''"): @@ -155,7 +147,6 @@ 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( @@ -166,7 +157,6 @@ 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( @@ -181,7 +171,6 @@ 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( @@ -198,7 +187,6 @@ 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,7 +225,6 @@ 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( @@ -248,7 +235,6 @@ 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( @@ -263,7 +249,6 @@ 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( @@ -280,7 +265,6 @@ 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 ''"): @@ -307,7 +291,6 @@ 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( @@ -317,7 +300,6 @@ 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( @@ -331,7 +313,6 @@ 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( @@ -347,7 +328,6 @@ 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 ''"): @@ -371,7 +351,6 @@ 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( @@ -382,7 +361,6 @@ 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( @@ -397,7 +375,6 @@ 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( @@ -414,7 +391,6 @@ 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 cc10a096022..f92db2375a6 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,7 +20,6 @@ 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( @@ -30,7 +29,6 @@ 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( @@ -114,7 +112,6 @@ 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( @@ -128,7 +125,6 @@ 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( @@ -144,7 +140,6 @@ 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 ''"): @@ -168,7 +163,6 @@ 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( @@ -178,7 +172,6 @@ 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( @@ -189,7 +182,6 @@ 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( @@ -203,7 +195,6 @@ 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( @@ -219,7 +210,6 @@ 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 ''"): @@ -243,7 +233,6 @@ 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( @@ -254,7 +243,6 @@ 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( @@ -266,7 +254,6 @@ 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( @@ -281,7 +268,6 @@ 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( @@ -298,7 +284,6 @@ 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 ''"): @@ -325,7 +310,6 @@ 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( @@ -335,7 +319,6 @@ 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( @@ -349,7 +332,6 @@ 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( @@ -365,7 +347,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -393,7 +374,6 @@ 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( @@ -403,7 +383,6 @@ 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( @@ -487,7 +466,6 @@ 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( @@ -501,7 +479,6 @@ 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( @@ -517,7 +494,6 @@ 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 ''"): @@ -541,7 +517,6 @@ 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( @@ -551,7 +526,6 @@ 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( @@ -562,7 +536,6 @@ 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( @@ -576,7 +549,6 @@ 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( @@ -592,7 +564,6 @@ 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 ''"): @@ -616,7 +587,6 @@ 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( @@ -627,7 +597,6 @@ 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( @@ -639,7 +608,6 @@ 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( @@ -654,7 +622,6 @@ 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( @@ -671,7 +638,6 @@ 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 ''"): @@ -698,7 +664,6 @@ 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( @@ -708,7 +673,6 @@ 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( @@ -722,7 +686,6 @@ 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( @@ -738,7 +701,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 11cc9e441f7..cecc0bdbcf4 100644 --- a/tests/api_resources/workers_for_platforms/dispatch/test_namespaces.py +++ b/tests/api_resources/workers_for_platforms/dispatch/test_namespaces.py @@ -22,7 +22,6 @@ 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( @@ -30,7 +29,6 @@ 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( @@ -39,7 +37,6 @@ 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( @@ -51,7 +48,6 @@ 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( @@ -65,7 +61,6 @@ 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,7 +68,6 @@ 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( @@ -81,7 +75,6 @@ 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( @@ -93,7 +86,6 @@ 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( @@ -107,7 +99,6 @@ 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,7 +106,6 @@ 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( @@ -124,7 +114,6 @@ 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( @@ -137,7 +126,6 @@ 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( @@ -152,7 +140,6 @@ 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,7 +154,6 @@ 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( @@ -176,7 +162,6 @@ 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( @@ -189,7 +174,6 @@ 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( @@ -204,7 +188,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -223,7 +206,6 @@ 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( @@ -231,7 +213,6 @@ 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( @@ -240,7 +221,6 @@ 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( @@ -252,7 +232,6 @@ 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( @@ -266,7 +245,6 @@ 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 ''"): @@ -274,7 +252,6 @@ 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( @@ -282,7 +259,6 @@ 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( @@ -294,7 +270,6 @@ 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( @@ -308,7 +283,6 @@ 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,7 +290,6 @@ 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( @@ -325,7 +298,6 @@ 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( @@ -338,7 +310,6 @@ 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( @@ -353,7 +324,6 @@ 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 ''"): @@ -368,7 +338,6 @@ 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( @@ -377,7 +346,6 @@ 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( @@ -390,7 +358,6 @@ 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( @@ -405,7 +372,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 5c53d2c5059..d8f70e27c52 100644 --- a/tests/api_resources/zero_trust/access/applications/test_cas.py +++ b/tests/api_resources/zero_trust/access/applications/test_cas.py @@ -18,7 +18,6 @@ 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( @@ -28,7 +27,6 @@ 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( @@ -38,7 +36,6 @@ 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( @@ -52,7 +49,6 @@ 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( @@ -68,7 +64,6 @@ 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 ''"): @@ -92,7 +87,6 @@ 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( @@ -101,7 +95,6 @@ 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( @@ -110,7 +103,6 @@ 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( @@ -123,7 +115,6 @@ 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( @@ -138,7 +129,6 @@ 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 ''"): @@ -153,7 +143,6 @@ 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( @@ -163,7 +152,6 @@ 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( @@ -173,7 +161,6 @@ 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( @@ -187,7 +174,6 @@ 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( @@ -203,7 +189,6 @@ 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 ''"): @@ -227,7 +212,6 @@ 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( @@ -237,7 +221,6 @@ 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( @@ -247,7 +230,6 @@ 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( @@ -261,7 +243,6 @@ 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( @@ -277,7 +258,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -305,7 +285,6 @@ 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( @@ -315,7 +294,6 @@ 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( @@ -325,7 +303,6 @@ 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( @@ -339,7 +316,6 @@ 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( @@ -355,7 +331,6 @@ 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 ''"): @@ -379,7 +354,6 @@ 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( @@ -388,7 +362,6 @@ 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( @@ -397,7 +370,6 @@ 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( @@ -410,7 +382,6 @@ 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( @@ -425,7 +396,6 @@ 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 ''"): @@ -440,7 +410,6 @@ 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( @@ -450,7 +419,6 @@ 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( @@ -460,7 +428,6 @@ 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( @@ -474,7 +441,6 @@ 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( @@ -490,7 +456,6 @@ 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 ''"): @@ -514,7 +479,6 @@ 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( @@ -524,7 +488,6 @@ 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( @@ -534,7 +497,6 @@ 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( @@ -548,7 +510,6 @@ 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( @@ -564,7 +525,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 5a7734e8d07..9a084d61432 100644 --- a/tests/api_resources/zero_trust/access/applications/test_policies.py +++ b/tests/api_resources/zero_trust/access/applications/test_policies.py @@ -21,7 +21,6 @@ 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( @@ -38,7 +37,6 @@ 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( @@ -83,7 +81,6 @@ 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( @@ -104,7 +101,6 @@ 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( @@ -127,7 +123,6 @@ 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 ''"): @@ -172,7 +167,6 @@ 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( @@ -190,7 +184,6 @@ 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( @@ -236,7 +229,6 @@ 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( @@ -258,7 +250,6 @@ 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( @@ -282,7 +273,6 @@ 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 ''"): @@ -345,7 +335,6 @@ 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( @@ -355,7 +344,6 @@ 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( @@ -365,7 +353,6 @@ 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( @@ -379,7 +366,6 @@ 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( @@ -395,7 +381,6 @@ 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 ''"): @@ -419,7 +404,6 @@ 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( @@ -430,7 +414,6 @@ 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( @@ -441,7 +424,6 @@ 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( @@ -456,7 +438,6 @@ 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( @@ -473,7 +454,6 @@ 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 ''"): @@ -508,7 +488,6 @@ 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( @@ -519,7 +498,6 @@ 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( @@ -530,7 +508,6 @@ 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( @@ -545,7 +522,6 @@ 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( @@ -562,7 +538,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -601,7 +576,6 @@ 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( @@ -618,7 +592,6 @@ 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( @@ -663,7 +636,6 @@ 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( @@ -684,7 +656,6 @@ 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( @@ -707,7 +678,6 @@ 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 ''"): @@ -752,7 +722,6 @@ 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( @@ -770,7 +739,6 @@ 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( @@ -816,7 +784,6 @@ 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( @@ -838,7 +805,6 @@ 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( @@ -862,7 +828,6 @@ 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 ''"): @@ -925,7 +890,6 @@ 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( @@ -935,7 +899,6 @@ 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( @@ -945,7 +908,6 @@ 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( @@ -959,7 +921,6 @@ 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( @@ -975,7 +936,6 @@ 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 ''"): @@ -999,7 +959,6 @@ 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( @@ -1010,7 +969,6 @@ 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( @@ -1021,7 +979,6 @@ 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( @@ -1036,7 +993,6 @@ 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( @@ -1053,7 +1009,6 @@ 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 ''"): @@ -1088,7 +1043,6 @@ 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( @@ -1099,7 +1053,6 @@ 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( @@ -1110,7 +1063,6 @@ 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( @@ -1125,7 +1077,6 @@ 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( @@ -1142,7 +1093,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 9072d96c0c2..76eab0fd474 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,7 +17,6 @@ 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( @@ -27,7 +26,6 @@ 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( @@ -37,7 +35,6 @@ 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( @@ -51,7 +48,6 @@ 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( @@ -67,7 +63,6 @@ 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 ''"): @@ -88,7 +83,6 @@ 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( @@ -98,7 +92,6 @@ 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( @@ -108,7 +101,6 @@ 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( @@ -122,7 +114,6 @@ 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( @@ -138,7 +129,6 @@ 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 112ab10b6e4..8bd6af351ab 100644 --- a/tests/api_resources/zero_trust/access/certificates/test_settings.py +++ b/tests/api_resources/zero_trust/access/certificates/test_settings.py @@ -20,7 +20,6 @@ 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( @@ -46,7 +45,6 @@ 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( @@ -72,7 +70,6 @@ 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( @@ -102,7 +99,6 @@ 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( @@ -134,7 +130,6 @@ 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 ''"): @@ -183,7 +178,6 @@ 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( @@ -192,7 +186,6 @@ 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( @@ -201,7 +194,6 @@ 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( @@ -214,7 +206,6 @@ 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( @@ -229,7 +220,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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,7 +238,6 @@ 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( @@ -274,7 +263,6 @@ 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( @@ -300,7 +288,6 @@ 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( @@ -330,7 +317,6 @@ 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( @@ -362,7 +348,6 @@ 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,7 +396,6 @@ 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( @@ -420,7 +404,6 @@ 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( @@ -429,7 +412,6 @@ 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( @@ -442,7 +424,6 @@ 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( @@ -457,7 +438,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 411964d255b..6e0b18db5a3 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,7 +17,6 @@ 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( @@ -25,7 +24,6 @@ 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( @@ -37,7 +35,6 @@ 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( @@ -51,7 +48,6 @@ 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 ''"): @@ -63,7 +59,6 @@ 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( @@ -71,7 +66,6 @@ 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( @@ -83,7 +77,6 @@ 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( @@ -97,7 +90,6 @@ 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 9847b97400a..2673975ce03 100644 --- a/tests/api_resources/zero_trust/access/test_applications.py +++ b/tests/api_resources/zero_trust/access/test_applications.py @@ -21,7 +21,6 @@ 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( @@ -32,7 +31,6 @@ 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( @@ -81,7 +79,6 @@ 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( @@ -96,7 +93,6 @@ 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( @@ -113,7 +109,6 @@ 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 ''"): @@ -132,7 +127,6 @@ 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( @@ -141,7 +135,6 @@ 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( @@ -183,7 +176,6 @@ 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( @@ -196,7 +188,6 @@ 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( @@ -211,7 +202,6 @@ 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 ''"): @@ -226,7 +216,6 @@ 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( @@ -237,7 +226,6 @@ 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( @@ -286,7 +274,6 @@ 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( @@ -301,7 +288,6 @@ 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( @@ -318,7 +304,6 @@ 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 ''"): @@ -337,7 +322,6 @@ 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( @@ -348,7 +332,6 @@ 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( @@ -397,7 +380,6 @@ 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( @@ -412,7 +394,6 @@ 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( @@ -429,7 +410,6 @@ 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 ''"): @@ -448,7 +428,6 @@ 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( @@ -458,7 +437,6 @@ 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( @@ -475,7 +453,6 @@ 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( @@ -489,7 +466,6 @@ 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( @@ -505,7 +481,6 @@ 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 ''"): @@ -522,7 +497,6 @@ 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( @@ -532,7 +506,6 @@ 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( @@ -549,7 +522,6 @@ 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( @@ -563,7 +535,6 @@ 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( @@ -579,7 +550,6 @@ 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 ''"): @@ -596,7 +566,6 @@ 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( @@ -606,7 +575,6 @@ 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( @@ -623,7 +591,6 @@ 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( @@ -637,7 +604,6 @@ 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( @@ -653,7 +619,6 @@ 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 ''"): @@ -670,7 +635,6 @@ 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( @@ -679,7 +643,6 @@ 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( @@ -694,7 +657,6 @@ 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( @@ -707,7 +669,6 @@ 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( @@ -722,7 +683,6 @@ 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 ''"): @@ -737,7 +697,6 @@ 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( @@ -749,7 +708,6 @@ 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( @@ -799,7 +757,6 @@ 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( @@ -815,7 +772,6 @@ 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( @@ -833,7 +789,6 @@ 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 ''"): @@ -854,7 +809,6 @@ 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( @@ -864,7 +818,6 @@ 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( @@ -907,7 +860,6 @@ 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( @@ -921,7 +873,6 @@ 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( @@ -937,7 +888,6 @@ 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 ''"): @@ -954,7 +904,6 @@ 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( @@ -966,7 +915,6 @@ 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( @@ -1016,7 +964,6 @@ 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( @@ -1032,7 +979,6 @@ 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( @@ -1050,7 +996,6 @@ 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 ''"): @@ -1071,7 +1016,6 @@ 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( @@ -1083,7 +1027,6 @@ 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( @@ -1133,7 +1076,6 @@ 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( @@ -1149,7 +1091,6 @@ 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( @@ -1167,7 +1108,6 @@ 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 ''"): @@ -1188,7 +1128,6 @@ 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( @@ -1199,7 +1138,6 @@ 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( @@ -1217,7 +1155,6 @@ 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( @@ -1232,7 +1169,6 @@ 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( @@ -1249,7 +1185,6 @@ 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 ''"): @@ -1268,7 +1203,6 @@ 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( @@ -1279,7 +1213,6 @@ 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( @@ -1297,7 +1230,6 @@ 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( @@ -1312,7 +1244,6 @@ 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( @@ -1329,7 +1260,6 @@ 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 ''"): @@ -1348,7 +1278,6 @@ 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( @@ -1359,7 +1288,6 @@ 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( @@ -1377,7 +1305,6 @@ 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( @@ -1392,7 +1319,6 @@ 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( @@ -1409,7 +1335,6 @@ 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 ''"): @@ -1428,7 +1353,6 @@ 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( @@ -1438,7 +1362,6 @@ 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( @@ -1454,7 +1377,6 @@ 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( @@ -1468,7 +1390,6 @@ 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( @@ -1484,7 +1405,6 @@ 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 ''"): @@ -1501,7 +1421,6 @@ 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( @@ -1510,7 +1429,6 @@ 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( @@ -1519,7 +1437,6 @@ 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( @@ -1532,7 +1449,6 @@ 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( @@ -1547,7 +1463,6 @@ 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 ''"): @@ -1562,7 +1477,6 @@ 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( @@ -1572,7 +1486,6 @@ 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( @@ -1582,7 +1495,6 @@ 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( @@ -1596,7 +1508,6 @@ 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( @@ -1612,7 +1523,6 @@ 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 ''"): @@ -1629,7 +1539,6 @@ 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( @@ -1639,7 +1548,6 @@ 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( @@ -1649,7 +1557,6 @@ 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( @@ -1663,7 +1570,6 @@ 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( @@ -1679,7 +1585,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -1696,7 +1601,6 @@ 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( @@ -1706,7 +1610,6 @@ 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( @@ -1716,7 +1619,6 @@ 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( @@ -1730,7 +1632,6 @@ 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( @@ -1746,7 +1647,6 @@ 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 ''"): @@ -1767,7 +1667,6 @@ 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( @@ -1778,7 +1677,6 @@ 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( @@ -1827,7 +1725,6 @@ 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( @@ -1842,7 +1739,6 @@ 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( @@ -1859,7 +1755,6 @@ 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 ''"): @@ -1878,7 +1773,6 @@ 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( @@ -1887,7 +1781,6 @@ 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( @@ -1929,7 +1822,6 @@ 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( @@ -1942,7 +1834,6 @@ 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( @@ -1957,7 +1848,6 @@ 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 ''"): @@ -1972,7 +1862,6 @@ 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( @@ -1983,7 +1872,6 @@ 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( @@ -2032,7 +1920,6 @@ 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( @@ -2047,7 +1934,6 @@ 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( @@ -2064,7 +1950,6 @@ 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 ''"): @@ -2083,7 +1968,6 @@ 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( @@ -2094,7 +1978,6 @@ 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( @@ -2143,7 +2026,6 @@ 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( @@ -2158,7 +2040,6 @@ 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( @@ -2175,7 +2056,6 @@ 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 ''"): @@ -2194,7 +2074,6 @@ 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( @@ -2204,7 +2083,6 @@ 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( @@ -2221,7 +2099,6 @@ 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( @@ -2235,7 +2112,6 @@ 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( @@ -2251,7 +2127,6 @@ 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 ''"): @@ -2268,7 +2143,6 @@ 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( @@ -2278,7 +2152,6 @@ 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( @@ -2295,7 +2168,6 @@ 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( @@ -2309,7 +2181,6 @@ 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( @@ -2325,7 +2196,6 @@ 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 ''"): @@ -2342,7 +2212,6 @@ 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( @@ -2352,7 +2221,6 @@ 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( @@ -2369,7 +2237,6 @@ 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( @@ -2383,7 +2250,6 @@ 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( @@ -2399,7 +2265,6 @@ 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 ''"): @@ -2416,7 +2281,6 @@ 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( @@ -2425,7 +2289,6 @@ 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( @@ -2440,7 +2303,6 @@ 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( @@ -2453,7 +2315,6 @@ 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( @@ -2468,7 +2329,6 @@ 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 ''"): @@ -2483,7 +2343,6 @@ 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( @@ -2495,7 +2354,6 @@ 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( @@ -2545,7 +2403,6 @@ 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( @@ -2561,7 +2418,6 @@ 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( @@ -2579,7 +2435,6 @@ 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 ''"): @@ -2600,7 +2455,6 @@ 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( @@ -2610,7 +2464,6 @@ 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( @@ -2653,7 +2506,6 @@ 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( @@ -2667,7 +2519,6 @@ 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( @@ -2683,7 +2534,6 @@ 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 ''"): @@ -2700,7 +2550,6 @@ 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( @@ -2712,7 +2561,6 @@ 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( @@ -2762,7 +2610,6 @@ 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( @@ -2778,7 +2625,6 @@ 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( @@ -2796,7 +2642,6 @@ 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 ''"): @@ -2817,7 +2662,6 @@ 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( @@ -2829,7 +2673,6 @@ 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( @@ -2879,7 +2722,6 @@ 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( @@ -2895,7 +2737,6 @@ 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( @@ -2913,7 +2754,6 @@ 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 ''"): @@ -2934,7 +2774,6 @@ 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( @@ -2945,7 +2784,6 @@ 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( @@ -2963,7 +2801,6 @@ 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( @@ -2978,7 +2815,6 @@ 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( @@ -2995,7 +2831,6 @@ 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 ''"): @@ -3014,7 +2849,6 @@ 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( @@ -3025,7 +2859,6 @@ 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( @@ -3043,7 +2876,6 @@ 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( @@ -3058,7 +2890,6 @@ 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( @@ -3075,7 +2906,6 @@ 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 ''"): @@ -3094,7 +2924,6 @@ 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( @@ -3105,7 +2934,6 @@ 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( @@ -3123,7 +2951,6 @@ 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( @@ -3138,7 +2965,6 @@ 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( @@ -3155,7 +2981,6 @@ 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 ''"): @@ -3174,7 +2999,6 @@ 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( @@ -3184,7 +3008,6 @@ 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( @@ -3200,7 +3023,6 @@ 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( @@ -3214,7 +3036,6 @@ 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( @@ -3230,7 +3051,6 @@ 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 ''"): @@ -3247,7 +3067,6 @@ 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( @@ -3256,7 +3075,6 @@ 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( @@ -3265,7 +3083,6 @@ 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( @@ -3278,7 +3095,6 @@ 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( @@ -3293,7 +3109,6 @@ 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 ''"): @@ -3308,7 +3123,6 @@ 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( @@ -3318,7 +3132,6 @@ 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( @@ -3328,7 +3141,6 @@ 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( @@ -3342,7 +3154,6 @@ 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( @@ -3358,7 +3169,6 @@ 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 ''"): @@ -3375,7 +3185,6 @@ 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( @@ -3385,7 +3194,6 @@ 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( @@ -3395,7 +3203,6 @@ 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( @@ -3409,7 +3216,6 @@ 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( @@ -3425,7 +3231,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -3442,7 +3247,6 @@ 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( @@ -3452,7 +3256,6 @@ 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( @@ -3462,7 +3265,6 @@ 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( @@ -3476,7 +3278,6 @@ 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( @@ -3492,7 +3293,6 @@ 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 957fb0357e3..c4f8ca578ad 100644 --- a/tests/api_resources/zero_trust/access/test_bookmarks.py +++ b/tests/api_resources/zero_trust/access/test_bookmarks.py @@ -21,7 +21,6 @@ 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( @@ -31,7 +30,6 @@ 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( @@ -45,7 +43,6 @@ 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( @@ -61,7 +58,6 @@ 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 ''"): @@ -78,7 +74,6 @@ 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( @@ -88,7 +83,6 @@ 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( @@ -102,7 +96,6 @@ 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( @@ -118,7 +111,6 @@ 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 ''"): @@ -135,7 +127,6 @@ 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( @@ -143,7 +134,6 @@ 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( @@ -155,7 +145,6 @@ 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( @@ -169,7 +158,6 @@ 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 ''"): @@ -177,7 +165,6 @@ 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( @@ -187,7 +174,6 @@ 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( @@ -201,7 +187,6 @@ 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( @@ -217,7 +202,6 @@ 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 ''"): @@ -234,7 +218,6 @@ 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( @@ -243,7 +226,6 @@ 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( @@ -256,7 +238,6 @@ 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( @@ -271,7 +252,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -290,7 +270,6 @@ 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( @@ -300,7 +279,6 @@ 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( @@ -314,7 +292,6 @@ 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( @@ -330,7 +307,6 @@ 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 ''"): @@ -347,7 +323,6 @@ 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( @@ -357,7 +332,6 @@ 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( @@ -371,7 +345,6 @@ 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( @@ -387,7 +360,6 @@ 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 ''"): @@ -404,7 +376,6 @@ 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( @@ -412,7 +383,6 @@ 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( @@ -424,7 +394,6 @@ 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( @@ -438,7 +407,6 @@ 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 ''"): @@ -446,7 +414,6 @@ 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( @@ -456,7 +423,6 @@ 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( @@ -470,7 +436,6 @@ 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( @@ -486,7 +451,6 @@ 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 ''"): @@ -503,7 +467,6 @@ 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( @@ -512,7 +475,6 @@ 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( @@ -525,7 +487,6 @@ 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( @@ -540,7 +501,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 c91be3d7a8c..bf984506f69 100644 --- a/tests/api_resources/zero_trust/access/test_certificates.py +++ b/tests/api_resources/zero_trust/access/test_certificates.py @@ -21,7 +21,6 @@ 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( @@ -32,7 +31,6 @@ 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( @@ -44,7 +42,6 @@ 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( @@ -59,7 +56,6 @@ 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( @@ -76,7 +72,6 @@ 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,7 +90,6 @@ 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( @@ -106,7 +100,6 @@ 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( @@ -118,7 +111,6 @@ 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( @@ -133,7 +125,6 @@ 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( @@ -150,7 +141,6 @@ 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 ''"): @@ -177,7 +167,6 @@ 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( @@ -186,7 +175,6 @@ 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( @@ -195,7 +183,6 @@ 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( @@ -208,7 +195,6 @@ 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( @@ -223,7 +209,6 @@ 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 ''"): @@ -238,7 +223,6 @@ 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( @@ -248,7 +232,6 @@ 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( @@ -258,7 +241,6 @@ 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( @@ -272,7 +254,6 @@ 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( @@ -288,7 +269,6 @@ 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 ''"): @@ -312,7 +292,6 @@ 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( @@ -322,7 +301,6 @@ 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( @@ -332,7 +310,6 @@ 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( @@ -346,7 +323,6 @@ 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( @@ -362,7 +338,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -390,7 +365,6 @@ 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( @@ -401,7 +375,6 @@ 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( @@ -413,7 +386,6 @@ 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( @@ -428,7 +400,6 @@ 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( @@ -445,7 +416,6 @@ 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 ''"): @@ -464,7 +434,6 @@ 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( @@ -475,7 +444,6 @@ 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( @@ -487,7 +455,6 @@ 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( @@ -502,7 +469,6 @@ 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( @@ -519,7 +485,6 @@ 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 ''"): @@ -546,7 +511,6 @@ 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( @@ -555,7 +519,6 @@ 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( @@ -564,7 +527,6 @@ 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( @@ -577,7 +539,6 @@ 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( @@ -592,7 +553,6 @@ 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 ''"): @@ -607,7 +567,6 @@ 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( @@ -617,7 +576,6 @@ 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( @@ -627,7 +585,6 @@ 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( @@ -641,7 +598,6 @@ 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( @@ -657,7 +613,6 @@ 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 ''"): @@ -681,7 +636,6 @@ 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( @@ -691,7 +645,6 @@ 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( @@ -701,7 +654,6 @@ 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( @@ -715,7 +667,6 @@ 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( @@ -731,7 +682,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 e308329aad0..7c84edab1bc 100644 --- a/tests/api_resources/zero_trust/access/test_custom_pages.py +++ b/tests/api_resources/zero_trust/access/test_custom_pages.py @@ -22,7 +22,6 @@ 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( @@ -33,7 +32,6 @@ 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( @@ -45,7 +43,6 @@ 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( @@ -60,7 +57,6 @@ 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( @@ -77,7 +73,6 @@ 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 ''"): @@ -88,7 +83,6 @@ 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( @@ -100,7 +94,6 @@ 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( @@ -113,7 +106,6 @@ 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( @@ -129,7 +121,6 @@ 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( @@ -147,7 +138,6 @@ 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 ''"): @@ -168,7 +158,6 @@ 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( @@ -176,7 +165,6 @@ 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( @@ -188,7 +176,6 @@ 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( @@ -202,7 +189,6 @@ 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 ''"): @@ -210,7 +196,6 @@ 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( @@ -219,7 +204,6 @@ 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( @@ -232,7 +216,6 @@ 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( @@ -247,7 +230,6 @@ 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 ''"): @@ -262,7 +244,6 @@ 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( @@ -271,7 +252,6 @@ 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( @@ -284,7 +264,6 @@ 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( @@ -299,7 +278,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -318,7 +296,6 @@ 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( @@ -329,7 +306,6 @@ 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( @@ -341,7 +317,6 @@ 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( @@ -356,7 +331,6 @@ 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( @@ -373,7 +347,6 @@ 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 ''"): @@ -384,7 +357,6 @@ 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( @@ -396,7 +368,6 @@ 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( @@ -409,7 +380,6 @@ 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( @@ -425,7 +395,6 @@ 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( @@ -443,7 +412,6 @@ 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 ''"): @@ -464,7 +432,6 @@ 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( @@ -472,7 +439,6 @@ 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( @@ -484,7 +450,6 @@ 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( @@ -498,7 +463,6 @@ 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 ''"): @@ -506,7 +470,6 @@ 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( @@ -515,7 +478,6 @@ 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( @@ -528,7 +490,6 @@ 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( @@ -543,7 +504,6 @@ 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 ''"): @@ -558,7 +518,6 @@ 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( @@ -567,7 +526,6 @@ 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( @@ -580,7 +538,6 @@ 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( @@ -595,7 +552,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 4d3955c56ee..6a254b580ab 100644 --- a/tests/api_resources/zero_trust/access/test_groups.py +++ b/tests/api_resources/zero_trust/access/test_groups.py @@ -21,7 +21,6 @@ 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( @@ -36,7 +35,6 @@ 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( @@ -62,7 +60,6 @@ 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( @@ -81,7 +78,6 @@ 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( @@ -102,7 +98,6 @@ 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 ''"): @@ -129,7 +124,6 @@ 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( @@ -145,7 +139,6 @@ 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( @@ -172,7 +165,6 @@ 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( @@ -192,7 +184,6 @@ 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( @@ -214,7 +205,6 @@ 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 ''"): @@ -256,7 +246,6 @@ 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( @@ -265,7 +254,6 @@ 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( @@ -274,7 +262,6 @@ 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( @@ -287,7 +274,6 @@ 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( @@ -302,7 +288,6 @@ 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 ''"): @@ -317,7 +302,6 @@ 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( @@ -327,7 +311,6 @@ 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( @@ -337,7 +320,6 @@ 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( @@ -351,7 +333,6 @@ 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( @@ -367,7 +348,6 @@ 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 ''"): @@ -391,7 +371,6 @@ 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( @@ -401,7 +380,6 @@ 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( @@ -411,7 +389,6 @@ 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( @@ -425,7 +402,6 @@ 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( @@ -441,7 +417,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -469,7 +444,6 @@ 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( @@ -484,7 +458,6 @@ 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( @@ -510,7 +483,6 @@ 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( @@ -529,7 +501,6 @@ 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( @@ -550,7 +521,6 @@ 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 ''"): @@ -577,7 +547,6 @@ 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( @@ -593,7 +562,6 @@ 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( @@ -620,7 +588,6 @@ 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( @@ -640,7 +607,6 @@ 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( @@ -662,7 +628,6 @@ 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 ''"): @@ -704,7 +669,6 @@ 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( @@ -713,7 +677,6 @@ 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( @@ -722,7 +685,6 @@ 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( @@ -735,7 +697,6 @@ 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( @@ -750,7 +711,6 @@ 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 ''"): @@ -765,7 +725,6 @@ 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( @@ -775,7 +734,6 @@ 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( @@ -785,7 +743,6 @@ 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( @@ -799,7 +756,6 @@ 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( @@ -815,7 +771,6 @@ 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 ''"): @@ -839,7 +794,6 @@ 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( @@ -849,7 +803,6 @@ 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( @@ -859,7 +812,6 @@ 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( @@ -873,7 +825,6 @@ 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( @@ -889,7 +840,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 24d3a034147..ccb5129562c 100644 --- a/tests/api_resources/zero_trust/access/test_keys.py +++ b/tests/api_resources/zero_trust/access/test_keys.py @@ -17,7 +17,6 @@ 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( @@ -26,7 +25,6 @@ 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( @@ -39,7 +37,6 @@ 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( @@ -54,7 +51,6 @@ 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 ''"): @@ -63,7 +59,6 @@ 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( @@ -71,7 +66,6 @@ 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( @@ -83,7 +77,6 @@ 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( @@ -97,7 +90,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -105,7 +97,6 @@ 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( @@ -113,7 +104,6 @@ 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( @@ -125,7 +115,6 @@ 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( @@ -139,7 +128,6 @@ 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 ''"): @@ -151,7 +139,6 @@ 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( @@ -160,7 +147,6 @@ 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( @@ -173,7 +159,6 @@ 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( @@ -188,7 +173,6 @@ 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 ''"): @@ -197,7 +181,6 @@ 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( @@ -205,7 +188,6 @@ 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( @@ -217,7 +199,6 @@ 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( @@ -231,7 +212,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -239,7 +219,6 @@ 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( @@ -247,7 +226,6 @@ 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( @@ -259,7 +237,6 @@ 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( @@ -273,7 +250,6 @@ 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 ef3affbf96c..070736d9bad 100644 --- a/tests/api_resources/zero_trust/access/test_service_tokens.py +++ b/tests/api_resources/zero_trust/access/test_service_tokens.py @@ -22,7 +22,6 @@ 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( @@ -32,7 +31,6 @@ 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( @@ -43,7 +41,6 @@ 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( @@ -57,7 +54,6 @@ 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( @@ -73,7 +69,6 @@ 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,7 +85,6 @@ 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( @@ -100,7 +94,6 @@ 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( @@ -112,7 +105,6 @@ 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( @@ -126,7 +118,6 @@ 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( @@ -142,7 +133,6 @@ 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 ''"): @@ -166,7 +156,6 @@ 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( @@ -175,7 +164,6 @@ 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( @@ -184,7 +172,6 @@ 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( @@ -197,7 +184,6 @@ 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( @@ -212,7 +198,6 @@ 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 ''"): @@ -227,7 +212,6 @@ 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( @@ -237,7 +221,6 @@ 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( @@ -247,7 +230,6 @@ 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( @@ -261,7 +243,6 @@ 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( @@ -277,7 +258,6 @@ 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 ''"): @@ -301,7 +281,6 @@ 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( @@ -310,7 +289,6 @@ 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( @@ -323,7 +301,6 @@ 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( @@ -338,7 +315,6 @@ 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 ''"): @@ -353,7 +329,6 @@ 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( @@ -362,7 +337,6 @@ 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( @@ -375,7 +349,6 @@ 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( @@ -390,7 +363,6 @@ 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 ''"): @@ -409,7 +381,6 @@ 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( @@ -419,7 +390,6 @@ 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( @@ -430,7 +400,6 @@ 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( @@ -444,7 +413,6 @@ 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( @@ -460,7 +428,6 @@ 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 ''"): @@ -477,7 +444,6 @@ 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( @@ -487,7 +453,6 @@ 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( @@ -499,7 +464,6 @@ 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( @@ -513,7 +477,6 @@ 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( @@ -529,7 +492,6 @@ 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 ''"): @@ -553,7 +515,6 @@ 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( @@ -562,7 +523,6 @@ 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( @@ -571,7 +531,6 @@ 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( @@ -584,7 +543,6 @@ 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( @@ -599,7 +557,6 @@ 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,7 +571,6 @@ 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( @@ -624,7 +580,6 @@ 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( @@ -634,7 +589,6 @@ 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( @@ -648,7 +602,6 @@ 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( @@ -664,7 +617,6 @@ 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 ''"): @@ -688,7 +640,6 @@ 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( @@ -697,7 +648,6 @@ 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( @@ -710,7 +660,6 @@ 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( @@ -725,7 +674,6 @@ 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 ''"): @@ -740,7 +688,6 @@ 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( @@ -749,7 +696,6 @@ 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( @@ -762,7 +708,6 @@ 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( @@ -777,7 +722,6 @@ 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 f2a936811e9..c81e4b77bcb 100644 --- a/tests/api_resources/zero_trust/access/test_tags.py +++ b/tests/api_resources/zero_trust/access/test_tags.py @@ -18,7 +18,6 @@ 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( @@ -27,7 +26,6 @@ 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( @@ -40,7 +38,6 @@ 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( @@ -55,7 +52,6 @@ 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 ''"): @@ -64,7 +60,6 @@ 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( @@ -74,7 +69,6 @@ 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( @@ -88,7 +82,6 @@ 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( @@ -104,7 +97,6 @@ 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 ''"): @@ -121,7 +113,6 @@ 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( @@ -129,7 +120,6 @@ 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( @@ -141,7 +131,6 @@ 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( @@ -155,7 +144,6 @@ 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 ''"): @@ -163,7 +151,6 @@ 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( @@ -172,7 +159,6 @@ 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( @@ -185,7 +171,6 @@ 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( @@ -200,7 +185,6 @@ 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 ''"): @@ -215,7 +199,6 @@ 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( @@ -224,7 +207,6 @@ 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( @@ -237,7 +219,6 @@ 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( @@ -252,7 +233,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -271,7 +251,6 @@ 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( @@ -280,7 +259,6 @@ 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( @@ -293,7 +271,6 @@ 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( @@ -308,7 +285,6 @@ 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 ''"): @@ -317,7 +293,6 @@ 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( @@ -327,7 +302,6 @@ 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( @@ -341,7 +315,6 @@ 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( @@ -357,7 +330,6 @@ 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 ''"): @@ -374,7 +346,6 @@ 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( @@ -382,7 +353,6 @@ 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( @@ -394,7 +364,6 @@ 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( @@ -408,7 +377,6 @@ 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 ''"): @@ -416,7 +384,6 @@ 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( @@ -425,7 +392,6 @@ 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( @@ -438,7 +404,6 @@ 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( @@ -453,7 +418,6 @@ 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 ''"): @@ -468,7 +432,6 @@ 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( @@ -477,7 +440,6 @@ 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( @@ -490,7 +452,6 @@ 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( @@ -505,7 +466,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 15052076003..502300c4919 100644 --- a/tests/api_resources/zero_trust/access/test_users.py +++ b/tests/api_resources/zero_trust/access/test_users.py @@ -18,7 +18,6 @@ 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( @@ -26,7 +25,6 @@ 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( @@ -38,7 +36,6 @@ 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( @@ -52,7 +49,6 @@ 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 ''"): @@ -64,7 +60,6 @@ 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( @@ -72,7 +67,6 @@ 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( @@ -84,7 +78,6 @@ 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( @@ -98,7 +91,6 @@ 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 c8013d80274..257192ec0de 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,7 +18,6 @@ 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( @@ -27,7 +26,6 @@ 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( @@ -40,7 +38,6 @@ 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( @@ -55,7 +52,6 @@ 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,7 +66,6 @@ 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( @@ -80,7 +75,6 @@ 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( @@ -94,7 +88,6 @@ 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( @@ -110,7 +103,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -138,7 +130,6 @@ 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( @@ -147,7 +138,6 @@ 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( @@ -160,7 +150,6 @@ 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( @@ -175,7 +164,6 @@ 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 ''"): @@ -190,7 +178,6 @@ 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( @@ -200,7 +187,6 @@ 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( @@ -214,7 +200,6 @@ 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( @@ -230,7 +215,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 34259b8225d..466bb95ca07 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,7 +18,6 @@ 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( @@ -27,7 +26,6 @@ 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( @@ -40,7 +38,6 @@ 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( @@ -55,7 +52,6 @@ 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 ''"): @@ -74,7 +70,6 @@ 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( @@ -83,7 +78,6 @@ 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( @@ -96,7 +90,6 @@ 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( @@ -111,7 +104,6 @@ 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 9b2f3fa96c4..e23146df8d6 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,7 +17,6 @@ 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( @@ -26,7 +25,6 @@ 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( @@ -39,7 +37,6 @@ 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( @@ -54,7 +51,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -73,7 +69,6 @@ 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( @@ -82,7 +77,6 @@ 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( @@ -95,7 +89,6 @@ 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( @@ -110,7 +103,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 2257cd23f41..51bc7a1bf6c 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,7 +17,6 @@ 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( @@ -25,7 +24,6 @@ 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( @@ -37,7 +35,6 @@ 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( @@ -51,7 +48,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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,7 +59,6 @@ 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( @@ -71,7 +66,6 @@ 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( @@ -83,7 +77,6 @@ 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( @@ -97,7 +90,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 fbdb2969e2c..b1a2f9aa2eb 100644 --- a/tests/api_resources/zero_trust/devices/policies/test_excludes.py +++ b/tests/api_resources/zero_trust/devices/policies/test_excludes.py @@ -22,7 +22,6 @@ 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( @@ -44,7 +43,6 @@ 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( @@ -70,7 +68,6 @@ 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( @@ -98,7 +95,6 @@ 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 ''"): @@ -120,7 +116,6 @@ 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( @@ -128,7 +123,6 @@ 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( @@ -140,7 +134,6 @@ 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( @@ -154,7 +147,6 @@ 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 ''"): @@ -162,7 +154,6 @@ 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( @@ -171,7 +162,6 @@ 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( @@ -184,7 +174,6 @@ 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( @@ -199,7 +188,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -218,7 +206,6 @@ 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( @@ -240,7 +227,6 @@ 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( @@ -266,7 +252,6 @@ 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( @@ -294,7 +279,6 @@ 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 ''"): @@ -316,7 +300,6 @@ 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( @@ -324,7 +307,6 @@ 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( @@ -336,7 +318,6 @@ 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( @@ -350,7 +331,6 @@ 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 ''"): @@ -358,7 +338,6 @@ 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( @@ -367,7 +346,6 @@ 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( @@ -380,7 +358,6 @@ 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( @@ -395,7 +372,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 c23935cc023..353bee364cd 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,7 +22,6 @@ 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( @@ -32,7 +31,6 @@ 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( @@ -46,7 +44,6 @@ 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( @@ -62,7 +59,6 @@ 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 ''"): @@ -79,7 +75,6 @@ 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( @@ -87,7 +82,6 @@ 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( @@ -99,7 +93,6 @@ 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( @@ -113,7 +106,6 @@ 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 ''"): @@ -121,7 +113,6 @@ 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( @@ -130,7 +121,6 @@ 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( @@ -143,7 +133,6 @@ 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( @@ -158,7 +147,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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,7 +165,6 @@ 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( @@ -187,7 +174,6 @@ 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( @@ -201,7 +187,6 @@ 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( @@ -217,7 +202,6 @@ 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 ''"): @@ -234,7 +218,6 @@ 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( @@ -242,7 +225,6 @@ 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( @@ -254,7 +236,6 @@ 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( @@ -268,7 +249,6 @@ 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 ''"): @@ -276,7 +256,6 @@ 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( @@ -285,7 +264,6 @@ 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( @@ -298,7 +276,6 @@ 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( @@ -313,7 +290,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 d17008e0558..76833b163c9 100644 --- a/tests/api_resources/zero_trust/devices/policies/test_includes.py +++ b/tests/api_resources/zero_trust/devices/policies/test_includes.py @@ -22,7 +22,6 @@ 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( @@ -44,7 +43,6 @@ 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( @@ -70,7 +68,6 @@ 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( @@ -98,7 +95,6 @@ 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 ''"): @@ -120,7 +116,6 @@ 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( @@ -128,7 +123,6 @@ 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( @@ -140,7 +134,6 @@ 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( @@ -154,7 +147,6 @@ 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 ''"): @@ -162,7 +154,6 @@ 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( @@ -171,7 +162,6 @@ 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( @@ -184,7 +174,6 @@ 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( @@ -199,7 +188,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -218,7 +206,6 @@ 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( @@ -240,7 +227,6 @@ 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( @@ -266,7 +252,6 @@ 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( @@ -294,7 +279,6 @@ 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 ''"): @@ -316,7 +300,6 @@ 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( @@ -324,7 +307,6 @@ 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( @@ -336,7 +318,6 @@ 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( @@ -350,7 +331,6 @@ 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 ''"): @@ -358,7 +338,6 @@ 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( @@ -367,7 +346,6 @@ 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( @@ -380,7 +358,6 @@ 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( @@ -395,7 +372,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 febee75d18a..5f09b583367 100644 --- a/tests/api_resources/zero_trust/devices/posture/test_integrations.py +++ b/tests/api_resources/zero_trust/devices/posture/test_integrations.py @@ -21,7 +21,6 @@ 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( @@ -38,7 +37,6 @@ 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( @@ -55,7 +53,6 @@ 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( @@ -76,7 +73,6 @@ 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( @@ -99,7 +95,6 @@ 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 ''"): @@ -116,7 +111,6 @@ 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( @@ -124,7 +118,6 @@ 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( @@ -136,7 +129,6 @@ 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( @@ -150,7 +142,6 @@ 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 ''"): @@ -158,7 +149,6 @@ 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( @@ -168,7 +158,6 @@ 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( @@ -182,7 +171,6 @@ 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( @@ -198,7 +186,6 @@ 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 ''"): @@ -215,7 +202,6 @@ 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( @@ -224,7 +210,6 @@ 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( @@ -242,7 +227,6 @@ 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( @@ -255,7 +239,6 @@ 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( @@ -270,7 +253,6 @@ 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 ''"): @@ -285,7 +267,6 @@ 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( @@ -294,7 +275,6 @@ 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( @@ -307,7 +287,6 @@ 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( @@ -322,7 +301,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -341,7 +319,6 @@ 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( @@ -358,7 +335,6 @@ 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( @@ -375,7 +351,6 @@ 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( @@ -396,7 +371,6 @@ 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( @@ -419,7 +393,6 @@ 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,7 +409,6 @@ 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( @@ -444,7 +416,6 @@ 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( @@ -456,7 +427,6 @@ 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( @@ -470,7 +440,6 @@ 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 ''"): @@ -478,7 +447,6 @@ 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( @@ -488,7 +456,6 @@ 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( @@ -502,7 +469,6 @@ 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( @@ -518,7 +484,6 @@ 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 ''"): @@ -535,7 +500,6 @@ 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( @@ -544,7 +508,6 @@ 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( @@ -562,7 +525,6 @@ 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( @@ -575,7 +537,6 @@ 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( @@ -590,7 +551,6 @@ 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,7 +565,6 @@ 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( @@ -614,7 +573,6 @@ 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( @@ -627,7 +585,6 @@ 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( @@ -642,7 +599,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 67f1de6d899..314ea6a8316 100644 --- a/tests/api_resources/zero_trust/devices/test_dex_tests.py +++ b/tests/api_resources/zero_trust/devices/test_dex_tests.py @@ -21,7 +21,6 @@ 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( @@ -33,7 +32,6 @@ 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( @@ -68,7 +66,6 @@ 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( @@ -84,7 +81,6 @@ 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( @@ -102,7 +98,6 @@ 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 ''"): @@ -114,7 +109,6 @@ 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( @@ -127,7 +121,6 @@ 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( @@ -163,7 +156,6 @@ 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( @@ -180,7 +172,6 @@ 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( @@ -199,7 +190,6 @@ 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 ''"): @@ -222,7 +212,6 @@ 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( @@ -230,7 +219,6 @@ 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( @@ -242,7 +230,6 @@ 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( @@ -256,7 +243,6 @@ 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 ''"): @@ -264,7 +250,6 @@ 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( @@ -273,7 +258,6 @@ 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( @@ -286,7 +270,6 @@ 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( @@ -301,7 +284,6 @@ 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,7 +298,6 @@ 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( @@ -325,7 +306,6 @@ 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( @@ -338,7 +318,6 @@ 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( @@ -353,7 +332,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -372,7 +350,6 @@ 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( @@ -384,7 +361,6 @@ 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( @@ -419,7 +395,6 @@ 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( @@ -435,7 +410,6 @@ 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( @@ -453,7 +427,6 @@ 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 ''"): @@ -465,7 +438,6 @@ 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( @@ -478,7 +450,6 @@ 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( @@ -514,7 +485,6 @@ 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( @@ -531,7 +501,6 @@ 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( @@ -550,7 +519,6 @@ 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 ''"): @@ -573,7 +541,6 @@ 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( @@ -581,7 +548,6 @@ 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( @@ -593,7 +559,6 @@ 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( @@ -607,7 +572,6 @@ 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 ''"): @@ -615,7 +579,6 @@ 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( @@ -624,7 +587,6 @@ 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( @@ -637,7 +599,6 @@ 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( @@ -652,7 +613,6 @@ 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,7 +627,6 @@ 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( @@ -676,7 +635,6 @@ 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( @@ -689,7 +647,6 @@ 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( @@ -704,7 +661,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 945e63aff1f..ac9b0718df7 100644 --- a/tests/api_resources/zero_trust/devices/test_networks.py +++ b/tests/api_resources/zero_trust/devices/test_networks.py @@ -21,7 +21,6 @@ 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( @@ -32,7 +31,6 @@ 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( @@ -46,7 +44,6 @@ 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( @@ -61,7 +58,6 @@ 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( @@ -78,7 +74,6 @@ 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,7 +84,6 @@ 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( @@ -98,7 +92,6 @@ 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( @@ -113,7 +106,6 @@ 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( @@ -126,7 +118,6 @@ 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( @@ -141,7 +132,6 @@ 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 ''"): @@ -156,7 +146,6 @@ 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( @@ -164,7 +153,6 @@ 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( @@ -176,7 +164,6 @@ 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( @@ -190,7 +177,6 @@ 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,7 +184,6 @@ 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( @@ -208,7 +193,6 @@ 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( @@ -222,7 +206,6 @@ 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( @@ -238,7 +221,6 @@ 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 ''"): @@ -255,7 +237,6 @@ 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( @@ -264,7 +245,6 @@ 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( @@ -277,7 +257,6 @@ 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( @@ -292,7 +271,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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,7 +289,6 @@ 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( @@ -322,7 +299,6 @@ 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( @@ -336,7 +312,6 @@ 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( @@ -351,7 +326,6 @@ 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( @@ -368,7 +342,6 @@ 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 ''"): @@ -379,7 +352,6 @@ 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( @@ -388,7 +360,6 @@ 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( @@ -403,7 +374,6 @@ 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( @@ -416,7 +386,6 @@ 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( @@ -431,7 +400,6 @@ 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 ''"): @@ -446,7 +414,6 @@ 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( @@ -454,7 +421,6 @@ 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( @@ -466,7 +432,6 @@ 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( @@ -480,7 +445,6 @@ 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 ''"): @@ -488,7 +452,6 @@ 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( @@ -498,7 +461,6 @@ 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( @@ -512,7 +474,6 @@ 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( @@ -528,7 +489,6 @@ 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,7 +505,6 @@ 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( @@ -554,7 +513,6 @@ 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( @@ -567,7 +525,6 @@ 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( @@ -582,7 +539,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 dd12c6a6af2..c7ee58f5b0d 100644 --- a/tests/api_resources/zero_trust/devices/test_override_codes.py +++ b/tests/api_resources/zero_trust/devices/test_override_codes.py @@ -17,7 +17,6 @@ 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( @@ -26,7 +25,6 @@ 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( @@ -39,7 +37,6 @@ 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( @@ -54,7 +51,6 @@ 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 ''"): @@ -73,7 +69,6 @@ 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( @@ -82,7 +77,6 @@ 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( @@ -95,7 +89,6 @@ 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( @@ -110,7 +103,6 @@ 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 8400c293aa1..cd32f10a134 100644 --- a/tests/api_resources/zero_trust/devices/test_policies.py +++ b/tests/api_resources/zero_trust/devices/test_policies.py @@ -21,7 +21,6 @@ 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( @@ -32,7 +31,6 @@ 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( @@ -60,7 +58,6 @@ 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( @@ -75,7 +72,6 @@ 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( @@ -92,7 +88,6 @@ 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 ''"): @@ -103,7 +98,6 @@ 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( @@ -111,7 +105,6 @@ 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( @@ -123,7 +116,6 @@ 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( @@ -137,7 +129,6 @@ 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 ''"): @@ -145,7 +136,6 @@ 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( @@ -155,7 +145,6 @@ 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( @@ -169,7 +158,6 @@ 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( @@ -185,7 +173,6 @@ 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,7 +189,6 @@ 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( @@ -211,7 +197,6 @@ 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( @@ -238,7 +223,6 @@ 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( @@ -251,7 +235,6 @@ 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( @@ -266,7 +249,6 @@ 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 ''"): @@ -281,7 +263,6 @@ 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( @@ -290,7 +271,6 @@ 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( @@ -303,7 +283,6 @@ 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( @@ -318,7 +297,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -337,7 +315,6 @@ 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( @@ -348,7 +325,6 @@ 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( @@ -376,7 +352,6 @@ 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( @@ -391,7 +366,6 @@ 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( @@ -408,7 +382,6 @@ 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 ''"): @@ -419,7 +392,6 @@ 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( @@ -427,7 +399,6 @@ 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( @@ -439,7 +410,6 @@ 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( @@ -453,7 +423,6 @@ 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 ''"): @@ -461,7 +430,6 @@ 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( @@ -471,7 +439,6 @@ 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( @@ -485,7 +452,6 @@ 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( @@ -501,7 +467,6 @@ 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 ''"): @@ -518,7 +483,6 @@ 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( @@ -527,7 +491,6 @@ 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( @@ -554,7 +517,6 @@ 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( @@ -567,7 +529,6 @@ 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( @@ -582,7 +543,6 @@ 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 ''"): @@ -597,7 +557,6 @@ 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( @@ -606,7 +565,6 @@ 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( @@ -619,7 +577,6 @@ 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( @@ -634,7 +591,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 dd5f8e84962..6fbcb0c95ad 100644 --- a/tests/api_resources/zero_trust/devices/test_posture.py +++ b/tests/api_resources/zero_trust/devices/test_posture.py @@ -21,7 +21,6 @@ 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( @@ -31,7 +30,6 @@ 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( @@ -52,7 +50,6 @@ 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( @@ -66,7 +63,6 @@ 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( @@ -82,7 +78,6 @@ 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 ''"): @@ -92,7 +87,6 @@ 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( @@ -103,7 +97,6 @@ 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( @@ -125,7 +118,6 @@ 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( @@ -140,7 +132,6 @@ 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( @@ -157,7 +148,6 @@ 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,7 +166,6 @@ 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( @@ -184,7 +173,6 @@ 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( @@ -196,7 +184,6 @@ 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( @@ -210,7 +197,6 @@ 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,7 +204,6 @@ 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( @@ -228,7 +213,6 @@ 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( @@ -242,7 +226,6 @@ 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( @@ -258,7 +241,6 @@ 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 ''"): @@ -275,7 +257,6 @@ 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( @@ -284,7 +265,6 @@ 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( @@ -297,7 +277,6 @@ 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( @@ -312,7 +291,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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,7 +309,6 @@ 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( @@ -341,7 +318,6 @@ 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( @@ -362,7 +338,6 @@ 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( @@ -376,7 +351,6 @@ 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( @@ -392,7 +366,6 @@ 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 ''"): @@ -402,7 +375,6 @@ 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( @@ -413,7 +385,6 @@ 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( @@ -435,7 +406,6 @@ 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( @@ -450,7 +420,6 @@ 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( @@ -467,7 +436,6 @@ 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 ''"): @@ -486,7 +454,6 @@ 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( @@ -494,7 +461,6 @@ 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( @@ -506,7 +472,6 @@ 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( @@ -520,7 +485,6 @@ 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 ''"): @@ -528,7 +492,6 @@ 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( @@ -538,7 +501,6 @@ 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( @@ -552,7 +514,6 @@ 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( @@ -568,7 +529,6 @@ 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 ''"): @@ -585,7 +545,6 @@ 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( @@ -594,7 +553,6 @@ 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( @@ -607,7 +565,6 @@ 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( @@ -622,7 +579,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 450ed115f7a..27aa2002b99 100644 --- a/tests/api_resources/zero_trust/devices/test_revoke.py +++ b/tests/api_resources/zero_trust/devices/test_revoke.py @@ -17,7 +17,6 @@ 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( @@ -30,7 +29,6 @@ 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( @@ -47,7 +45,6 @@ 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( @@ -66,7 +63,6 @@ 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 ''"): @@ -83,7 +79,6 @@ 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( @@ -96,7 +91,6 @@ 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( @@ -113,7 +107,6 @@ 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( @@ -132,7 +125,6 @@ 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 4223ebeeecb..398d23683a3 100644 --- a/tests/api_resources/zero_trust/devices/test_settings.py +++ b/tests/api_resources/zero_trust/devices/test_settings.py @@ -17,7 +17,6 @@ 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( @@ -25,7 +24,6 @@ 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( @@ -37,7 +35,6 @@ 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( @@ -49,7 +46,6 @@ 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( @@ -63,7 +59,6 @@ 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 ''"): @@ -71,7 +66,6 @@ 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( @@ -79,7 +73,6 @@ 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( @@ -91,7 +84,6 @@ 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( @@ -105,7 +97,6 @@ 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 ''"): @@ -117,7 +108,6 @@ 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( @@ -125,7 +115,6 @@ 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( @@ -137,7 +126,6 @@ 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( @@ -149,7 +137,6 @@ 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( @@ -163,7 +150,6 @@ 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 ''"): @@ -171,7 +157,6 @@ 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( @@ -179,7 +164,6 @@ 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( @@ -191,7 +175,6 @@ 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( @@ -205,7 +188,6 @@ 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 1734c9f55fd..f3b7f43a733 100644 --- a/tests/api_resources/zero_trust/devices/test_unrevoke.py +++ b/tests/api_resources/zero_trust/devices/test_unrevoke.py @@ -17,7 +17,6 @@ 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( @@ -30,7 +29,6 @@ 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( @@ -47,7 +45,6 @@ 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( @@ -66,7 +63,6 @@ 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 ''"): @@ -83,7 +79,6 @@ 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( @@ -96,7 +91,6 @@ 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( @@ -113,7 +107,6 @@ 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( @@ -132,7 +125,6 @@ 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 6c300ed53f7..dedc10273be 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,7 +18,6 @@ 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( @@ -30,7 +29,6 @@ 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( @@ -49,7 +47,6 @@ 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( @@ -65,7 +62,6 @@ 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( @@ -83,7 +79,6 @@ 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 ''"): @@ -99,7 +94,6 @@ 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( @@ -111,7 +105,6 @@ 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( @@ -130,7 +123,6 @@ 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( @@ -146,7 +138,6 @@ 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( @@ -164,7 +155,6 @@ 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 44f1f6f210b..417e9fe4ec4 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,7 +17,6 @@ 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( @@ -28,7 +27,6 @@ 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( @@ -41,7 +39,6 @@ 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( @@ -56,7 +53,6 @@ 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( @@ -73,7 +69,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -96,7 +91,6 @@ 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( @@ -107,7 +101,6 @@ 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( @@ -120,7 +113,6 @@ 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( @@ -135,7 +127,6 @@ 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( @@ -152,7 +143,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 2a700707496..ea3b48d65ae 100644 --- a/tests/api_resources/zero_trust/dex/test_colos.py +++ b/tests/api_resources/zero_trust/dex/test_colos.py @@ -17,7 +17,6 @@ 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( @@ -27,7 +26,6 @@ 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( @@ -38,7 +36,6 @@ 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( @@ -52,7 +49,6 @@ 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( @@ -68,7 +64,6 @@ 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,7 +77,6 @@ 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( @@ -92,7 +86,6 @@ 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( @@ -103,7 +96,6 @@ 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( @@ -117,7 +109,6 @@ 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( @@ -133,7 +124,6 @@ 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 0a360ca83d5..c8810f5404b 100644 --- a/tests/api_resources/zero_trust/dex/test_fleet_status.py +++ b/tests/api_resources/zero_trust/dex/test_fleet_status.py @@ -19,7 +19,6 @@ 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( @@ -28,7 +27,6 @@ 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( @@ -41,7 +39,6 @@ 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( @@ -56,7 +53,6 @@ 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 ''"): @@ -65,7 +61,6 @@ 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( @@ -75,7 +70,6 @@ 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( @@ -87,7 +81,6 @@ 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( @@ -101,7 +94,6 @@ 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( @@ -117,7 +109,6 @@ 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 ''"): @@ -131,7 +122,6 @@ 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( @@ -140,7 +130,6 @@ 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( @@ -153,7 +142,6 @@ 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( @@ -168,7 +156,6 @@ 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 ''"): @@ -177,7 +164,6 @@ 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( @@ -187,7 +173,6 @@ 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( @@ -199,7 +184,6 @@ 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( @@ -213,7 +197,6 @@ 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( @@ -229,7 +212,6 @@ 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 1bee3b8453a..d0779995517 100644 --- a/tests/api_resources/zero_trust/dex/test_http_tests.py +++ b/tests/api_resources/zero_trust/dex/test_http_tests.py @@ -17,7 +17,6 @@ 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( @@ -29,7 +28,6 @@ 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( @@ -43,7 +41,6 @@ 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( @@ -59,7 +56,6 @@ 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( @@ -77,7 +73,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -102,7 +97,6 @@ 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( @@ -114,7 +108,6 @@ 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( @@ -128,7 +121,6 @@ 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( @@ -144,7 +136,6 @@ 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( @@ -162,7 +153,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 654803068c2..71f56cc7e84 100644 --- a/tests/api_resources/zero_trust/dex/test_tests.py +++ b/tests/api_resources/zero_trust/dex/test_tests.py @@ -18,7 +18,6 @@ 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( @@ -26,7 +25,6 @@ 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( @@ -39,7 +37,6 @@ 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( @@ -51,7 +48,6 @@ 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( @@ -65,7 +61,6 @@ 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,7 +72,6 @@ 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( @@ -85,7 +79,6 @@ 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( @@ -98,7 +91,6 @@ 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( @@ -110,7 +102,6 @@ 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( @@ -124,7 +115,6 @@ 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 ee3c35fe683..4c7602f485f 100644 --- a/tests/api_resources/zero_trust/dex/test_traceroute_tests.py +++ b/tests/api_resources/zero_trust/dex/test_traceroute_tests.py @@ -21,7 +21,6 @@ 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( @@ -33,7 +32,6 @@ 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( @@ -47,7 +45,6 @@ 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( @@ -63,7 +60,6 @@ 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( @@ -81,7 +77,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -102,7 +97,6 @@ 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( @@ -115,7 +109,6 @@ 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( @@ -132,7 +125,6 @@ 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( @@ -151,7 +143,6 @@ 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 ''"): @@ -174,7 +165,6 @@ 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( @@ -185,7 +175,6 @@ 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( @@ -198,7 +187,6 @@ 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( @@ -213,7 +201,6 @@ 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( @@ -230,7 +217,6 @@ 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 ''"): @@ -253,7 +239,6 @@ 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( @@ -265,7 +250,6 @@ 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( @@ -279,7 +263,6 @@ 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( @@ -295,7 +278,6 @@ 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( @@ -313,7 +295,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -334,7 +315,6 @@ 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( @@ -347,7 +327,6 @@ 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( @@ -364,7 +343,6 @@ 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( @@ -383,7 +361,6 @@ 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 ''"): @@ -406,7 +383,6 @@ 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( @@ -417,7 +393,6 @@ 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( @@ -430,7 +405,6 @@ 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( @@ -445,7 +419,6 @@ 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( @@ -462,7 +435,6 @@ 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 219371cebd9..849b8c5cc07 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,7 +17,6 @@ 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( @@ -25,7 +24,6 @@ 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( @@ -35,7 +33,6 @@ 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( @@ -47,7 +44,6 @@ 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( @@ -61,7 +57,6 @@ 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 ''"): @@ -73,7 +68,6 @@ 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( @@ -81,7 +75,6 @@ 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( @@ -91,7 +84,6 @@ 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( @@ -103,7 +95,6 @@ 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( @@ -117,7 +108,6 @@ 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 a0b19f6c881..0a12a7ccea1 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,7 +17,6 @@ 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( @@ -26,7 +25,6 @@ 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( @@ -39,7 +37,6 @@ 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( @@ -54,7 +51,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -73,7 +69,6 @@ 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( @@ -82,7 +77,6 @@ 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( @@ -95,7 +89,6 @@ 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( @@ -110,7 +103,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 073f054e469..d146f2376d9 100644 --- a/tests/api_resources/zero_trust/dlp/datasets/test_upload.py +++ b/tests/api_resources/zero_trust/dlp/datasets/test_upload.py @@ -18,7 +18,6 @@ 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( @@ -27,7 +26,6 @@ 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( @@ -40,7 +38,6 @@ 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( @@ -55,7 +52,6 @@ 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,7 +66,6 @@ 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( @@ -81,7 +76,6 @@ 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( @@ -96,7 +90,6 @@ 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( @@ -113,7 +106,6 @@ 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,7 +128,6 @@ 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( @@ -145,7 +136,6 @@ 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( @@ -158,7 +148,6 @@ 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( @@ -173,7 +162,6 @@ 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,7 +176,6 @@ 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( @@ -199,7 +186,6 @@ 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( @@ -214,7 +200,6 @@ 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( @@ -231,7 +216,6 @@ 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 7645cc81700..42b7b8129df 100644 --- a/tests/api_resources/zero_trust/dlp/profiles/test_custom.py +++ b/tests/api_resources/zero_trust/dlp/profiles/test_custom.py @@ -21,7 +21,6 @@ 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( @@ -30,7 +29,6 @@ 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( @@ -43,7 +41,6 @@ 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( @@ -58,7 +55,6 @@ 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,7 +63,6 @@ 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( @@ -76,7 +71,6 @@ 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( @@ -123,7 +117,6 @@ 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( @@ -136,7 +129,6 @@ 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( @@ -151,7 +143,6 @@ 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,7 +157,6 @@ 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( @@ -176,7 +166,6 @@ 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( @@ -190,7 +179,6 @@ 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( @@ -206,7 +194,6 @@ 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,7 +210,6 @@ 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( @@ -232,7 +218,6 @@ 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( @@ -245,7 +230,6 @@ 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( @@ -260,7 +244,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -279,7 +262,6 @@ 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( @@ -288,7 +270,6 @@ 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( @@ -301,7 +282,6 @@ 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( @@ -316,7 +296,6 @@ 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 ''"): @@ -325,7 +304,6 @@ 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( @@ -334,7 +312,6 @@ 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( @@ -381,7 +358,6 @@ 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( @@ -394,7 +370,6 @@ 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( @@ -409,7 +384,6 @@ 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 ''"): @@ -424,7 +398,6 @@ 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( @@ -434,7 +407,6 @@ 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( @@ -448,7 +420,6 @@ 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( @@ -464,7 +435,6 @@ 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,7 +451,6 @@ 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( @@ -490,7 +459,6 @@ 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( @@ -503,7 +471,6 @@ 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( @@ -518,7 +485,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 42c8f7812ac..b8209257160 100644 --- a/tests/api_resources/zero_trust/dlp/profiles/test_predefined.py +++ b/tests/api_resources/zero_trust/dlp/profiles/test_predefined.py @@ -17,7 +17,6 @@ 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( @@ -26,7 +25,6 @@ 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( @@ -42,7 +40,6 @@ 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( @@ -55,7 +52,6 @@ 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( @@ -70,7 +66,6 @@ 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 ''"): @@ -85,7 +80,6 @@ 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( @@ -94,7 +88,6 @@ 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( @@ -107,7 +100,6 @@ 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( @@ -122,7 +114,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -141,7 +132,6 @@ 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( @@ -150,7 +140,6 @@ 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( @@ -166,7 +155,6 @@ 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( @@ -179,7 +167,6 @@ 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( @@ -194,7 +181,6 @@ 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 ''"): @@ -209,7 +195,6 @@ 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( @@ -218,7 +203,6 @@ 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( @@ -231,7 +215,6 @@ 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( @@ -246,7 +229,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 c6a79798a4d..1e41d7f1260 100644 --- a/tests/api_resources/zero_trust/dlp/test_datasets.py +++ b/tests/api_resources/zero_trust/dlp/test_datasets.py @@ -18,7 +18,6 @@ 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( @@ -27,7 +26,6 @@ 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( @@ -38,7 +36,6 @@ 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( @@ -51,7 +48,6 @@ 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( @@ -66,7 +62,6 @@ 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,7 +70,6 @@ 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( @@ -84,7 +78,6 @@ 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( @@ -95,7 +88,6 @@ 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( @@ -108,7 +100,6 @@ 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( @@ -123,7 +114,6 @@ 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,7 +128,6 @@ 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( @@ -146,7 +135,6 @@ 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( @@ -158,7 +146,6 @@ 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( @@ -172,7 +159,6 @@ 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,7 +166,6 @@ 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( @@ -189,7 +174,6 @@ 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( @@ -202,7 +186,6 @@ 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( @@ -217,7 +200,6 @@ 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 ''"): @@ -232,7 +214,6 @@ 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( @@ -241,7 +222,6 @@ 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( @@ -254,7 +234,6 @@ 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( @@ -269,7 +248,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -288,7 +266,6 @@ 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( @@ -297,7 +274,6 @@ 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( @@ -308,7 +284,6 @@ 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( @@ -321,7 +296,6 @@ 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( @@ -336,7 +310,6 @@ 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 ''"): @@ -345,7 +318,6 @@ 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( @@ -354,7 +326,6 @@ 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( @@ -365,7 +336,6 @@ 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( @@ -378,7 +348,6 @@ 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( @@ -393,7 +362,6 @@ 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 ''"): @@ -408,7 +376,6 @@ 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( @@ -416,7 +383,6 @@ 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( @@ -428,7 +394,6 @@ 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( @@ -442,7 +407,6 @@ 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 ''"): @@ -450,7 +414,6 @@ 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( @@ -459,7 +422,6 @@ 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( @@ -472,7 +434,6 @@ 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( @@ -487,7 +448,6 @@ 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 ''"): @@ -502,7 +462,6 @@ 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( @@ -511,7 +470,6 @@ 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( @@ -524,7 +482,6 @@ 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( @@ -539,7 +496,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 4f3c0ded98d..1455ec80499 100644 --- a/tests/api_resources/zero_trust/dlp/test_patterns.py +++ b/tests/api_resources/zero_trust/dlp/test_patterns.py @@ -17,7 +17,6 @@ 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( @@ -26,7 +25,6 @@ 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( @@ -39,7 +37,6 @@ 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( @@ -54,7 +51,6 @@ 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 ''"): @@ -67,7 +63,6 @@ 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( @@ -76,7 +71,6 @@ 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( @@ -89,7 +83,6 @@ 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( @@ -104,7 +97,6 @@ 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 0f18a2aa45e..cdc88d7f84d 100644 --- a/tests/api_resources/zero_trust/dlp/test_payload_logs.py +++ b/tests/api_resources/zero_trust/dlp/test_payload_logs.py @@ -17,7 +17,6 @@ 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( @@ -26,7 +25,6 @@ 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( @@ -39,7 +37,6 @@ 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( @@ -54,7 +51,6 @@ 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,7 +59,6 @@ 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( @@ -71,7 +66,6 @@ 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( @@ -83,7 +77,6 @@ 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( @@ -97,7 +90,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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,7 +101,6 @@ 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( @@ -118,7 +109,6 @@ 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( @@ -131,7 +121,6 @@ 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( @@ -146,7 +135,6 @@ 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 ''"): @@ -155,7 +143,6 @@ 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( @@ -163,7 +150,6 @@ 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( @@ -175,7 +161,6 @@ 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( @@ -189,7 +174,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 c373f9035ff..5984f84df7c 100644 --- a/tests/api_resources/zero_trust/dlp/test_profiles.py +++ b/tests/api_resources/zero_trust/dlp/test_profiles.py @@ -18,7 +18,6 @@ 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( @@ -26,7 +25,6 @@ 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( @@ -38,7 +36,6 @@ 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( @@ -52,7 +49,6 @@ 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,7 +56,6 @@ 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( @@ -69,7 +64,6 @@ 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( @@ -82,7 +76,6 @@ 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( @@ -97,7 +90,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -116,7 +108,6 @@ 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( @@ -124,7 +115,6 @@ 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( @@ -136,7 +126,6 @@ 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( @@ -150,7 +139,6 @@ 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 ''"): @@ -158,7 +146,6 @@ 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( @@ -167,7 +154,6 @@ 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( @@ -180,7 +166,6 @@ 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( @@ -195,7 +180,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 e16f44bd1ce..776794c88f4 100644 --- a/tests/api_resources/zero_trust/gateway/lists/test_items.py +++ b/tests/api_resources/zero_trust/gateway/lists/test_items.py @@ -18,7 +18,6 @@ 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( @@ -27,7 +26,6 @@ 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( @@ -40,7 +38,6 @@ 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( @@ -55,7 +52,6 @@ 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 ''"): @@ -74,7 +70,6 @@ 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( @@ -83,7 +78,6 @@ 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( @@ -96,7 +90,6 @@ 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( @@ -111,7 +104,6 @@ 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 73e3cc10608..166d36defcd 100644 --- a/tests/api_resources/zero_trust/gateway/test_app_types.py +++ b/tests/api_resources/zero_trust/gateway/test_app_types.py @@ -18,7 +18,6 @@ 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( @@ -26,7 +25,6 @@ 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( @@ -38,7 +36,6 @@ 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( @@ -52,7 +49,6 @@ 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 ''"): @@ -64,7 +60,6 @@ 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( @@ -72,7 +67,6 @@ 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( @@ -84,7 +78,6 @@ 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( @@ -98,7 +91,6 @@ 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 46d1d9b060b..a25bf37430d 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,7 +17,6 @@ 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( @@ -26,7 +25,6 @@ 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( @@ -36,7 +34,6 @@ 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( @@ -49,7 +46,6 @@ 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( @@ -64,7 +60,6 @@ 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,7 +68,6 @@ 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( @@ -81,7 +75,6 @@ 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( @@ -93,7 +86,6 @@ 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( @@ -107,7 +99,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -119,7 +110,6 @@ 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( @@ -128,7 +118,6 @@ 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( @@ -138,7 +127,6 @@ 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( @@ -151,7 +139,6 @@ 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( @@ -166,7 +153,6 @@ 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,7 +161,6 @@ 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( @@ -183,7 +168,6 @@ 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( @@ -195,7 +179,6 @@ 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( @@ -209,7 +192,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 1ec3c2e3886..42d6ae3b4db 100644 --- a/tests/api_resources/zero_trust/gateway/test_categories.py +++ b/tests/api_resources/zero_trust/gateway/test_categories.py @@ -18,7 +18,6 @@ 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( @@ -26,7 +25,6 @@ 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( @@ -38,7 +36,6 @@ 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( @@ -52,7 +49,6 @@ 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 ''"): @@ -64,7 +60,6 @@ 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( @@ -72,7 +67,6 @@ 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( @@ -84,7 +78,6 @@ 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( @@ -98,7 +91,6 @@ 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 49df85907e5..62f30e964a0 100644 --- a/tests/api_resources/zero_trust/gateway/test_configurations.py +++ b/tests/api_resources/zero_trust/gateway/test_configurations.py @@ -21,7 +21,6 @@ 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( @@ -29,7 +28,6 @@ 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( @@ -74,7 +72,6 @@ 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( @@ -86,7 +83,6 @@ 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( @@ -100,7 +96,6 @@ 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 ''"): @@ -108,7 +103,6 @@ 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( @@ -116,7 +110,6 @@ 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( @@ -161,7 +154,6 @@ 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( @@ -173,7 +165,6 @@ 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( @@ -187,7 +178,6 @@ 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 ''"): @@ -195,7 +185,6 @@ 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( @@ -203,7 +192,6 @@ 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( @@ -215,7 +203,6 @@ 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( @@ -229,7 +216,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -241,7 +227,6 @@ 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( @@ -249,7 +234,6 @@ 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( @@ -294,7 +278,6 @@ 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( @@ -306,7 +289,6 @@ 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( @@ -320,7 +302,6 @@ 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 ''"): @@ -328,7 +309,6 @@ 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( @@ -336,7 +316,6 @@ 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( @@ -381,7 +360,6 @@ 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( @@ -393,7 +371,6 @@ 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( @@ -407,7 +384,6 @@ 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 ''"): @@ -415,7 +391,6 @@ 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( @@ -423,7 +398,6 @@ 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( @@ -435,7 +409,6 @@ 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( @@ -449,7 +422,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 1170b57052c..4980f85b348 100644 --- a/tests/api_resources/zero_trust/gateway/test_lists.py +++ b/tests/api_resources/zero_trust/gateway/test_lists.py @@ -22,7 +22,6 @@ 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( @@ -32,7 +31,6 @@ 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( @@ -44,7 +42,6 @@ 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( @@ -58,7 +55,6 @@ 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( @@ -74,7 +70,6 @@ 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,7 +79,6 @@ 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( @@ -94,7 +88,6 @@ 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( @@ -105,7 +98,6 @@ 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( @@ -119,7 +111,6 @@ 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( @@ -135,7 +126,6 @@ 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 ''"): @@ -152,7 +142,6 @@ 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( @@ -160,7 +149,6 @@ 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( @@ -172,7 +160,6 @@ 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( @@ -186,7 +173,6 @@ 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 ''"): @@ -194,7 +180,6 @@ 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( @@ -204,7 +189,6 @@ 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( @@ -218,7 +202,6 @@ 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( @@ -234,7 +217,6 @@ 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 ''"): @@ -251,7 +233,6 @@ 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( @@ -260,7 +241,6 @@ 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( @@ -271,7 +251,6 @@ 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( @@ -284,7 +263,6 @@ 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( @@ -299,7 +277,6 @@ 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,7 +291,6 @@ 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( @@ -323,7 +299,6 @@ 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( @@ -336,7 +311,6 @@ 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( @@ -351,7 +325,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -370,7 +343,6 @@ 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( @@ -380,7 +352,6 @@ 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( @@ -392,7 +363,6 @@ 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( @@ -406,7 +376,6 @@ 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( @@ -422,7 +391,6 @@ 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,7 +400,6 @@ 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( @@ -442,7 +409,6 @@ 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( @@ -453,7 +419,6 @@ 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( @@ -467,7 +432,6 @@ 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( @@ -483,7 +447,6 @@ 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 ''"): @@ -500,7 +463,6 @@ 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( @@ -508,7 +470,6 @@ 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( @@ -520,7 +481,6 @@ 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( @@ -534,7 +494,6 @@ 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 ''"): @@ -542,7 +501,6 @@ 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( @@ -552,7 +510,6 @@ 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( @@ -566,7 +523,6 @@ 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( @@ -582,7 +538,6 @@ 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 ''"): @@ -599,7 +554,6 @@ 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( @@ -608,7 +562,6 @@ 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( @@ -619,7 +572,6 @@ 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( @@ -632,7 +584,6 @@ 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( @@ -647,7 +598,6 @@ 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 ''"): @@ -662,7 +612,6 @@ 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( @@ -671,7 +620,6 @@ 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( @@ -684,7 +632,6 @@ 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( @@ -699,7 +646,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 e7aec2ed604..06d287ba9e9 100644 --- a/tests/api_resources/zero_trust/gateway/test_locations.py +++ b/tests/api_resources/zero_trust/gateway/test_locations.py @@ -21,7 +21,6 @@ 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( @@ -30,7 +29,6 @@ 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( @@ -42,7 +40,6 @@ 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( @@ -55,7 +52,6 @@ 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( @@ -70,7 +66,6 @@ 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,7 +74,6 @@ 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( @@ -89,7 +83,6 @@ 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( @@ -102,7 +95,6 @@ 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( @@ -116,7 +108,6 @@ 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( @@ -132,7 +123,6 @@ 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,7 +139,6 @@ 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( @@ -157,7 +146,6 @@ 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( @@ -169,7 +157,6 @@ 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( @@ -183,7 +170,6 @@ 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,7 +177,6 @@ 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( @@ -201,7 +186,6 @@ 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( @@ -215,7 +199,6 @@ 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( @@ -231,7 +214,6 @@ 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 ''"): @@ -248,7 +230,6 @@ 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( @@ -257,7 +238,6 @@ 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( @@ -270,7 +250,6 @@ 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( @@ -285,7 +264,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -304,7 +282,6 @@ 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( @@ -313,7 +290,6 @@ 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( @@ -325,7 +301,6 @@ 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( @@ -338,7 +313,6 @@ 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( @@ -353,7 +327,6 @@ 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,7 +335,6 @@ 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( @@ -372,7 +344,6 @@ 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( @@ -385,7 +356,6 @@ 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( @@ -399,7 +369,6 @@ 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( @@ -415,7 +384,6 @@ 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 ''"): @@ -432,7 +400,6 @@ 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( @@ -440,7 +407,6 @@ 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( @@ -452,7 +418,6 @@ 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( @@ -466,7 +431,6 @@ 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,7 +438,6 @@ 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( @@ -484,7 +447,6 @@ 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( @@ -498,7 +460,6 @@ 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( @@ -514,7 +475,6 @@ 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,7 +491,6 @@ 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( @@ -540,7 +499,6 @@ 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( @@ -553,7 +511,6 @@ 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( @@ -568,7 +525,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 3fb8cdc6e28..a157696ec07 100644 --- a/tests/api_resources/zero_trust/gateway/test_logging.py +++ b/tests/api_resources/zero_trust/gateway/test_logging.py @@ -17,7 +17,6 @@ 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( @@ -25,7 +24,6 @@ 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( @@ -39,7 +37,6 @@ 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( @@ -51,7 +48,6 @@ 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( @@ -65,7 +61,6 @@ 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,7 +68,6 @@ 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( @@ -81,7 +75,6 @@ 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( @@ -93,7 +86,6 @@ 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( @@ -107,7 +99,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -119,7 +110,6 @@ 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( @@ -127,7 +117,6 @@ 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( @@ -141,7 +130,6 @@ 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( @@ -153,7 +141,6 @@ 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( @@ -167,7 +154,6 @@ 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,7 +161,6 @@ 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( @@ -183,7 +168,6 @@ 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( @@ -195,7 +179,6 @@ 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( @@ -209,7 +192,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 8637beea073..0e309618137 100644 --- a/tests/api_resources/zero_trust/gateway/test_proxy_endpoints.py +++ b/tests/api_resources/zero_trust/gateway/test_proxy_endpoints.py @@ -21,7 +21,6 @@ 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( @@ -31,7 +30,6 @@ 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( @@ -45,7 +43,6 @@ 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( @@ -61,7 +58,6 @@ 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,7 +67,6 @@ 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( @@ -79,7 +74,6 @@ 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( @@ -91,7 +85,6 @@ 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( @@ -105,7 +98,6 @@ 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,7 +105,6 @@ 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( @@ -123,7 +114,6 @@ 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( @@ -137,7 +127,6 @@ 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( @@ -153,7 +142,6 @@ 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,7 +158,6 @@ 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( @@ -179,7 +166,6 @@ 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( @@ -190,7 +176,6 @@ 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( @@ -203,7 +188,6 @@ 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( @@ -218,7 +202,6 @@ 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 ''"): @@ -233,7 +216,6 @@ 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( @@ -242,7 +224,6 @@ 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( @@ -255,7 +236,6 @@ 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( @@ -270,7 +250,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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,7 +268,6 @@ 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( @@ -299,7 +277,6 @@ 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( @@ -313,7 +290,6 @@ 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( @@ -329,7 +305,6 @@ 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 ''"): @@ -339,7 +314,6 @@ 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( @@ -347,7 +321,6 @@ 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( @@ -359,7 +332,6 @@ 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( @@ -373,7 +345,6 @@ 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 ''"): @@ -381,7 +352,6 @@ 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( @@ -391,7 +361,6 @@ 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( @@ -405,7 +374,6 @@ 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( @@ -421,7 +389,6 @@ 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 ''"): @@ -438,7 +405,6 @@ 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( @@ -447,7 +413,6 @@ 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( @@ -458,7 +423,6 @@ 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( @@ -471,7 +435,6 @@ 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( @@ -486,7 +449,6 @@ 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 ''"): @@ -501,7 +463,6 @@ 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( @@ -510,7 +471,6 @@ 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( @@ -523,7 +483,6 @@ 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( @@ -538,7 +497,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 b74eda41ab4..0dac7e74899 100644 --- a/tests/api_resources/zero_trust/gateway/test_rules.py +++ b/tests/api_resources/zero_trust/gateway/test_rules.py @@ -21,7 +21,6 @@ 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( @@ -31,7 +30,6 @@ 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( @@ -144,7 +142,6 @@ 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( @@ -158,7 +155,6 @@ 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( @@ -174,7 +170,6 @@ 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 ''"): @@ -184,7 +179,6 @@ 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( @@ -195,7 +189,6 @@ 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( @@ -309,7 +302,6 @@ 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( @@ -324,7 +316,6 @@ 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( @@ -341,7 +332,6 @@ 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 ''"): @@ -360,7 +350,6 @@ 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( @@ -368,7 +357,6 @@ 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( @@ -380,7 +368,6 @@ 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( @@ -394,7 +381,6 @@ 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 ''"): @@ -402,7 +388,6 @@ 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( @@ -412,7 +397,6 @@ 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( @@ -426,7 +410,6 @@ 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( @@ -442,7 +425,6 @@ 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 ''"): @@ -459,7 +441,6 @@ 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( @@ -468,7 +449,6 @@ 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( @@ -481,7 +461,6 @@ 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( @@ -496,7 +475,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -515,7 +493,6 @@ 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( @@ -525,7 +502,6 @@ 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( @@ -638,7 +614,6 @@ 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( @@ -652,7 +627,6 @@ 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( @@ -668,7 +642,6 @@ 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 ''"): @@ -678,7 +651,6 @@ 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( @@ -689,7 +661,6 @@ 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( @@ -803,7 +774,6 @@ 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( @@ -818,7 +788,6 @@ 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( @@ -835,7 +804,6 @@ 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 ''"): @@ -854,7 +822,6 @@ 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( @@ -862,7 +829,6 @@ 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( @@ -874,7 +840,6 @@ 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( @@ -888,7 +853,6 @@ 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 ''"): @@ -896,7 +860,6 @@ 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( @@ -906,7 +869,6 @@ 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( @@ -920,7 +882,6 @@ 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( @@ -936,7 +897,6 @@ 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 ''"): @@ -953,7 +913,6 @@ 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( @@ -962,7 +921,6 @@ 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( @@ -975,7 +933,6 @@ 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( @@ -990,7 +947,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 a7017c04eb0..154223efc5f 100644 --- a/tests/api_resources/zero_trust/networks/routes/test_ips.py +++ b/tests/api_resources/zero_trust/networks/routes/test_ips.py @@ -17,7 +17,6 @@ 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( @@ -26,7 +25,6 @@ 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( @@ -36,7 +34,6 @@ 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( @@ -49,7 +46,6 @@ 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( @@ -64,7 +60,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -83,7 +78,6 @@ 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( @@ -92,7 +86,6 @@ 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( @@ -102,7 +95,6 @@ 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( @@ -115,7 +107,6 @@ 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( @@ -130,7 +121,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 b441734789b..d2b44c907a3 100644 --- a/tests/api_resources/zero_trust/networks/routes/test_networks.py +++ b/tests/api_resources/zero_trust/networks/routes/test_networks.py @@ -17,7 +17,6 @@ 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( @@ -26,7 +25,6 @@ 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( @@ -37,7 +35,6 @@ 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( @@ -50,7 +47,6 @@ 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( @@ -65,7 +61,6 @@ 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,7 +75,6 @@ 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( @@ -89,7 +83,6 @@ 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( @@ -101,7 +94,6 @@ 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( @@ -114,7 +106,6 @@ 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( @@ -129,7 +120,6 @@ 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 ''"): @@ -144,7 +134,6 @@ 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( @@ -153,7 +142,6 @@ 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( @@ -166,7 +154,6 @@ 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( @@ -181,7 +168,6 @@ 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 ''"): @@ -200,7 +186,6 @@ 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( @@ -209,7 +194,6 @@ 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( @@ -220,7 +204,6 @@ 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( @@ -233,7 +216,6 @@ 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( @@ -248,7 +230,6 @@ 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 ''"): @@ -263,7 +244,6 @@ 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( @@ -272,7 +252,6 @@ 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( @@ -284,7 +263,6 @@ 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( @@ -297,7 +275,6 @@ 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( @@ -312,7 +289,6 @@ 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,7 +303,6 @@ 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( @@ -336,7 +311,6 @@ 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( @@ -349,7 +323,6 @@ 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( @@ -364,7 +337,6 @@ 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 851dd4ec855..cc66a2897dd 100644 --- a/tests/api_resources/zero_trust/networks/test_routes.py +++ b/tests/api_resources/zero_trust/networks/test_routes.py @@ -21,7 +21,6 @@ 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( @@ -30,7 +29,6 @@ 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( @@ -41,7 +39,6 @@ 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( @@ -54,7 +51,6 @@ 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( @@ -69,7 +65,6 @@ 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,7 +73,6 @@ 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( @@ -86,7 +80,6 @@ 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( @@ -105,7 +98,6 @@ 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( @@ -117,7 +109,6 @@ 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( @@ -131,7 +122,6 @@ 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 ''"): @@ -139,7 +129,6 @@ 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( @@ -148,7 +137,6 @@ 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( @@ -161,7 +149,6 @@ 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( @@ -176,7 +163,6 @@ 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 ''"): @@ -191,7 +177,6 @@ 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( @@ -200,7 +185,6 @@ 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( @@ -214,7 +198,6 @@ 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( @@ -227,7 +210,6 @@ 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( @@ -242,7 +224,6 @@ 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 ''"): @@ -261,7 +242,6 @@ 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( @@ -270,7 +250,6 @@ 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( @@ -281,7 +260,6 @@ 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( @@ -294,7 +272,6 @@ 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( @@ -309,7 +286,6 @@ 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,7 +294,6 @@ 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( @@ -326,7 +301,6 @@ 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( @@ -345,7 +319,6 @@ 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( @@ -357,7 +330,6 @@ 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( @@ -371,7 +343,6 @@ 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 ''"): @@ -379,7 +350,6 @@ 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( @@ -388,7 +358,6 @@ 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( @@ -401,7 +370,6 @@ 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( @@ -416,7 +384,6 @@ 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 ''"): @@ -431,7 +398,6 @@ 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( @@ -440,7 +406,6 @@ 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( @@ -454,7 +419,6 @@ 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( @@ -467,7 +431,6 @@ 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( @@ -482,7 +445,6 @@ 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 c785cf1fb63..1fcb3137168 100644 --- a/tests/api_resources/zero_trust/networks/test_virtual_networks.py +++ b/tests/api_resources/zero_trust/networks/test_virtual_networks.py @@ -23,7 +23,6 @@ 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( @@ -32,7 +31,6 @@ 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( @@ -43,7 +41,6 @@ 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( @@ -56,7 +53,6 @@ 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( @@ -71,7 +67,6 @@ 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,7 +75,6 @@ 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( @@ -88,7 +82,6 @@ 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( @@ -101,7 +94,6 @@ 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( @@ -113,7 +105,6 @@ 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( @@ -127,7 +118,6 @@ 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 ''"): @@ -135,7 +125,6 @@ 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( @@ -145,7 +134,6 @@ 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( @@ -159,7 +147,6 @@ 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( @@ -175,7 +162,6 @@ 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 ''"): @@ -192,7 +178,6 @@ 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( @@ -201,7 +186,6 @@ 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( @@ -213,7 +197,6 @@ 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( @@ -226,7 +209,6 @@ 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( @@ -241,7 +223,6 @@ 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 ''"): @@ -260,7 +241,6 @@ 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( @@ -269,7 +249,6 @@ 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( @@ -280,7 +259,6 @@ 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( @@ -293,7 +271,6 @@ 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( @@ -308,7 +285,6 @@ 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,7 +293,6 @@ 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( @@ -325,7 +300,6 @@ 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( @@ -338,7 +312,6 @@ 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( @@ -350,7 +323,6 @@ 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( @@ -364,7 +336,6 @@ 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 ''"): @@ -372,7 +343,6 @@ 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( @@ -382,7 +352,6 @@ 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( @@ -396,7 +365,6 @@ 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( @@ -412,7 +380,6 @@ 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 ''"): @@ -429,7 +396,6 @@ 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( @@ -438,7 +404,6 @@ 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( @@ -450,7 +415,6 @@ 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( @@ -463,7 +427,6 @@ 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( @@ -478,7 +441,6 @@ 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 274bc9a39d4..f9d0bf7503f 100644 --- a/tests/api_resources/zero_trust/risk_scoring/test_behaviours.py +++ b/tests/api_resources/zero_trust/risk_scoring/test_behaviours.py @@ -20,7 +20,6 @@ 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( @@ -28,7 +27,6 @@ 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( @@ -42,7 +40,6 @@ 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( @@ -54,7 +51,6 @@ 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( @@ -68,7 +64,6 @@ 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 ''"): @@ -76,7 +71,6 @@ 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( @@ -84,7 +78,6 @@ 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( @@ -96,7 +89,6 @@ 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( @@ -110,7 +102,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -122,7 +113,6 @@ 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( @@ -130,7 +120,6 @@ 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( @@ -144,7 +133,6 @@ 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( @@ -156,7 +144,6 @@ 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( @@ -170,7 +157,6 @@ 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 ''"): @@ -178,7 +164,6 @@ 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( @@ -186,7 +171,6 @@ 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( @@ -198,7 +182,6 @@ 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( @@ -212,7 +195,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 37e56ed2449..1ae273a5a8c 100644 --- a/tests/api_resources/zero_trust/risk_scoring/test_summary.py +++ b/tests/api_resources/zero_trust/risk_scoring/test_summary.py @@ -17,7 +17,6 @@ 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( @@ -25,7 +24,6 @@ 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( @@ -37,7 +35,6 @@ 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( @@ -49,7 +46,6 @@ 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( @@ -63,7 +59,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -75,7 +70,6 @@ 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( @@ -83,7 +77,6 @@ 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( @@ -95,7 +88,6 @@ 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( @@ -107,7 +99,6 @@ 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( @@ -121,7 +112,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 001080cf070..310f4319091 100644 --- a/tests/api_resources/zero_trust/test_connectivity_settings.py +++ b/tests/api_resources/zero_trust/test_connectivity_settings.py @@ -20,7 +20,6 @@ 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( @@ -28,7 +27,6 @@ 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( @@ -38,7 +36,6 @@ 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( @@ -50,7 +47,6 @@ 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( @@ -64,7 +60,6 @@ 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 ''"): @@ -72,7 +67,6 @@ 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( @@ -80,7 +74,6 @@ 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( @@ -92,7 +85,6 @@ 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( @@ -106,7 +98,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -118,7 +109,6 @@ 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( @@ -126,7 +116,6 @@ 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( @@ -136,7 +125,6 @@ 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( @@ -148,7 +136,6 @@ 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( @@ -162,7 +149,6 @@ 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 ''"): @@ -170,7 +156,6 @@ 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( @@ -178,7 +163,6 @@ 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( @@ -190,7 +174,6 @@ 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( @@ -204,7 +187,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 1beef070418..6b0adb03848 100644 --- a/tests/api_resources/zero_trust/test_devices.py +++ b/tests/api_resources/zero_trust/test_devices.py @@ -18,7 +18,6 @@ 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( @@ -26,7 +25,6 @@ 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( @@ -38,7 +36,6 @@ 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( @@ -52,7 +49,6 @@ 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,7 +56,6 @@ 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( @@ -69,7 +64,6 @@ 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( @@ -82,7 +76,6 @@ 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( @@ -97,7 +90,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -116,7 +108,6 @@ 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( @@ -124,7 +115,6 @@ 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( @@ -136,7 +126,6 @@ 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( @@ -150,7 +139,6 @@ 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 ''"): @@ -158,7 +146,6 @@ 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( @@ -167,7 +154,6 @@ 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( @@ -180,7 +166,6 @@ 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( @@ -195,7 +180,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 27d4193e48e..4f68a4f6c2c 100644 --- a/tests/api_resources/zero_trust/test_gateway.py +++ b/tests/api_resources/zero_trust/test_gateway.py @@ -17,7 +17,6 @@ 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( @@ -25,7 +24,6 @@ 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( @@ -37,7 +35,6 @@ 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( @@ -51,7 +48,6 @@ 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,7 +55,6 @@ 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( @@ -67,7 +62,6 @@ 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( @@ -79,7 +73,6 @@ 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( @@ -93,7 +86,6 @@ 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,7 +97,6 @@ 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( @@ -113,7 +104,6 @@ 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( @@ -125,7 +115,6 @@ 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( @@ -139,7 +128,6 @@ 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 ''"): @@ -147,7 +135,6 @@ 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( @@ -155,7 +142,6 @@ 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( @@ -167,7 +153,6 @@ 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( @@ -181,7 +166,6 @@ 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 f9df9404dd2..04f710c97e2 100644 --- a/tests/api_resources/zero_trust/test_identity_providers.py +++ b/tests/api_resources/zero_trust/test_identity_providers.py @@ -22,7 +22,6 @@ 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( @@ -34,7 +33,6 @@ 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( @@ -62,7 +60,6 @@ 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( @@ -78,7 +75,6 @@ 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( @@ -96,7 +92,6 @@ 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 ''"): @@ -117,7 +112,6 @@ 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( @@ -129,7 +123,6 @@ 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( @@ -155,7 +148,6 @@ 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( @@ -171,7 +163,6 @@ 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( @@ -189,7 +180,6 @@ 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 ''"): @@ -210,7 +200,6 @@ 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( @@ -222,7 +211,6 @@ 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( @@ -244,7 +232,6 @@ 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( @@ -260,7 +247,6 @@ 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( @@ -278,7 +264,6 @@ 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 ''"): @@ -299,7 +284,6 @@ 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( @@ -311,7 +295,6 @@ 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( @@ -333,7 +316,6 @@ 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( @@ -349,7 +331,6 @@ 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( @@ -367,7 +348,6 @@ 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 ''"): @@ -388,7 +368,6 @@ 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( @@ -400,7 +379,6 @@ 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( @@ -424,7 +402,6 @@ 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( @@ -440,7 +417,6 @@ 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( @@ -458,7 +434,6 @@ 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 ''"): @@ -479,7 +454,6 @@ 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( @@ -491,7 +465,6 @@ 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( @@ -516,7 +489,6 @@ 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( @@ -532,7 +504,6 @@ 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( @@ -550,7 +521,6 @@ 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 ''"): @@ -571,7 +541,6 @@ 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( @@ -583,7 +552,6 @@ 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( @@ -605,7 +573,6 @@ 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( @@ -621,7 +588,6 @@ 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( @@ -639,7 +605,6 @@ 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 ''"): @@ -660,7 +625,6 @@ 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( @@ -672,7 +636,6 @@ 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( @@ -700,7 +663,6 @@ 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( @@ -716,7 +678,6 @@ 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( @@ -734,7 +695,6 @@ 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 ''"): @@ -755,7 +715,6 @@ 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( @@ -767,7 +726,6 @@ 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( @@ -793,7 +751,6 @@ 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( @@ -809,7 +766,6 @@ 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( @@ -827,7 +783,6 @@ 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 ''"): @@ -848,7 +803,6 @@ 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( @@ -860,7 +814,6 @@ 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( @@ -885,7 +838,6 @@ 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( @@ -901,7 +853,6 @@ 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( @@ -919,7 +870,6 @@ 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 ''"): @@ -940,7 +890,6 @@ 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( @@ -952,7 +901,6 @@ 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( @@ -977,7 +925,6 @@ 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( @@ -993,7 +940,6 @@ 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( @@ -1011,7 +957,6 @@ 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 ''"): @@ -1032,7 +977,6 @@ 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( @@ -1044,7 +988,6 @@ 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( @@ -1084,7 +1027,6 @@ 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( @@ -1100,7 +1042,6 @@ 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( @@ -1118,7 +1059,6 @@ 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 ''"): @@ -1139,7 +1079,6 @@ 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( @@ -1151,7 +1090,6 @@ 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( @@ -1173,7 +1111,6 @@ 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( @@ -1189,7 +1126,6 @@ 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( @@ -1207,7 +1143,6 @@ 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 ''"): @@ -1228,7 +1163,6 @@ 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( @@ -1240,7 +1174,6 @@ 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( @@ -1259,7 +1192,6 @@ 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( @@ -1275,7 +1207,6 @@ 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( @@ -1293,7 +1224,6 @@ 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 ''"): @@ -1314,7 +1244,6 @@ 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( @@ -1327,7 +1256,6 @@ 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( @@ -1356,7 +1284,6 @@ 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( @@ -1373,7 +1300,6 @@ 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( @@ -1392,7 +1318,6 @@ 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 ''"): @@ -1425,7 +1350,6 @@ 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( @@ -1438,7 +1362,6 @@ 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( @@ -1465,7 +1388,6 @@ 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( @@ -1482,7 +1404,6 @@ 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( @@ -1501,7 +1422,6 @@ 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 ''"): @@ -1534,7 +1454,6 @@ 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( @@ -1547,7 +1466,6 @@ 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( @@ -1570,7 +1488,6 @@ 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( @@ -1587,7 +1504,6 @@ 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( @@ -1606,7 +1522,6 @@ 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 ''"): @@ -1639,7 +1554,6 @@ 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( @@ -1652,7 +1566,6 @@ 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( @@ -1675,7 +1588,6 @@ 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( @@ -1692,7 +1604,6 @@ 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( @@ -1711,7 +1622,6 @@ 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 ''"): @@ -1744,7 +1654,6 @@ 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( @@ -1757,7 +1666,6 @@ 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( @@ -1782,7 +1690,6 @@ 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( @@ -1799,7 +1706,6 @@ 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( @@ -1818,7 +1724,6 @@ 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 ''"): @@ -1851,7 +1756,6 @@ 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( @@ -1864,7 +1768,6 @@ 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( @@ -1890,7 +1793,6 @@ 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( @@ -1907,7 +1809,6 @@ 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( @@ -1926,7 +1827,6 @@ 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 ''"): @@ -1959,7 +1859,6 @@ 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( @@ -1972,7 +1871,6 @@ 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( @@ -1995,7 +1893,6 @@ 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( @@ -2012,7 +1909,6 @@ 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( @@ -2031,7 +1927,6 @@ 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 ''"): @@ -2064,7 +1959,6 @@ 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( @@ -2077,7 +1971,6 @@ 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( @@ -2106,7 +1999,6 @@ 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( @@ -2123,7 +2015,6 @@ 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( @@ -2142,7 +2033,6 @@ 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 ''"): @@ -2175,7 +2065,6 @@ 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( @@ -2188,7 +2077,6 @@ 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( @@ -2215,7 +2103,6 @@ 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( @@ -2232,7 +2119,6 @@ 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( @@ -2251,7 +2137,6 @@ 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 ''"): @@ -2284,7 +2169,6 @@ 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( @@ -2297,7 +2181,6 @@ 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( @@ -2323,7 +2206,6 @@ 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( @@ -2340,7 +2222,6 @@ 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( @@ -2359,7 +2240,6 @@ 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 ''"): @@ -2392,7 +2272,6 @@ 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( @@ -2405,7 +2284,6 @@ 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( @@ -2431,7 +2309,6 @@ 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( @@ -2448,7 +2325,6 @@ 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( @@ -2467,7 +2343,6 @@ 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 ''"): @@ -2500,7 +2375,6 @@ 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( @@ -2513,7 +2387,6 @@ 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( @@ -2554,7 +2427,6 @@ 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( @@ -2571,7 +2443,6 @@ 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( @@ -2590,7 +2461,6 @@ 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 ''"): @@ -2623,7 +2493,6 @@ 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( @@ -2636,7 +2505,6 @@ 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( @@ -2659,7 +2527,6 @@ 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( @@ -2676,7 +2543,6 @@ 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( @@ -2695,7 +2561,6 @@ 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 ''"): @@ -2728,7 +2593,6 @@ 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( @@ -2741,7 +2605,6 @@ 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( @@ -2761,7 +2624,6 @@ 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( @@ -2778,7 +2640,6 @@ 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( @@ -2797,7 +2658,6 @@ 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 ''"): @@ -2830,7 +2690,6 @@ 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( @@ -2839,7 +2698,6 @@ 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( @@ -2848,7 +2706,6 @@ 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( @@ -2861,7 +2718,6 @@ 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( @@ -2876,7 +2732,6 @@ 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 ''"): @@ -2891,7 +2746,6 @@ 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( @@ -2901,7 +2755,6 @@ 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( @@ -2911,7 +2764,6 @@ 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( @@ -2925,7 +2777,6 @@ 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( @@ -2941,7 +2792,6 @@ 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 ''"): @@ -2965,7 +2815,6 @@ 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( @@ -2975,7 +2824,6 @@ 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( @@ -2985,7 +2833,6 @@ 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( @@ -2999,7 +2846,6 @@ 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( @@ -3015,7 +2861,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -3043,7 +2888,6 @@ 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( @@ -3055,7 +2899,6 @@ 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( @@ -3083,7 +2926,6 @@ 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( @@ -3099,7 +2941,6 @@ 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( @@ -3117,7 +2958,6 @@ 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 ''"): @@ -3138,7 +2978,6 @@ 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( @@ -3150,7 +2989,6 @@ 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( @@ -3176,7 +3014,6 @@ 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( @@ -3192,7 +3029,6 @@ 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( @@ -3210,7 +3046,6 @@ 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 ''"): @@ -3231,7 +3066,6 @@ 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( @@ -3243,7 +3077,6 @@ 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( @@ -3265,7 +3098,6 @@ 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( @@ -3281,7 +3113,6 @@ 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( @@ -3299,7 +3130,6 @@ 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 ''"): @@ -3320,7 +3150,6 @@ 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( @@ -3332,7 +3161,6 @@ 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( @@ -3354,7 +3182,6 @@ 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( @@ -3370,7 +3197,6 @@ 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( @@ -3388,7 +3214,6 @@ 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 ''"): @@ -3409,7 +3234,6 @@ 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( @@ -3421,7 +3245,6 @@ 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( @@ -3445,7 +3268,6 @@ 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( @@ -3461,7 +3283,6 @@ 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( @@ -3479,7 +3300,6 @@ 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 ''"): @@ -3500,7 +3320,6 @@ 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( @@ -3512,7 +3331,6 @@ 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( @@ -3537,7 +3355,6 @@ 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( @@ -3553,7 +3370,6 @@ 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( @@ -3571,7 +3387,6 @@ 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 ''"): @@ -3592,7 +3407,6 @@ 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( @@ -3604,7 +3418,6 @@ 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( @@ -3626,7 +3439,6 @@ 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( @@ -3642,7 +3454,6 @@ 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( @@ -3660,7 +3471,6 @@ 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 ''"): @@ -3681,7 +3491,6 @@ 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( @@ -3693,7 +3502,6 @@ 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( @@ -3721,7 +3529,6 @@ 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( @@ -3737,7 +3544,6 @@ 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( @@ -3755,7 +3561,6 @@ 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 ''"): @@ -3776,7 +3581,6 @@ 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( @@ -3788,7 +3592,6 @@ 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( @@ -3814,7 +3617,6 @@ 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( @@ -3830,7 +3632,6 @@ 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( @@ -3848,7 +3649,6 @@ 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 ''"): @@ -3869,7 +3669,6 @@ 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( @@ -3881,7 +3680,6 @@ 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( @@ -3906,7 +3704,6 @@ 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( @@ -3922,7 +3719,6 @@ 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( @@ -3940,7 +3736,6 @@ 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 ''"): @@ -3961,7 +3756,6 @@ 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( @@ -3973,7 +3767,6 @@ 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( @@ -3998,7 +3791,6 @@ 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( @@ -4014,7 +3806,6 @@ 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( @@ -4032,7 +3823,6 @@ 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 ''"): @@ -4053,7 +3843,6 @@ 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( @@ -4065,7 +3854,6 @@ 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( @@ -4105,7 +3893,6 @@ 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( @@ -4121,7 +3908,6 @@ 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( @@ -4139,7 +3925,6 @@ 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 ''"): @@ -4160,7 +3945,6 @@ 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( @@ -4172,7 +3956,6 @@ 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( @@ -4194,7 +3977,6 @@ 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( @@ -4210,7 +3992,6 @@ 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( @@ -4228,7 +4009,6 @@ 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 ''"): @@ -4249,7 +4029,6 @@ 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( @@ -4261,7 +4040,6 @@ 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( @@ -4280,7 +4058,6 @@ 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( @@ -4296,7 +4073,6 @@ 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( @@ -4314,7 +4090,6 @@ 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 ''"): @@ -4335,7 +4110,6 @@ 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( @@ -4348,7 +4122,6 @@ 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( @@ -4377,7 +4150,6 @@ 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( @@ -4394,7 +4166,6 @@ 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( @@ -4413,7 +4184,6 @@ 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 ''"): @@ -4446,7 +4216,6 @@ 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( @@ -4459,7 +4228,6 @@ 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( @@ -4486,7 +4254,6 @@ 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( @@ -4503,7 +4270,6 @@ 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( @@ -4522,7 +4288,6 @@ 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 ''"): @@ -4555,7 +4320,6 @@ 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( @@ -4568,7 +4332,6 @@ 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( @@ -4591,7 +4354,6 @@ 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( @@ -4608,7 +4370,6 @@ 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( @@ -4627,7 +4388,6 @@ 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 ''"): @@ -4660,7 +4420,6 @@ 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( @@ -4673,7 +4432,6 @@ 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( @@ -4696,7 +4454,6 @@ 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( @@ -4713,7 +4470,6 @@ 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( @@ -4732,7 +4488,6 @@ 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 ''"): @@ -4765,7 +4520,6 @@ 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( @@ -4778,7 +4532,6 @@ 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( @@ -4803,7 +4556,6 @@ 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( @@ -4820,7 +4572,6 @@ 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( @@ -4839,7 +4590,6 @@ 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 ''"): @@ -4872,7 +4622,6 @@ 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( @@ -4885,7 +4634,6 @@ 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( @@ -4911,7 +4659,6 @@ 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( @@ -4928,7 +4675,6 @@ 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( @@ -4947,7 +4693,6 @@ 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 ''"): @@ -4980,7 +4725,6 @@ 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( @@ -4993,7 +4737,6 @@ 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( @@ -5016,7 +4759,6 @@ 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( @@ -5033,7 +4775,6 @@ 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( @@ -5052,7 +4793,6 @@ 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 ''"): @@ -5085,7 +4825,6 @@ 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( @@ -5098,7 +4837,6 @@ 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( @@ -5127,7 +4865,6 @@ 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( @@ -5144,7 +4881,6 @@ 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( @@ -5163,7 +4899,6 @@ 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 ''"): @@ -5196,7 +4931,6 @@ 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( @@ -5209,7 +4943,6 @@ 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( @@ -5236,7 +4969,6 @@ 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( @@ -5253,7 +4985,6 @@ 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( @@ -5272,7 +5003,6 @@ 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 ''"): @@ -5305,7 +5035,6 @@ 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( @@ -5318,7 +5047,6 @@ 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( @@ -5344,7 +5072,6 @@ 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( @@ -5361,7 +5088,6 @@ 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( @@ -5380,7 +5106,6 @@ 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 ''"): @@ -5413,7 +5138,6 @@ 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( @@ -5426,7 +5150,6 @@ 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( @@ -5452,7 +5175,6 @@ 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( @@ -5469,7 +5191,6 @@ 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( @@ -5488,7 +5209,6 @@ 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 ''"): @@ -5521,7 +5241,6 @@ 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( @@ -5534,7 +5253,6 @@ 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( @@ -5575,7 +5293,6 @@ 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( @@ -5592,7 +5309,6 @@ 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( @@ -5611,7 +5327,6 @@ 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 ''"): @@ -5644,7 +5359,6 @@ 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( @@ -5657,7 +5371,6 @@ 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( @@ -5680,7 +5393,6 @@ 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( @@ -5697,7 +5409,6 @@ 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( @@ -5716,7 +5427,6 @@ 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 ''"): @@ -5749,7 +5459,6 @@ 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( @@ -5762,7 +5471,6 @@ 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( @@ -5782,7 +5490,6 @@ 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( @@ -5799,7 +5506,6 @@ 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( @@ -5818,7 +5524,6 @@ 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 ''"): @@ -5851,7 +5556,6 @@ 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( @@ -5860,7 +5564,6 @@ 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( @@ -5869,7 +5572,6 @@ 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( @@ -5882,7 +5584,6 @@ 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( @@ -5897,7 +5598,6 @@ 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 ''"): @@ -5912,7 +5612,6 @@ 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( @@ -5922,7 +5621,6 @@ 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( @@ -5932,7 +5630,6 @@ 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( @@ -5946,7 +5643,6 @@ 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( @@ -5962,7 +5658,6 @@ 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 ''"): @@ -5986,7 +5681,6 @@ 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( @@ -5996,7 +5690,6 @@ 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( @@ -6006,7 +5699,6 @@ 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( @@ -6020,7 +5712,6 @@ 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( @@ -6036,7 +5727,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 c8bcc6bb4eb..cf7ad343538 100644 --- a/tests/api_resources/zero_trust/test_organizations.py +++ b/tests/api_resources/zero_trust/test_organizations.py @@ -20,7 +20,6 @@ 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( @@ -31,7 +30,6 @@ 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( @@ -56,7 +54,6 @@ 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( @@ -71,7 +68,6 @@ 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( @@ -88,7 +84,6 @@ 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 ''"): @@ -107,7 +102,6 @@ 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( @@ -116,7 +110,6 @@ 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( @@ -145,7 +138,6 @@ 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( @@ -158,7 +150,6 @@ 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( @@ -173,7 +164,6 @@ 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 ''"): @@ -188,7 +178,6 @@ 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( @@ -197,7 +186,6 @@ 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( @@ -206,7 +194,6 @@ 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( @@ -219,7 +206,6 @@ 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( @@ -234,7 +220,6 @@ 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 ''"): @@ -249,7 +234,6 @@ 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( @@ -259,7 +243,6 @@ 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( @@ -269,7 +252,6 @@ 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( @@ -283,7 +265,6 @@ 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( @@ -299,7 +280,6 @@ 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 ''"): @@ -320,7 +300,6 @@ 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( @@ -331,7 +310,6 @@ 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( @@ -356,7 +334,6 @@ 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( @@ -371,7 +348,6 @@ 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( @@ -388,7 +364,6 @@ 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 ''"): @@ -407,7 +382,6 @@ 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( @@ -416,7 +390,6 @@ 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( @@ -445,7 +418,6 @@ 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( @@ -458,7 +430,6 @@ 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( @@ -473,7 +444,6 @@ 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 ''"): @@ -488,7 +458,6 @@ 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( @@ -497,7 +466,6 @@ 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( @@ -506,7 +474,6 @@ 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( @@ -519,7 +486,6 @@ 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( @@ -534,7 +500,6 @@ 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 ''"): @@ -549,7 +514,6 @@ 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( @@ -559,7 +523,6 @@ 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( @@ -569,7 +532,6 @@ 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( @@ -583,7 +545,6 @@ 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( @@ -599,7 +560,6 @@ 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 a6b124a3dc7..7e5ce3f6646 100644 --- a/tests/api_resources/zero_trust/test_risk_scoring.py +++ b/tests/api_resources/zero_trust/test_risk_scoring.py @@ -17,7 +17,6 @@ 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( @@ -26,7 +25,6 @@ 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( @@ -39,7 +37,6 @@ 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( @@ -52,7 +49,6 @@ 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( @@ -67,7 +63,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -82,7 +77,6 @@ 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( @@ -91,7 +85,6 @@ 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( @@ -104,7 +97,6 @@ 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( @@ -119,7 +111,6 @@ 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 ''"): @@ -138,7 +129,6 @@ 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( @@ -147,7 +137,6 @@ 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( @@ -160,7 +149,6 @@ 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( @@ -173,7 +161,6 @@ 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( @@ -188,7 +175,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"): @@ -203,7 +189,6 @@ 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( @@ -212,7 +197,6 @@ 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( @@ -225,7 +209,6 @@ 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( @@ -240,7 +223,6 @@ 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 f1b797fd45a..bf2f97e5ec6 100644 --- a/tests/api_resources/zero_trust/test_seats.py +++ b/tests/api_resources/zero_trust/test_seats.py @@ -17,7 +17,6 @@ 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( @@ -39,7 +38,6 @@ 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( @@ -65,7 +63,6 @@ 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( @@ -93,7 +90,6 @@ 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 ''"): @@ -119,7 +115,6 @@ 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( @@ -141,7 +136,6 @@ 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( @@ -167,7 +161,6 @@ 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( @@ -195,7 +188,6 @@ 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 57a9292c8fc..66667ab0583 100644 --- a/tests/api_resources/zero_trust/test_tunnels.py +++ b/tests/api_resources/zero_trust/test_tunnels.py @@ -25,7 +25,6 @@ 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( @@ -35,7 +34,6 @@ 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( @@ -49,7 +47,6 @@ 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( @@ -65,7 +62,6 @@ 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,7 +71,6 @@ 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( @@ -83,7 +78,6 @@ 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( @@ -102,7 +96,6 @@ 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( @@ -114,7 +107,6 @@ 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( @@ -128,7 +120,6 @@ 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,7 +127,6 @@ 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( @@ -146,7 +136,6 @@ 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( @@ -160,7 +149,6 @@ 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( @@ -176,7 +164,6 @@ 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 ''"): @@ -193,7 +180,6 @@ 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( @@ -202,7 +188,6 @@ 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( @@ -213,7 +198,6 @@ 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( @@ -226,7 +210,6 @@ 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( @@ -241,7 +224,6 @@ 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 ''"): @@ -256,7 +238,6 @@ 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( @@ -265,7 +246,6 @@ 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( @@ -278,7 +258,6 @@ 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( @@ -293,7 +272,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -312,7 +290,6 @@ 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( @@ -322,7 +299,6 @@ 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( @@ -336,7 +312,6 @@ 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( @@ -352,7 +327,6 @@ 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,7 +336,6 @@ 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( @@ -370,7 +343,6 @@ 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( @@ -389,7 +361,6 @@ 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( @@ -401,7 +372,6 @@ 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( @@ -415,7 +385,6 @@ 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 ''"): @@ -423,7 +392,6 @@ 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( @@ -433,7 +401,6 @@ 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( @@ -447,7 +414,6 @@ 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( @@ -463,7 +429,6 @@ 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 ''"): @@ -480,7 +445,6 @@ 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( @@ -489,7 +453,6 @@ 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( @@ -500,7 +463,6 @@ 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( @@ -513,7 +475,6 @@ 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( @@ -528,7 +489,6 @@ 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 ''"): @@ -543,7 +503,6 @@ 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( @@ -552,7 +511,6 @@ 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( @@ -565,7 +523,6 @@ 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( @@ -580,7 +537,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 3b66ce60c1d..a261eef2aad 100644 --- a/tests/api_resources/zero_trust/tunnels/test_configurations.py +++ b/tests/api_resources/zero_trust/tunnels/test_configurations.py @@ -20,7 +20,6 @@ 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( @@ -29,7 +28,6 @@ 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( @@ -138,7 +136,6 @@ 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( @@ -151,7 +148,6 @@ 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( @@ -166,7 +162,6 @@ 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,7 +176,6 @@ 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( @@ -190,7 +184,6 @@ 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( @@ -203,7 +196,6 @@ 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( @@ -218,7 +210,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -237,7 +228,6 @@ 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( @@ -246,7 +236,6 @@ 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( @@ -355,7 +344,6 @@ 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( @@ -368,7 +356,6 @@ 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( @@ -383,7 +370,6 @@ 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,7 +384,6 @@ 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( @@ -407,7 +392,6 @@ 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( @@ -420,7 +404,6 @@ 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( @@ -435,7 +418,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 d7d2ec576f3..8eaf3e9a1ae 100644 --- a/tests/api_resources/zero_trust/tunnels/test_connections.py +++ b/tests/api_resources/zero_trust/tunnels/test_connections.py @@ -20,7 +20,6 @@ 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( @@ -30,7 +29,6 @@ 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( @@ -44,7 +42,6 @@ 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( @@ -60,7 +57,6 @@ 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 ''"): @@ -77,7 +73,6 @@ 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( @@ -86,7 +81,6 @@ 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( @@ -99,7 +93,6 @@ 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( @@ -114,7 +107,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -133,7 +125,6 @@ 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( @@ -143,7 +134,6 @@ 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( @@ -157,7 +147,6 @@ 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( @@ -173,7 +162,6 @@ 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 ''"): @@ -190,7 +178,6 @@ 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( @@ -199,7 +186,6 @@ 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( @@ -212,7 +198,6 @@ 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( @@ -227,7 +212,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 6c9843d9e52..ffd3b01b23b 100644 --- a/tests/api_resources/zero_trust/tunnels/test_connectors.py +++ b/tests/api_resources/zero_trust/tunnels/test_connectors.py @@ -17,7 +17,6 @@ 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( @@ -27,7 +26,6 @@ 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( @@ -41,7 +39,6 @@ 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( @@ -57,7 +54,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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,7 +81,6 @@ 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( @@ -95,7 +90,6 @@ 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( @@ -109,7 +103,6 @@ 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( @@ -125,7 +118,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 4fe9fafa2bf..7679e42dcb8 100644 --- a/tests/api_resources/zero_trust/tunnels/test_management.py +++ b/tests/api_resources/zero_trust/tunnels/test_management.py @@ -17,7 +17,6 @@ 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( @@ -27,7 +26,6 @@ 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( @@ -41,7 +39,6 @@ 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( @@ -57,7 +54,6 @@ 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,7 +74,6 @@ 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( @@ -88,7 +83,6 @@ 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( @@ -102,7 +96,6 @@ 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( @@ -118,7 +111,6 @@ 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 c4535952c3f..4a4ecd88189 100644 --- a/tests/api_resources/zero_trust/tunnels/test_token.py +++ b/tests/api_resources/zero_trust/tunnels/test_token.py @@ -17,7 +17,6 @@ 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( @@ -26,7 +25,6 @@ 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( @@ -39,7 +37,6 @@ 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( @@ -54,7 +51,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -73,7 +69,6 @@ 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( @@ -82,7 +77,6 @@ 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( @@ -95,7 +89,6 @@ 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( @@ -110,7 +103,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 6866ae5e9fc..0a02d5d3923 100644 --- a/tests/api_resources/zones/settings/test_advanced_ddos.py +++ b/tests/api_resources/zones/settings/test_advanced_ddos.py @@ -17,7 +17,6 @@ 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( @@ -25,7 +24,6 @@ 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( @@ -37,7 +35,6 @@ 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( @@ -51,7 +48,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -63,7 +59,6 @@ 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( @@ -71,7 +66,6 @@ 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( @@ -83,7 +77,6 @@ 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( @@ -97,7 +90,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 8773d50c892..3f2165813c2 100644 --- a/tests/api_resources/zones/settings/test_always_online.py +++ b/tests/api_resources/zones/settings/test_always_online.py @@ -17,7 +17,6 @@ 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( @@ -26,7 +25,6 @@ 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( @@ -39,7 +37,6 @@ 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( @@ -54,7 +51,6 @@ 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,7 +59,6 @@ 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( @@ -71,7 +66,6 @@ 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( @@ -83,7 +77,6 @@ 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( @@ -97,7 +90,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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,7 +101,6 @@ 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( @@ -118,7 +109,6 @@ 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( @@ -131,7 +121,6 @@ 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( @@ -146,7 +135,6 @@ 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 ''"): @@ -155,7 +143,6 @@ 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( @@ -163,7 +150,6 @@ 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( @@ -175,7 +161,6 @@ 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( @@ -189,7 +174,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 31a42cb7de7..3f800f69e91 100644 --- a/tests/api_resources/zones/settings/test_always_use_https.py +++ b/tests/api_resources/zones/settings/test_always_use_https.py @@ -17,7 +17,6 @@ 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( @@ -26,7 +25,6 @@ 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( @@ -39,7 +37,6 @@ 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( @@ -54,7 +51,6 @@ 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,7 +59,6 @@ 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( @@ -71,7 +66,6 @@ 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( @@ -83,7 +77,6 @@ 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( @@ -97,7 +90,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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,7 +101,6 @@ 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( @@ -118,7 +109,6 @@ 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( @@ -131,7 +121,6 @@ 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( @@ -146,7 +135,6 @@ 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 ''"): @@ -155,7 +143,6 @@ 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( @@ -163,7 +150,6 @@ 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( @@ -175,7 +161,6 @@ 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( @@ -189,7 +174,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 4601468bab3..727e05ba67a 100644 --- a/tests/api_resources/zones/settings/test_automatic_https_rewrites.py +++ b/tests/api_resources/zones/settings/test_automatic_https_rewrites.py @@ -17,7 +17,6 @@ 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( @@ -26,7 +25,6 @@ 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( @@ -39,7 +37,6 @@ 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( @@ -54,7 +51,6 @@ 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,7 +59,6 @@ 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( @@ -71,7 +66,6 @@ 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( @@ -83,7 +77,6 @@ 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( @@ -97,7 +90,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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,7 +101,6 @@ 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( @@ -118,7 +109,6 @@ 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( @@ -131,7 +121,6 @@ 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( @@ -146,7 +135,6 @@ 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 ''"): @@ -155,7 +143,6 @@ 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( @@ -163,7 +150,6 @@ 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( @@ -175,7 +161,6 @@ 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( @@ -189,7 +174,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 d9b945e5762..f642c020a35 100644 --- a/tests/api_resources/zones/settings/test_automatic_platform_optimization.py +++ b/tests/api_resources/zones/settings/test_automatic_platform_optimization.py @@ -17,7 +17,6 @@ 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( @@ -33,7 +32,6 @@ 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( @@ -53,7 +51,6 @@ 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( @@ -77,7 +74,6 @@ 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 ''"): @@ -93,7 +89,6 @@ 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( @@ -101,7 +96,6 @@ 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( @@ -113,7 +107,6 @@ 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( @@ -129,7 +122,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -141,7 +133,6 @@ 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( @@ -157,7 +148,6 @@ 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( @@ -177,7 +167,6 @@ 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( @@ -201,7 +190,6 @@ 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 ''"): @@ -217,7 +205,6 @@ 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( @@ -225,7 +212,6 @@ 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( @@ -237,7 +223,6 @@ 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( @@ -253,7 +238,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 98ac6368896..692acd2ff7f 100644 --- a/tests/api_resources/zones/settings/test_brotli.py +++ b/tests/api_resources/zones/settings/test_brotli.py @@ -17,7 +17,6 @@ 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( @@ -26,7 +25,6 @@ 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( @@ -39,7 +37,6 @@ 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( @@ -54,7 +51,6 @@ 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,7 +59,6 @@ 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( @@ -71,7 +66,6 @@ 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( @@ -83,7 +77,6 @@ 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( @@ -97,7 +90,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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,7 +101,6 @@ 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( @@ -118,7 +109,6 @@ 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( @@ -131,7 +121,6 @@ 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( @@ -146,7 +135,6 @@ 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 ''"): @@ -155,7 +143,6 @@ 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( @@ -163,7 +150,6 @@ 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( @@ -175,7 +161,6 @@ 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( @@ -189,7 +174,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 c971841241f..b8bdfd7d4f3 100644 --- a/tests/api_resources/zones/settings/test_browser_cache_ttl.py +++ b/tests/api_resources/zones/settings/test_browser_cache_ttl.py @@ -17,7 +17,6 @@ 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( @@ -26,7 +25,6 @@ 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( @@ -39,7 +37,6 @@ 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( @@ -54,7 +51,6 @@ 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,7 +59,6 @@ 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( @@ -71,7 +66,6 @@ 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( @@ -83,7 +77,6 @@ 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( @@ -97,7 +90,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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,7 +101,6 @@ 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( @@ -118,7 +109,6 @@ 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( @@ -131,7 +121,6 @@ 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( @@ -146,7 +135,6 @@ 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 ''"): @@ -155,7 +143,6 @@ 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( @@ -163,7 +150,6 @@ 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( @@ -175,7 +161,6 @@ 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( @@ -189,7 +174,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 e025959af30..4f783e9ffb4 100644 --- a/tests/api_resources/zones/settings/test_browser_check.py +++ b/tests/api_resources/zones/settings/test_browser_check.py @@ -17,7 +17,6 @@ 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( @@ -26,7 +25,6 @@ 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( @@ -39,7 +37,6 @@ 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( @@ -54,7 +51,6 @@ 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,7 +59,6 @@ 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( @@ -71,7 +66,6 @@ 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( @@ -83,7 +77,6 @@ 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( @@ -97,7 +90,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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,7 +101,6 @@ 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( @@ -118,7 +109,6 @@ 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( @@ -131,7 +121,6 @@ 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( @@ -146,7 +135,6 @@ 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 ''"): @@ -155,7 +143,6 @@ 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( @@ -163,7 +150,6 @@ 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( @@ -175,7 +161,6 @@ 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( @@ -189,7 +174,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 cc8808120e4..e9b5c0b6674 100644 --- a/tests/api_resources/zones/settings/test_cache_level.py +++ b/tests/api_resources/zones/settings/test_cache_level.py @@ -17,7 +17,6 @@ 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( @@ -26,7 +25,6 @@ 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( @@ -39,7 +37,6 @@ 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( @@ -54,7 +51,6 @@ 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,7 +59,6 @@ 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( @@ -71,7 +66,6 @@ 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( @@ -83,7 +77,6 @@ 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( @@ -97,7 +90,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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,7 +101,6 @@ 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( @@ -118,7 +109,6 @@ 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( @@ -131,7 +121,6 @@ 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( @@ -146,7 +135,6 @@ 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 ''"): @@ -155,7 +143,6 @@ 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( @@ -163,7 +150,6 @@ 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( @@ -175,7 +161,6 @@ 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( @@ -189,7 +174,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 b5074a454b7..2a1b284b755 100644 --- a/tests/api_resources/zones/settings/test_challenge_ttl.py +++ b/tests/api_resources/zones/settings/test_challenge_ttl.py @@ -17,7 +17,6 @@ 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( @@ -26,7 +25,6 @@ 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( @@ -39,7 +37,6 @@ 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( @@ -54,7 +51,6 @@ 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,7 +59,6 @@ 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( @@ -71,7 +66,6 @@ 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( @@ -83,7 +77,6 @@ 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( @@ -97,7 +90,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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,7 +101,6 @@ 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( @@ -118,7 +109,6 @@ 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( @@ -131,7 +121,6 @@ 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( @@ -146,7 +135,6 @@ 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 ''"): @@ -155,7 +143,6 @@ 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( @@ -163,7 +150,6 @@ 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( @@ -175,7 +161,6 @@ 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( @@ -189,7 +174,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 5faf738d89c..369f2870999 100644 --- a/tests/api_resources/zones/settings/test_ciphers.py +++ b/tests/api_resources/zones/settings/test_ciphers.py @@ -17,7 +17,6 @@ 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( @@ -26,7 +25,6 @@ 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( @@ -39,7 +37,6 @@ 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( @@ -54,7 +51,6 @@ 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,7 +59,6 @@ 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( @@ -71,7 +66,6 @@ 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( @@ -83,7 +77,6 @@ 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( @@ -97,7 +90,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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,7 +101,6 @@ 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( @@ -118,7 +109,6 @@ 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( @@ -131,7 +121,6 @@ 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( @@ -146,7 +135,6 @@ 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 ''"): @@ -155,7 +143,6 @@ 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( @@ -163,7 +150,6 @@ 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( @@ -175,7 +161,6 @@ 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( @@ -189,7 +174,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 3255e5c314b..c0dcd89d40f 100644 --- a/tests/api_resources/zones/settings/test_development_mode.py +++ b/tests/api_resources/zones/settings/test_development_mode.py @@ -17,7 +17,6 @@ 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( @@ -26,7 +25,6 @@ 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( @@ -39,7 +37,6 @@ 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( @@ -54,7 +51,6 @@ 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,7 +59,6 @@ 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( @@ -71,7 +66,6 @@ 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( @@ -83,7 +77,6 @@ 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( @@ -97,7 +90,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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,7 +101,6 @@ 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( @@ -118,7 +109,6 @@ 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( @@ -131,7 +121,6 @@ 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( @@ -146,7 +135,6 @@ 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 ''"): @@ -155,7 +143,6 @@ 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( @@ -163,7 +150,6 @@ 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( @@ -175,7 +161,6 @@ 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( @@ -189,7 +174,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 201428cdcc3..a7979ce0e77 100644 --- a/tests/api_resources/zones/settings/test_early_hints.py +++ b/tests/api_resources/zones/settings/test_early_hints.py @@ -17,7 +17,6 @@ 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( @@ -26,7 +25,6 @@ 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( @@ -39,7 +37,6 @@ 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( @@ -54,7 +51,6 @@ 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,7 +59,6 @@ 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( @@ -71,7 +66,6 @@ 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( @@ -83,7 +77,6 @@ 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( @@ -97,7 +90,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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,7 +101,6 @@ 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( @@ -118,7 +109,6 @@ 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( @@ -131,7 +121,6 @@ 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( @@ -146,7 +135,6 @@ 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 ''"): @@ -155,7 +143,6 @@ 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( @@ -163,7 +150,6 @@ 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( @@ -175,7 +161,6 @@ 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( @@ -189,7 +174,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 da0b23d3c3f..c9ef6769ae1 100644 --- a/tests/api_resources/zones/settings/test_email_obfuscation.py +++ b/tests/api_resources/zones/settings/test_email_obfuscation.py @@ -17,7 +17,6 @@ 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( @@ -26,7 +25,6 @@ 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( @@ -39,7 +37,6 @@ 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( @@ -54,7 +51,6 @@ 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,7 +59,6 @@ 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( @@ -71,7 +66,6 @@ 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( @@ -83,7 +77,6 @@ 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( @@ -97,7 +90,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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,7 +101,6 @@ 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( @@ -118,7 +109,6 @@ 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( @@ -131,7 +121,6 @@ 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( @@ -146,7 +135,6 @@ 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 ''"): @@ -155,7 +143,6 @@ 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( @@ -163,7 +150,6 @@ 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( @@ -175,7 +161,6 @@ 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( @@ -189,7 +174,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 962ef1d1ef2..d80ff7b61db 100644 --- a/tests/api_resources/zones/settings/test_font_settings.py +++ b/tests/api_resources/zones/settings/test_font_settings.py @@ -17,7 +17,6 @@ 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( @@ -26,7 +25,6 @@ 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( @@ -39,7 +37,6 @@ 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( @@ -54,7 +51,6 @@ 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,7 +59,6 @@ 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( @@ -71,7 +66,6 @@ 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( @@ -83,7 +77,6 @@ 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( @@ -97,7 +90,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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,7 +101,6 @@ 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( @@ -118,7 +109,6 @@ 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( @@ -131,7 +121,6 @@ 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( @@ -146,7 +135,6 @@ 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 ''"): @@ -155,7 +143,6 @@ 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( @@ -163,7 +150,6 @@ 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( @@ -175,7 +161,6 @@ 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( @@ -189,7 +174,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ec70ca9633e..2500447e342 100644 --- a/tests/api_resources/zones/settings/test_h2_prioritization.py +++ b/tests/api_resources/zones/settings/test_h2_prioritization.py @@ -17,7 +17,6 @@ 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( @@ -29,7 +28,6 @@ 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( @@ -41,7 +39,6 @@ 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( @@ -57,7 +54,6 @@ 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( @@ -75,7 +71,6 @@ 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 ''"): @@ -87,7 +82,6 @@ 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( @@ -95,7 +89,6 @@ 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( @@ -107,7 +100,6 @@ 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( @@ -121,7 +113,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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,7 +124,6 @@ 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( @@ -145,7 +135,6 @@ 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( @@ -157,7 +146,6 @@ 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( @@ -173,7 +161,6 @@ 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( @@ -191,7 +178,6 @@ 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 ''"): @@ -203,7 +189,6 @@ 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( @@ -211,7 +196,6 @@ 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( @@ -223,7 +207,6 @@ 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( @@ -237,7 +220,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 59aafb76c7c..8c077ae9b8f 100644 --- a/tests/api_resources/zones/settings/test_hotlink_protection.py +++ b/tests/api_resources/zones/settings/test_hotlink_protection.py @@ -17,7 +17,6 @@ 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( @@ -26,7 +25,6 @@ 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( @@ -39,7 +37,6 @@ 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( @@ -54,7 +51,6 @@ 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,7 +59,6 @@ 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( @@ -71,7 +66,6 @@ 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( @@ -83,7 +77,6 @@ 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( @@ -97,7 +90,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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,7 +101,6 @@ 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( @@ -118,7 +109,6 @@ 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( @@ -131,7 +121,6 @@ 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( @@ -146,7 +135,6 @@ 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 ''"): @@ -155,7 +143,6 @@ 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( @@ -163,7 +150,6 @@ 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( @@ -175,7 +161,6 @@ 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( @@ -189,7 +174,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 6a0f922bd20..26aa47b9428 100644 --- a/tests/api_resources/zones/settings/test_http2.py +++ b/tests/api_resources/zones/settings/test_http2.py @@ -17,7 +17,6 @@ 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( @@ -26,7 +25,6 @@ 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( @@ -39,7 +37,6 @@ 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( @@ -54,7 +51,6 @@ 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,7 +59,6 @@ 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( @@ -71,7 +66,6 @@ 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( @@ -83,7 +77,6 @@ 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( @@ -97,7 +90,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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,7 +101,6 @@ 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( @@ -118,7 +109,6 @@ 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( @@ -131,7 +121,6 @@ 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( @@ -146,7 +135,6 @@ 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 ''"): @@ -155,7 +143,6 @@ 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( @@ -163,7 +150,6 @@ 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( @@ -175,7 +161,6 @@ 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( @@ -189,7 +174,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 258a55d1365..e30a60a4181 100644 --- a/tests/api_resources/zones/settings/test_http3.py +++ b/tests/api_resources/zones/settings/test_http3.py @@ -17,7 +17,6 @@ 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( @@ -26,7 +25,6 @@ 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( @@ -39,7 +37,6 @@ 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( @@ -54,7 +51,6 @@ 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,7 +59,6 @@ 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( @@ -71,7 +66,6 @@ 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( @@ -83,7 +77,6 @@ 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( @@ -97,7 +90,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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,7 +101,6 @@ 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( @@ -118,7 +109,6 @@ 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( @@ -131,7 +121,6 @@ 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( @@ -146,7 +135,6 @@ 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 ''"): @@ -155,7 +143,6 @@ 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( @@ -163,7 +150,6 @@ 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( @@ -175,7 +161,6 @@ 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( @@ -189,7 +174,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 c87a4190713..6d81d767869 100644 --- a/tests/api_resources/zones/settings/test_image_resizing.py +++ b/tests/api_resources/zones/settings/test_image_resizing.py @@ -17,7 +17,6 @@ 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( @@ -29,7 +28,6 @@ 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( @@ -41,7 +39,6 @@ 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( @@ -57,7 +54,6 @@ 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( @@ -75,7 +71,6 @@ 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 ''"): @@ -87,7 +82,6 @@ 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( @@ -95,7 +89,6 @@ 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( @@ -107,7 +100,6 @@ 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( @@ -121,7 +113,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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,7 +124,6 @@ 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( @@ -145,7 +135,6 @@ 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( @@ -157,7 +146,6 @@ 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( @@ -173,7 +161,6 @@ 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( @@ -191,7 +178,6 @@ 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 ''"): @@ -203,7 +189,6 @@ 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( @@ -211,7 +196,6 @@ 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( @@ -223,7 +207,6 @@ 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( @@ -237,7 +220,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 090494ed084..20ff1c44111 100644 --- a/tests/api_resources/zones/settings/test_ip_geolocation.py +++ b/tests/api_resources/zones/settings/test_ip_geolocation.py @@ -17,7 +17,6 @@ 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( @@ -26,7 +25,6 @@ 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( @@ -39,7 +37,6 @@ 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( @@ -54,7 +51,6 @@ 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,7 +59,6 @@ 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( @@ -71,7 +66,6 @@ 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( @@ -83,7 +77,6 @@ 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( @@ -97,7 +90,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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,7 +101,6 @@ 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( @@ -118,7 +109,6 @@ 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( @@ -131,7 +121,6 @@ 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( @@ -146,7 +135,6 @@ 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 ''"): @@ -155,7 +143,6 @@ 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( @@ -163,7 +150,6 @@ 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( @@ -175,7 +161,6 @@ 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( @@ -189,7 +174,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 9e5c0651d2c..f2733ddfc77 100644 --- a/tests/api_resources/zones/settings/test_ipv6.py +++ b/tests/api_resources/zones/settings/test_ipv6.py @@ -17,7 +17,6 @@ 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( @@ -26,7 +25,6 @@ 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( @@ -39,7 +37,6 @@ 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( @@ -54,7 +51,6 @@ 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,7 +59,6 @@ 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( @@ -71,7 +66,6 @@ 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( @@ -83,7 +77,6 @@ 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( @@ -97,7 +90,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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,7 +101,6 @@ 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( @@ -118,7 +109,6 @@ 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( @@ -131,7 +121,6 @@ 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( @@ -146,7 +135,6 @@ 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 ''"): @@ -155,7 +143,6 @@ 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( @@ -163,7 +150,6 @@ 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( @@ -175,7 +161,6 @@ 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( @@ -189,7 +174,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 e9667e3d696..043a46e0660 100644 --- a/tests/api_resources/zones/settings/test_min_tls_version.py +++ b/tests/api_resources/zones/settings/test_min_tls_version.py @@ -17,7 +17,6 @@ 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( @@ -26,7 +25,6 @@ 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( @@ -39,7 +37,6 @@ 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( @@ -54,7 +51,6 @@ 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,7 +59,6 @@ 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( @@ -71,7 +66,6 @@ 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( @@ -83,7 +77,6 @@ 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( @@ -97,7 +90,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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,7 +101,6 @@ 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( @@ -118,7 +109,6 @@ 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( @@ -131,7 +121,6 @@ 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( @@ -146,7 +135,6 @@ 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 ''"): @@ -155,7 +143,6 @@ 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( @@ -163,7 +150,6 @@ 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( @@ -175,7 +161,6 @@ 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( @@ -189,7 +174,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 fbfdffb16a7..fc2feb6e152 100644 --- a/tests/api_resources/zones/settings/test_minify.py +++ b/tests/api_resources/zones/settings/test_minify.py @@ -17,7 +17,6 @@ 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( @@ -26,7 +25,6 @@ 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( @@ -39,7 +37,6 @@ 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( @@ -52,7 +49,6 @@ 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( @@ -67,7 +63,6 @@ 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 ''"): @@ -76,7 +71,6 @@ 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( @@ -84,7 +78,6 @@ 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( @@ -96,7 +89,6 @@ 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( @@ -110,7 +102,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -122,7 +113,6 @@ 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( @@ -131,7 +121,6 @@ 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( @@ -144,7 +133,6 @@ 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( @@ -157,7 +145,6 @@ 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( @@ -172,7 +159,6 @@ 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 ''"): @@ -181,7 +167,6 @@ 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( @@ -189,7 +174,6 @@ 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( @@ -201,7 +185,6 @@ 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( @@ -215,7 +198,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 54af1256547..57f995c5ca0 100644 --- a/tests/api_resources/zones/settings/test_mirage.py +++ b/tests/api_resources/zones/settings/test_mirage.py @@ -17,7 +17,6 @@ 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( @@ -26,7 +25,6 @@ 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( @@ -39,7 +37,6 @@ 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( @@ -54,7 +51,6 @@ 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,7 +59,6 @@ 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( @@ -71,7 +66,6 @@ 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( @@ -83,7 +77,6 @@ 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( @@ -97,7 +90,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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,7 +101,6 @@ 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( @@ -118,7 +109,6 @@ 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( @@ -131,7 +121,6 @@ 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( @@ -146,7 +135,6 @@ 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 ''"): @@ -155,7 +143,6 @@ 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( @@ -163,7 +150,6 @@ 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( @@ -175,7 +161,6 @@ 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( @@ -189,7 +174,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 da662f3d23f..b405bcd0582 100644 --- a/tests/api_resources/zones/settings/test_mobile_redirect.py +++ b/tests/api_resources/zones/settings/test_mobile_redirect.py @@ -17,7 +17,6 @@ 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( @@ -26,7 +25,6 @@ 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( @@ -39,7 +37,6 @@ 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( @@ -52,7 +49,6 @@ 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( @@ -67,7 +63,6 @@ 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 ''"): @@ -76,7 +71,6 @@ 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( @@ -84,7 +78,6 @@ 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( @@ -96,7 +89,6 @@ 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( @@ -110,7 +102,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -122,7 +113,6 @@ 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( @@ -131,7 +121,6 @@ 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( @@ -144,7 +133,6 @@ 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( @@ -157,7 +145,6 @@ 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( @@ -172,7 +159,6 @@ 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 ''"): @@ -181,7 +167,6 @@ 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( @@ -189,7 +174,6 @@ 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( @@ -201,7 +185,6 @@ 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( @@ -215,7 +198,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 06df1c52474..e0e5f831a8f 100644 --- a/tests/api_resources/zones/settings/test_nel.py +++ b/tests/api_resources/zones/settings/test_nel.py @@ -17,7 +17,6 @@ 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( @@ -29,7 +28,6 @@ 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( @@ -41,7 +39,6 @@ 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( @@ -57,7 +54,6 @@ 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( @@ -75,7 +71,6 @@ 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 ''"): @@ -87,7 +82,6 @@ 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( @@ -95,7 +89,6 @@ 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( @@ -107,7 +100,6 @@ 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( @@ -121,7 +113,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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,7 +124,6 @@ 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( @@ -145,7 +135,6 @@ 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( @@ -157,7 +146,6 @@ 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( @@ -173,7 +161,6 @@ 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( @@ -191,7 +178,6 @@ 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 ''"): @@ -203,7 +189,6 @@ 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( @@ -211,7 +196,6 @@ 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( @@ -223,7 +207,6 @@ 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( @@ -237,7 +220,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 de0952f3313..41f4ff13934 100644 --- a/tests/api_resources/zones/settings/test_opportunistic_encryption.py +++ b/tests/api_resources/zones/settings/test_opportunistic_encryption.py @@ -17,7 +17,6 @@ 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( @@ -26,7 +25,6 @@ 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( @@ -39,7 +37,6 @@ 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( @@ -54,7 +51,6 @@ 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,7 +59,6 @@ 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( @@ -71,7 +66,6 @@ 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( @@ -83,7 +77,6 @@ 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( @@ -97,7 +90,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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,7 +101,6 @@ 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( @@ -118,7 +109,6 @@ 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( @@ -131,7 +121,6 @@ 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( @@ -146,7 +135,6 @@ 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 ''"): @@ -155,7 +143,6 @@ 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( @@ -163,7 +150,6 @@ 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( @@ -175,7 +161,6 @@ 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( @@ -189,7 +174,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 95d177adbc8..726c7245b59 100644 --- a/tests/api_resources/zones/settings/test_opportunistic_onion.py +++ b/tests/api_resources/zones/settings/test_opportunistic_onion.py @@ -17,7 +17,6 @@ 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( @@ -26,7 +25,6 @@ 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( @@ -39,7 +37,6 @@ 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( @@ -54,7 +51,6 @@ 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,7 +59,6 @@ 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( @@ -71,7 +66,6 @@ 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( @@ -83,7 +77,6 @@ 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( @@ -97,7 +90,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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,7 +101,6 @@ 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( @@ -118,7 +109,6 @@ 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( @@ -131,7 +121,6 @@ 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( @@ -146,7 +135,6 @@ 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 ''"): @@ -155,7 +143,6 @@ 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( @@ -163,7 +150,6 @@ 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( @@ -175,7 +161,6 @@ 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( @@ -189,7 +174,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 641ff393897..c96a6653f98 100644 --- a/tests/api_resources/zones/settings/test_orange_to_orange.py +++ b/tests/api_resources/zones/settings/test_orange_to_orange.py @@ -17,7 +17,6 @@ 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( @@ -29,7 +28,6 @@ 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( @@ -41,7 +39,6 @@ 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( @@ -57,7 +54,6 @@ 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( @@ -75,7 +71,6 @@ 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 ''"): @@ -87,7 +82,6 @@ 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( @@ -95,7 +89,6 @@ 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( @@ -107,7 +100,6 @@ 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( @@ -121,7 +113,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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,7 +124,6 @@ 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( @@ -145,7 +135,6 @@ 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( @@ -157,7 +146,6 @@ 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( @@ -173,7 +161,6 @@ 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( @@ -191,7 +178,6 @@ 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 ''"): @@ -203,7 +189,6 @@ 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( @@ -211,7 +196,6 @@ 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( @@ -223,7 +207,6 @@ 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( @@ -237,7 +220,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 0f8db392e89..2b239031bc4 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,7 +17,6 @@ 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( @@ -26,7 +25,6 @@ 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( @@ -39,7 +37,6 @@ 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( @@ -54,7 +51,6 @@ 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,7 +59,6 @@ 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( @@ -71,7 +66,6 @@ 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( @@ -83,7 +77,6 @@ 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( @@ -97,7 +90,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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,7 +101,6 @@ 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( @@ -118,7 +109,6 @@ 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( @@ -131,7 +121,6 @@ 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( @@ -146,7 +135,6 @@ 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 ''"): @@ -155,7 +143,6 @@ 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( @@ -163,7 +150,6 @@ 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( @@ -175,7 +161,6 @@ 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( @@ -189,7 +174,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 68024c905a6..d8f14784104 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,7 +20,6 @@ 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( @@ -29,7 +28,6 @@ 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( @@ -42,7 +40,6 @@ 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( @@ -57,7 +54,6 @@ 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,7 +62,6 @@ 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( @@ -74,7 +69,6 @@ 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( @@ -86,7 +80,6 @@ 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( @@ -100,7 +93,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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,7 +104,6 @@ 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( @@ -121,7 +112,6 @@ 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( @@ -134,7 +124,6 @@ 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( @@ -149,7 +138,6 @@ 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 ''"): @@ -158,7 +146,6 @@ 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( @@ -166,7 +153,6 @@ 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( @@ -178,7 +164,6 @@ 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( @@ -192,7 +177,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 e2fc5942cb9..8b465821171 100644 --- a/tests/api_resources/zones/settings/test_polish.py +++ b/tests/api_resources/zones/settings/test_polish.py @@ -17,7 +17,6 @@ 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( @@ -29,7 +28,6 @@ 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( @@ -41,7 +39,6 @@ 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( @@ -57,7 +54,6 @@ 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( @@ -75,7 +71,6 @@ 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 ''"): @@ -87,7 +82,6 @@ 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( @@ -95,7 +89,6 @@ 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( @@ -107,7 +100,6 @@ 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( @@ -121,7 +113,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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,7 +124,6 @@ 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( @@ -145,7 +135,6 @@ 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( @@ -157,7 +146,6 @@ 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( @@ -173,7 +161,6 @@ 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( @@ -191,7 +178,6 @@ 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 ''"): @@ -203,7 +189,6 @@ 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( @@ -211,7 +196,6 @@ 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( @@ -223,7 +207,6 @@ 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( @@ -237,7 +220,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ad818f62ba6..274077451cc 100644 --- a/tests/api_resources/zones/settings/test_prefetch_preload.py +++ b/tests/api_resources/zones/settings/test_prefetch_preload.py @@ -17,7 +17,6 @@ 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( @@ -26,7 +25,6 @@ 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( @@ -39,7 +37,6 @@ 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( @@ -54,7 +51,6 @@ 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,7 +59,6 @@ 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( @@ -71,7 +66,6 @@ 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( @@ -83,7 +77,6 @@ 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( @@ -97,7 +90,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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,7 +101,6 @@ 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( @@ -118,7 +109,6 @@ 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( @@ -131,7 +121,6 @@ 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( @@ -146,7 +135,6 @@ 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 ''"): @@ -155,7 +143,6 @@ 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( @@ -163,7 +150,6 @@ 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( @@ -175,7 +161,6 @@ 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( @@ -189,7 +174,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 04f4c151d2e..0d77c45109d 100644 --- a/tests/api_resources/zones/settings/test_proxy_read_timeout.py +++ b/tests/api_resources/zones/settings/test_proxy_read_timeout.py @@ -17,7 +17,6 @@ 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( @@ -29,7 +28,6 @@ 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( @@ -41,7 +39,6 @@ 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( @@ -57,7 +54,6 @@ 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( @@ -75,7 +71,6 @@ 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 ''"): @@ -87,7 +82,6 @@ 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( @@ -95,7 +89,6 @@ 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( @@ -107,7 +100,6 @@ 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( @@ -121,7 +113,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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,7 +124,6 @@ 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( @@ -145,7 +135,6 @@ 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( @@ -157,7 +146,6 @@ 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( @@ -173,7 +161,6 @@ 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( @@ -191,7 +178,6 @@ 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 ''"): @@ -203,7 +189,6 @@ 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( @@ -211,7 +196,6 @@ 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( @@ -223,7 +207,6 @@ 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( @@ -237,7 +220,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 a777c5c3bd7..cec2b5def7d 100644 --- a/tests/api_resources/zones/settings/test_pseudo_ipv4.py +++ b/tests/api_resources/zones/settings/test_pseudo_ipv4.py @@ -17,7 +17,6 @@ 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( @@ -26,7 +25,6 @@ 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( @@ -39,7 +37,6 @@ 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( @@ -54,7 +51,6 @@ 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,7 +59,6 @@ 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( @@ -71,7 +66,6 @@ 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( @@ -83,7 +77,6 @@ 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( @@ -97,7 +90,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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,7 +101,6 @@ 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( @@ -118,7 +109,6 @@ 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( @@ -131,7 +121,6 @@ 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( @@ -146,7 +135,6 @@ 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 ''"): @@ -155,7 +143,6 @@ 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( @@ -163,7 +150,6 @@ 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( @@ -175,7 +161,6 @@ 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( @@ -189,7 +174,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 c41a364275a..9fd7a863594 100644 --- a/tests/api_resources/zones/settings/test_response_buffering.py +++ b/tests/api_resources/zones/settings/test_response_buffering.py @@ -17,7 +17,6 @@ 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( @@ -26,7 +25,6 @@ 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( @@ -39,7 +37,6 @@ 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( @@ -54,7 +51,6 @@ 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,7 +59,6 @@ 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( @@ -71,7 +66,6 @@ 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( @@ -83,7 +77,6 @@ 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( @@ -97,7 +90,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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,7 +101,6 @@ 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( @@ -118,7 +109,6 @@ 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( @@ -131,7 +121,6 @@ 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( @@ -146,7 +135,6 @@ 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 ''"): @@ -155,7 +143,6 @@ 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( @@ -163,7 +150,6 @@ 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( @@ -175,7 +161,6 @@ 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( @@ -189,7 +174,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 353098a9e62..1cf85e80da2 100644 --- a/tests/api_resources/zones/settings/test_rocket_loader.py +++ b/tests/api_resources/zones/settings/test_rocket_loader.py @@ -17,7 +17,6 @@ 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( @@ -29,7 +28,6 @@ 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( @@ -41,7 +39,6 @@ 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( @@ -57,7 +54,6 @@ 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( @@ -75,7 +71,6 @@ 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 ''"): @@ -87,7 +82,6 @@ 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( @@ -95,7 +89,6 @@ 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( @@ -107,7 +100,6 @@ 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( @@ -121,7 +113,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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,7 +124,6 @@ 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( @@ -145,7 +135,6 @@ 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( @@ -157,7 +146,6 @@ 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( @@ -173,7 +161,6 @@ 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( @@ -191,7 +178,6 @@ 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 ''"): @@ -203,7 +189,6 @@ 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( @@ -211,7 +196,6 @@ 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( @@ -223,7 +207,6 @@ 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( @@ -237,7 +220,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 48477c873b9..c6b2a4ca32d 100644 --- a/tests/api_resources/zones/settings/test_security_headers.py +++ b/tests/api_resources/zones/settings/test_security_headers.py @@ -17,7 +17,6 @@ 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( @@ -26,7 +25,6 @@ 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( @@ -42,7 +40,6 @@ 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( @@ -55,7 +52,6 @@ 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( @@ -70,7 +66,6 @@ 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 ''"): @@ -79,7 +74,6 @@ 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( @@ -87,7 +81,6 @@ 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( @@ -99,7 +92,6 @@ 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( @@ -113,7 +105,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -125,7 +116,6 @@ 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( @@ -134,7 +124,6 @@ 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( @@ -150,7 +139,6 @@ 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( @@ -163,7 +151,6 @@ 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( @@ -178,7 +165,6 @@ 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 ''"): @@ -187,7 +173,6 @@ 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( @@ -195,7 +180,6 @@ 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( @@ -207,7 +191,6 @@ 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( @@ -221,7 +204,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 2ea94451ba1..4fcd8c7f760 100644 --- a/tests/api_resources/zones/settings/test_security_level.py +++ b/tests/api_resources/zones/settings/test_security_level.py @@ -17,7 +17,6 @@ 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( @@ -26,7 +25,6 @@ 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( @@ -39,7 +37,6 @@ 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( @@ -54,7 +51,6 @@ 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,7 +59,6 @@ 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( @@ -71,7 +66,6 @@ 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( @@ -83,7 +77,6 @@ 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( @@ -97,7 +90,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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,7 +101,6 @@ 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( @@ -118,7 +109,6 @@ 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( @@ -131,7 +121,6 @@ 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( @@ -146,7 +135,6 @@ 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 ''"): @@ -155,7 +143,6 @@ 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( @@ -163,7 +150,6 @@ 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( @@ -175,7 +161,6 @@ 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( @@ -189,7 +174,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ee818f4662b..f57a4aa6685 100644 --- a/tests/api_resources/zones/settings/test_server_side_excludes.py +++ b/tests/api_resources/zones/settings/test_server_side_excludes.py @@ -17,7 +17,6 @@ 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( @@ -26,7 +25,6 @@ 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( @@ -39,7 +37,6 @@ 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( @@ -54,7 +51,6 @@ 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,7 +59,6 @@ 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( @@ -71,7 +66,6 @@ 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( @@ -83,7 +77,6 @@ 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( @@ -97,7 +90,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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,7 +101,6 @@ 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( @@ -118,7 +109,6 @@ 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( @@ -131,7 +121,6 @@ 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( @@ -146,7 +135,6 @@ 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 ''"): @@ -155,7 +143,6 @@ 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( @@ -163,7 +150,6 @@ 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( @@ -175,7 +161,6 @@ 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( @@ -189,7 +174,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 b91c19c9e30..99e3d2e9bcf 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,7 +17,6 @@ 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( @@ -26,7 +25,6 @@ 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( @@ -39,7 +37,6 @@ 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( @@ -54,7 +51,6 @@ 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,7 +59,6 @@ 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( @@ -71,7 +66,6 @@ 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( @@ -83,7 +77,6 @@ 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( @@ -97,7 +90,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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,7 +101,6 @@ 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( @@ -118,7 +109,6 @@ 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( @@ -131,7 +121,6 @@ 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( @@ -146,7 +135,6 @@ 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 ''"): @@ -155,7 +143,6 @@ 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( @@ -163,7 +150,6 @@ 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( @@ -175,7 +161,6 @@ 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( @@ -189,7 +174,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 e749d573b71..812f91087f4 100644 --- a/tests/api_resources/zones/settings/test_ssl.py +++ b/tests/api_resources/zones/settings/test_ssl.py @@ -17,7 +17,6 @@ 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( @@ -26,7 +25,6 @@ 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( @@ -39,7 +37,6 @@ 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( @@ -54,7 +51,6 @@ 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,7 +59,6 @@ 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( @@ -71,7 +66,6 @@ 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( @@ -83,7 +77,6 @@ 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( @@ -97,7 +90,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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,7 +101,6 @@ 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( @@ -118,7 +109,6 @@ 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( @@ -131,7 +121,6 @@ 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( @@ -146,7 +135,6 @@ 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 ''"): @@ -155,7 +143,6 @@ 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( @@ -163,7 +150,6 @@ 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( @@ -175,7 +161,6 @@ 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( @@ -189,7 +174,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 908b7e922cc..ecda7d7ddff 100644 --- a/tests/api_resources/zones/settings/test_ssl_recommender.py +++ b/tests/api_resources/zones/settings/test_ssl_recommender.py @@ -17,7 +17,6 @@ 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( @@ -26,7 +25,6 @@ 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( @@ -38,7 +36,6 @@ 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( @@ -51,7 +48,6 @@ 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( @@ -66,7 +62,6 @@ 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 ''"): @@ -75,7 +70,6 @@ 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( @@ -83,7 +77,6 @@ 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( @@ -95,7 +88,6 @@ 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( @@ -109,7 +101,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -121,7 +112,6 @@ 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( @@ -130,7 +120,6 @@ 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( @@ -142,7 +131,6 @@ 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( @@ -155,7 +143,6 @@ 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( @@ -170,7 +157,6 @@ 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 ''"): @@ -179,7 +165,6 @@ 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( @@ -187,7 +172,6 @@ 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( @@ -199,7 +183,6 @@ 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( @@ -213,7 +196,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 439a0d44ddb..1b0d4be49cf 100644 --- a/tests/api_resources/zones/settings/test_tls_1_3.py +++ b/tests/api_resources/zones/settings/test_tls_1_3.py @@ -17,7 +17,6 @@ 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( @@ -26,7 +25,6 @@ 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( @@ -39,7 +37,6 @@ 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( @@ -54,7 +51,6 @@ 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,7 +59,6 @@ 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( @@ -71,7 +66,6 @@ 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( @@ -83,7 +77,6 @@ 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( @@ -97,7 +90,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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,7 +101,6 @@ 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( @@ -118,7 +109,6 @@ 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( @@ -131,7 +121,6 @@ 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( @@ -146,7 +135,6 @@ 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 ''"): @@ -155,7 +143,6 @@ 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( @@ -163,7 +150,6 @@ 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( @@ -175,7 +161,6 @@ 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( @@ -189,7 +174,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 6f8c2f04967..bb46f15a6cb 100644 --- a/tests/api_resources/zones/settings/test_tls_client_auth.py +++ b/tests/api_resources/zones/settings/test_tls_client_auth.py @@ -17,7 +17,6 @@ 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( @@ -26,7 +25,6 @@ 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( @@ -39,7 +37,6 @@ 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( @@ -54,7 +51,6 @@ 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,7 +59,6 @@ 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( @@ -71,7 +66,6 @@ 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( @@ -83,7 +77,6 @@ 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( @@ -97,7 +90,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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,7 +101,6 @@ 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( @@ -118,7 +109,6 @@ 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( @@ -131,7 +121,6 @@ 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( @@ -146,7 +135,6 @@ 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 ''"): @@ -155,7 +143,6 @@ 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( @@ -163,7 +150,6 @@ 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( @@ -175,7 +161,6 @@ 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( @@ -189,7 +174,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ea3d3532e9c..0f412bb997c 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,7 +17,6 @@ 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( @@ -26,7 +25,6 @@ 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( @@ -39,7 +37,6 @@ 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( @@ -54,7 +51,6 @@ 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,7 +59,6 @@ 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( @@ -71,7 +66,6 @@ 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( @@ -83,7 +77,6 @@ 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( @@ -97,7 +90,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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,7 +101,6 @@ 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( @@ -118,7 +109,6 @@ 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( @@ -131,7 +121,6 @@ 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( @@ -146,7 +135,6 @@ 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 ''"): @@ -155,7 +143,6 @@ 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( @@ -163,7 +150,6 @@ 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( @@ -175,7 +161,6 @@ 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( @@ -189,7 +174,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 16008e3b625..954a0f04228 100644 --- a/tests/api_resources/zones/settings/test_waf.py +++ b/tests/api_resources/zones/settings/test_waf.py @@ -17,7 +17,6 @@ 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( @@ -26,7 +25,6 @@ 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( @@ -39,7 +37,6 @@ 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( @@ -54,7 +51,6 @@ 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,7 +59,6 @@ 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( @@ -71,7 +66,6 @@ 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( @@ -83,7 +77,6 @@ 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( @@ -97,7 +90,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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,7 +101,6 @@ 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( @@ -118,7 +109,6 @@ 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( @@ -131,7 +121,6 @@ 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( @@ -146,7 +135,6 @@ 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 ''"): @@ -155,7 +143,6 @@ 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( @@ -163,7 +150,6 @@ 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( @@ -175,7 +161,6 @@ 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( @@ -189,7 +174,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 dfa41054305..9595a35a1d0 100644 --- a/tests/api_resources/zones/settings/test_webp.py +++ b/tests/api_resources/zones/settings/test_webp.py @@ -17,7 +17,6 @@ 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( @@ -26,7 +25,6 @@ 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( @@ -39,7 +37,6 @@ 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( @@ -54,7 +51,6 @@ 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,7 +59,6 @@ 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( @@ -71,7 +66,6 @@ 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( @@ -83,7 +77,6 @@ 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( @@ -97,7 +90,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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,7 +101,6 @@ 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( @@ -118,7 +109,6 @@ 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( @@ -131,7 +121,6 @@ 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( @@ -146,7 +135,6 @@ 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 ''"): @@ -155,7 +143,6 @@ 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( @@ -163,7 +150,6 @@ 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( @@ -175,7 +161,6 @@ 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( @@ -189,7 +174,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 69d4236b897..6d51c9b1673 100644 --- a/tests/api_resources/zones/settings/test_websocket.py +++ b/tests/api_resources/zones/settings/test_websocket.py @@ -17,7 +17,6 @@ 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( @@ -26,7 +25,6 @@ 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( @@ -39,7 +37,6 @@ 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( @@ -54,7 +51,6 @@ 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,7 +59,6 @@ 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( @@ -71,7 +66,6 @@ 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( @@ -83,7 +77,6 @@ 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( @@ -97,7 +90,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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,7 +101,6 @@ 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( @@ -118,7 +109,6 @@ 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( @@ -131,7 +121,6 @@ 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( @@ -146,7 +135,6 @@ 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 ''"): @@ -155,7 +143,6 @@ 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( @@ -163,7 +150,6 @@ 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( @@ -175,7 +161,6 @@ 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( @@ -189,7 +174,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 e2f1c0decff..2901897e0d8 100644 --- a/tests/api_resources/zones/settings/test_zero_rtt.py +++ b/tests/api_resources/zones/settings/test_zero_rtt.py @@ -17,7 +17,6 @@ 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( @@ -26,7 +25,6 @@ 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( @@ -39,7 +37,6 @@ 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( @@ -54,7 +51,6 @@ 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,7 +59,6 @@ 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( @@ -71,7 +66,6 @@ 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( @@ -83,7 +77,6 @@ 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( @@ -97,7 +90,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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,7 +101,6 @@ 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( @@ -118,7 +109,6 @@ 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( @@ -131,7 +121,6 @@ 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( @@ -146,7 +135,6 @@ 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 ''"): @@ -155,7 +143,6 @@ 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( @@ -163,7 +150,6 @@ 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( @@ -175,7 +161,6 @@ 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( @@ -189,7 +174,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 56199bb58be..62535af7696 100644 --- a/tests/api_resources/zones/test_activation_check.py +++ b/tests/api_resources/zones/test_activation_check.py @@ -17,7 +17,6 @@ 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( @@ -25,7 +24,6 @@ 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( @@ -37,7 +35,6 @@ 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( @@ -51,7 +48,6 @@ 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 ''"): @@ -63,7 +59,6 @@ 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( @@ -71,7 +66,6 @@ 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( @@ -83,7 +77,6 @@ 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( @@ -97,7 +90,6 @@ 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 0d059a2b75b..8e213481da5 100644 --- a/tests/api_resources/zones/test_custom_nameservers.py +++ b/tests/api_resources/zones/test_custom_nameservers.py @@ -20,7 +20,6 @@ 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( @@ -28,7 +27,6 @@ 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( @@ -38,7 +36,6 @@ 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( @@ -50,7 +47,6 @@ 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( @@ -64,7 +60,6 @@ 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 ''"): @@ -72,7 +67,6 @@ 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( @@ -80,7 +74,6 @@ 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( @@ -92,7 +85,6 @@ 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( @@ -106,7 +98,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -118,7 +109,6 @@ 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( @@ -126,7 +116,6 @@ 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( @@ -136,7 +125,6 @@ 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( @@ -148,7 +136,6 @@ 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( @@ -162,7 +149,6 @@ 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 ''"): @@ -170,7 +156,6 @@ 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( @@ -178,7 +163,6 @@ 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( @@ -190,7 +174,6 @@ 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( @@ -204,7 +187,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 8072f04cc44..d9df4b018c9 100644 --- a/tests/api_resources/zones/test_dns_settings.py +++ b/tests/api_resources/zones/test_dns_settings.py @@ -17,7 +17,6 @@ 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( @@ -25,7 +24,6 @@ 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( @@ -37,7 +35,6 @@ 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( @@ -49,7 +46,6 @@ 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( @@ -63,7 +59,6 @@ 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,7 +66,6 @@ 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( @@ -79,7 +73,6 @@ 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( @@ -91,7 +84,6 @@ 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( @@ -105,7 +97,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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,7 +108,6 @@ 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( @@ -125,7 +115,6 @@ 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( @@ -137,7 +126,6 @@ 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( @@ -149,7 +137,6 @@ 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( @@ -163,7 +150,6 @@ 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 ''"): @@ -171,7 +157,6 @@ 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( @@ -179,7 +164,6 @@ 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( @@ -191,7 +175,6 @@ 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( @@ -205,7 +188,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 5c9c3e04182..cd4b3671938 100644 --- a/tests/api_resources/zones/test_holds.py +++ b/tests/api_resources/zones/test_holds.py @@ -17,7 +17,6 @@ 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( @@ -25,7 +24,6 @@ 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( @@ -34,7 +32,6 @@ 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( @@ -46,7 +43,6 @@ 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( @@ -60,7 +56,6 @@ 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,7 +63,6 @@ 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( @@ -76,7 +70,6 @@ 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( @@ -85,7 +78,6 @@ 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( @@ -97,7 +89,6 @@ 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( @@ -111,7 +102,6 @@ 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 ''"): @@ -119,7 +109,6 @@ 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( @@ -127,7 +116,6 @@ 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( @@ -139,7 +127,6 @@ 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( @@ -153,7 +140,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -165,7 +151,6 @@ 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( @@ -173,7 +158,6 @@ 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( @@ -182,7 +166,6 @@ 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( @@ -194,7 +177,6 @@ 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( @@ -208,7 +190,6 @@ 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 ''"): @@ -216,7 +197,6 @@ 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( @@ -224,7 +204,6 @@ 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( @@ -233,7 +212,6 @@ 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( @@ -245,7 +223,6 @@ 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( @@ -259,7 +236,6 @@ 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 ''"): @@ -267,7 +243,6 @@ 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( @@ -275,7 +250,6 @@ 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( @@ -287,7 +261,6 @@ 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( @@ -301,7 +274,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 7a2c16b5aee..2c194b3fb30 100644 --- a/tests/api_resources/zones/test_subscriptions.py +++ b/tests/api_resources/zones/test_subscriptions.py @@ -19,7 +19,6 @@ 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( @@ -27,7 +26,6 @@ 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( @@ -67,7 +65,6 @@ 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( @@ -79,7 +76,6 @@ 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( @@ -93,7 +89,6 @@ 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,7 +96,6 @@ 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( @@ -109,7 +103,6 @@ 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( @@ -121,7 +114,6 @@ 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( @@ -135,7 +127,6 @@ 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 ''"): @@ -143,7 +134,6 @@ 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( @@ -151,7 +141,6 @@ 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( @@ -163,7 +152,6 @@ 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( @@ -177,7 +165,6 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True - @pytest.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 ''"): @@ -189,7 +176,6 @@ 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( @@ -197,7 +183,6 @@ 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( @@ -237,7 +222,6 @@ 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( @@ -249,7 +233,6 @@ 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( @@ -263,7 +246,6 @@ 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 ''"): @@ -271,7 +253,6 @@ 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( @@ -279,7 +260,6 @@ 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( @@ -291,7 +271,6 @@ 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( @@ -305,7 +284,6 @@ 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 ''"): @@ -313,7 +291,6 @@ 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( @@ -321,7 +298,6 @@ 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( @@ -333,7 +309,6 @@ 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( @@ -347,7 +322,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True - @pytest.mark.skip() @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 ''"):