[dts] [PATCH V1] tests/TestSuite_tso:update scapy_modules path

Chen Linglix linglix.chen at intel.com
Fri Sep 18 05:05:25 CEST 2020


update scapy_modules path

Signed-off-by: Chen Linglix <linglix.chen at intel.com>
---
 tests/TestSuite_tso.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/TestSuite_tso.py b/tests/TestSuite_tso.py
index d0bff6c..e7b4a8c 100644
--- a/tests/TestSuite_tso.py
+++ b/tests/TestSuite_tso.py
@@ -106,7 +106,7 @@ class TestTSO(TestCase):
         Load vxlan or nvgre module to scapy.
         """
         cwd = os.getcwd()
-        dir_module = cwd + r'/' + 'dep'
+        dir_module = cwd + r'/' + 'dep' + '/scapy_modules'
         self.tester.scapy_append('sys.path.append("%s")' % dir_module)
         self.tester.scapy_append("from vxlan import VXLAN")
         self.tester.scapy_append('from nvgre import NVGRE')
-- 
1.8.3.1



More information about the dts mailing list