Orchestrata Ultimate › Tests › Reference › test_kernel
Tests reference — tests/test_kernel.py
Module of tests, split out because the directory page would be too large.
Prose pending.
tests/test_kernel.py
source · 39 tests · 390 lines
Tests for orchestrata_ultimate.kernel module.
Covers: kernel.kernel, kernel.router, kernel.session_context, core.interfaces/ (package), core.packet/ (package)
| Kind | Name | Line | Description |
|---|---|---|---|
| function | test_kernel_initial_state |
59 | |
| function | test_kernel_start_changes_health |
65 | |
| function | test_kernel_stop_changes_health |
72 | |
| function | test_kernel_initialize_accepts_config |
80 | initialize() sets config without error. |
| function | test_kernel_get_metadata |
87 | |
| function | test_kernel_register_component |
122 | |
| function | test_kernel_get_component_after_register |
130 | |
| function | test_kernel_unregister_component |
138 | |
| function | test_kernel_list_components_empty |
147 | |
| function | test_kernel_list_components_after_register |
153 | |
| function | test_kernel_list_components_filter_by_type |
161 | |
| function | test_kernel_register_service |
174 | |
| function | test_kernel_discover_registered_service |
184 | |
| function | test_kernel_discover_unregistered_service |
197 | |
| function | test_kernel_emit_event |
203 | |
| function | test_validate_key_valid |
213 | |
| function | test_validate_key_empty_raises |
220 | |
| function | test_validate_key_non_string_raises |
225 | |
| function | test_validate_key_too_long_raises |
230 | |
| function | test_validate_key_special_chars_raises |
236 | |
| function | test_validate_key_at_sign_raises |
241 | |
| function | test_validate_value_string |
246 | |
| function | test_validate_value_dict |
250 | |
| function | test_validate_value_none |
254 | |
| function | test_validate_value_non_serializable_raises |
258 | |
| function | test_validate_schema_valid |
265 | |
| function | test_validate_schema_non_dict_raises |
269 | |
| function | test_validate_schema_invalid_key_raises |
274 | |
| function | test_routing_metrics_defaults |
284 | |
| function | test_routing_metrics_success_rate_zero_initially |
292 | |
| function | test_routing_metrics_success_rate_all_success |
297 | |
| function | test_routing_metrics_success_rate_partial |
302 | |
| function | test_routing_metrics_update_latency |
307 | |
| function | test_routing_metrics_to_dict |
313 | |
| function | test_message_status_instantiation |
327 | |
| function | test_message_status_add_transition |
337 | |
| function | test_message_status_to_dict |
351 | |
| function | test_routing_result_instantiation |
368 | |
| function | test_routing_result_to_dict |
380 |