def test_has_load(): pkt = Ether() / IP() / TCP() / Padding("\x00\x00") assert not TCPSocket._has_load(pkt)