Enhance api_microversion doc

The api_version_request attribute of request should be the same
with http header.

TrivalFix

Change-Id: I1e607b8ef843e031c82dae41e174303e15ad9fce
This commit is contained in:
Cao ShuFeng 2016-06-30 23:27:57 -04:00
parent f33fc3b69b
commit 65531bf71e
1 changed files with 1 additions and 1 deletions

View File

@ -306,7 +306,7 @@ method test, you just need to add the ``OpenStack-API-Version``
header, for example::
req = fakes.HTTPRequest.blank('/testable/url/endpoint')
req.headers = {'OpenStack-API-Version': 'volume 3.2'}
req.headers['OpenStack-API-Version'] = 'volume 3.6'
req.api_version_request = api_version.APIVersionRequest('3.6')
controller = controller.TestableController()