Merge "tests: Fix bound"

This commit is contained in:
Zuul
2026-02-25 00:17:42 +00:00
committed by Gerrit Code Review

View File

@@ -57,7 +57,7 @@ def fake_get_project_quotas(context, project_id, usages=True):
}
return {
k: {'limit': v, 'in_use': v // 2}
k: {'limit': v, 'in_use': max(-1, v // 2)}
for k, v in absolute_limits.items()
}