def test_Methodheap_MythXML_002_03(self): """Test MythXML.getSetting() with logging.""" a = False with add_log_flags(): m_instance = MythXML() port = m_instance.getSetting('BackendServerPort', default='1111') self.assertTrue(int(port), 6543) a = (len(tailandgrep('/tmp/my_logfile', 3, r'BackendServerPort')) > 0) self.assertTrue(a)
def test_Methodheap_MythXML_001_03(self): """Test MythXML.getSetting().""" m_instance = MythXML() port = m_instance.getSetting('BackendServerPort', default='1111') self.assertTrue(int(port), 6543)