horizon/openstack_dashboard/test
Akihiro Motoki 6baf8c9fa0 Handle float('inf') in tenant_quota_usages properly
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
2018-01-06 03:54:30 +09:00
..
api_tests openstack_dashboard: Move test files to match module structure 2017-12-09 21:38:06 +09:00
integration_tests Drop Heat related code from horizon 2017-12-05 07:38:55 +00:00
jasmine Remove unused jasmine_tests.py 2015-05-13 12:39:00 -06:00
selenium openstack_dashboard: Move test files to match module structure 2017-12-09 21:38:06 +09:00
templates Splits OpenStack Dashboard bits from framework app code. 2012-10-11 11:47:50 -07:00
test_data Merge "quota: Use network quota field names consistently" 2017-12-26 21:40:34 +00:00
test_panels Drop unnecessary executable flags 2017-12-27 21:32:48 +00:00
test_plugins Drop unnecessary executable flags 2017-12-27 21:32:48 +00:00
unit Handle float('inf') in tenant_quota_usages properly 2018-01-06 03:54:30 +09:00
__init__.py Revamp of testing machinery. 2012-04-23 22:24:21 -07:00
error_pages_urls.py hacking: noqa cleanup in openstack_dashboard 2017-03-17 19:38:47 +00:00
extensible_header_urls.py Drop unnecessary executable flags 2017-12-27 21:32:48 +00:00
helpers.py Switch Glance-related tests (dashboards.project.images) to mock 2018-01-04 16:37:52 +02:00
settings.py Updating default keystone API verson to 3 2017-12-21 03:24:07 +09:00
urls.py hacking: noqa cleanup in openstack_dashboard 2017-03-17 19:38:47 +00:00