Example #1
0
 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
Example #2
0
 def setUp(self, p_root):
     self.m_pyhouse_obj = SetupPyHouseObj().BuildPyHouseObj(p_root)
     self.m_xml = SetupPyHouseObj().BuildXml(p_root)
     self.m_api = mqttXML()
Example #3
0
 def setUp(self, p_root):
     self.m_pyhouse_obj = SetupPyHouseObj().BuildPyHouseObj(p_root)
     self.m_xml = SetupPyHouseObj().BuildXml(p_root)
     self.m_api = mqttXML()
Example #4
0
 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