'Use tshark to test the of dissector'

def testWireshark(self):

    assert self
    if (StrictVersion(tsharkVersion()) < StrictVersion('1.12.0')):
        tshark = pexpect.spawn('tshark    -i    lo    -R    of')
    else:
        tshark = pexpect.spawn('tshark    -i    lo    -Y    openflow_v1')
    tshark.expect(['Capturing    on    lo', "Capturing    on    'Loopback'"])
    mn = pexpect.spawn('mn    --test    pingall')
    mn.expect('0%    dropped')
    tshark.expect(['74    Hello', '74    of_hello', '74    Type:    OFPT_HELLO'])
    tshark.sendintr()
    mn.expect(pexpect.EOF)
    tshark.expect(pexpect.EOF)
