

def test_delimited(self):
    self.file = os.path.join(config.WOOEY_TEST_DATA, 'delimited.tsv')
    (res, preview) = utils.test_delimited(self.file)
    self.assertEqual(res, True, 'Delimited parser fail')
    self.assertEqual(preview, [i.strip().split('\t') for i in open(self.file).readlines()], 'Delimited Preview Fail')

dataset/ETHPy150Open wooey/Wooey/wooey/tests/test_utils.py TestFileDetectors.test_delimited/original