From b3f503494d5eec45c668bdaafddc1018068f24d7 Mon Sep 17 00:00:00 2001 From: ISHIDA Wataru Date: Sun, 26 Jul 2015 17:55:53 +0900 Subject: test: introduce test_prefix to separate test execution test_prefix is used for work directory, docker name, bridge name Signed-off-by: ISHIDA Wataru --- test/scenario_test/bgp_router_test.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test/scenario_test/bgp_router_test.py') diff --git a/test/scenario_test/bgp_router_test.py b/test/scenario_test/bgp_router_test.py index 521c6af5..dbbc2c2b 100644 --- a/test/scenario_test/bgp_router_test.py +++ b/test/scenario_test/bgp_router_test.py @@ -15,6 +15,7 @@ import unittest from fabric.api import local +from lib import base from lib.gobgp import * from lib.quagga import * import sys @@ -30,6 +31,7 @@ class GoBGPTestBase(unittest.TestCase): @classmethod def setUpClass(cls): gobgp_ctn_image_name = parser_option.gobgp_image + base.TEST_PREFIX = parser_option.test_prefix g1 = GoBGPContainer(name='g1', asn=65000, router_id='192.168.0.1', ctn_image_name=gobgp_ctn_image_name, -- cgit v1.2.3