diff options
author | Charpentier Johan <jcharpentier@bearstech.com> | 2012-09-17 16:19:44 +0200 |
---|---|---|
committer | Charpentier Johan <jcharpentier@bearstech.com> | 2012-09-17 16:19:44 +0200 |
commit | 32f10654001f538b3c7c3f587065149302fb80a3 (patch) | |
tree | b8bf5a4c6e7fae7cce8aa0e28d383a529e048c69 | |
parent | Improvements to the network module (diff) | |
download | fabtools-32f10654001f538b3c7c3f587065149302fb80a3.tar.xz |
Fix tests when vagrant isn't installed
-rw-r--r-- | fabtools/tests/vagrant.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fabtools/tests/vagrant.py b/fabtools/tests/vagrant.py index c2fcaf1..c3d154a 100644 --- a/fabtools/tests/vagrant.py +++ b/fabtools/tests/vagrant.py @@ -50,7 +50,8 @@ def base_boxes(): if boxes is not None: return boxes.split() else: - res = local('vagrant box list', capture=True) + with settings(warn_only=True): + res = local('vagrant box list', capture=True) if res.failed: return [] else: |