From 10870bbc206f79dc125f33fe6962fe2ac873ada1 Mon Sep 17 00:00:00 2001 From: Philippe Guibert Date: Tue, 24 Nov 2020 13:10:16 +0000 Subject: topotests: precise importation folder the topolog importation folder must be precised. otherwise following error message appears: root@dut-vm:~/topotests/bgp_flowspec# python3 test_bgp_flowspec_topo.py Traceback (most recent call last): File "test_bgp_flowspec_topo.py", line 96, in from lib.lutil import lUtil File "/root/topotests/bgp_flowspec/../lib/lutil.py", line 25, in from topolog import logger ImportError: No module named 'topolog' root@dut-vm:~/topotests/bgp_flowspec# The same error occurs with lutil and bgprib which are 2 libraries located under lib/ folder. Some precisions are added too. PR=71290 Signed-off-by: Philippe Guibert --- tests/topotests/bgp_rfapi_basic_sanity/scripts/check_routes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/topotests/bgp_rfapi_basic_sanity/scripts/check_routes.py') diff --git a/tests/topotests/bgp_rfapi_basic_sanity/scripts/check_routes.py b/tests/topotests/bgp_rfapi_basic_sanity/scripts/check_routes.py index 1caa827ce2..24b3cba96e 100644 --- a/tests/topotests/bgp_rfapi_basic_sanity/scripts/check_routes.py +++ b/tests/topotests/bgp_rfapi_basic_sanity/scripts/check_routes.py @@ -1,4 +1,4 @@ -from lutil import luCommand +from lib.lutil import luCommand luCommand("r1", 'vtysh -c "show bgp ipv4 vpn"', "", "none", "VPN SAFI") luCommand("r2", 'vtysh -c "show bgp ipv4 vpn"', "", "none", "VPN SAFI") -- cgit v1.2.3