diff --git a/cli_ui/tests/conftest.py b/cli_ui/tests/conftest.py index 9ed7ed8..76bd15d 100644 --- a/cli_ui/tests/conftest.py +++ b/cli_ui/tests/conftest.py @@ -40,8 +40,10 @@ def find(self, pattern: str) -> Optional[str]: return message return None - def find_next(self, pattern: str) -> Optional[str]: - """Same as 'find', however finds in next message ONLY. + def find_right_after(self, pattern: str) -> Optional[str]: + """Same as 'find', but only check the message that is right after + the one found last time. if no message was found before, the 1st + message in buffer is checked :param pattern: regular expression pattern to use when looking for recorded message