diff options
author | Sean Dague <sdague@linux.vnet.ibm.com> | 2013-01-04 13:01:06 -0500 |
---|---|---|
committer | Sean Dague <sdague@linux.vnet.ibm.com> | 2013-01-04 14:13:42 -0500 |
commit | c7221d046008f6bc980b6cb97f868e9ef8655070 (patch) | |
tree | bc80b2824ac46e4ec50e1531a71294b8264bed8a /nova/utils.py | |
parent | 80325d6897e9aadd0287e5e4e3fc3ada03448dac (diff) | |
download | nova-c7221d046008f6bc980b6cb97f868e9ef8655070.tar.gz nova-c7221d046008f6bc980b6cb97f868e9ef8655070.tar.xz nova-c7221d046008f6bc980b6cb97f868e9ef8655070.zip |
update version urls to working v2 urls
the GET /v2/ API call is documented to return urls to both
wadl and pdf documents. However our call returned non working
urls to 1.1 versions of those documents. Fix this.
Also fix the unit tests to actually test the output of versions.
Previously we were over stubbing the test_verions.py so it was
testing only itself, and not the output you'd actually get from
the real versions.py module.
Renamed the variables used for the expected variables to reduce
confusion about what is an expected variable vs. the variables
coming from versions.py to try to ensure we don't have cicular
always passing tests in the future.
Fixes bug #1076109
Change-Id: I1047b8c48ff053eed5ad4afa8eae5833f70d0893
Diffstat (limited to 'nova/utils.py')
0 files changed, 0 insertions, 0 deletions