def init_capfile(self, layers=0):
        self.capfile = savefile.load_savefile(open('test_data/test.pcap', 'r'),
                                              layers=layers)
Initialise capture file.
dataset/ETHPy150Open kisom/pypcapfile/pcapfile/test/linklayer_test.py/TestCase.init_capfile