6baf8c9fa0
tenant_absolute_limits API wrapper converts -1 (unlimited) to float('inf'), but tenant_quota_usages() cannot handle this properly. This is a regression during the quota refactoring work. This commit changes QuotaUsage.add_quota() to accept float('inf') as one of unlimited quota value. Closes-Bug: #1741493 Part of blueprint make-quotas-great-again Change-Id: Ic6ed00761381d52ee04a15a43ee4fe2a30b9a106 |
||
---|---|---|
.. | ||
api_tests | ||
integration_tests | ||
jasmine | ||
selenium | ||
templates | ||
test_data | ||
test_panels | ||
test_plugins | ||
unit | ||
__init__.py | ||
error_pages_urls.py | ||
extensible_header_urls.py | ||
helpers.py | ||
settings.py | ||
urls.py |