def test_parse(self): """Raise an assertion if can't find a file. Return a PyGraph. Raises ------ AssertionError If the can't find the file. """ # Test values # Initialize the graph parser parser = PyGraphParser() # Change directory file = '/home/alopes/nltk_data/corpora/masc/spoken/Day3PMSession-vc.xml' assert (parser.parse(file, None))
def test_parse(self): """Raise an assertion if can't find a file. Return a PyGraph. Raises ------ AssertionError If the can't find the file. """ # Test values # Initialize the graph parser parser = PyGraphParser() # Change directory file = '/home/alopes/nltk_data/corpora/masc/spoken/Day3PMSession-vc.xml' assert(parser.parse(file, None))