def bad_fsplit(self): fh = open("asdf", "r") a = shex.fsplit("testfile", 0) assert(a==['001', '002', '003', '004']) fh.close()
def test_fsplit(self): #Function fsplit fh = open("testfile", "r") a = shex.fsplit("testfile", 1) assert(a==['000', '001', '002', '003']) fh.close()