def testESPCoreDumpFileLoaderWithoutB64(self): t = espcoredump.ESPCoreDumpFileLoader(path='coredump.b64', b64=False) self.assertIsInstance( t, espcoredump.ESPCoreDumpFileLoader) # invoke for coverage of open() t.cleanup()
def test_create_corefile(self): loader = espcoredump.ESPCoreDumpFileLoader(path='coredump.b64', b64=True) loader.create_corefile() loader.cleanup()
def setUp(self): self.tmp_file = 'tmp' self.dloader = espcoredump.ESPCoreDumpFileLoader(path='coredump.b64', b64=True) self.assertIsInstance(self.dloader, espcoredump.ESPCoreDumpFileLoader)
def testESPCoreDumpFileLoaderWithoutB64(self): loader = espcoredump.ESPCoreDumpFileLoader(path='coredump.b64', b64=False) loader.cleanup()