aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRonan Amicel <ronan.amicel@gmail.com>2012-09-17 15:08:35 -0700
committerRonan Amicel <ronan.amicel@gmail.com>2012-09-17 15:08:35 -0700
commit9ce38647b802d766a94d6718c41d528db6b96dc8 (patch)
treeb8bf5a4c6e7fae7cce8aa0e28d383a529e048c69
parentImprovements to the network module (diff)
parentFix tests when vagrant isn't installed (diff)
downloadfabtools-9ce38647b802d766a94d6718c41d528db6b96dc8.tar.xz
Merge pull request #28 from cyberj/master
Tests fail if vagrant isn't installed
-rw-r--r--fabtools/tests/vagrant.py3
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: