diff options
| author | Ashish Pant <ashish12pant@gmail.com> | 2019-06-25 11:26:46 +0530 |
|---|---|---|
| committer | Ashish Pant <ashish12pant@gmail.com> | 2019-07-09 10:26:53 +0530 |
| commit | 6bb29e5ea95dac98a3f7b229f029e036154fa12c (patch) | |
| tree | 323a0b312a74552d2b4d6c9527addb8aa0318d3b /tests/topotests/bgp-basic-functionality-topo1/test_bgp_basic_functionality.py | |
| parent | eb0a7b65a058c1879817f60d303b2e3e786d5eff (diff) | |
tests: Fix logdir creation
Signed-off-by: Ashish Pant <ashish12pant@gmail.com>
Creates logdir everytime in start_topology, removed stop_topoloy.
Using tgen.stop_topology in test case now.
Diffstat (limited to 'tests/topotests/bgp-basic-functionality-topo1/test_bgp_basic_functionality.py')
| -rwxr-xr-x | tests/topotests/bgp-basic-functionality-topo1/test_bgp_basic_functionality.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/topotests/bgp-basic-functionality-topo1/test_bgp_basic_functionality.py b/tests/topotests/bgp-basic-functionality-topo1/test_bgp_basic_functionality.py index fd2102dd7c..095ebe3344 100755 --- a/tests/topotests/bgp-basic-functionality-topo1/test_bgp_basic_functionality.py +++ b/tests/topotests/bgp-basic-functionality-topo1/test_bgp_basic_functionality.py @@ -59,7 +59,7 @@ from lib.topogen import Topogen, get_topogen from mininet.topo import Topo from lib.common_config import ( - start_topology, stop_topology, write_test_header, + start_topology, write_test_header, write_test_footer, reset_config_on_routers, create_static_routes, verify_rib, verify_admin_distance_for_static_routes ) @@ -135,7 +135,7 @@ def teardown_module(): tgen = get_topogen() # Stop toplogy and Remove tmp files - stop_topology(tgen) + tgen.stop_topology() logger.info("Testsuite end time: {}". format(time.asctime(time.localtime(time.time())))) |
