test semantics

This commit is contained in:
2026-03-21 15:23:06 +03:00
parent 9b47b9b667
commit 0b275ed3d1
14 changed files with 467 additions and 101 deletions

View File

@@ -39,6 +39,7 @@ class MockMappingService:
self.mappings = mappings
def get_remote_ids_batch(self, env_id, resource_type, uuids):
# @INVARIANT_VIOLATION: resource_type parameter is silently ignored. Lookups are UUID-only; chart and dataset UUIDs share the same namespace. Tests that mix resource types will produce false positives.
result = {}
for uuid in uuids:
if uuid in self.mappings: