commit c363c2dfd8d66e5f1095e7147a3c6f191f05fc52
Author: Sean Dague <email address hidden>
Date: Mon May 4 07:14:10 2015 -0400
VMWare: Isolate unit tests from requests
The test_ipv6_host_read actually tested all the way down to the
requests url call, which means it's testing a lot of function
unrelated to the nova code. The interesting part of this test seems to
be that it builds the ipv6 url correctly.
Change this into an assert based on that url being correct. We still
need to mock out the http connection because that's done magically in
__init__.
Unblocks nova patches, which are failing on unit test since the latest
requests release and one of the function signatures changing.
Reviewed: https:/ /review. openstack. org/179805 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=c363c2dfd8d 66e5f1095e7147a 3c6f191f05fc52
Committed: https:/
Submitter: Jenkins
Branch: stable/kilo
commit c363c2dfd8d66e5 f1095e7147a3c6f 191f05fc52
Author: Sean Dague <email address hidden>
Date: Mon May 4 07:14:10 2015 -0400
VMWare: Isolate unit tests from requests
The test_ipv6_host_read actually tested all the way down to the
requests url call, which means it's testing a lot of function
unrelated to the nova code. The interesting part of this test seems to
be that it builds the ipv6 url correctly.
Change this into an assert based on that url being correct. We still
need to mock out the http connection because that's done magically in
__init__.
Unblocks nova patches, which are failing on unit test since the latest
requests release and one of the function signatures changing.
Conflicts:
nova/ tests/unit/ virt/vmwareapi/ test_read_ write_util. py
NOTE(mriedem): The conflict is due to commit 80a63292c on master
not being in stable/kilo.
Change-Id: I8ae4cb00e63cbb 0304210dba2cd49 93016d852ba 00cc92fcd234d67 a913833cbc)
Closes-bug: #1451389
(cherry picked from commit 117351d6c46bd6d