FIX: eval expression
[csit.git] / GPL / tools / trex / trex_astf_stop.py
index b214d58..8c05cb4 100644 (file)
@@ -46,7 +46,7 @@ from collections import OrderedDict  # Needed to parse xstats representation.
 sys.path.insert(
     0, u"/opt/trex-core-2.88/scripts/automation/trex_control_plane/interactive/"
 )
-from trex.astf.api import *
+from trex.astf.api import ASTFClient
 
 
 def main():
@@ -109,8 +109,8 @@ def main():
         f"frame_loss={total_lost}; "
         f"latency_stream_0(usec)=-1/-1/-1; "
         f"latency_stream_1(usec)=-1/-1/-1; "
-        f"latency_hist_stream_0={}; "
-        f"latency_hist_stream_1={}; "
+        f"latency_hist_stream_0=; "
+        f"latency_hist_stream_1=; "
     )