nova/nova/tests/unit/api/openstack
liyingjun 19c01509ca Validate maximum limit for quota
Currently, when updating quota using limit larger than 2**31 -1,
there will be a DBError. The maximum limit needs to be validated.
And the maximum value is defined by SQL integer type INT, which
is a general value:
http://dev.mysql.com/doc/refman/5.0/en/integer-types.html
http://www.postgresql.org/docs/9.1/static/datatype-numeric.html

Change-Id: Idf890c57342378d0a71f6b18eb42425d463b13ef
Closes-bug: #1433052
2015-06-29 22:47:36 +08:00
..
compute Validate maximum limit for quota 2015-06-29 22:47:36 +08:00
__init__.py move all tests to nova/tests/unit 2014-11-12 15:31:08 -05:00
common.py Switch to using oslo_* instead of oslo.* 2015-02-06 06:03:10 -05:00
fakes.py Removed explicit return from __init__ method 2015-06-05 01:54:12 -07:00
test_api_version_request.py Adds global API version check for microversions 2014-12-05 09:55:37 +08:00
test_common.py Make unit tests inherit from test.NoDBTestCase 2015-03-06 09:46:31 +02:00
test_faults.py Replace unicode with six.text_type 2015-05-12 12:31:20 +02:00
test_mapper.py move all tests to nova/tests/unit 2014-11-12 15:31:08 -05:00
test_wsgi.py Replace dict.iteritems() with six.iteritems(dict) 2015-05-22 11:33:18 -07:00