def test_prototype_xml_540degree_roundtrip(self): test_file = os.path.join(examples_dir, 'HodgkinHuxleyModified.xml') context1 = read(test_file) xml = context1.to_xml() context2 = load(xml, read_from=test_file) self.assertEquals(context1, context2)
def test_xml_540degree_roundtrip(self): document1 = read(self.test_file) xml = document1.to_xml() document2 = load(xml, read_from=self.test_file) self.assertEquals(document1, document2)
def test_xml_540degree_roundtrip(self): context1 = read(self.test_file) xml = context1.to_xml() context2 = load(xml, read_from=self.test_file) self.assertEquals(context1, context2)
def test_prototype_xml_540degree_roundtrip(self): test_file = os.path.join(examples_dir, 'HodgkinHuxleyModified.xml') document1 = read(test_file) xml = document1.to_xml() document2 = load(xml, read_from=test_file) self.assertEquals(document1, document2)
def test_component_xml_540degree_roundtrip(self): test_file = os.path.join(examples_dir, 'HodgkinHuxley.xml') document1 = read(test_file) xml = document1.to_xml() document2 = load(xml, read_from=test_file) self.assertEquals(document1, document2)
def test_xml_540degree_roundtrip(self): document1 = read(self.test_file) xml = document1.to_xml() document2 = load(xml, read_from=self.test_file) self.assertEquals(document1.items(), document2.items())