def test_make_flow_txt(self): """test_make_flow_txt should make flowgram file as expected""" flow_fp = os.path.join(self.sff_dir, 'test.txt') flow_gz_fp = os.path.join(self.gz_sff_dir, 'test_gz.txt') make_flow_txt(self.sff_fp, flow_fp) make_flow_txt(self.sff_gz_fp, flow_gz_fp) self.assertEqual(open(flow_fp).read(), flow_txt) self.assertEqual(open(flow_gz_fp).read(), flow_txt)
def test_make_flow_txt(self): """test_make_flow_txt should make flowgram file as expected""" flow_fp = os.path.join(self.sff_dir, 'test.txt') flow_gz_fp = os.path.join(self.gz_sff_dir, 'test_gz.txt') make_flow_txt(self.sff_fp, flow_fp) make_flow_txt(self.sff_gz_fp, flow_gz_fp) self.assertEqual(open(flow_fp).read(), flow_txt) self.assertEqual(open(flow_gz_fp).read(), flow_txt)