Skip to content

Commit fa3ecbe

Browse files
Ian Southamwilderrodrigues
authored andcommitted
Add some parameters to make nose a little less chatty
Well to be accurate to make fabric a little less chatty
1 parent 3cdaa55 commit fa3ecbe

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

test/systemvm/__init__.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,13 @@ def check_output(*popenargs, **kwargs):
4444
subprocess.check_output = check_output
4545

4646
import logging
47-
logging.getLogger('paramiko.transport').setLevel(logging.WARNING)
47+
logging.getLogger('paramiko.transport').setLevel(logging.ERROR)
4848

4949
from vagrant import Vagrant
5050
from unittest import TestCase
5151
from paramiko.config import SSHConfig
5252
from paramiko.client import SSHClient, AutoAddPolicy
53+
from fabric import state
5354
from fabric.api import env
5455
from fabric.api import run, hide
5556
from envassert import file, detect
@@ -177,6 +178,11 @@ def setUp(self):
177178
env.timeout = 5
178179
env.disable_known_hosts = True
179180
env.platform_family = detect.detect()
181+
state.output.running = False
182+
state.output.status = False
183+
state.output.stdout = False
184+
state.output.stderr = False
185+
state.output.warnings = False
180186

181187
# this could break down when executing multiple test cases in parallel in the same python process
182188
# def tearDown(self):

0 commit comments

Comments
 (0)