def setUp(self): """set directory to project root.""" setup_testenv() self.args = DEFAULT_CLI_ARGS self.filenames = [ 'tests/files/in_order_packets.pcap', 'tests/files/test.pcap' ] self.pcaps_json_list = parse_pcaps(self.filenames)
def setUp(self): """Make sure that tshark is in PATH.""" setup_testenv() self.options = {'strip-l2': False, 'strip-l3': False, 'pcapng': False} filenames = [ 'examples/simul1.pcap', 'examples/simul2.pcap', 'examples/simul3.pcap' ] self.set_obj = PcapMath(filenames, self.options)
def setUp(self): """Setup env.""" setup_testenv() self.options = {'strip-l2': False, 'strip-l3': False, 'pcapng': False} self.test_packet = "247703511344881544abbfdd0800452000542bbc00007901" \ "e8fd080808080a301290000082a563110001f930ab5b0000" \ "0000a9e80d0000000000101112131415161718191a1b1c1d" \ "1e1f202122232425262728292a2b2c2d2e2f303132333435" \ "3637" self.result_packet = \ """0000 24 77 03 51 13 44 88 15 44 ab bf dd 08 00 45 20
def setUp(self): """set directory to project root.""" setup_testenv() self.args = DEFAULT_CLI_ARGS self.args['--output'] = ['png']
def setUp(self): """set directory to project root.""" setup_testenv() self.args = DEFAULT_CLI_ARGS
def setUp(self): """Set up vars.""" setup_testenv() self.args = DEFAULT_CLI_ARGS