def test3(self):
"""Tests that files can be loaded by basename2"""
kio = KlustaKwikIO(filename=os.path.join(self.dirname, 'basename2'))
if not BaseTestIO.use_network:
raise unittest.SkipTest("Requires download of data from the web")
clufiles = kio._fp.read_filenames('clu')
self.assertEqual(len(clufiles), 1)
self.assertEqual(os.path.abspath(clufiles[1]),
os.path.abspath(os.path.join(self.dirname,
'basename2.clu.1')))
评论列表
文章目录