aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCharpentier Johan <jcharpentier@bearstech.com>2012-09-17 16:19:44 +0200
committerCharpentier Johan <jcharpentier@bearstech.com>2012-09-17 16:19:44 +0200
commit32f10654001f538b3c7c3f587065149302fb80a3 (patch)
treeb8bf5a4c6e7fae7cce8aa0e28d383a529e048c69
parentImprovements to the network module (diff)
downloadfabtools-32f10654001f538b3c7c3f587065149302fb80a3.tar.xz
Fix tests when 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: