

def test_detector(self):
    self.file = os.path.join(config.WOOEY_TEST_DATA, 'fasta.fasta')
    (res, preview) = utils.test_fastx(self.file)
    self.assertEqual(res, True, 'Fastx parser fail')
    self.assertEqual(preview, open(self.file).readlines(), 'Fastx Preview Fail')

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