diff --git a/tests/convert/test_magetab2json.py b/tests/convert/test_magetab2json.py index 3a762550..280b1768 100644 --- a/tests/convert/test_magetab2json.py +++ b/tests/convert/test_magetab2json.py @@ -24,14 +24,14 @@ def setUp(self): self._magetab_data_dir = utils.MAGETAB_DATA_DIR self._tmp_dir = tempfile.mkdtemp() - # def tearDown(self): - # shutil.rmtree(self._tmp_dir) + def tearDown(self): + shutil.rmtree(self._tmp_dir) def test_magetab2json_convert_e_mexp_31(self): actual_json = magetab2json.convert(os.path.join(self._magetab_data_dir, 'E-MEXP-31.idf.txt'),) with open(os.path.join(self._tmp_dir, 'isa.json'), 'w') as out_fp: json.dump(actual_json, out_fp) - # with open(os.path.join(self._tmp_dir, 'isa.json')) as actual_json: - # report = isajson.validate(actual_json) - # print(report['errors']) - # self.assertEqual(len(report['errors']), 0) + with open(os.path.join(self._tmp_dir, 'isa.json')) as actual_json: + report = isajson.validate(actual_json) + print(report['errors']) + self.assertEqual(len(report['errors']), 0)