def test_Methodheap_MythXML_001_01(self): """Test MythXML.getHosts().""" m_instance = MythXML() hosts = m_instance.getHosts() #print(hosts) bename = self.testenv['BACKENDNAME'] self.assertTrue(bename in hosts)
def test_Methodheap_MythXML_002_01(self): """Test MythXML.getHosts() with logging.""" with add_log_flags(): m_instance = MythXML() hosts = m_instance.getHosts() bename = self.testenv['BACKENDNAME'] self.assertTrue(bename in hosts)