diff options
| author | Philippe Guibert <philippe.guibert@6wind.com> | 2020-11-24 13:10:16 +0000 |
|---|---|---|
| committer | Philippe Guibert <philippe.guibert@6wind.com> | 2020-11-25 16:31:45 +0000 |
| commit | 10870bbc206f79dc125f33fe6962fe2ac873ada1 (patch) | |
| tree | ddc13695229ce2867dc2aa4641336572fa29eb18 /tests/topotests/bgp_rfapi_basic_sanity/scripts/check_timeout.py | |
| parent | ecff3c7a0c2c8a9e9bef51e6683e716cc458bea0 (diff) | |
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 <module>
from lib.lutil import lUtil
File "/root/topotests/bgp_flowspec/../lib/lutil.py", line 25, in <module>
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 <philippe.guibert@6wind.com>
Diffstat (limited to 'tests/topotests/bgp_rfapi_basic_sanity/scripts/check_timeout.py')
| -rw-r--r-- | tests/topotests/bgp_rfapi_basic_sanity/scripts/check_timeout.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/topotests/bgp_rfapi_basic_sanity/scripts/check_timeout.py b/tests/topotests/bgp_rfapi_basic_sanity/scripts/check_timeout.py index e68e9e93ab..f5c2db25ff 100644 --- a/tests/topotests/bgp_rfapi_basic_sanity/scripts/check_timeout.py +++ b/tests/topotests/bgp_rfapi_basic_sanity/scripts/check_timeout.py @@ -1,4 +1,4 @@ -from lutil import luCommand +from lib.lutil import luCommand holddownFactorSet = luCommand( "r1", |
