test(plugin): include stateless certificate model in shared fixtures

This commit is contained in:
RockChinQ
2026-09-28 09:14:54 +00:00
parent 621f2f0a4a
commit c384e4715a
2 changed files with 3 additions and 0 deletions
@@ -765,6 +765,7 @@ class TestSetPluginConfig:
'normalized_digest': 'b' * 64,
'verification': 'valid',
'certificate_runtime_profile': 'shared-runtime-v1',
'certificate_component_model': 'stateless-v1',
'certificate_id': 'ed25519:trusted-issuer',
'runtime_profile': 'shared-runtime-v1',
'admission_code': 'CERTIFIED_PLUGIN_SHARED_ELIGIBLE',
@@ -52,6 +52,7 @@ def mock_archive_admission(connector: PluginRuntimeConnector, digest: str) -> No
'normalized_digest': digest,
'verification': 'valid',
'certificate_runtime_profile': 'shared-runtime-v1',
'certificate_component_model': 'stateless-v1',
'certificate_id': 'ed25519:trusted-issuer',
'runtime_profile': 'shared-runtime-v1',
'admission_code': 'CERTIFIED_PLUGIN_SHARED_ELIGIBLE',
@@ -190,6 +191,7 @@ async def test_reconcile_reload_projects_certified_exact_artifact_to_shared_exec
'normalized_digest': 'b' * 64,
'verification': 'valid',
'certificate_runtime_profile': 'shared-runtime-v1',
'certificate_component_model': 'stateless-v1',
'certificate_id': 'ed25519:trusted-issuer',
'runtime_profile': 'shared-runtime-v1',
'admission_code': 'CERTIFIED_PLUGIN_SHARED_ELIGIBLE',