We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 113bd3d commit ce2bfadCopy full SHA for ce2bfad
test/test_parser_odml.py
@@ -85,8 +85,11 @@ def test_rdf_file(self):
85
self.rdf_writer.write_file(self.odml_doc, self.rdf_file)
86
rdf_doc = self.rdf_reader.from_file(self.rdf_file, "turtle")
87
88
- # RDF does not preserve the order of sections,
89
- # need to check the attributes by hand.
+ self.assertEqual(self.odml_doc, rdf_doc[0])
+
90
+ # RDF does not preserve the order of sections or properties,
91
+ # check the attributes by hand to make sure everything
92
+ # was correctly imported.
93
self.assertEqual(len(rdf_doc), 1)
94
self.assertEqual(rdf_doc[0].author, self.odml_doc.author)
95
self.assertEqual(rdf_doc[0].version, self.odml_doc.version)
0 commit comments