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:
@@ -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()
|
||||
|
Reference in New Issue
Block a user