diff options
author | Jenkins <jenkins@review.openstack.org> | 2017-09-10 20:09:22 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2017-09-10 20:09:22 +0000 |
commit | 7195c63f80cc8e027e0514146bd73fbce9472027 (patch) | |
tree | 35bdb84d28f3cd81bac4490a5b83f1e7a120ea47 /nova/virt/libvirt/utils.py | |
parent | d35f26b25c5f8bdd489cbb92e0fe70acc51a4654 (diff) | |
parent | f5fc74d658b877f20a20a1edc016edba66f493d2 (diff) | |
download | nova-7195c63f80cc8e027e0514146bd73fbce9472027.tar.gz |
Merge "Remove two testing stubs which aren't really needed."
Diffstat (limited to 'nova/virt/libvirt/utils.py')
-rw-r--r-- | nova/virt/libvirt/utils.py | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/nova/virt/libvirt/utils.py b/nova/virt/libvirt/utils.py index b334be3439..3865fa0f57 100644 --- a/nova/virt/libvirt/utils.py +++ b/nova/virt/libvirt/utils.py @@ -318,26 +318,6 @@ def file_open(*args, **kwargs): return open(*args, **kwargs) -def file_delete(path): - """Delete (unlink) file - - Note: The reason this is kept in a separate module is to easily - be able to provide a stub module that doesn't alter system - state at all (for unit tests) - """ - return os.unlink(path) - - -def path_exists(path): - """Returns if path exists - - Note: The reason this is kept in a separate module is to easily - be able to provide a stub module that doesn't alter system - state at all (for unit tests) - """ - return os.path.exists(path) - - def find_disk(guest): """Find root device path for instance |