def test_metadata_xml_from_technique(self): """The XML content generated from a ncf technique must match the XML content required by Rudder for it's metadata.xml file""" metadata_xml_string = ncf_rudder.get_technique_metadata_xml(self.technique_metadata) expected_metadata_pure_xml = self.test_metadata_xml_content self.assertEqual(expected_metadata_pure_xml, metadata_xml_string)
def test_metadata_xml_from_technique(self): """The XML content generated from a ncf technique must match the XML content required by Rudder for it's metadata.xml file""" metadata_xml_string = ncf_rudder.get_technique_metadata_xml( self.technique_metadata) expected_metadata_pure_xml = self.test_metadata_xml_content self.assertEqual(expected_metadata_pure_xml, metadata_xml_string)
def test_metadate_with_quote(self): metadata_xml_string = ncf_rudder.get_technique_metadata_xml(self.technique_with_quote_metadata) expected_metadata_pure_xml = self.test_metadata_with_quote_xml_content self.assertEquals(expected_metadata_pure_xml, metadata_xml_string)
def test_metadate_with_quote(self): metadata_xml_string = ncf_rudder.get_technique_metadata_xml( self.technique_with_quote_metadata) expected_metadata_pure_xml = self.test_metadata_with_quote_xml_content self.assertEquals(expected_metadata_pure_xml, metadata_xml_string)