summaryrefslogtreecommitdiffhomepage
path: root/test/lib/base.py
diff options
context:
space:
mode:
authorHiroshi Yokoi <yokoi.hiroshi@po.ntts.co.jp>2016-03-25 17:27:05 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2016-03-31 11:17:06 +0900
commit6bb6ade9f84b6aa9dd6187a4bb229495e4a33cae (patch)
tree4e97ba0326e1dee956d69c24131099be3377136a /test/lib/base.py
parent88504f08b2ea5497f58f9f01e368bbbc4b33e9ac (diff)
scenerio_test: add stderr to RuntimeError message
Signed-off-by: Hiroshi Yokoi <yokoi.hiroshi@po.ntts.co.jp>
Diffstat (limited to 'test/lib/base.py')
-rw-r--r--test/lib/base.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/lib/base.py b/test/lib/base.py
index 3dcbc1e8..c0830a34 100644
--- a/test/lib/base.py
+++ b/test/lib/base.py
@@ -16,7 +16,7 @@
from fabric.api import local, lcd
from fabric import colors
from fabric.utils import indent
-from fabric.state import env
+from fabric.state import env, output
import netaddr
import os
@@ -42,6 +42,7 @@ BGP_ATTR_TYPE_MP_REACH_NLRI = 14
BGP_ATTR_TYPE_EXTENDED_COMMUNITIES = 16
env.abort_exception = RuntimeError
+output.stderr = False
def try_several_times(f, t=3, s=1):
e = None