← Về thư mục
tests/simpy/test_scripts.py
- SafetyTests · class · L37-L147 — class SafetyTests(unittest.TestCase)
- test_scripts_parse_and_do_not_use_dangerous_features · method · L38-L67 — def test_scripts_parse_and_do_not_use_dangerous_features(self) -> None
- test_local_json_rejects_urls_symlinks_duplicates_and_nan · method · L69-L90 — def test_local_json_rejects_urls_symlinks_duplicates_and_nan(self) -> None
- test_private_output_refuses_overwrite · method · L92-L99 — def test_private_output_refuses_overwrite(self) -> None
- test_every_cli_has_side_effect_free_help · method · L101-L114 — def test_every_cli_has_side_effect_free_help(self) -> None
- test_every_script_help_succeeds_without_site_packages · method · L116-L128 — def test_every_script_help_succeeds_without_site_packages(self) -> None
- test_simulation_clis_report_missing_dependency_without_traceback · method · L130-L147 — def test_simulation_clis_report_missing_dependency_without_traceback(self) -> None
- CoreSemanticsTests · class · L150-L270 — class CoreSemanticsTests(unittest.TestCase)
- test_same_time_events_are_fifo_deterministic · method · L151-L162 — def test_same_time_events_are_fifo_deterministic(self) -> None
- process · function · L155-L157 — def process(label: str)
- test_numeric_until_excludes_boundary_and_event_until_returns_value · method · L164-L179 — def test_numeric_until_excludes_boundary_and_event_until_returns_value(self) -> None
- test_process_return_and_condition_mapping · method · L181-L199 — def test_process_return_and_condition_mapping(self) -> None
- worker · function · L184-L186 — def worker()
- coordinator · function · L192-L195 — def coordinator()
- test_preemption_interrupt_cause_identifies_request_and_usage · method · L201-L226 — def test_preemption_interrupt_cause_identifies_request_and_usage(self) -> None
- low_priority · function · L206-L213 — def low_priority()
- high_priority · function · L215-L219 — def high_priority()
- test_priority_resource_orders_queued_requests · method · L228-L244 — def test_priority_resource_orders_queued_requests(self) -> None
- user · function · L233-L238 — def user(name: str, priority: int, delay: float, duration: float)
- test_container_and_store_variants · method · L246-L270 — def test_container_and_store_variants(self) -> None
- exercise · function · L254-L265 — def exercise()
- MonitoringTests · class · L273-L335 — class MonitoringTests(unittest.TestCase)
- test_resource_monitor_uses_time_weighting · method · L274-L295 — def test_resource_monitor_uses_time_weighting(self) -> None
- user · function · L279-L283 — def user(delay: float, duration: float)
- test_pending_request_cancellation_is_recorded · method · L297-L319 — def test_pending_request_cancellation_is_recorded(self) -> None
- holder · function · L302-L305 — def holder()
- impatient · function · L307-L311 — def impatient()
- test_trace_round_trip_and_order_summary · method · L321-L335 — def test_trace_round_trip_and_order_summary(self) -> None
- ScenarioTests · class · L338-L383 — class ScenarioTests(unittest.TestCase)
- test_queue_run_is_reproducible_and_bounded · method · L339-L356 — def test_queue_run_is_reproducible_and_bounded(self) -> None
- test_unknown_config_and_invalid_modes_are_rejected · method · L358-L370 — def test_unknown_config_and_invalid_modes_are_rejected(self) -> None
- test_event_limit_stops_run · method · L372-L383 — def test_event_limit_stops_run(self) -> None
- ReplicationTests · class · L386-L434 — class ReplicationTests(unittest.TestCase)
- test_student_t_interval_and_quantile · method · L387-L398 — def test_student_t_interval_and_quantile(self) -> None
- test_replication_config_requires_multiple_bounded_runs · method · L400-L411 — def test_replication_config_requires_multiple_bounded_runs(self) -> None
- test_small_replication_experiment_has_replication_level_ci · method · L413-L434 — def test_small_replication_experiment_has_replication_level_ci(self) -> None
- ValidatorTests · class · L437-L455 — class ValidatorTests(unittest.TestCase)
- test_validator_normalizes_both_schemas_without_running · method · L438-L455 — def test_validator_normalizes_both_schemas_without_running(self) -> None