]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Use right body for test_create_missing_specs_name
authorliyingjun <liyingjun1988@gmail.com>
Sat, 6 Sep 2014 05:37:53 +0000 (13:37 +0800)
committerliyingjun <liyingjun1988@gmail.com>
Sat, 6 Sep 2014 06:49:29 +0000 (14:49 +0800)
commitee6299620ec1ce5c5ff22e0888e00a70b840a708
tree2734fefdaac81101d871dc30b8017b95362ca918
parent4b2600fe3ee1e233d19250dc6c38f5a3959c0e37
Use right body for test_create_missing_specs_name

Since the test is `test_create_missing_specs_name`, we should define
the the body like `body = {'qos_specs': {'a': 'b'}}`. And add a test
to cover the invalid body case.

Change-Id: Ib1cf9a8b5bfddc0091e28e3765a36c75044642f3
Closes-bug: #1370308
cinder/tests/api/contrib/test_qos_specs_manage.py