diff options
author | Lucas Alvares Gomes <lucasagomes@gmail.com> | 2013-10-29 10:24:09 +0000 |
---|---|---|
committer | Lucas Alvares Gomes <lucasagomes@gmail.com> | 2013-11-14 10:33:04 +0000 |
commit | 808536e24e7488372e53f1d5fafd42a1eeced464 (patch) | |
tree | 100b3054a75f1e3801d2bd1ece9ea52b1e28f169 /ironic/tests/api/test_utils.py | |
parent | 6f45831b42ce13762eaec4bd954104df0f280040 (diff) | |
download | ironic-808536e24e7488372e53f1d5fafd42a1eeced464.tar.gz |
Register API options under the 'api' group
Register the API options under the 'api' group and change the name of
the options to be less redundant.
This patch also regenerates the sample config file.
Change-Id: I55ec0b977275a394fef059a6318540bb5186ddc0
Closes-Bug: #1244742
Diffstat (limited to 'ironic/tests/api/test_utils.py')
-rw-r--r-- | ironic/tests/api/test_utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ironic/tests/api/test_utils.py b/ironic/tests/api/test_utils.py index 06645422f..6d266a342 100644 --- a/ironic/tests/api/test_utils.py +++ b/ironic/tests/api/test_utils.py @@ -35,7 +35,7 @@ class TestApiUtils(base.FunctionalTest): # max limit limit = utils.validate_limit(999999999) - self.assertEqual(limit, CONF.api_limit_max) + self.assertEqual(CONF.api.max_limit, limit) # negative self.assertRaises(wsme.exc.ClientSideError, utils.validate_limit, -1) |