summaryrefslogtreecommitdiffstats
path: root/scripts/automation/trex_control_plane/client_utils
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/automation/trex_control_plane/client_utils')
-rw-r--r--scripts/automation/trex_control_plane/client_utils/scapy_packet_builder.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/automation/trex_control_plane/client_utils/scapy_packet_builder.py b/scripts/automation/trex_control_plane/client_utils/scapy_packet_builder.py
index 7c398e9d..d8817de9 100644
--- a/scripts/automation/trex_control_plane/client_utils/scapy_packet_builder.py
+++ b/scripts/automation/trex_control_plane/client_utils/scapy_packet_builder.py
@@ -560,7 +560,7 @@ class CScapyTRexPktBuilder(object):
+ :exc:`AssertionError`, in case VM is not compiled (is None).
"""
- assert self.vm_low_level is None, 'vm_low_level is None, please use compile()'
+ assert self.vm_low_level is not None, 'vm_low_level is None, please use compile()'
return self.vm_low_level.get_json()