Orchestrata Ultimate › Tests › Reference › test_plugin

Tests reference — tests/test_plugin.py

Module of tests, split out because the directory page would be too large.

Prose pending.

tests/test_plugin.py

source · 26 tests · 256 lines

Tests for orchestrata_ultimate.plugin module.

Covers: plugin.exceptions, plugin.interfaces, plugin.manifest, plugin.registry

Kind Name Line Description
function test_manifest_from_dict_minimal 46
function test_manifest_from_dict_missing_required_field_raises 53
function test_manifest_from_dict_invalid_name_raises 60
function test_manifest_from_dict_invalid_version_raises 66
function test_manifest_from_dict_valid_capabilities 72
function test_manifest_from_dict_invalid_capability_raises 79
function test_manifest_from_dict_kg_schema_parsed 85
function test_manifest_from_yaml_file 99
function test_manifest_from_yaml_missing_file_raises 114
function test_kg_schema_extension_defaults 124
function test_plugin_capability_values 135
function test_plugin_status_values 141
function test_resource_type_values 148
function test_plugin_registry_empty_initially 168
function test_plugin_registry_register_discovered 174
function test_plugin_registry_get_info_after_discovered 182
function test_plugin_registry_unregister_raises_if_not_found 191
function test_plugin_registry_set_status 197
function test_plugin_registry_set_status_unknown_plugin_raises 208
function test_plugin_registry_get_manifest 214
function test_plugin_error_base 228
function test_plugin_manifest_error_code 234
function test_plugin_load_error_code 239
function test_plugin_not_found_error_code 244
function test_capability_denied_error_code 249
function test_plugin_registration_error_code 254