From a09666902732a38279617bb682eb29e911ae2231 Mon Sep 17 00:00:00 2001 From: Guillaume Valadon Date: Tue, 30 Jan 2018 15:13:25 +0100 Subject: [PATCH] Missing assert statements --- test/bpf.uts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/bpf.uts b/test/bpf.uts index e78641ff6..7a53f5a93 100644 --- a/test/bpf.uts +++ b/test/bpf.uts @@ -49,10 +49,10 @@ len(iflist) > 0 from scapy.arch.bpf.core import get_working_ifaces ifworking = get_working_ifaces() -len(ifworking) +assert len(ifworking) from scapy.arch.bpf.core import get_working_if -len(ifworking) and get_working_if() == ifworking[0][0] +assert len(ifworking) and get_working_if() == ifworking[0][0] = Misc functions