summaryrefslogtreecommitdiffstats
path: root/nova/tests
diff options
context:
space:
mode:
authorBrian Waldon <brian.waldon@rackspace.com>2011-04-30 07:14:20 -0400
committerBrian Waldon <brian.waldon@rackspace.com>2011-04-30 07:14:20 -0400
commit721fafcfe0679e21fc4f60ec9fa0cfb5dcc468b1 (patch)
treeb6a8d8a5f1145f859b283002a7054d06a9febb04 /nova/tests
parent26680744494514469841f4cca7c5e6362a44b9a0 (diff)
adding view file
Diffstat (limited to 'nova/tests')
-rw-r--r--nova/tests/api/openstack/test_limits.py26
1 files changed, 13 insertions, 13 deletions
diff --git a/nova/tests/api/openstack/test_limits.py b/nova/tests/api/openstack/test_limits.py
index e298418a2..45bd4d501 100644
--- a/nova/tests/api/openstack/test_limits.py
+++ b/nova/tests/api/openstack/test_limits.py
@@ -223,33 +223,33 @@ class LimitsControllerV11Test(BaseLimitTestSuite):
"limits": {
"rate": [
{
- "regex": "changes-since",
- "uri": "changes-since*",
- "limits": [
+ "regex": ".*",
+ "uri": "*",
+ "limit": [
{
"verb": "GET",
"next-available": 0,
"unit": "MINUTE",
+ "value": 10,
+ "remaining": 10,
+ },
+ {
+ "verb": "POST",
+ "next-available": 0,
+ "unit": "HOUR",
"value": 5,
"remaining": 5,
},
],
},
{
- "regex": ".*",
- "uri": "*",
- "limits": [
+ "regex": "changes-since",
+ "uri": "changes-since*",
+ "limit": [
{
"verb": "GET",
"next-available": 0,
"unit": "MINUTE",
- "value": 10,
- "remaining": 10,
- },
- {
- "verb": "POST",
- "next-available": 0,
- "unit": "HOUR",
"value": 5,
"remaining": 5,
},