mirror of https://github.com/secdev/scapy.git
Missing assert statements
This commit is contained in:
parent
25f68d0eee
commit
a096669027
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue