def test_01_Xml(self): """ Read the config - it is minimal. """ l_xml = computerXML.read_computer_xml(self.m_pyhouse_obj) self.assertEqual(l_xml.tag, DIVISION) l_mqtt = l_xml.find(MQTT_SECTION) self.assertNotEqual(l_mqtt, None)
def test_01_Xml(self): """ Be sure that the XML contains the right stuff. """ l_xml = computerXML.read_computer_xml(self.m_pyhouse_obj) l_mqtt = l_xml.find(MQTT_SECTION) self.assertNotEqual(l_mqtt, None)