def SaveXml(self, p_xml): l_xml = mqttXML().write_mqtt_xml( self.m_pyhouse_obj.Computer.Mqtt.Brokers) p_xml.append(l_xml) LOG.info("Saved Mqtt XML.") return p_xml
def setUp(self, p_root): self.m_pyhouse_obj = SetupPyHouseObj().BuildPyHouseObj(p_root) self.m_xml = SetupPyHouseObj().BuildXml(p_root) self.m_api = mqttXML()
def SaveXml(self, p_xml): l_xml = mqttXML().write_mqtt_xml(self.m_pyhouse_obj.Computer.Mqtt.Brokers) p_xml.append(l_xml) LOG.info("Saved Mqtt XML.") return p_xml