Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/VexedWilosn/AetherSwap
/ functions
Functions
1,137 in github.com/VexedWilosn/AetherSwap
⨍
Functions
1,137
◇
Types & classes
62
↳
Endpoints
69
Function
test_activation_rejects_enabled_user_module
(tmp_path, monkeypatch)
tests/test_strategies.py:45
Function
test_apply_currency_uses_rate_map_for_non_usd_prices
()
tests/test_currency_conversion.py:24
Function
test_auto_linux_with_display_uses_desktop_mode
()
tests/test_runtime_env.py:42
Function
test_auto_linux_without_display_uses_server_mode
()
tests/test_runtime_env.py:25
Function
test_browser_launch_error_is_user_friendly
()
tests/test_auth_relogin_state.py:119
Function
test_buff_auto_relogin_success_clears_auth_and_verification
(monkeypatch)
tests/test_auth_relogin_state.py:37
Function
test_buff_page_expired_is_verification_required
()
tests/test_buff_verification.py:4
Function
test_daily_high_adjustment_never_raises_reference_price
(monkeypatch)
tests/test_pipeline_steps.py:158
Function
test_daily_high_adjustment_uses_trimmed_average
(monkeypatch)
tests/test_pipeline_steps.py:138
Function
test_declarative_runtime_guard_blocks_at_stage
(tmp_path, monkeypatch)
tests/test_strategies.py:292
Function
test_declarative_user_module_can_activate_and_simulate
(tmp_path, monkeypatch)
tests/test_strategies.py:224
Function
test_declarative_user_module_can_depend_on_one_piece_pricing
(tmp_path, monkeypatch)
tests/test_strategies.py:260
Function
test_declarative_user_module_dependency_order_is_enforced
(tmp_path, monkeypatch)
tests/test_strategies.py:336
Function
test_default_buy_strategy_contains_current_protection_chain
()
tests/test_strategies.py:12
Function
test_default_sell_strategy_uses_split_pricing_modules
()
tests/test_strategies.py:36
Function
test_detect_currency_supports_steam_symbol_prefixes
()
tests/test_currency_conversion.py:9
Function
test_env_overrides_host_port_and_local_url
()
tests/test_runtime_env.py:50
Function
test_external_code_user_module_still_cannot_activate
(tmp_path, monkeypatch)
tests/test_strategies.py:364
Function
test_fetch_sold_with_names_paginates_history
(monkeypatch)
tests/test_repair_error_records.py:192
Function
test_full_import_uses_validated_config_save
(monkeypatch)
tests/test_config_routes.py:7
Function
test_get_base_auth_status_strict_reads_store_user_config_country
(monkeypatch)
tests/test_account_region_sync.py:215
Function
test_get_sell_orders_cny_ssr预取错变体时回退新版_orderbook_action
(monkeypatch)
tests/test_market_orders.py:312
Function
test_get_sell_orders_cny_优先使用新版ssr而不是旧item_nameid缓存
(monkeypatch)
tests/test_market_orders.py:115
Function
test_get_sell_orders_cny_聚合页会回退到带筛选的分组页面
(monkeypatch)
tests/test_market_orders.py:136
Function
test_get_wallet_balance_fallback_returns_currency_for_zero_balance
(monkeypatch)
tests/test_account_region_sync.py:257
Function
test_get_wallet_balance_rejects_unknown_currency_id
(monkeypatch)
tests/test_account_region_sync.py:281
Function
test_get_wallet_balance_returns_wallet_country
(monkeypatch)
tests/test_account_region_sync.py:238
Function
test_gift_balance_rejects_cookie_for_different_current_account
(monkeypatch)
tests/test_account_region_sync.py:301
Function
test_gift_balance_syncs_wallet_currency_to_current_account
(monkeypatch)
tests/test_account_region_sync.py:320
Function
test_import_sanitizes_sensitive_fields_and_does_not_override_system_id
()
tests/test_strategies.py:69
Function
test_legacy_app_main_exposes_fastapi_app_lazily
()
tests/test_runtime_env.py:19
Function
test_legacy_sell_strategy_maps_to_system_presets
()
tests/test_strategies.py:4
Function
test_load_app_config_validated_applies_range_validation
(monkeypatch)
tests/test_config_loader_validation.py:8
Function
test_make_request_raises_verification_required
(monkeypatch)
tests/test_buff_verification.py:10
Function
test_manual_buff_cookie_requires_session
(monkeypatch)
tests/test_auth_relogin_state.py:6
Function
test_market_hash_name_from_group_listing_url_is_not_used_as_name
()
tests/test_steam_client.py:64
Function
test_market_hash_name_from_old_listing_url
()
tests/test_steam_client.py:58
Function
test_merge_deepcopies_nested_mutable_defaults
()
tests/test_config_schema_hardening.py:9
Function
test_merge_不修改原始defaults
()
tests/test_config_schema.py:31
Function
test_merge_深层合并不影响未指定key
()
tests/test_config_schema.py:18
Function
test_merge_非dict会整体覆盖
()
tests/test_config_schema.py:26
Function
test_merge_顶层覆盖
()
tests/test_config_schema.py:12
Function
test_missing_currency_code_aborts_sell_phase
()
tests/test_sell_pipeline_currency_guard.py:141
Function
test_missing_rate_aborts_listing_plan
账号币种=INR,rate_map 为空(汇率文件被工厂重置删除)→ 返回 [] 且记录 error
tests/test_sell_pipeline_currency_guard.py:39
Function
test_no_account_skips_sell_phase
工厂重置后 get_current_account 返回 None → _run_sell_phase_impl 提前返回
tests/test_sell_pipeline_currency_guard.py:118
Function
test_no_display_stays_effectively_headless_even_if_env_disables_headless
()
tests/test_runtime_env.py:34
Function
test_one_piece_sell_pricing_core_can_replace_split_pricing
(tmp_path, monkeypatch)
tests/test_strategies.py:195
Function
test_one_proxy
(proxy_cfg: dict, test_url: str, timeout: int)
utils/proxy_manager.py:35
Function
test_range_cv_threshold为零被限制
()
tests/test_config_schema.py:71
Function
test_range_inventory_refresh_seconds_too_short_is_lifted_to_ten_minutes
()
tests/test_config_schema.py:99
Function
test_range_max_discount超出被限制
()
tests/test_config_schema.py:62
Function
test_range_price_tolerance负数被限制
()
tests/test_config_schema.py:90
Function
test_range_正常值不被修改
()
tests/test_config_schema.py:79
Function
test_rebuild_clears_stale_unsold_assetid_when_not_seen_anywhere
(monkeypatch, tmp_path)
tests/test_repair_error_records.py:149
Function
test_rebuild_keeps_pending_receipt_when_not_seen_anywhere
(monkeypatch, tmp_path)
tests/test_repair_error_records.py:173
Function
test_rebuild_marks_original_assetid_sold_when_assetid_is_in_sold_history
(monkeypatch, tmp_path)
tests/test_repair_error_records.py:96
Function
test_rebuild_preserves_sold_record_when_history_misses_it_even_if_inventory_has_same_name
(monkeypatch, tmp_path)
tests/test_repair_error_records.py:55
Function
test_rebuild_uses_exact_name_matching_for_missing_assetid
(monkeypatch, tmp_path)
tests/test_repair_error_records.py:125
Function
test_refresh_account_region_currency_can_fallback_to_wallet_country_for_unknown_currency
(monkeypatch)
tests/test_account_region_sync.py:76
Function
test_refresh_account_region_currency_marks_missing_cookie_unsafe_when_strict
(monkeypatch)
tests/test_account_region_sync.py:143
Function
test_refresh_account_region_currency_marks_missing_currency_unsafe
(monkeypatch)
tests/test_account_region_sync.py:102
Function
test_refresh_account_region_currency_rejects_cookie_for_different_account
(monkeypatch)
tests/test_account_region_sync.py:162
Function
test_refresh_account_region_currency_skips_missing_cookie_during_startup
(monkeypatch)
tests/test_account_region_sync.py:123
Function
test_refresh_account_region_currency_success_marks_account_safe
(monkeypatch)
tests/test_account_region_sync.py:25
Function
test_refresh_account_region_currency_uses_settlement_currency_as_region_source
(monkeypatch)
tests/test_account_region_sync.py:49
Function
test_region_sync_is_submitted_before_long_running_workers
(monkeypatch)
tests/test_background_startup.py:16
Function
test_region_sync_worker_does_not_sleep_before_missing_account_skip
(monkeypatch)
tests/test_background_startup.py:76
Function
test_relogin_context_retries_with_temp_profile
(monkeypatch, tmp_path)
tests/test_auth_relogin_state.py:93
Function
test_relogin_finish_surfaces_worker_error
(monkeypatch)
tests/test_auth_relogin_state.py:19
Function
test_relogin_start_requires_manual_cookie_without_gui
(monkeypatch)
tests/test_runtime_env.py:60
Function
test_resolve_group_listing_url_honors_category_filters
()
tests/test_steam_client.py:89
Function
test_resolve_group_listing_url_uses_prefetched_orderbook_name
()
tests/test_steam_client.py:70
Function
test_save_app_config_validated_applies_range_validation
(monkeypatch)
tests/test_config_loader_validation.py:22
Function
test_sell_listing_requires_one_pricing_core
()
tests/test_strategies.py:179
Function
test_sell_phase_does_not_require_region_when_currency_is_confirmed
()
tests/test_sell_pipeline_currency_guard.py:199
Function
test_sell_phase_uses_realtime_currency_instead_of_stale_cache
()
tests/test_sell_pipeline_currency_guard.py:169
Function
test_server_requirements_omit_desktop_webview_dependency
()
tests/test_runtime_env.py:12
Function
test_simulate_marks_trade_actions_as_dry_run
()
tests/test_strategies.py:85
Function
test_split_sell_pricing_without_offset_resets_offset
(tmp_path, monkeypatch)
tests/test_strategies.py:151
Function
test_stability_currency_conversion_uses_exchange_rate_map
(monkeypatch)
tests/test_currency_conversion.py:33
Function
test_start_pipeline_allows_restart_after_thread_exits
(monkeypatch)
tests/test_pipeline_lock.py:33
Function
test_start_pipeline_rejects_duplicate_running_pipeline
(monkeypatch)
tests/test_pipeline_lock.py:4
Function
test_static_route_blocks_path_traversal
(tmp_path, monkeypatch)
tests/test_static_routes.py:21
Function
test_static_route_serves_files_inside_web_root
(tmp_path, monkeypatch)
tests/test_static_routes.py:7
Function
test_steam_auto_relogin_does_not_reuse_cookie_from_different_account
(monkeypatch)
tests/test_auth_relogin_state.py:134
Function
test_steam_login_connection_error_message_is_explicit
()
tests/test_steam_auth_errors.py:7
Function
test_step_param_validation_rejects_out_of_range_value
()
tests/test_strategies.py:391
Function
test_strategy_import_enabled_string_false_stays_disabled
()
tests/test_strategy_hardening.py:9
Function
test_system_strategy_params_can_be_saved_to_config
(monkeypatch)
tests/test_strategies.py:408
Function
test_system_strategy_params_can_restore_schema_defaults
(monkeypatch)
tests/test_strategies.py:437
Function
test_system_strategy_save_rejects_structure_changes
()
tests/test_strategies.py:470
Function
test_task_queue_has_spare_capacity_for_startup_workers
(monkeypatch)
tests/test_background_startup.py:7
Function
test_total_market_change_only_counts_items_with_both_market_prices
()
tests/test_holdings_stats.py:4
Function
test_valid_rate_converts_price
rate_map 含 INR 时,price_cents 应按汇率换算而非直接用 CNY 分值
tests/test_sell_pipeline_currency_guard.py:75
Function
test_validate_bool_strings_use_boolean_semantics
()
tests/test_config_schema_hardening.py:16
Function
test_validate_iflow_min_price_zero_is_preserved
()
tests/test_config_schema.py:50
Function
test_validate_字符串转float
()
tests/test_config_schema.py:39
Function
test_validate_字符串转int
()
tests/test_config_schema.py:45
Function
test_validate_缺少section用默认值
()
tests/test_config_schema.py:55
Function
test_validation_rejects_duplicate_conflict_dependency_and_step_limit
()
tests/test_strategies.py:105
← previous
next →
1,001–1,100 of 1,137, ranked by callers