diff options
author | ChangBo Guo(gcb) <eric.guo@easystack.cn> | 2016-11-24 10:11:19 +0800 |
---|---|---|
committer | ChangBo Guo(gcb) <eric.guo@easystack.cn> | 2017-01-08 11:39:14 +0800 |
commit | d631ac0c971b66b577020033dc0a8486079e3533 (patch) | |
tree | 1864aebefc59c38e57bdffa37d747b65a7220ae4 /tests-py3.txt | |
parent | 939000938b378b4c02737adf0fe84a935ec6f96c (diff) | |
download | nova-d631ac0c971b66b577020033dc0a8486079e3533.tar.gz |
Port xenapi test_vm_utils to Python 3
* we can't compare str and int in Python 3, and code make sure
product_version must be a tuple of 3 integers[1], so we can remove
invalid tests.
* Set correct exception type to catch
[1]https://github.com/openstack/nova/blob/3304115b73ace6b3336c4f80f70de4661d3b1ef6/nova/virt/xenapi/client/session.py#L173
Partially-Implements: blueprint goal-python35
Change-Id: I0ba1e1f2ef37ade9bdc6d19066e4a33a07246416
Diffstat (limited to 'tests-py3.txt')
-rw-r--r-- | tests-py3.txt | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/tests-py3.txt b/tests-py3.txt index 3cbd262c54..d2940ad22a 100644 --- a/tests-py3.txt +++ b/tests-py3.txt @@ -1,8 +1,5 @@ nova.tests.unit.api.openstack.compute.test_user_data.ServersControllerCreateTest nova.tests.unit.test_wsgi.TestWSGIServerWithSSL -nova.tests.unit.virt.xenapi.test_vm_utils.ResizeFunctionTestCase -nova.tests.unit.virt.xenapi.test_vm_utils.ScanSrTestCase -nova.tests.unit.virt.xenapi.test_vm_utils.UnplugVbdTestCase ########################################################################## # NOTE(dims): The following tests randomly fail in the gate. Please be |