diff options
author | ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp> | 2015-07-26 17:55:53 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2015-07-27 11:26:10 +0900 |
commit | b3f503494d5eec45c668bdaafddc1018068f24d7 (patch) | |
tree | cd925d7f47a5a3aedabc4a32fb486f049e2b2054 /test/scenario_test/ibgp_router_test.py | |
parent | d5aa0d32a4161ce8c50bacdd846034575f287340 (diff) |
test: introduce test_prefix to separate test execution
test_prefix is used for work directory, docker name, bridge name
Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
Diffstat (limited to 'test/scenario_test/ibgp_router_test.py')
-rw-r--r-- | test/scenario_test/ibgp_router_test.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/scenario_test/ibgp_router_test.py b/test/scenario_test/ibgp_router_test.py index 567d8687..9cdd850a 100644 --- a/test/scenario_test/ibgp_router_test.py +++ b/test/scenario_test/ibgp_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, |