Beispiel #1
0
 def setUp(self):
     SetupMixin.setUp(self, ET.fromstring(XML_LONG))
     self.m_entertainment_obj = EntertainmentInformation()
     self.m_pyhouse_obj.House.Entertainment = EntertainmentInformation(
     )  # Clear before loading
     self.m_pyhouse_obj.House.Entertainment.Plugins[
         'pandora'] = EntertainmentPluginInformation()
Beispiel #2
0
 def setUp(self):
     SetupMixin.setUp(self, ET.fromstring(XML_LONG))
     self.m_xml = XmlConfigTools.find_xml_section(
         self.m_pyhouse_obj, 'HouseDivision/EntertainmentSection')
     self.m_entertainment_obj = EntertainmentInformation()
     self.m_pyhouse_obj.House.Entertainment = EntertainmentInformation(
     )  # Clear before loading
Beispiel #3
0
 def setUp(self):
     SetupMixin.setUp(self, ET.fromstring(XML_LONG))
     self.m_pyhouse_obj.House.Entertainment = EntertainmentInformation()
     self.m_pyhouse_obj.House.Entertainment.Plugins[
         SECTION] = EntertainmentPluginInformation()
     self.m_section = samsungXml.read_samsung_section_xml(
         self.m_pyhouse_obj)
Beispiel #4
0
 def setUp(self):
     """ Set up the general PyHouse object, Entertainment, and panasonic structures
     """
     SetupMixin.setUp(self, ET.fromstring(XML_LONG))
     self.m_pyhouse_obj.House.Entertainment = EntertainmentInformation()
     self.m_pyhouse_obj.House.Entertainment.Plugins[SECTION] = EntertainmentPluginInformation()
     self.m_xml_panasonic = self.m_xml.entertainment_sect.find('PanasonicSection').find('Device')
Beispiel #5
0
 def setUp(self):
     SetupMixin.setUp(self, ET.fromstring(XML_LONG))
     self.m_pyhouse_obj.House.Entertainment = EntertainmentInformation()
     self.m_pyhouse_obj.House.Entertainment.Plugins[
         SECTION] = EntertainmentPluginInformation()
     self.m_xml_pioneer = self.m_xml.pioneer_sect.find('Device')
Beispiel #6
0
 def setUp(self, p_root):
     self.m_pyhouse_obj = SetupPyHouseObj().BuildPyHouseObj(p_root)
     self.m_pyhouse_obj.House.Entertainment = EntertainmentInformation()
     self.m_xml = SetupPyHouseObj().BuildXml(p_root)
Beispiel #7
0
 def setUp(self):
     SetupMixin.setUp(self, ET.fromstring(XML_LONG))
     self.m_pyhouse_obj.House.Entertainment = EntertainmentInformation()
     self.m_pyhouse_obj.House.Entertainment.Plugins[SECTION] = EntertainmentPluginInformation()
     self.m_xml_panasonic = self.m_xml.entertainment_sect.find('PanasonicSection').find('Device')
     self.m_panasonic = panasonicXML.read_panasonic_section_xml(self.m_pyhouse_obj)