openbsd-ports/devel/py-openbsd/patches/patch-test_test_pcap_py
2010-07-13 15:21:18 +00:00

18 lines
625 B
Plaintext

$OpenBSD: patch-test_test_pcap_py,v 1.1 2010/07/13 15:21:18 naddy Exp $
--- test/test_pcap.py.orig Sun Jul 11 22:28:42 2010
+++ test/test_pcap.py Sun Jul 11 22:29:01 2010
@@ -159,13 +159,6 @@ class uPacketFactory(unittest.TestCase):
for i in tf.packets:
self.failUnlessEqual(i.protostack.TYPE, "PF")
- def test_pfold(self):
- feed = openbsd.pcap.Offline("pcap_data/pf.old")
- tf = PacketCap()
- feed.loop(10, tf, 1)
- for i in tf.packets:
- self.failUnlessEqual(i.protostack.TYPE, "PFOld")
-
class uMisc(unittest.TestCase):
def test_isPCapFile(self):