diff options
-rw-r--r-- | scripts/automation/trex_control_plane/client_utils/scapy_packet_builder.py | 2 |
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() |