summaryrefslogtreecommitdiffhomepage
path: root/test/scenario_test/bgp_zebra_nht_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/scenario_test/bgp_zebra_nht_test.py')
-rw-r--r--test/scenario_test/bgp_zebra_nht_test.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/scenario_test/bgp_zebra_nht_test.py b/test/scenario_test/bgp_zebra_nht_test.py
index 9042a0a0..7dd61212 100644
--- a/test/scenario_test/bgp_zebra_nht_test.py
+++ b/test/scenario_test/bgp_zebra_nht_test.py
@@ -17,7 +17,6 @@ import sys
import time
import unittest
-from fabric.api import local
import nose
from lib.noseplugin import OptionParser, parser_option
@@ -27,6 +26,7 @@ from lib.base import (
assert_several_times,
Bridge,
BGP_FSM_ESTABLISHED,
+ local,
)
from lib.gobgp import GoBGPContainer
from lib.quagga import QuaggaOSPFContainer
@@ -285,7 +285,7 @@ class ZebraNHTTest(unittest.TestCase):
if __name__ == '__main__':
output = local("which docker 2>&1 > /dev/null ; echo $?", capture=True)
if int(output) is not 0:
- print "docker not found"
+ print("docker not found")
sys.exit(1)
nose.main(argv=sys.argv, addplugins=[OptionParser()],