def test_01_Base(self): """ Write pool base info """ # print(PrettyFormatAny.form(self.m_pools[0], 'Pools')) l_xml = poolXml._write_base(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)