summaryrefslogtreecommitdiffhomepage
path: root/test/scenario_test/long_lived_graceful_restart_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/scenario_test/long_lived_graceful_restart_test.py')
-rw-r--r--test/scenario_test/long_lived_graceful_restart_test.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/scenario_test/long_lived_graceful_restart_test.py b/test/scenario_test/long_lived_graceful_restart_test.py
index 171f204d..0ea38ff1 100644
--- a/test/scenario_test/long_lived_graceful_restart_test.py
+++ b/test/scenario_test/long_lived_graceful_restart_test.py
@@ -13,14 +13,13 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-from __future__ import absolute_import
+
from itertools import chain
import sys
import time
import unittest
-from fabric.api import local
import nose
from lib.noseplugin import OptionParser, parser_option
@@ -30,6 +29,7 @@ from lib.base import (
BGP_FSM_ACTIVE,
BGP_FSM_ESTABLISHED,
LONG_LIVED_GRACEFUL_RESTART_TIME,
+ local,
)
from lib.gobgp import GoBGPContainer
@@ -166,7 +166,7 @@ class GoBGPTestBase(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()],