def test_02_OnePool(self): """ Write one entire pool XML """ l_xml = poolXml._write_one_pool(self.m_pools[0]) # print(PrettyFormatAny.form(l_xml, 'Pool')) self.assertEqual(l_xml.attrib['Name'], TESTING_POOL_NAME_0) self.assertEqual(l_xml.attrib['Key'], TESTING_POOL_KEY_0) self.assertEqual(l_xml.attrib['Active'], TESTING_POOL_ACTIVE_0) self.assertEqual(l_xml.find('Comment').text, TESTING_POOL_COMMENT_0)