summaryrefslogtreecommitdiffstats
path: root/nova/tests
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2012-07-05 15:34:40 +0000
committerGerrit Code Review <review@openstack.org>2012-07-05 15:34:40 +0000
commitbe0c9e62840ae7bcff3e77a5b3bd664d3bda6d43 (patch)
tree9c9d43d2f91ed9adf70c81c0eadddfdbba474b6a /nova/tests
parent980c76266629ea66bc23fddb02f5be61c51d873c (diff)
parent7ed3452d10bfa51957554030425a09d029deff61 (diff)
Merge "Remove unused 'get_open_port' method from libvirt utils"
Diffstat (limited to 'nova/tests')
-rw-r--r--nova/tests/fake_libvirt_utils.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/nova/tests/fake_libvirt_utils.py b/nova/tests/fake_libvirt_utils.py
index 2cd5bb75e..1467a26de 100644
--- a/nova/tests/fake_libvirt_utils.py
+++ b/nova/tests/fake_libvirt_utils.py
@@ -118,11 +118,6 @@ def file_delete(path):
return True
-def get_open_port(start_port, end_port):
- # Return the port in the middle
- return int((start_port + end_port) / 2)
-
-
def get_fs_info(path):
return {'total': 128 * (1024 ** 3),
'used': 44 * (1024 ** 3),