def test_incorrect_line_len(self): with open('Ontology/GoaIO/bad_line.fb', 'r') as f: it = GafReader(f) with self.assertRaises(ValueError): it.read()
def test_incorrect_line_len(self): with open("Ontology/GoaIO/bad_line.fb", "r") as f: it = GafReader(f) with self.assertRaises(ValueError): it.read()
def test_no_version(self): with open('Ontology/GoaIO/no_ver.fb', 'r') as f: it = GafReader(f, assoc_format="in_mem_sql") with self.assertRaises(ValueError): it.read()
def test_no_version(self): with open("Ontology/GoaIO/no_ver.fb", "r") as f: it = GafReader(f, assoc_format="in_mem_sql") with self.assertRaises(ValueError): it.read()