def test():
    # This worker test requires a local server as it relies on the recursive dependencies
    import zerorpc
    workbench = zerorpc.Client(timeout=300, heartbeat=60)
    workbench.connect("tcp://127.0.0.1:4242")

    md5 = workbench.store_sample(open('../data/pcap/http.pcap', 'rb').read(), 'http.pcap', 'pcap')
    output = workbench.work_request('view_pcap_meta', md5)
    print 'ViewPcap: '
    import pprint
    pprint.pprint(output)
For hostnames, we will use IPv4, if both IPv4 and IPv6 are present as
dataset/ETHPy150Open SuperCowPowers/workbench/workbench/workers/timeout_corner/view_pcap_meta.py/test--crossover with--dataset/ETHPy150Open swiftstack/ssbench/ssbench/util.py/is_ipv6