def test_parseXML_empty_dependencies(self): # https://bugs.launchpad.net/bugs/255301 metadata = ProfileMetadata( '') parsed = metadata.parseXML(_METADATA_EMPTY_DEPENDENCIES_XML) self.assertEqual(parsed, _METADATA_MAP_EMPTY_DEPENDENCIES)
def test_parseXML_empty_dependencies(self): # https://bugs.launchpad.net/bugs/255301 metadata = ProfileMetadata('') parsed = metadata.parseXML(_METADATA_EMPTY_DEPENDENCIES_XML) self.assertEqual(parsed, _METADATA_MAP_EMPTY_DEPENDENCIES)
def test_parseXML(self): metadata = ProfileMetadata( '' ) parsed = metadata.parseXML( _METADATA_XML ) self.assertEqual(parsed, _METADATA_MAP)
def test_parseXML(self): metadata = ProfileMetadata('') parsed = metadata.parseXML(_METADATA_XML) self.assertEqual(parsed, _METADATA_MAP)