

def logged(self, search_text, level='info'):
    return any([m for m in self.mock_log_handler.messages[level] if (search_text in m)])

dataset/ETHPy150Open fgimian/flaskage/tests/test_scaffold.py TestScaffold.logged/original