Initial commit: stateful OpenStack API laboratory simulator.
Ship Keystone auth, multi-service handlers (Yoga→Dalmatian), Compose/Helm packaging, API contract packs, and pytest/Pulumi coverage labs.
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
"""Pack-driven surface seed covers every contract resource_type."""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
from app.openstack.pack_seed import iter_pack_resource_types
|
||||
|
||||
|
||||
def test_iter_pack_resource_types_covers_schema_services() -> None:
|
||||
types = iter_pack_resource_types()
|
||||
assert len(types) >= 200
|
||||
expected = {
|
||||
("barbican", "secret"),
|
||||
("barbican", "container"),
|
||||
("manila", "share"),
|
||||
("manila", "share_type"),
|
||||
("watcher", "goal"),
|
||||
("zun", "host"),
|
||||
("cloudkitty", "dataframes"),
|
||||
("designate", "zone"),
|
||||
}
|
||||
missing = expected - types
|
||||
assert not missing, missing
|
||||
Reference in New Issue
Block a user