summaryrefslogtreecommitdiffstats
path: root/scripts/automation/trex_control_plane/stl/examples/stl_imix.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/automation/trex_control_plane/stl/examples/stl_imix.py')
-rw-r--r--scripts/automation/trex_control_plane/stl/examples/stl_imix.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/automation/trex_control_plane/stl/examples/stl_imix.py b/scripts/automation/trex_control_plane/stl/examples/stl_imix.py
index c083a207..ad329e16 100644
--- a/scripts/automation/trex_control_plane/stl/examples/stl_imix.py
+++ b/scripts/automation/trex_control_plane/stl/examples/stl_imix.py
@@ -1,5 +1,5 @@
import stl_path
-from trex_control_plane.stl.api import *
+from trex_stl_lib.api import *
import time
import json
@@ -35,7 +35,7 @@ def imix_test ():
dir_1 = table['dir'][1]
# load IMIX profile
- streams = c.load_profile('../../../stl/profiles/imix.py')
+ streams = c.load_profile('../../../../stl/profiles/imix.py')
# add both streams to ports
c.add_streams(streams, ports = dir_0)
@@ -83,6 +83,7 @@ def imix_test ():
else:
passed = False
+
except STLError as e:
passed = False
print e